sfn_send_task_failure: Used by activity workers, Task states using the callback...

View source: R/sfn_operations.R

sfn_send_task_failureR Documentation

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

Description

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.

See https://www.paws-r-sdk.com/docs/sfn_send_task_failure/ for full documentation.

Usage

sfn_send_task_failure(taskToken, error = NULL, cause = NULL)

Arguments

taskToken

[required] 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.

error

The error code of the failure.

cause

A more detailed explanation of the cause of the failure.


paws.application.integration documentation built on Sept. 12, 2024, 6:11 a.m.