Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about all key pairs in the user's account.
This operation returns paginated results.
- getKeyPairs :: GetKeyPairs
- data GetKeyPairs
- gkpPageToken :: Lens' GetKeyPairs (Maybe Text)
- getKeyPairsResponse :: Int -> GetKeyPairsResponse
- data GetKeyPairsResponse
- gkpsrsNextPageToken :: Lens' GetKeyPairsResponse (Maybe Text)
- gkpsrsKeyPairs :: Lens' GetKeyPairsResponse [KeyPair]
- gkpsrsResponseStatus :: Lens' GetKeyPairsResponse Int
Creating a Request
getKeyPairs :: GetKeyPairs Source #
Creates a value of GetKeyPairs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gkpPageToken
- A token used for advancing to the next page of results from your get key pairs request.
data GetKeyPairs Source #
See: getKeyPairs
smart constructor.
Request Lenses
gkpPageToken :: Lens' GetKeyPairs (Maybe Text) Source #
A token used for advancing to the next page of results from your get key pairs request.
Destructuring the Response
Creates a value of GetKeyPairsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gkpsrsNextPageToken
- A token used for advancing to the next page of results from your get key pairs request.gkpsrsKeyPairs
- An array of key-value pairs containing information about the key pairs.gkpsrsResponseStatus
- -- | The response status code.
data GetKeyPairsResponse Source #
See: getKeyPairsResponse
smart constructor.
Response Lenses
gkpsrsNextPageToken :: Lens' GetKeyPairsResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your get key pairs request.
gkpsrsKeyPairs :: Lens' GetKeyPairsResponse [KeyPair] Source #
An array of key-value pairs containing information about the key pairs.
gkpsrsResponseStatus :: Lens' GetKeyPairsResponse Int Source #
- - | The response status code.