AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetKeyPairs operation. Returns information about all key pairs in the user's account.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lightsail.AmazonLightsailRequest
      Amazon.Lightsail.Model.GetKeyPairsRequest

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class GetKeyPairsRequest : AmazonLightsailRequest
         IAmazonWebServiceRequest

The GetKeyPairsRequest type exposes the following members

Constructors

NameDescription
Public Method GetKeyPairsRequest()

Properties

NameTypeDescription
Public Property IncludeDefaultKeyPair System.Boolean

Gets and sets the property IncludeDefaultKeyPair.

A Boolean value that indicates whether to include the default key pair in the response of your request.

Public Property PageToken System.String

Gets and sets the property PageToken.

The token to advance to the next page of results from your request.

To get a page token, perform an initial GetKeyPairs request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5