delete
(**kwargs)Deletes the specified key pair, by removing the public key from Amazon EC2.
See also: AWS API Documentation
Request Syntax
response = key_pair.delete(
KeyPairId='string',
DryRun=True|False
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.None