We recommend that you use the import_image
API. For more information, see Importing a VM as an image using VM Import/Export in the VM Import/Export User Guide.
See https://www.paws-r-sdk.com/docs/ec2_import_instance/ for full documentation.
ec2_import_instance(
Description = NULL,
DiskImages = NULL,
DryRun = NULL,
LaunchSpecification = NULL,
Platform
)
A description for the instance being imported.
The disk image.
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
.
The launch specification.
[required] The instance operating system.