Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ImportInstance
- importInstance :: PlatformValues -> ImportInstance
- iiDescription :: Lens' ImportInstance (Maybe Text)
- iiDiskImages :: Lens' ImportInstance [DiskImage]
- iiDryRun :: Lens' ImportInstance (Maybe Bool)
- iiLaunchSpecification :: Lens' ImportInstance (Maybe ImportInstanceLaunchSpecification)
- iiPlatform :: Lens' ImportInstance PlatformValues
- data ImportInstanceResponse
- importInstanceResponse :: ImportInstanceResponse
- iirConversionTask :: Lens' ImportInstanceResponse (Maybe ConversionTask)
Request
data ImportInstance Source
Request constructor
ImportInstance
constructor.
The fields accessible through corresponding lenses are:
Request lenses
iiDescription :: Lens' ImportInstance (Maybe Text) Source
A description for the instance being imported.
iiDiskImages :: Lens' ImportInstance [DiskImage] Source
The disk image.
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
.
iiLaunchSpecification :: Lens' ImportInstance (Maybe ImportInstanceLaunchSpecification) Source
The launch specification.
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.