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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetUser

Contents

Description

Retrieves information about the specified user, including the user's creation date, path, unique ID, and ARN.

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID used to sign the request.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html

Synopsis

Request

Request constructor

getUser :: GetUser Source

GetUser constructor.

The fields accessible through corresponding lenses are:

Request lenses

guUserName :: Lens' GetUser (Maybe Text) Source

The name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.

Response

Response constructor

getUserResponse Source

GetUserResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

gurUser :: Lens' GetUserResponse User Source

Information about the user.