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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetAccessKeyLastUsed

Contents

Description

Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and region that were specified in the last request made with that key.

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

Synopsis

Request

Request constructor

getAccessKeyLastUsed Source

GetAccessKeyLastUsed constructor.

The fields accessible through corresponding lenses are:

Request lenses

gakluAccessKeyId :: Lens' GetAccessKeyLastUsed Text Source

The identifier of an access key.

Response

Response constructor

Response lenses

gaklurAccessKeyLastUsed :: Lens' GetAccessKeyLastUsedResponse (Maybe AccessKeyLastUsed) Source

Contains information about the last time the access key was used.

gaklurUserName :: Lens' GetAccessKeyLastUsedResponse (Maybe Text) Source

The name of the AWS IAM user that owns this access key.