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

Copyright(c) 2013-2016 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.

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:

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.