ExportImageRequest

public struct ExportImageRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Token to enable idempotency for export image requests.

    Declaration

    Swift

    public let clientToken: String?
  • A description of the image being exported. The maximum length is 255 characters.

    Declaration

    Swift

    public let description: String?
  • The disk image format.

    Declaration

    Swift

    public let diskImageFormat: DiskImageFormat
  • 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?
  • The ID of the image.

    Declaration

    Swift

    public let imageId: String
  • The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket. If this parameter is not specified, the default role is named ‘vmimport’.

    Declaration

    Swift

    public let roleName: String?
  • Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com.

    Declaration

    Swift

    public let s3ExportLocation: ExportTaskS3LocationRequest
  • The tags to apply to the image being exported.

    Declaration

    Swift

    public let tagSpecifications: [TagSpecification]?
  • Undocumented

    Declaration

    Swift

    public init(clientToken: String? = ExportImageRequest.idempotencyToken(), description: String? = nil, diskImageFormat: DiskImageFormat, dryRun: Bool? = nil, imageId: String, roleName: String? = nil, s3ExportLocation: ExportTaskS3LocationRequest, tagSpecifications: [TagSpecification]? = nil)