Deletes the specified key pair, by removing the
public key from Amazon EC2. You must own the key pair.
Declaration Syntax
C# |
public DeleteKeyPairResponse DeleteKeyPair( DeleteKeyPairRequest request )
Parameters
- request (DeleteKeyPairRequest)
- Delete Key Pair request
Return Value
Delete Key Pair Response from the service
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |