amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ImportVolume

Contents

Description

Creates an import volume task using metadata from the specified disk image. After importing the image, you then upload it using the 'ec2-import-volume' command in the Amazon EC2 command-line interface (CLI) tools. For more information, see Using the Command Line Tools to Import Your Virtual Machineto Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ImportVolume.html

Synopsis

Request

Request constructor

Request lenses

ivAvailabilityZone :: Lens' ImportVolume Text Source

The Availability Zone for the resulting EBS volume.

ivDescription :: Lens' ImportVolume (Maybe Text) Source

A description of the volume.

ivDryRun :: Lens' ImportVolume (Maybe Bool) Source

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.

Response

Response constructor

importVolumeResponse :: ImportVolumeResponse Source

ImportVolumeResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

ivrConversionTask :: Lens' ImportVolumeResponse (Maybe ConversionTask) Source

Information about the conversion task.