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

Description

 
Synopsis

Documentation

data RoleDetail Source #

Contains information about an IAM role, including all of the role's policies.

This data type is used as a response element in the GetAccountAuthorizationDetails operation.

See: newRoleDetail smart constructor.

Constructors

RoleDetail' 

Fields

Instances

Instances details
Eq RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

Read RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

Show RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

Generic RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

Associated Types

type Rep RoleDetail :: Type -> Type #

NFData RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

Methods

rnf :: RoleDetail -> () #

Hashable RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

FromXML RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

type Rep RoleDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleDetail

type Rep RoleDetail = D1 ('MetaData "RoleDetail" "Amazonka.IAM.Types.RoleDetail" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "RoleDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "assumeRolePolicyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "instanceProfileList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceProfile])) :*: (S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "roleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleLastUsed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleLastUsed)) :*: S1 ('MetaSel ('Just "permissionsBoundary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttachedPermissionsBoundary)))) :*: (S1 ('MetaSel ('Just "rolePolicyList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PolicyDetail])) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "attachedManagedPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AttachedPolicy])))))))

newRoleDetail :: RoleDetail Source #

Create a value of RoleDetail 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:assumeRolePolicyDocument:RoleDetail', roleDetail_assumeRolePolicyDocument - The trust policy that grants permission to assume the role.

$sel:arn:RoleDetail', roleDetail_arn - Undocumented member.

$sel:path:RoleDetail', roleDetail_path - The path to the role. For more information about paths, see IAM identifiers in the IAM User Guide.

$sel:instanceProfileList:RoleDetail', roleDetail_instanceProfileList - A list of instance profiles that contain this role.

$sel:createDate:RoleDetail', roleDetail_createDate - The date and time, in ISO 8601 date-time format, when the role was created.

$sel:roleName:RoleDetail', roleDetail_roleName - The friendly name that identifies the role.

$sel:roleId:RoleDetail', roleDetail_roleId - The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.

$sel:roleLastUsed:RoleDetail', roleDetail_roleLastUsed - Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked in the IAM User Guide.

$sel:permissionsBoundary:RoleDetail', roleDetail_permissionsBoundary - The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.

$sel:rolePolicyList:RoleDetail', roleDetail_rolePolicyList - A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.

$sel:tags:RoleDetail', roleDetail_tags - A list of tags that are attached to the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

$sel:attachedManagedPolicies:RoleDetail', roleDetail_attachedManagedPolicies - A list of managed policies attached to the role. These policies are the role's access (permissions) policies.

roleDetail_assumeRolePolicyDocument :: Lens' RoleDetail (Maybe Text) Source #

The trust policy that grants permission to assume the role.

roleDetail_arn :: Lens' RoleDetail (Maybe Text) Source #

Undocumented member.

roleDetail_path :: Lens' RoleDetail (Maybe Text) Source #

The path to the role. For more information about paths, see IAM identifiers in the IAM User Guide.

roleDetail_instanceProfileList :: Lens' RoleDetail (Maybe [InstanceProfile]) Source #

A list of instance profiles that contain this role.

roleDetail_createDate :: Lens' RoleDetail (Maybe UTCTime) Source #

The date and time, in ISO 8601 date-time format, when the role was created.

roleDetail_roleName :: Lens' RoleDetail (Maybe Text) Source #

The friendly name that identifies the role.

roleDetail_roleId :: Lens' RoleDetail (Maybe Text) Source #

The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.

roleDetail_roleLastUsed :: Lens' RoleDetail (Maybe RoleLastUsed) Source #

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked in the IAM User Guide.

roleDetail_permissionsBoundary :: Lens' RoleDetail (Maybe AttachedPermissionsBoundary) Source #

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.

roleDetail_rolePolicyList :: Lens' RoleDetail (Maybe [PolicyDetail]) Source #

A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.

roleDetail_tags :: Lens' RoleDetail (Maybe [Tag]) Source #

A list of tags that are attached to the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

roleDetail_attachedManagedPolicies :: Lens' RoleDetail (Maybe [AttachedPolicy]) Source #

A list of managed policies attached to the role. These policies are the role's access (permissions) policies.