Amazon.EC2.AmazonEC2Client.DescribeKeyPairsAsync C# (CSharp) Method

DescribeKeyPairsAsync() public method

Describes one or more of your key pairs.

For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide.

public DescribeKeyPairsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeKeyPairsResponse> DescribeKeyPairsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            return DescribeKeyPairsAsync(new DescribeKeyPairsRequest(), cancellationToken);
        }

Same methods

AmazonEC2Client::DescribeKeyPairsAsync ( DescribeKeyPairsRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonEC2Client