libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.Types.ManagedPolicyDetail

Description

 
Synopsis

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.

Constructors

ManagedPolicyDetail' 

Fields

Instances

Instances details
Eq ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

Read ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

Show ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

Generic ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

Associated Types

type Rep ManagedPolicyDetail :: Type -> Type #

NFData ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

Methods

rnf :: ManagedPolicyDetail -> () #

Hashable ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

FromXML ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

type Rep ManagedPolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.ManagedPolicyDetail

type Rep ManagedPolicyDetail = D1 ('MetaData "ManagedPolicyDetail" "Amazonka.IAM.Types.ManagedPolicyDetail" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ManagedPolicyDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "updateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyVersionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PolicyVersion]))))) :*: ((S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "isAttachable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "permissionsBoundaryUsageCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "defaultVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "attachmentCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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_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.