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

Class: Aws::SWF::Types::WorkflowExecutionCancelRequestedEventAttributes

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

Overview

Provides the details of the WorkflowExecutionCancelRequested event.

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

Returns:

  • (String)


6084
6085
6086
6087
6088
6089
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6084

class WorkflowExecutionCancelRequestedEventAttributes < Struct.new(
  :external_workflow_execution,
  :external_initiated_event_id,
  :cause)
  include Aws::Structure
end

#external_initiated_event_idInteger

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Returns:

  • (Integer)


6084
6085
6086
6087
6088
6089
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6084

class WorkflowExecutionCancelRequestedEventAttributes < Struct.new(
  :external_workflow_execution,
  :external_initiated_event_id,
  :cause)
  include Aws::Structure
end

#external_workflow_executionTypes::WorkflowExecution

The external workflow execution for which the cancellation was requested.



6084
6085
6086
6087
6088
6089
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6084

class WorkflowExecutionCancelRequestedEventAttributes < Struct.new(
  :external_workflow_execution,
  :external_initiated_event_id,
  :cause)
  include Aws::Structure
end