Deletes the specified key pair, by removing the public key from Amazon EC2.
See https://www.paws-r-sdk.com/docs/ec2_delete_key_pair/ for full documentation.
ec2_delete_key_pair(KeyName = NULL, KeyPairId = NULL, DryRun = NULL)
The name of the key pair.
The ID of the key pair.
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
.