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 |
Synopsis
- data AwsIamPolicyVersion = AwsIamPolicyVersion' {}
- newAwsIamPolicyVersion :: AwsIamPolicyVersion
- awsIamPolicyVersion_versionId :: Lens' AwsIamPolicyVersion (Maybe Text)
- awsIamPolicyVersion_createDate :: Lens' AwsIamPolicyVersion (Maybe Text)
- awsIamPolicyVersion_isDefaultVersion :: Lens' AwsIamPolicyVersion (Maybe Bool)
Documentation
data AwsIamPolicyVersion Source #
A version of an IAM policy.
See: newAwsIamPolicyVersion
smart constructor.
AwsIamPolicyVersion' | |
|
Instances
newAwsIamPolicyVersion :: AwsIamPolicyVersion Source #
Create a value of AwsIamPolicyVersion
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:AwsIamPolicyVersion'
, awsIamPolicyVersion_versionId
- The identifier of the policy version.
$sel:createDate:AwsIamPolicyVersion'
, awsIamPolicyVersion_createDate
- Indicates when the version was created.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
$sel:isDefaultVersion:AwsIamPolicyVersion'
, awsIamPolicyVersion_isDefaultVersion
- Whether the version is the default version.
awsIamPolicyVersion_versionId :: Lens' AwsIamPolicyVersion (Maybe Text) Source #
The identifier of the policy version.
awsIamPolicyVersion_createDate :: Lens' AwsIamPolicyVersion (Maybe Text) Source #
Indicates when the version was created.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
awsIamPolicyVersion_isDefaultVersion :: Lens' AwsIamPolicyVersion (Maybe Bool) Source #
Whether the version is the default version.