Module Values.ActivityTaskSource

Unit of work sent to an activity worker.

Sourcetype nonrec t = {
  1. taskToken : TaskToken.t option;
    (*

    The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

    *)
  2. activityId : ActivityId.t option;
    (*

    The unique ID of the task.

    *)
  3. startedEventId : EventId.t option;
    (*

    The ID of the ActivityTaskStarted event recorded in the history.

    *)
  4. workflowExecution : WorkflowExecution.t option;
    (*

    The workflow execution that started this activity task.

    *)
  5. activityType : ActivityType.t option;
    (*

    The type of this activity task.

    *)
  6. input : Data.t option;
    (*

    The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.

    *)
}
Sourcetype nonrec error = [
  1. | `LimitExceededFault of LimitExceededFault.t
  2. | `OperationNotPermittedFault of OperationNotPermittedFault.t
  3. | `UnknownResourceFault of UnknownResourceFault.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?taskToken:??? -> ?activityId:??? -> ?startedEventId:??? -> ?workflowExecution:??? -> ?activityType:??? -> ?input:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `LimitExceededFault of LimitExceededFault.t | `OperationNotPermittedFault of OperationNotPermittedFault.t | `UnknownResourceFault of UnknownResourceFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `LimitExceededFault of LimitExceededFault.t | `OperationNotPermittedFault of OperationNotPermittedFault.t | `UnknownResourceFault of UnknownResourceFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of EventId.t | `String of TaskToken.t | `Structure of (string * [> `String of WorkflowId.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