Class: Aws::SWF::Types::ActivityTask
- Inherits:
-
Struct
- Object
- Struct
- Aws::SWF::Types::ActivityTask
- Defined in:
- gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb
Overview
Unit of work sent to an activity worker.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#activity_id ⇒ String
The unique ID of the task.
-
#activity_type ⇒ Types::ActivityType
The type of this activity task.
-
#input ⇒ String
The inputs provided when the activity task was scheduled.
-
#started_event_id ⇒ Integer
The ID of the
ActivityTaskStarted
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 that started this activity task.
Instance Attribute Details
#activity_id ⇒ String
The unique ID of the task.
43 44 45 46 47 48 49 50 51 52 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 43 class ActivityTask < Struct.new( :task_token, :activity_id, :started_event_id, :workflow_execution, :activity_type, :input) SENSITIVE = [] include Aws::Structure end |
#activity_type ⇒ Types::ActivityType
The type of this activity task.
43 44 45 46 47 48 49 50 51 52 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 43 class ActivityTask < Struct.new( :task_token, :activity_id, :started_event_id, :workflow_execution, :activity_type, :input) SENSITIVE = [] include Aws::Structure end |
#input ⇒ String
The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.
43 44 45 46 47 48 49 50 51 52 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 43 class ActivityTask < Struct.new( :task_token, :activity_id, :started_event_id, :workflow_execution, :activity_type, :input) SENSITIVE = [] include Aws::Structure end |
#started_event_id ⇒ Integer
The ID of the ActivityTaskStarted
event recorded in the history.
43 44 45 46 47 48 49 50 51 52 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 43 class ActivityTask < Struct.new( :task_token, :activity_id, :started_event_id, :workflow_execution, :activity_type, :input) 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.
43 44 45 46 47 48 49 50 51 52 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 43 class ActivityTask < Struct.new( :task_token, :activity_id, :started_event_id, :workflow_execution, :activity_type, :input) SENSITIVE = [] include Aws::Structure end |
#workflow_execution ⇒ Types::WorkflowExecution
The workflow execution that started this activity task.
43 44 45 46 47 48 49 50 51 52 |
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 43 class ActivityTask < Struct.new( :task_token, :activity_id, :started_event_id, :workflow_execution, :activity_type, :input) SENSITIVE = [] include Aws::Structure end |