Copyright | (c) 2013-2018 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 a specific key pair.
Creating a Request
Creates a value of GetKeyPair
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gkpKeyPairName
- The name of the key pair for which you are requesting information.
data GetKeyPair Source #
See: getKeyPair
smart constructor.
Request Lenses
gkpKeyPairName :: Lens' GetKeyPair Text Source #
The name of the key pair for which you are requesting information.
Destructuring the Response
Creates a value of GetKeyPairResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gkprsKeyPair
- An array of key-value pairs containing information about the key pair.gkprsResponseStatus
- -- | The response status code.
data GetKeyPairResponse Source #
See: getKeyPairResponse
smart constructor.
Response Lenses
gkprsKeyPair :: Lens' GetKeyPairResponse (Maybe KeyPair) Source #
An array of key-value pairs containing information about the key pair.
gkprsResponseStatus :: Lens' GetKeyPairResponse Int Source #
- - | The response status code.