Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates an import instance task using metadata from the specified disk image. 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 the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ImportInstance.html
- data ImportInstance
- importInstance :: Text -> ImportInstance
- iiDescription :: Lens' ImportInstance (Maybe Text)
- iiDiskImages :: Lens' ImportInstance [DiskImage]
- iiDryRun :: Lens' ImportInstance (Maybe Bool)
- iiLaunchSpecification :: Lens' ImportInstance (Maybe ImportInstanceLaunchSpecification)
- iiPlatform :: Lens' ImportInstance Text
- 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.
iiPlatform :: Lens' ImportInstance Text Source
The instance operating system.
Response
Response constructor
importInstanceResponse :: ImportInstanceResponse Source
ImportInstanceResponse
constructor.
The fields accessible through corresponding lenses are: