Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data PolicyVersion Source #
Describes a policy version.
See: newPolicyVersion
smart constructor.
PolicyVersion' | |
|
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:versionId:PolicyVersion'
, policyVersion_versionId
- The policy version ID.
$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.
policyVersion_versionId :: Lens' PolicyVersion (Maybe Text) Source #
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.