Safe Haskell | None |
---|---|
Language | Haskell2010 |
Imports a disk into an EBS snapshot.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ImportSnapshot.html
- data ImportSnapshot
- importSnapshot :: ImportSnapshot
- isClientData :: Lens' ImportSnapshot (Maybe ClientData)
- isClientToken :: Lens' ImportSnapshot (Maybe Text)
- isDescription :: Lens' ImportSnapshot (Maybe Text)
- isDiskContainer :: Lens' ImportSnapshot (Maybe SnapshotDiskContainer)
- isDryRun :: Lens' ImportSnapshot (Maybe Bool)
- isRoleName :: Lens' ImportSnapshot (Maybe Text)
- data ImportSnapshotResponse
- importSnapshotResponse :: ImportSnapshotResponse
- isrDescription :: Lens' ImportSnapshotResponse (Maybe Text)
- isrImportTaskId :: Lens' ImportSnapshotResponse (Maybe Text)
- isrSnapshotTaskDetail :: Lens' ImportSnapshotResponse (Maybe SnapshotTaskDetail)
Request
data ImportSnapshot Source
Request constructor
importSnapshot :: ImportSnapshot Source
ImportSnapshot
constructor.
The fields accessible through corresponding lenses are:
Request lenses
isClientData :: Lens' ImportSnapshot (Maybe ClientData) Source
The client-specific data.
isClientToken :: Lens' ImportSnapshot (Maybe Text) Source
Token to enable idempotency for VM import requests.
isDescription :: Lens' ImportSnapshot (Maybe Text) Source
The description string for the import snapshot task.
isDiskContainer :: Lens' ImportSnapshot (Maybe SnapshotDiskContainer) Source
Information about the disk container.
isDryRun :: Lens' ImportSnapshot (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
.
isRoleName :: Lens' ImportSnapshot (Maybe Text) Source
The name of the role to use when not using the default role, vmimport
.
Response
Response constructor
importSnapshotResponse :: ImportSnapshotResponse Source
ImportSnapshotResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
isrDescription :: Lens' ImportSnapshotResponse (Maybe Text) Source
A description of the import snapshot task.
isrImportTaskId :: Lens' ImportSnapshotResponse (Maybe Text) Source
The ID of the import snapshot task.
isrSnapshotTaskDetail :: Lens' ImportSnapshotResponse (Maybe SnapshotTaskDetail) Source
Information about the import snapshot task.