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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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 Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.

See: AWS API Reference for ImportVolume.

Synopsis

Creating a Request

importVolume Source

Creates a value of ImportVolume with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

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.

ivAvailabilityZone :: Lens' ImportVolume Text Source

The Availability Zone for the resulting EBS volume.

Destructuring the Response

importVolumeResponse Source

Creates a value of ImportVolumeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ivrsConversionTask :: Lens' ImportVolumeResponse (Maybe ConversionTask) Source

Information about the conversion task.