- Navigation GuideYou are on a type information page within a Client package. Return to the Client landing page
@aws-sdk/client-swf
DecisionTask Interface
A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.
Members
Name | Type | Details |
---|---|---|
events Required | HistoryEvent[] | undefined | A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task. |
startedEventId Required | number | undefined | The ID of the |
taskToken Required | string | undefined | The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task. |
workflowExecution Required | WorkflowExecution | undefined | The workflow execution for which this decision task was created. |
workflowType Required | WorkflowType | undefined | The type of the workflow execution for which this decision task was created. |
nextPageToken | string | undefined | If a The configured |
previousStartedEventId | number | undefined | The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider. |
Full Signature
export interface DecisionTask