Class: Aws::SWF::Types::DecisionTask
- Inherits:
-
Struct
- Object
- Struct
- Aws::SWF::Types::DecisionTask
- Defined in:
- gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb
Overview
A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#events ⇒ Array<Types::HistoryEvent>
A paginated list of history events of the workflow execution.
-
#next_page_token ⇒ String
If a
NextPageToken
was returned by a previous call, there are more results available. -
#previous_started_event_id ⇒ Integer
The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider.
-
#started_event_id ⇒ Integer
The ID of the
DecisionTaskStarted
event recorded in the history. -
#task_token ⇒ String
The opaque string used as a handle on the task.
-
#workflow_execution ⇒ Types::WorkflowExecution
The workflow execution for which this decision task was created.
-
#workflow_type ⇒ Types::WorkflowType
The type of the workflow execution for which this decision task was created.
Instance Attribute Details
#events ⇒ Array<Types::HistoryEvent>
A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |
#next_page_token ⇒ String
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.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |
#previous_started_event_id ⇒ Integer
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.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |
#started_event_id ⇒ Integer
The ID of the DecisionTaskStarted
event recorded in the history.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |
#task_token ⇒ String
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.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |
#workflow_execution ⇒ Types::WorkflowExecution
The workflow execution for which this decision task was created.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |
#workflow_type ⇒ Types::WorkflowType
The type of the workflow execution for which this decision task was created.
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 1628 class DecisionTask < Struct.new( :task_token, :started_event_id, :workflow_execution, :workflow_type, :events, :next_page_token, :previous_started_event_id) SENSITIVE = [] include Aws::Structure end |