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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for GetLoginProfile.

Synopsis

Creating a Request

getLoginProfile Source

Creates a value of GetLoginProfile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

glpUserName :: Lens' GetLoginProfile Text Source

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

Destructuring the Response

getLoginProfileResponse Source

Creates a value of GetLoginProfileResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

glprsStatus :: Lens' GetLoginProfileResponse Int Source

The response status code.

glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile Source

The user name and password create date for the user.