Deletes the specified key pair, by removing the public key from Amazon EC2. You must own the key pair.

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DeleteKeyPairRequest
Public Class DeleteKeyPairRequest
public ref class DeleteKeyPairRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DeleteKeyPairRequest()()()()
Initializes a new instance of the DeleteKeyPairRequest class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsSetKeyName()()()()
Checks if KeyName property is set
KeyName
Gets and sets the KeyName property. Name of the key pair to delete.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithKeyName(String)
Sets the KeyName property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..DeleteKeyPairRequest

See Also