sfn_send_task_success: Used by activity workers and task states using the callback...

Description Usage Arguments Value Request syntax

View source: R/sfn_operations.R

Description

Used by activity workers and task states using the callback pattern to report that the task identified by the taskToken completed successfully.

Usage

1
sfn_send_task_success(taskToken, output)

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.

output

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

Value

An empty list.

Request syntax

1
2
3
4
svc$send_task_success(
  taskToken = "string",
  output = "string"
)

paws.application.integration documentation built on Aug. 23, 2021, 9:20 a.m.