You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SWF::Types::DecisionTask

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<Types::HistoryEvent>

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Returns:

  • (Array<Types::HistoryEvent>)

    A paginated list of history events of the workflow execution.

#next_page_tokenString

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Returns:

  • (String)

    If a NextPageToken was returned by a previous call, there are more results available.

#previous_started_event_idInteger

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.

Returns:

  • (Integer)

    The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider.

#started_event_idInteger

The ID of the DecisionTaskStarted event recorded in the history.

Returns:

  • (Integer)

    The ID of the DecisionTaskStarted event recorded in the history.

#task_tokenString

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.

Returns:

  • (String)

    The opaque string used as a handle on the task.

#workflow_executionTypes::WorkflowExecution

The workflow execution for which this decision task was created.

Returns:

#workflow_typeTypes::WorkflowType

The type of the workflow execution for which this decision task was created.

Returns:

  • (Types::WorkflowType)

    The type of the workflow execution for which this decision task was created.