amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.ReplaceRootVolumeTask

Description

 
Synopsis

Documentation

data ReplaceRootVolumeTask Source #

Information about a root volume replacement task.

See: newReplaceRootVolumeTask smart constructor.

Constructors

ReplaceRootVolumeTask' 

Fields

  • completeTime :: Maybe Text

    The time the task completed.

  • deleteReplacedRootVolume :: Maybe Bool

    Indicates whether the original root volume is to be deleted after the root volume replacement task completes.

  • imageId :: Maybe Text

    The ID of the AMI used to create the replacement root volume.

  • instanceId :: Maybe Text

    The ID of the instance for which the root volume replacement task was created.

  • replaceRootVolumeTaskId :: Maybe Text

    The ID of the root volume replacement task.

  • snapshotId :: Maybe Text

    The ID of the snapshot used to create the replacement root volume.

  • startTime :: Maybe Text

    The time the task was started.

  • tags :: Maybe [Tag]

    The tags assigned to the task.

  • taskState :: Maybe ReplaceRootVolumeTaskState

    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.

Instances

Instances details
FromXML ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

Generic ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

Associated Types

type Rep ReplaceRootVolumeTask :: Type -> Type #

Read ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

Show ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

NFData ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

Methods

rnf :: ReplaceRootVolumeTask -> () #

Eq ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

Hashable ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

type Rep ReplaceRootVolumeTask Source # 
Instance details

Defined in Amazonka.EC2.Types.ReplaceRootVolumeTask

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_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_snapshotId :: Lens' ReplaceRootVolumeTask (Maybe Text) Source #

The ID of the snapshot used to create the replacement root volume.

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.