This API action supports only single-volume VMs. To import multi-volume VMs, use import_image
instead. To import a disk to a snapshot, use import_snapshot
instead.
See https://www.paws-r-sdk.com/docs/ec2_import_volume/ for full documentation.
ec2_import_volume(
DryRun = NULL,
AvailabilityZone,
Image,
Description = NULL,
Volume
)
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 Availability Zone for the resulting EBS volume.
[required] The disk image.
A description of the volume.
[required] The volume size.