Module Values.CancelDataRepositoryTaskResponseSource

Cancels an existing Amazon FSx for Lustre data repository task if that task is in either the PENDING or EXECUTING state. When you cancel an export task, Amazon FSx does the following. Any files that FSx has already exported are not reverted. FSx continues to export any files that are in-flight when the cancel operation is received. FSx does not export any files that have not yet been exported. For a release task, Amazon FSx will stop releasing files upon cancellation. Any files that have already been released will remain in the released state.

Sourcetype nonrec t = {
  1. lifecycle : DataRepositoryTaskLifecycle.t option;
    (*

    The lifecycle status of the data repository task, as follows: PENDING - Amazon FSx has not started the task. EXECUTING - Amazon FSx is processing the task. FAILED - Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. SUCCEEDED - FSx completed the task successfully. CANCELED - Amazon FSx canceled the task and it did not complete. CANCELING - FSx is in process of canceling the task.

    *)
  2. taskId : TaskId.t option;
    (*

    The ID of the task being canceled.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequest of BadRequest.t
  2. | `DataRepositoryTaskEnded of DataRepositoryTaskEnded.t
  3. | `DataRepositoryTaskNotFound of DataRepositoryTaskNotFound.t
  4. | `InternalServerError of InternalServerError.t
  5. | `UnsupportedOperation of UnsupportedOperation.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?lifecycle:??? -> ?taskId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequest of BadRequest.t | `DataRepositoryTaskEnded of DataRepositoryTaskEnded.t | `DataRepositoryTaskNotFound of DataRepositoryTaskNotFound.t | `InternalServerError of InternalServerError.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequest of BadRequest.t | `DataRepositoryTaskEnded of DataRepositoryTaskEnded.t | `DataRepositoryTaskNotFound of DataRepositoryTaskNotFound.t | `InternalServerError of InternalServerError.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of TaskId.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