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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ImportImage

Contents

Description

Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).

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

Synopsis

Request

Request constructor

Request lenses

ii1Architecture :: Lens' ImportImage (Maybe Text) Source

The architecture of the virtual machine.

Valid values: i386 | x86_64

ii1ClientData :: Lens' ImportImage (Maybe ClientData) Source

The client-specific data.

ii1ClientToken :: Lens' ImportImage (Maybe Text) Source

The token to enable idempotency for VM import requests.

ii1Description :: Lens' ImportImage (Maybe Text) Source

A description string for the import image task.

ii1DiskContainers :: Lens' ImportImage [ImageDiskContainer] Source

Information about the disk containers.

ii1DryRun :: Lens' ImportImage (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.

ii1Hypervisor :: Lens' ImportImage (Maybe Text) Source

The target hypervisor platform.

Valid values: xen

ii1LicenseType :: Lens' ImportImage (Maybe Text) Source

The license type to be used for the Amazon Machine Image (AMI) after importing.

Note: You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see VMImport/Export Prerequisites in the Amazon Elastic Compute Cloud User Guide.

Valid values: AWS | BYOL

ii1Platform :: Lens' ImportImage (Maybe Text) Source

The operating system of the virtual machine.

Valid values: Windows | Linux

ii1RoleName :: Lens' ImportImage (Maybe Text) Source

The name of the role to use when not using the default role, vmimport.

Response

Response constructor

Response lenses

iirArchitecture :: Lens' ImportImageResponse (Maybe Text) Source

The architecture of the virtual machine.

iirDescription :: Lens' ImportImageResponse (Maybe Text) Source

A description of the import task.

iirHypervisor :: Lens' ImportImageResponse (Maybe Text) Source

The target hypervisor of the import task.

iirImageId :: Lens' ImportImageResponse (Maybe Text) Source

The ID of the Amazon Machine Image (AMI) created by the import task.

iirImportTaskId :: Lens' ImportImageResponse (Maybe Text) Source

The task ID of the import image task.

iirLicenseType :: Lens' ImportImageResponse (Maybe Text) Source

The license type of the virtual machine.

iirPlatform :: Lens' ImportImageResponse (Maybe Text) Source

The operating system of the virtual machine.

iirProgress :: Lens' ImportImageResponse (Maybe Text) Source

The progress of the task.

iirStatus :: Lens' ImportImageResponse (Maybe Text) Source

A brief status of the task.

iirStatusMessage :: Lens' ImportImageResponse (Maybe Text) Source

A detailed status message of the import task.