AmazonEC2Client.DescribeKeyPairs Method (DescribeKeyPairsRequest)

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual DescribeKeyPairsResponse DescribeKeyPairs(
         DescribeKeyPairsRequest describeKeyPairsRequest
)

Parameters

describeKeyPairsRequest
Type: Amazon.EC2.Model.DescribeKeyPairsRequest

Container for the necessary parameters to execute the DescribeKeyPairs service method on AmazonEC2.

Return Value
Type: Amazon.EC2.Model.DescribeKeyPairsResponse
The response from the DescribeKeyPairs service method, as returned by AmazonEC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5