Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Exports a running or stopped instance to an S3 bucket.
For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting EC2 Instances in the Amazon Elastic Compute Cloud User Guide.
See: AWS API Reference for CreateInstanceExportTask.
- createInstanceExportTask :: Text -> CreateInstanceExportTask
- data CreateInstanceExportTask
- cietTargetEnvironment :: Lens' CreateInstanceExportTask (Maybe ExportEnvironment)
- cietExportToS3Task :: Lens' CreateInstanceExportTask (Maybe ExportToS3TaskSpecification)
- cietDescription :: Lens' CreateInstanceExportTask (Maybe Text)
- cietInstanceId :: Lens' CreateInstanceExportTask Text
- createInstanceExportTaskResponse :: Int -> CreateInstanceExportTaskResponse
- data CreateInstanceExportTaskResponse
- cietrsExportTask :: Lens' CreateInstanceExportTaskResponse (Maybe ExportTask)
- cietrsStatus :: Lens' CreateInstanceExportTaskResponse Int
Creating a Request
createInstanceExportTask Source
Creates a value of CreateInstanceExportTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateInstanceExportTask Source
See: createInstanceExportTask
smart constructor.
Request Lenses
cietTargetEnvironment :: Lens' CreateInstanceExportTask (Maybe ExportEnvironment) Source
The target virtualization environment.
cietExportToS3Task :: Lens' CreateInstanceExportTask (Maybe ExportToS3TaskSpecification) Source
The format and location for an instance export task.
cietDescription :: Lens' CreateInstanceExportTask (Maybe Text) Source
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
cietInstanceId :: Lens' CreateInstanceExportTask Text Source
The ID of the instance.
Destructuring the Response
createInstanceExportTaskResponse Source
Creates a value of CreateInstanceExportTaskResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateInstanceExportTaskResponse Source
See: createInstanceExportTaskResponse
smart constructor.
Response Lenses
cietrsExportTask :: Lens' CreateInstanceExportTaskResponse (Maybe ExportTask) Source
Information about the instance export task.
cietrsStatus :: Lens' CreateInstanceExportTaskResponse Int Source
The response status code.