Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ImportImage
- importImage :: ImportImage
- ii1Architecture :: Lens' ImportImage (Maybe Text)
- ii1ClientData :: Lens' ImportImage (Maybe ClientData)
- ii1ClientToken :: Lens' ImportImage (Maybe Text)
- ii1Description :: Lens' ImportImage (Maybe Text)
- ii1DiskContainers :: Lens' ImportImage [ImageDiskContainer]
- ii1DryRun :: Lens' ImportImage (Maybe Bool)
- ii1Hypervisor :: Lens' ImportImage (Maybe Text)
- ii1LicenseType :: Lens' ImportImage (Maybe Text)
- ii1Platform :: Lens' ImportImage (Maybe Text)
- ii1RoleName :: Lens' ImportImage (Maybe Text)
- data ImportImageResponse
- importImageResponse :: ImportImageResponse
- iirArchitecture :: Lens' ImportImageResponse (Maybe Text)
- iirDescription :: Lens' ImportImageResponse (Maybe Text)
- iirHypervisor :: Lens' ImportImageResponse (Maybe Text)
- iirImageId :: Lens' ImportImageResponse (Maybe Text)
- iirImportTaskId :: Lens' ImportImageResponse (Maybe Text)
- iirLicenseType :: Lens' ImportImageResponse (Maybe Text)
- iirPlatform :: Lens' ImportImageResponse (Maybe Text)
- iirProgress :: Lens' ImportImageResponse (Maybe Text)
- iirSnapshotDetails :: Lens' ImportImageResponse [SnapshotDetail]
- iirStatus :: Lens' ImportImageResponse (Maybe Text)
- iirStatusMessage :: Lens' ImportImageResponse (Maybe Text)
Request
data ImportImage Source
Request constructor
importImage :: ImportImage Source
ImportImage
constructor.
The fields accessible through corresponding lenses are:
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
importImageResponse :: ImportImageResponse Source
ImportImageResponse
constructor.
The fields accessible through corresponding lenses are:
iirArchitecture
::
Maybe
Text
iirDescription
::
Maybe
Text
iirHypervisor
::
Maybe
Text
iirImageId
::
Maybe
Text
iirImportTaskId
::
Maybe
Text
iirLicenseType
::
Maybe
Text
iirPlatform
::
Maybe
Text
iirProgress
::
Maybe
Text
iirSnapshotDetails
::
[SnapshotDetail
]iirStatus
::
Maybe
Text
iirStatusMessage
::
Maybe
Text
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.
iirSnapshotDetails :: Lens' ImportImageResponse [SnapshotDetail] Source
Information about the snapshots.
iirStatusMessage :: Lens' ImportImageResponse (Maybe Text) Source
A detailed status message of the import task.