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 ManagedPolicyDetail = ManagedPolicyDetail' {
- policyName :: Maybe Text
- arn :: Maybe Text
- updateDate :: Maybe ISO8601
- policyId :: Maybe Text
- path :: Maybe Text
- policyVersionList :: Maybe [PolicyVersion]
- createDate :: Maybe ISO8601
- isAttachable :: Maybe Bool
- permissionsBoundaryUsageCount :: Maybe Int
- defaultVersionId :: Maybe Text
- attachmentCount :: Maybe Int
- description :: Maybe Text
- newManagedPolicyDetail :: ManagedPolicyDetail
- managedPolicyDetail_policyName :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_arn :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_updateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime)
- managedPolicyDetail_policyId :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_path :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_policyVersionList :: Lens' ManagedPolicyDetail (Maybe [PolicyVersion])
- managedPolicyDetail_createDate :: Lens' ManagedPolicyDetail (Maybe UTCTime)
- managedPolicyDetail_isAttachable :: Lens' ManagedPolicyDetail (Maybe Bool)
- managedPolicyDetail_permissionsBoundaryUsageCount :: Lens' ManagedPolicyDetail (Maybe Int)
- managedPolicyDetail_defaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_attachmentCount :: Lens' ManagedPolicyDetail (Maybe Int)
- managedPolicyDetail_description :: Lens' ManagedPolicyDetail (Maybe Text)
Documentation
data ManagedPolicyDetail Source #
Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.
This data type is used as a response element in the GetAccountAuthorizationDetails operation.
For more information about managed policies, see Managed policies and inline policies in the IAM User Guide.
See: newManagedPolicyDetail
smart constructor.
ManagedPolicyDetail' | |
|
Instances
newManagedPolicyDetail :: ManagedPolicyDetail Source #
Create a value of ManagedPolicyDetail
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:policyName:ManagedPolicyDetail'
, managedPolicyDetail_policyName
- The friendly name (not ARN) identifying the policy.
$sel:arn:ManagedPolicyDetail'
, managedPolicyDetail_arn
- Undocumented member.
$sel:updateDate:ManagedPolicyDetail'
, managedPolicyDetail_updateDate
- The date and time, in
ISO 8601 date-time format, when the
policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
$sel:policyId:ManagedPolicyDetail'
, managedPolicyDetail_policyId
- The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
$sel:path:ManagedPolicyDetail'
, managedPolicyDetail_path
- The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
$sel:policyVersionList:ManagedPolicyDetail'
, managedPolicyDetail_policyVersionList
- A list containing information about the versions of the policy.
$sel:createDate:ManagedPolicyDetail'
, managedPolicyDetail_createDate
- The date and time, in
ISO 8601 date-time format, when the
policy was created.
$sel:isAttachable:ManagedPolicyDetail'
, managedPolicyDetail_isAttachable
- Specifies whether the policy can be attached to an IAM user, group, or
role.
$sel:permissionsBoundaryUsageCount:ManagedPolicyDetail'
, managedPolicyDetail_permissionsBoundaryUsageCount
- The number of entities (users and roles) for which the policy is used as
the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
$sel:defaultVersionId:ManagedPolicyDetail'
, managedPolicyDetail_defaultVersionId
- The identifier for the version of the policy that is set as the default
(operative) version.
For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
$sel:attachmentCount:ManagedPolicyDetail'
, managedPolicyDetail_attachmentCount
- The number of principal entities (users, groups, and roles) that the
policy is attached to.
$sel:description:ManagedPolicyDetail'
, managedPolicyDetail_description
- A friendly description of the policy.
managedPolicyDetail_policyName :: Lens' ManagedPolicyDetail (Maybe Text) Source #
The friendly name (not ARN) identifying the policy.
managedPolicyDetail_arn :: Lens' ManagedPolicyDetail (Maybe Text) Source #
Undocumented member.
managedPolicyDetail_updateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) Source #
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
managedPolicyDetail_policyId :: Lens' ManagedPolicyDetail (Maybe Text) Source #
The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
managedPolicyDetail_path :: Lens' ManagedPolicyDetail (Maybe Text) Source #
The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
managedPolicyDetail_policyVersionList :: Lens' ManagedPolicyDetail (Maybe [PolicyVersion]) Source #
A list containing information about the versions of the policy.
managedPolicyDetail_createDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) Source #
The date and time, in ISO 8601 date-time format, when the policy was created.
managedPolicyDetail_isAttachable :: Lens' ManagedPolicyDetail (Maybe Bool) Source #
Specifies whether the policy can be attached to an IAM user, group, or role.
managedPolicyDetail_permissionsBoundaryUsageCount :: Lens' ManagedPolicyDetail (Maybe Int) Source #
The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
managedPolicyDetail_defaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text) Source #
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
managedPolicyDetail_attachmentCount :: Lens' ManagedPolicyDetail (Maybe Int) Source #
The number of principal entities (users, groups, and roles) that the policy is attached to.
managedPolicyDetail_description :: Lens' ManagedPolicyDetail (Maybe Text) Source #
A friendly description of the policy.