amazonka-iam-0.2.0: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetRole

Contents

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

Synopsis

Request

Request constructor

getRole Source

Arguments

:: Text

grRoleName

-> GetRole 

GetRole constructor.

The fields accessible through corresponding lenses are:

Request lenses

grRoleName :: Lens' GetRole Text Source

The name of the role to get information about.

Response

Response constructor

getRoleResponse Source

GetRoleResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

grrRole :: Lens' GetRoleResponse Role Source

Information about the role.