Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.IAM.GetRole
Description
Retrieves information about the specified role, including the role's path, GUID, ARN, and the policy granting permission to assume the role. For more information about ARNs, go to ARNs. For more information about roles, go to Working with Roles. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html
- data GetRole
- getRole :: Text -> GetRole
- grRoleName :: Lens' GetRole Text
- data GetRoleResponse
- getRoleResponse :: Role -> GetRoleResponse
- grrRole :: Lens' GetRoleResponse Role
Request
Request constructor
Request lenses
grRoleName :: Lens' GetRole Text Source
The name of the role to get information about.
Response
data GetRoleResponse Source
Response constructor
Arguments
:: Role | |
-> GetRoleResponse |
Response lenses
grrRole :: Lens' GetRoleResponse Role Source
Information about the role.