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.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.

See: AWS API Reference for GetAccessKeyLastUsed.

Synopsis

Creating a Request

getAccessKeyLastUsed Source

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

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

Request Lenses

gakluAccessKeyId :: Lens' GetAccessKeyLastUsed Text Source

The identifier of an access key.

Destructuring the Response

getAccessKeyLastUsedResponse Source

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

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

data GetAccessKeyLastUsedResponse Source

Contains the response to a successful GetAccessKeyLastUsed request. It is also returned as a member of the AccessKeyMetaData structure returned by the ListAccessKeys action.

See: getAccessKeyLastUsedResponse smart constructor.

Response Lenses

gaklursUserName :: Lens' GetAccessKeyLastUsedResponse (Maybe Text) Source

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

gaklursAccessKeyLastUsed :: Lens' GetAccessKeyLastUsedResponse (Maybe AccessKeyLastUsed) Source

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