ImportKeyPairRequest

public struct ImportKeyPairRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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

    Swift

    public let dryRun: Bool?
  • A unique name for the key pair.

    Declaration

    Swift

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

    Declaration

    Swift

    public let publicKeyMaterial: Data
  • The tags to apply to the imported key pair.

    Declaration

    Swift

    public let tagSpecifications: [TagSpecification]?
  • Undocumented

    Declaration

    Swift

    public init(dryRun: Bool? = nil, keyName: String, publicKeyMaterial: Data, tagSpecifications: [TagSpecification]? = nil)