Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getAccessKeyLastUsed :: Text -> GetAccessKeyLastUsed
- data GetAccessKeyLastUsed
- gakluAccessKeyId :: Lens' GetAccessKeyLastUsed Text
- getAccessKeyLastUsedResponse :: Int -> GetAccessKeyLastUsedResponse
- data GetAccessKeyLastUsedResponse
- gaklursUserName :: Lens' GetAccessKeyLastUsedResponse (Maybe Text)
- gaklursAccessKeyLastUsed :: Lens' GetAccessKeyLastUsedResponse (Maybe AccessKeyLastUsed)
- gaklursStatus :: Lens' GetAccessKeyLastUsedResponse Int
Creating a Request
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:
data GetAccessKeyLastUsed Source
See: getAccessKeyLastUsed
smart constructor.
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.
gaklursStatus :: Lens' GetAccessKeyLastUsedResponse Int Source
The response status code.