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 RoleDetail = RoleDetail' {
- assumeRolePolicyDocument :: Maybe Text
- arn :: Maybe Text
- path :: Maybe Text
- instanceProfileList :: Maybe [InstanceProfile]
- createDate :: Maybe ISO8601
- roleName :: Maybe Text
- roleId :: Maybe Text
- roleLastUsed :: Maybe RoleLastUsed
- permissionsBoundary :: Maybe AttachedPermissionsBoundary
- rolePolicyList :: Maybe [PolicyDetail]
- tags :: Maybe [Tag]
- attachedManagedPolicies :: Maybe [AttachedPolicy]
- newRoleDetail :: RoleDetail
- roleDetail_assumeRolePolicyDocument :: Lens' RoleDetail (Maybe Text)
- roleDetail_arn :: Lens' RoleDetail (Maybe Text)
- roleDetail_path :: Lens' RoleDetail (Maybe Text)
- roleDetail_instanceProfileList :: Lens' RoleDetail (Maybe [InstanceProfile])
- roleDetail_createDate :: Lens' RoleDetail (Maybe UTCTime)
- roleDetail_roleName :: Lens' RoleDetail (Maybe Text)
- roleDetail_roleId :: Lens' RoleDetail (Maybe Text)
- roleDetail_roleLastUsed :: Lens' RoleDetail (Maybe RoleLastUsed)
- roleDetail_permissionsBoundary :: Lens' RoleDetail (Maybe AttachedPermissionsBoundary)
- roleDetail_rolePolicyList :: Lens' RoleDetail (Maybe [PolicyDetail])
- roleDetail_tags :: Lens' RoleDetail (Maybe [Tag])
- roleDetail_attachedManagedPolicies :: Lens' RoleDetail (Maybe [AttachedPolicy])
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.
RoleDetail' | |
|
Instances
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.