Module Values_2.ReplaceRootVolumeTaskSource

Information about a root volume replacement task.

Sourcetype nonrec t = {
  1. replaceRootVolumeTaskId : Values_1.ReplaceRootVolumeTaskId.t option;
    (*

    The ID of the root volume replacement task.

    *)
  2. instanceId : Values_0.String_.t option;
    (*

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

    *)
  3. taskState : Values_1.ReplaceRootVolumeTaskState.t option;
    (*

    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.

    *)
  4. startTime : Values_0.String_.t option;
    (*

    The time the task was started.

    *)
  5. completeTime : Values_0.String_.t option;
    (*

    The time the task completed.

    *)
  6. tags : Values_0.TagList.t option;
    (*

    The tags assigned to the task.

    *)
  7. imageId : Values_0.ImageId.t option;
    (*

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

    *)
  8. snapshotId : Values_0.SnapshotId.t option;
    (*

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

    *)
  9. deleteReplacedRootVolume : Values_0.Boolean.t option;
    (*

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

    *)
}
Sourceval make : ?replaceRootVolumeTaskId:??? -> ?instanceId:??? -> ?taskState:??? -> ?startTime:??? -> ?completeTime:??? -> ?tags:??? -> ?imageId:??? -> ?snapshotId:??? -> ?deleteReplacedRootVolume:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_1.ReplaceRootVolumeTaskId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t