AWSEC2ImportKeyPairRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Contains the parameters for ImportKeyPair.

Required parameters: [KeyName, PublicKeyMaterial]

  dryRun

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.

@property (nonatomic, strong) NSNumber *dryRun

Declared In

AWSEC2Model.h

  keyName

A unique name for the key pair.

@property (nonatomic, strong) NSString *keyName

Declared In

AWSEC2Model.h

  publicKeyMaterial

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

@property (nonatomic, strong) NSData *publicKeyMaterial

Declared In

AWSEC2Model.h