Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data StoreImageTaskResult = StoreImageTaskResult' {}
- newStoreImageTaskResult :: StoreImageTaskResult
- storeImageTaskResult_amiId :: Lens' StoreImageTaskResult (Maybe Text)
- storeImageTaskResult_bucket :: Lens' StoreImageTaskResult (Maybe Text)
- storeImageTaskResult_progressPercentage :: Lens' StoreImageTaskResult (Maybe Int)
- storeImageTaskResult_s3objectKey :: Lens' StoreImageTaskResult (Maybe Text)
- storeImageTaskResult_storeTaskFailureReason :: Lens' StoreImageTaskResult (Maybe Text)
- storeImageTaskResult_storeTaskState :: Lens' StoreImageTaskResult (Maybe Text)
- storeImageTaskResult_taskStartTime :: Lens' StoreImageTaskResult (Maybe UTCTime)
Documentation
data StoreImageTaskResult Source #
The information about the AMI store task, including the progress of the task.
See: newStoreImageTaskResult
smart constructor.
StoreImageTaskResult' | |
|
Instances
newStoreImageTaskResult :: StoreImageTaskResult Source #
Create a value of StoreImageTaskResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amiId:StoreImageTaskResult'
, storeImageTaskResult_amiId
- The ID of the AMI that is being stored.
$sel:bucket:StoreImageTaskResult'
, storeImageTaskResult_bucket
- The name of the Amazon S3 bucket that contains the stored AMI object.
$sel:progressPercentage:StoreImageTaskResult'
, storeImageTaskResult_progressPercentage
- The progress of the task as a percentage.
$sel:s3objectKey:StoreImageTaskResult'
, storeImageTaskResult_s3objectKey
- The name of the stored AMI object in the bucket.
$sel:storeTaskFailureReason:StoreImageTaskResult'
, storeImageTaskResult_storeTaskFailureReason
- If the tasks fails, the reason for the failure is returned. If the task
succeeds, null
is returned.
$sel:storeTaskState:StoreImageTaskResult'
, storeImageTaskResult_storeTaskState
- The state of the store task (InProgress
, Completed
, or Failed
).
$sel:taskStartTime:StoreImageTaskResult'
, storeImageTaskResult_taskStartTime
- The time the task started.
storeImageTaskResult_amiId :: Lens' StoreImageTaskResult (Maybe Text) Source #
The ID of the AMI that is being stored.
storeImageTaskResult_bucket :: Lens' StoreImageTaskResult (Maybe Text) Source #
The name of the Amazon S3 bucket that contains the stored AMI object.
storeImageTaskResult_progressPercentage :: Lens' StoreImageTaskResult (Maybe Int) Source #
The progress of the task as a percentage.
storeImageTaskResult_s3objectKey :: Lens' StoreImageTaskResult (Maybe Text) Source #
The name of the stored AMI object in the bucket.
storeImageTaskResult_storeTaskFailureReason :: Lens' StoreImageTaskResult (Maybe Text) Source #
If the tasks fails, the reason for the failure is returned. If the task
succeeds, null
is returned.
storeImageTaskResult_storeTaskState :: Lens' StoreImageTaskResult (Maybe Text) Source #
The state of the store task (InProgress
, Completed
, or Failed
).
storeImageTaskResult_taskStartTime :: Lens' StoreImageTaskResult (Maybe UTCTime) Source #
The time the task started.