AWS SDK for .NET Documentation
DeleteKeyPair Method (request)
AmazonAmazon.EC2AmazonEC2ClientDeleteKeyPair(DeleteKeyPairRequest) Did this page help you?   Yes   No    Tell us about it...
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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)