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 EBS volume.
ivDescription :: Lens' ImportVolume (Maybe Text) Source
A description of the volume.
ivDryRun :: Lens' ImportVolume (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
.
ivImage :: Lens' ImportVolume DiskImageDetail Source
The disk image.
ivVolume :: Lens' ImportVolume VolumeDetail Source
The volume size.
Response
Response constructor
importVolumeResponse :: ImportVolumeResponse Source
ImportVolumeResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
ivrConversionTask :: Lens' ImportVolumeResponse (Maybe ConversionTask) Source
Information about the conversion task.