| 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 | 
Network.AWS.KMS.ListKeys
Description
Lists the customer master keys.
See: AWS API Reference for ListKeys.
- listKeys :: ListKeys
- data ListKeys
- lkMarker :: Lens' ListKeys (Maybe Text)
- lkLimit :: Lens' ListKeys (Maybe Natural)
- listKeysResponse :: Int -> ListKeysResponse
- data ListKeysResponse
- lkrsTruncated :: Lens' ListKeysResponse (Maybe Bool)
- lkrsKeys :: Lens' ListKeysResponse [KeyListEntry]
- lkrsNextMarker :: Lens' ListKeysResponse (Maybe Text)
- lkrsStatus :: Lens' ListKeysResponse Int
Creating a Request
See: listKeys smart constructor.
Request Lenses
lkMarker :: Lens' ListKeys (Maybe Text) Source
Use this parameter only when paginating results, and only in a
 subsequent request after you've received a response where the results
 are truncated. Set it to the value of the NextMarker in the response
 you just received.
lkLimit :: Lens' ListKeys (Maybe Natural) Source
Specify this parameter only when paginating results to indicate the
 maximum number of keys you want listed in the response. If there are
 additional keys beyond the maximum you specify, the Truncated response
 element will be set to 'true.'
Destructuring the Response
Arguments
| :: Int | |
| -> ListKeysResponse | 
Creates a value of ListKeysResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListKeysResponse Source
See: listKeysResponse smart constructor.
Response Lenses
lkrsTruncated :: Lens' ListKeysResponse (Maybe Bool) Source
A flag that indicates whether there are more items in the list. If your
 results were truncated, you can make a subsequent pagination request
 using the Marker request parameter to retrieve more keys in the list.
lkrsKeys :: Lens' ListKeysResponse [KeyListEntry] Source
A list of keys.
lkrsNextMarker :: Lens' ListKeysResponse (Maybe Text) Source
If Truncated is true, this value is present and contains the value to
 use for the Marker request parameter in a subsequent pagination
 request.
lkrsStatus :: Lens' ListKeysResponse Int Source
The response status code.