Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 Machineto Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ImportVolume.html
- data ImportVolume
- importVolume :: Text -> DiskImageDetail -> VolumeDetail -> ImportVolume
- ivAvailabilityZone :: Lens' ImportVolume Text
- ivDescription :: Lens' ImportVolume (Maybe Text)
- ivDryRun :: Lens' ImportVolume (Maybe Bool)
- ivImage :: Lens' ImportVolume DiskImageDetail
- ivVolume :: Lens' ImportVolume VolumeDetail
- data ImportVolumeResponse
- importVolumeResponse :: ImportVolumeResponse
- ivrConversionTask :: Lens' ImportVolumeResponse (Maybe ConversionTask)
Request
data ImportVolume Source
Request constructor
ImportVolume
constructor.
The fields accessible through corresponding lenses are:
Request lenses
ivAvailabilityZone :: Lens' ImportVolume Text Source
The Availability Zone for the resulting Amazon EBS volume.
ivDescription :: Lens' ImportVolume (Maybe Text) Source
An optional description for the volume being imported.
Response
Response constructor
importVolumeResponse :: ImportVolumeResponse Source
ImportVolumeResponse
constructor.
The fields accessible through corresponding lenses are: