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

Class: Aws::SWF::Types::WorkflowExecutionContinuedAsNewEventAttributes

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

Overview

Provides the details of the WorkflowExecutionContinuedAsNew event.

Instance Attribute Summary collapse

Instance Attribute Details

#child_policyString

The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

  • TERMINATE – The child executions are terminated.

  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.

  • ABANDON – No action is taken. The child executions continue to run.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#decision_task_completed_event_idInteger

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

Returns:

  • (Integer)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#execution_start_to_close_timeoutString

The total duration allowed for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#inputString

The input provided to the new workflow execution.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#lambda_roleString

The IAM role to attach to the new (continued) workflow execution.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#new_execution_run_idString

The runId of the new workflow execution.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#tag_listArray<String>

The list of tags associated with the new workflow execution.

Returns:

  • (Array<String>)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#task_listTypes::TaskList

The task list to use for the decisions of the new (continued) workflow execution.

Returns:



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#task_priorityString

The priority of the task to use for the decisions of the new (continued) workflow execution.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#task_start_to_close_timeoutString

The maximum duration of decision tasks for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end

#workflow_typeTypes::WorkflowType

The workflow type of this execution.

Returns:



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6277

class WorkflowExecutionContinuedAsNewEventAttributes < Struct.new(
  :input,
  :decision_task_completed_event_id,
  :new_execution_run_id,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :task_start_to_close_timeout,
  :child_policy,
  :tag_list,
  :workflow_type,
  :lambda_role)
  include Aws::Structure
end