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 |
Deletes a specific SSH key pair.
Creating a Request
Creates a value of DeleteKeyPair
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dkpKeyPairName
- The name of the key pair to delete.
data DeleteKeyPair Source #
See: deleteKeyPair
smart constructor.
Request Lenses
dkpKeyPairName :: Lens' DeleteKeyPair Text Source #
The name of the key pair to delete.
Destructuring the Response
deleteKeyPairResponse Source #
Creates a value of DeleteKeyPairResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dkprsOperation
- An array of key-value pairs containing information about the results of your delete key pair request.dkprsResponseStatus
- -- | The response status code.
data DeleteKeyPairResponse Source #
See: deleteKeyPairResponse
smart constructor.
Response Lenses
dkprsOperation :: Lens' DeleteKeyPairResponse (Maybe Operation) Source #
An array of key-value pairs containing information about the results of your delete key pair request.
dkprsResponseStatus :: Lens' DeleteKeyPairResponse Int Source #
- - | The response status code.