Module Values.PollForTaskOutputSource

Contains the output of PollForTask.

Sourcetype nonrec t = {
  1. taskObject : TaskObject.t option;
    (*

    The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId, which contains an identifier for the task being assigned. The calling task runner uses taskId in subsequent calls to ReportTaskProgress and SetTaskStatus.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceError of InternalServiceError.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `TaskNotFoundException of TaskNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?taskObject:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServiceError of InternalServiceError.t | `InvalidRequestException of InvalidRequestException.t | `TaskNotFoundException of TaskNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServiceError of InternalServiceError.t | `InvalidRequestException of InvalidRequestException.t | `TaskNotFoundException of TaskNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Map of ([> `String of Id.t ] * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of FieldNameString.t ]) list ] list | `String of Id.t ]) list ]) list | `String of TaskId.t ]) list ]) 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