AWSEC2DescribeKeyPairsRequest

@interface AWSEC2DescribeKeyPairsRequest
  • Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The filters.

    • fingerprint - The fingerprint of the key pair.

    • key-name - The name of the key pair.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<AWSEC2Filter *> *_Nullable filters;

    Swift

    var filters: [AWSEC2Filter]? { get set }
  • The key pair names.

    Default: Describes all your key pairs.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSArray<NSString *> *_Nullable keyNames;

    Swift

    var keyNames: [String]? { get set }
  • The IDs of the key pairs.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<NSString *> *_Nullable keyPairIds;

    Swift

    var keyPairIds: [String]? { get set }