amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.Types.EffectivePolicy

Description

 
Synopsis

Documentation

data EffectivePolicy Source #

The policy that has the effect on the authorization results.

See: newEffectivePolicy smart constructor.

Constructors

EffectivePolicy' 

Fields

Instances

Instances details
FromJSON EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

Generic EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

Associated Types

type Rep EffectivePolicy :: Type -> Type #

Read EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

Show EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

NFData EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

Methods

rnf :: EffectivePolicy -> () #

Eq EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

Hashable EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

type Rep EffectivePolicy Source # 
Instance details

Defined in Amazonka.IoT.Types.EffectivePolicy

type Rep EffectivePolicy = D1 ('MetaData "EffectivePolicy" "Amazonka.IoT.Types.EffectivePolicy" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "EffectivePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEffectivePolicy :: EffectivePolicy Source #

Create a value of EffectivePolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:policyArn:EffectivePolicy', effectivePolicy_policyArn - The policy ARN.

$sel:policyDocument:EffectivePolicy', effectivePolicy_policyDocument - The IAM policy document.

$sel:policyName:EffectivePolicy', effectivePolicy_policyName - The policy name.