Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting a VM directly from an Amazon Machine Image (AMI) in the VM Import/Export User Guide.
See https://www.paws-r-sdk.com/docs/ec2_export_image/ for full documentation.
ec2_export_image(
ClientToken = NULL,
Description = NULL,
DiskImageFormat,
DryRun = NULL,
ImageId,
S3ExportLocation,
RoleName = NULL,
TagSpecifications = NULL
)
Token to enable idempotency for export image requests.
A description of the image being exported. The maximum length is 255 characters.
[required] The disk image format.
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
.
[required] The ID of the image.
[required] The Amazon S3 bucket for the destination image. The destination bucket must exist.
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'.
The tags to apply to the export image task during creation.