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