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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ImportInstance

Contents

Description

Creates an import instance task using metadata from the specified disk image. ImportInstance only supports single-volume VMs. To import multi-volume VMs, use ImportImage. After importing the image, you then upload it using the 'ec2-import-volume' command in the EC2 command line tools. For more information, see Using theCommand Line Tools to Import Your Virtual Machine to Amazon EC2 in the AmazonElastic Compute Cloud User Guide.

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

Synopsis

Request

Request constructor

Request lenses

iiDescription :: Lens' ImportInstance (Maybe Text) Source

A description for the instance being imported.

iiDryRun :: Lens' ImportInstance (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.

iiPlatform :: Lens' ImportInstance PlatformValues Source

The instance operating system.

Response

Response constructor

importInstanceResponse :: ImportInstanceResponse Source

ImportInstanceResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

iirConversionTask :: Lens' ImportInstanceResponse (Maybe ConversionTask) Source

Information about the conversion task.