We recommend that you use the import_image
API instead. 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(
DryRun = NULL,
Description = NULL,
LaunchSpecification = NULL,
DiskImages = NULL,
Platform
)
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
.
A description for the instance being imported.
The launch specification.
The disk image.
[required] The instance operating system.