Module Values.SetTaskStatusInputSource

Contains the parameters for SetTaskStatus.

Sourcetype nonrec t = {
  1. taskId : TaskId.t;
    (*

    The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

    *)
  2. taskStatus : TaskStatus.t;
    (*

    If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. Preconditions use false.

    *)
  3. errorId : String_.t option;
    (*

    If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system.

    *)
  4. errorMessage : ErrorMessage.t option;
    (*

    If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.

    *)
  5. errorStackTrace : String_.t option;
    (*

    If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.

    *)
}
Sourceval context_ : string
Sourceval make : ?errorId:??? -> ?errorMessage:??? -> ?errorStackTrace:??? -> taskId:TaskId.t -> taskStatus:TaskStatus.t -> unit -> 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