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 |
Synopsis
- data ManagedPolicyDetail = ManagedPolicyDetail' {
- arn :: Maybe Text
- attachmentCount :: Maybe Int
- createDate :: Maybe ISO8601
- defaultVersionId :: Maybe Text
- description :: Maybe Text
- isAttachable :: Maybe Bool
- path :: Maybe Text
- permissionsBoundaryUsageCount :: Maybe Int
- policyId :: Maybe Text
- policyName :: Maybe Text
- policyVersionList :: Maybe [PolicyVersion]
- updateDate :: Maybe ISO8601
- newManagedPolicyDetail :: ManagedPolicyDetail
- managedPolicyDetail_arn :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_attachmentCount :: Lens' ManagedPolicyDetail (Maybe Int)
- managedPolicyDetail_createDate :: Lens' ManagedPolicyDetail (Maybe UTCTime)
- managedPolicyDetail_defaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_description :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_isAttachable :: Lens' ManagedPolicyDetail (Maybe Bool)
- managedPolicyDetail_path :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_permissionsBoundaryUsageCount :: Lens' ManagedPolicyDetail (Maybe Int)
- managedPolicyDetail_policyId :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_policyName :: Lens' ManagedPolicyDetail (Maybe Text)
- managedPolicyDetail_policyVersionList :: Lens' ManagedPolicyDetail (Maybe [PolicyVersion])
- managedPolicyDetail_updateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime)
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:arn:ManagedPolicyDetail'
, managedPolicyDetail_arn
- Undocumented member.
$sel:attachmentCount:ManagedPolicyDetail'
, managedPolicyDetail_attachmentCount
- The number of principal entities (users, groups, and roles) that the
policy is attached to.
ManagedPolicyDetail
, managedPolicyDetail_createDate
- The date and time, in
ISO 8601 date-time format, when the
policy was created.
$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:description:ManagedPolicyDetail'
, managedPolicyDetail_description
- A friendly description of the policy.
$sel:isAttachable:ManagedPolicyDetail'
, managedPolicyDetail_isAttachable
- Specifies whether the policy can be attached to an IAM user, group, or
role.
$sel:path:ManagedPolicyDetail'
, managedPolicyDetail_path
- The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
$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: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:policyName:ManagedPolicyDetail'
, managedPolicyDetail_policyName
- The friendly name (not ARN) identifying the policy.
$sel:policyVersionList:ManagedPolicyDetail'
, managedPolicyDetail_policyVersionList
- A list containing information about the versions of the policy.
$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.
managedPolicyDetail_arn :: Lens' ManagedPolicyDetail (Maybe Text) Source #
Undocumented member.
managedPolicyDetail_attachmentCount :: Lens' ManagedPolicyDetail (Maybe Int) Source #
The number of principal entities (users, groups, and roles) that the policy is attached to.
managedPolicyDetail_createDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) Source #
The date and time, in ISO 8601 date-time format, when the policy was created.
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_description :: Lens' ManagedPolicyDetail (Maybe Text) Source #
A friendly description of the policy.
managedPolicyDetail_isAttachable :: Lens' ManagedPolicyDetail (Maybe Bool) Source #
Specifies whether the policy can be attached to an IAM user, group, or role.
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_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_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_policyName :: Lens' ManagedPolicyDetail (Maybe Text) Source #
The friendly name (not ARN) identifying the policy.
managedPolicyDetail_policyVersionList :: Lens' ManagedPolicyDetail (Maybe [PolicyVersion]) Source #
A list containing information about the versions of the policy.
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.