Module Values.SendTaskSuccessInputSource

Used by activity workers, Task states using the callback pattern, and optionally Task states using the job run pattern to report that the task identified by the taskToken completed successfully.

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

    The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

    *)
  2. output : SensitiveData.t;
    (*

    The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

    *)
}
Sourceval context_ : string
Sourceval make : taskToken:TaskToken.t -> output:SensitiveData.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TaskToken.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