Module Smaws_Client_SFN.SendTaskFailure

val request : Smaws_Lib.Context.t -> send_task_failure_input -> (send_task_failure_output, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidToken of invalid_token | `TaskDoesNotExist of task_does_not_exist | `TaskTimedOut of task_timed_out ]) Stdlib.result

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 failed.