sfn_get_activity_task: Used by workers to retrieve a task (with the specified...

View source: R/sfn_operations.R

sfn_get_activity_taskR Documentation

Used by workers to retrieve a task (with the specified activity ARN) which has been scheduled for execution by a running state machine

Description

Used by workers to retrieve a task (with the specified activity ARN) which has been scheduled for execution by a running state machine. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available (i.e. an execution of a task of this type is needed.) The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll returns a taskToken with a null string.

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

Usage

sfn_get_activity_task(activityArn, workerName = NULL)

Arguments

activityArn

[required] The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using create_activity.)

workerName

You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.


paws.application.integration documentation built on Sept. 12, 2023, 1:18 a.m.