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

Class: Aws::SWF::Types::ActivityTask

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb

Overview

Unit of work sent to an activity worker.

Instance Attribute Summary collapse

Instance Attribute Details

#activity_idString

The unique ID of the task.

Returns:

  • (String)


41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 41

class ActivityTask < Struct.new(
  :task_token,
  :activity_id,
  :started_event_id,
  :workflow_execution,
  :activity_type,
  :input)
  include Aws::Structure
end

#activity_typeTypes::ActivityType

The type of this activity task.

Returns:



41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 41

class ActivityTask < Struct.new(
  :task_token,
  :activity_id,
  :started_event_id,
  :workflow_execution,
  :activity_type,
  :input)
  include Aws::Structure
end

#inputString

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.

Returns:

  • (String)


41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 41

class ActivityTask < Struct.new(
  :task_token,
  :activity_id,
  :started_event_id,
  :workflow_execution,
  :activity_type,
  :input)
  include Aws::Structure
end

#started_event_idInteger

The ID of the ActivityTaskStarted event recorded in the history.

Returns:

  • (Integer)


41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 41

class ActivityTask < Struct.new(
  :task_token,
  :activity_id,
  :started_event_id,
  :workflow_execution,
  :activity_type,
  :input)
  include Aws::Structure
end

#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)


41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 41

class ActivityTask < Struct.new(
  :task_token,
  :activity_id,
  :started_event_id,
  :workflow_execution,
  :activity_type,
  :input)
  include Aws::Structure
end

#workflow_executionTypes::WorkflowExecution

The workflow execution that started this activity task.



41
42
43
44
45
46
47
48
49
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 41

class ActivityTask < Struct.new(
  :task_token,
  :activity_id,
  :started_event_id,
  :workflow_execution,
  :activity_type,
  :input)
  include Aws::Structure
end