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

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

Overview

Unit of work sent to an activity worker.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#activity_idString

The unique ID of the task.

Returns:

  • (String)


43
44
45
46
47
48
49
50
51
52
# File '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_typeTypes::ActivityType

The type of this activity task.

Returns:



43
44
45
46
47
48
49
50
51
52
# File '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

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


43
44
45
46
47
48
49
50
51
52
# File '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_idInteger

The ID of the ‘ActivityTaskStarted` event recorded in the history.

Returns:

  • (Integer)


43
44
45
46
47
48
49
50
51
52
# File '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_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)


43
44
45
46
47
48
49
50
51
52
# File '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_executionTypes::WorkflowExecution

The workflow execution that started this activity task.



43
44
45
46
47
48
49
50
51
52
# File '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