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 |
Deletes the specified key pair, by removing the public key from Amazon EC2.
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:
data DeleteKeyPair Source #
Contains the parameters for DeleteKeyPair.
See: deleteKeyPair
smart constructor.
Request Lenses
dkpDryRun :: Lens' DeleteKeyPair (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
dkpKeyName :: Lens' DeleteKeyPair Text Source #
The name of the key pair.
Destructuring the Response
deleteKeyPairResponse :: DeleteKeyPairResponse Source #
Creates a value of DeleteKeyPairResponse
with the minimum fields required to make a request.
data DeleteKeyPairResponse Source #
See: deleteKeyPairResponse
smart constructor.