Copyright | (c) 2013-2016 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.
- getAccessKeyLastUsed :: Text -> GetAccessKeyLastUsed
- data GetAccessKeyLastUsed
- gakluAccessKeyId :: Lens' GetAccessKeyLastUsed Text
- getAccessKeyLastUsedResponse :: Int -> GetAccessKeyLastUsedResponse
- data GetAccessKeyLastUsedResponse
- gaklursUserName :: Lens' GetAccessKeyLastUsedResponse (Maybe Text)
- gaklursAccessKeyLastUsed :: Lens' GetAccessKeyLastUsedResponse (Maybe AccessKeyLastUsed)
- gaklursResponseStatus :: 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:
gakluAccessKeyId
- The identifier of an access key. The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
data GetAccessKeyLastUsed Source #
See: getAccessKeyLastUsed
smart constructor.
Request Lenses
gakluAccessKeyId :: Lens' GetAccessKeyLastUsed Text Source #
The identifier of an access key. The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
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:
gaklursUserName
- The name of the AWS IAM user that owns this access key.gaklursAccessKeyLastUsed
- Contains information about the last time the access key was used.gaklursResponseStatus
- -- | The response status code.
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.
gaklursResponseStatus :: Lens' GetAccessKeyLastUsedResponse Int Source #
- - | The response status code.