Module Values.RespondDecisionTaskCompletedInputSource

Input data for a TaskCompleted response to a decision task.

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

    The taskToken from the DecisionTask. taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

    *)
  2. decisions : DecisionList.t option;
    (*

    The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

    *)
  3. executionContext : Data.t option;
    (*

    User defined context to add to workflow execution.

    *)
  4. taskList : TaskList.t option;
    (*

    The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.

    *)
  5. taskListScheduleToStartTimeout : DurationInSecondsOptional.t option;
    (*

    Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list. If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.

    *)
}
Sourceval context_ : string
Sourceval make : ?decisions:??? -> ?executionContext:??? -> ?taskList:??? -> ?taskListScheduleToStartTimeout:??? -> taskToken:TaskToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of Tag.t ] list | `String of ActivityId.t | `Structure of (string * [> `String of Name.t ]) list ]) list ]) list ] list | `String of TaskToken.t | `Structure of (string * [> `String of Name.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