C# Class Amazon.StepFunctions.Model.GetActivityTaskRequest

Container for the parameters to the GetActivityTask operation. Used by workers to retrieve a task (with the specified activity ARN) 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 will return an empty result, that is, the taskToken returned is an empty string.

Workers should set their client side socket timeout to at least 65 seconds (5 seconds higher than the maximum time the service may hold the poll request).

Inheritance: AmazonStepFunctionsRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Methods

Method Description
IsSetActivityArn ( ) : bool
IsSetWorkerName ( ) : bool