| 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 |
Amazonka.EC2.Types.ReplaceRootVolumeTask
Description
Synopsis
- data ReplaceRootVolumeTask = ReplaceRootVolumeTask' {}
- newReplaceRootVolumeTask :: ReplaceRootVolumeTask
- replaceRootVolumeTask_completeTime :: Lens' ReplaceRootVolumeTask (Maybe Text)
- replaceRootVolumeTask_deleteReplacedRootVolume :: Lens' ReplaceRootVolumeTask (Maybe Bool)
- replaceRootVolumeTask_imageId :: Lens' ReplaceRootVolumeTask (Maybe Text)
- replaceRootVolumeTask_instanceId :: Lens' ReplaceRootVolumeTask (Maybe Text)
- replaceRootVolumeTask_replaceRootVolumeTaskId :: Lens' ReplaceRootVolumeTask (Maybe Text)
- replaceRootVolumeTask_snapshotId :: Lens' ReplaceRootVolumeTask (Maybe Text)
- replaceRootVolumeTask_startTime :: Lens' ReplaceRootVolumeTask (Maybe Text)
- replaceRootVolumeTask_tags :: Lens' ReplaceRootVolumeTask (Maybe [Tag])
- replaceRootVolumeTask_taskState :: Lens' ReplaceRootVolumeTask (Maybe ReplaceRootVolumeTaskState)
Documentation
data ReplaceRootVolumeTask Source #
Information about a root volume replacement task.
See: newReplaceRootVolumeTask smart constructor.
Constructors
| ReplaceRootVolumeTask' | |
Fields
| |
Instances
newReplaceRootVolumeTask :: ReplaceRootVolumeTask Source #
Create a value of ReplaceRootVolumeTask 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:completeTime:ReplaceRootVolumeTask', replaceRootVolumeTask_completeTime - The time the task completed.
$sel:deleteReplacedRootVolume:ReplaceRootVolumeTask', replaceRootVolumeTask_deleteReplacedRootVolume - Indicates whether the original root volume is to be deleted after the
root volume replacement task completes.
$sel:imageId:ReplaceRootVolumeTask', replaceRootVolumeTask_imageId - The ID of the AMI used to create the replacement root volume.
$sel:instanceId:ReplaceRootVolumeTask', replaceRootVolumeTask_instanceId - The ID of the instance for which the root volume replacement task was
created.
$sel:replaceRootVolumeTaskId:ReplaceRootVolumeTask', replaceRootVolumeTask_replaceRootVolumeTaskId - The ID of the root volume replacement task.
$sel:snapshotId:ReplaceRootVolumeTask', replaceRootVolumeTask_snapshotId - The ID of the snapshot used to create the replacement root volume.
$sel:startTime:ReplaceRootVolumeTask', replaceRootVolumeTask_startTime - The time the task was started.
$sel:tags:ReplaceRootVolumeTask', replaceRootVolumeTask_tags - The tags assigned to the task.
$sel:taskState:ReplaceRootVolumeTask', replaceRootVolumeTask_taskState - The state of the task. The task can be in one of the following states:
pending- the replacement volume is being created.in-progress- the original volume is being detached and the replacement volume is being attached.succeeded- the replacement volume has been successfully attached to the instance and the instance is available.failing- the replacement task is in the process of failing.failed- the replacement task has failed but the original root volume is still attached.failing-detached- the replacement task is in the process of failing. The instance might have no root volume attached.failed-detached- the replacement task has failed and the instance has no root volume attached.
replaceRootVolumeTask_completeTime :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #
The time the task completed.
replaceRootVolumeTask_deleteReplacedRootVolume :: Lens' ReplaceRootVolumeTask (Maybe Bool) Source #
Indicates whether the original root volume is to be deleted after the root volume replacement task completes.
replaceRootVolumeTask_imageId :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #
The ID of the AMI used to create the replacement root volume.
replaceRootVolumeTask_instanceId :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #
The ID of the instance for which the root volume replacement task was created.
replaceRootVolumeTask_replaceRootVolumeTaskId :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #
The ID of the root volume replacement task.
replaceRootVolumeTask_snapshotId :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #
The ID of the snapshot used to create the replacement root volume.
replaceRootVolumeTask_startTime :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #
The time the task was started.
replaceRootVolumeTask_tags :: Lens' ReplaceRootVolumeTask (Maybe [Tag]) Source #
The tags assigned to the task.
replaceRootVolumeTask_taskState :: Lens' ReplaceRootVolumeTask (Maybe ReplaceRootVolumeTaskState) Source #
The state of the task. The task can be in one of the following states:
pending- the replacement volume is being created.in-progress- the original volume is being detached and the replacement volume is being attached.succeeded- the replacement volume has been successfully attached to the instance and the instance is available.failing- the replacement task is in the process of failing.failed- the replacement task has failed but the original root volume is still attached.failing-detached- the replacement task is in the process of failing. The instance might have no root volume attached.failed-detached- the replacement task has failed and the instance has no root volume attached.