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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetLoginProfile

Contents

Description

Retrieves the user name and password-creation date for the specified user. If the user has not been assigned a password, the action returns a 404 (NoSuchEntity) error.

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

Synopsis

Request

Request constructor

getLoginProfile Source

GetLoginProfile constructor.

The fields accessible through corresponding lenses are:

Request lenses

glpUserName :: Lens' GetLoginProfile Text Source

The name of the user whose login profile you want to retrieve.

Response

Response constructor

getLoginProfileResponse Source

GetLoginProfileResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

glprLoginProfile :: Lens' GetLoginProfileResponse LoginProfile Source

The user name and password create date for the user.