Class: Aws::SWF::Types::WorkflowExecutionInfo

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

Overview

Contains information about a workflow execution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cancel_requestedBoolean

Set to true if a cancellation is requested for this workflow execution.

Returns:

  • (Boolean)


6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#close_statusString

If the execution status is closed then this specifies how the execution was closed:

  • ‘COMPLETED` – the execution was successfully completed.

  • ‘CANCELED` – the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.

  • ‘TERMINATED` – the execution was force terminated.

  • ‘FAILED` – the execution failed to complete.

  • ‘TIMED_OUT` – the execution did not complete in the alloted time and was automatically timed out.

  • ‘CONTINUED_AS_NEW` – the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

Returns:

  • (String)


6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#close_timestampTime

The time when the workflow execution was closed. Set only if the execution status is CLOSED.

Returns:

  • (Time)


6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#executionTypes::WorkflowExecution

The workflow execution this information is about.



6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#execution_statusString

The current status of the execution.

Returns:

  • (String)


6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#parentTypes::WorkflowExecution

If this workflow execution is a child of another execution then contains the workflow execution that started this execution.



6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestampTime

The time when the execution was started.

Returns:

  • (Time)


6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#tag_listArray<String>

The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

Returns:

  • (Array<String>)


6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end

#workflow_typeTypes::WorkflowType

The type of the workflow execution.

Returns:



6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
# File 'lib/aws-sdk-swf/types.rb', line 6127

class WorkflowExecutionInfo < Struct.new(
  :execution,
  :workflow_type,
  :start_timestamp,
  :close_timestamp,
  :execution_status,
  :close_status,
  :parent,
  :tag_list,
  :cancel_requested)
  SENSITIVE = []
  include Aws::Structure
end