| 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.PolicyVersion
Description
Documentation
data PolicyVersion Source #
Describes a policy version.
See: newPolicyVersion smart constructor.
Constructors
| PolicyVersion' | |
Fields
| |
Instances
newPolicyVersion :: PolicyVersion Source #
Create a value of PolicyVersion 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:createDate:PolicyVersion', policyVersion_createDate - The date and time the policy was created.
$sel:isDefaultVersion:PolicyVersion', policyVersion_isDefaultVersion - Specifies whether the policy version is the default.
$sel:versionId:PolicyVersion', policyVersion_versionId - The policy version ID.
policyVersion_createDate :: Lens' PolicyVersion (Maybe UTCTime) Source #
The date and time the policy was created.
policyVersion_isDefaultVersion :: Lens' PolicyVersion (Maybe Bool) Source #
Specifies whether the policy version is the default.
policyVersion_versionId :: Lens' PolicyVersion (Maybe Text) Source #
The policy version ID.