| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.Policy
Description
Documentation
Describes an IoT policy.
See: newPolicy smart constructor.
Constructors
| Policy' | |
Instances
| FromJSON Policy Source # | |
| Generic Policy Source # | |
| Read Policy Source # | |
| Show Policy Source # | |
| NFData Policy Source # | |
Defined in Amazonka.IoT.Types.Policy | |
| Eq Policy Source # | |
| Hashable Policy Source # | |
Defined in Amazonka.IoT.Types.Policy | |
| type Rep Policy Source # | |
Defined in Amazonka.IoT.Types.Policy type Rep Policy = D1 ('MetaData "Policy" "Amazonka.IoT.Types.Policy" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "Policy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
Create a value of Policy 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:Policy', policy_policyArn - The policy ARN.
$sel:policyName:Policy', policy_policyName - The policy name.