Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes the specified key pair, by removing the public key from Amazon EC2.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteKeyPair.html
Request
data DeleteKeyPair Source
Request constructor
DeleteKeyPair
constructor.
The fields accessible through corresponding lenses are:
dkpDryRun
::
Maybe
Bool
dkpKeyName
::
Text
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.
Response
Response constructor
deleteKeyPairResponse :: DeleteKeyPairResponse Source
DeleteKeyPairResponse
constructor.