Class: Aws::SWF::Types::ActivityTaskScheduledEventAttributes

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

Overview

Provides the details of the ‘ActivityTaskScheduled` event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#activity_idString

The unique ID of the activity task.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#activity_typeTypes::ActivityType

The type of the activity task.

Returns:



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#controlString

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn’t sent to the activity.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#decision_task_completed_event_idInteger

The ID of the ‘DecisionTaskCompleted` event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Returns:

  • (Integer)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#heartbeat_timeoutString

The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#inputString

The input provided to the activity task.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#schedule_to_close_timeoutString

The maximum amount of time for this activity task.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#schedule_to_start_timeoutString

The maximum amount of time the activity task can wait to be assigned to a worker.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#start_to_close_timeoutString

The maximum amount of time a worker may take to process the activity task.

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#task_listTypes::TaskList

The task list in which the activity task has been scheduled.

Returns:



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#task_priorityString

The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.

Valid values are integers that range from Java’s ‘Integer.MIN_VALUE` (-2147483648) to `Integer.MAX_VALUE` (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see [Setting Task Priority] in the *Amazon SWF Developer Guide*.

[1]: docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html

Returns:

  • (String)


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/aws-sdk-swf/types.rb', line 241

class ActivityTaskScheduledEventAttributes < Struct.new(
  :activity_type,
  :activity_id,
  :input,
  :control,
  :schedule_to_start_timeout,
  :schedule_to_close_timeout,
  :start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :heartbeat_timeout)
  SENSITIVE = []
  include Aws::Structure
end