Class: AWS::Flow::MinimalWorkflowExecution

Inherits:
Object
  • Object
show all
Defined in:
aws-flow-ruby/aws-flow/lib/aws/decider/workflow_client.rb

Overview

Contains data about a workflow execution. This class represents a minimal set of data needed by the AWS Flow Framework for Ruby, based on the AWS::SimpleWorkflow::WorkflowExecution class.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (MinimalWorkflowExecution) initialize(domain, workflow_id, run_id)

Creates a new MinimalWorkflowExecution instance

Parameters:



67
68
69
70
71
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/workflow_client.rb', line 67

def initialize(domain, workflow_id, run_id)
  @domain = domain
  @workflow_id = workflow_id
  @run_id = run_id
end

Instance Attribute Details

- (Object) domain

The domain that the workflow is running in. See #initialize for details.



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/workflow_client.rb', line 50

class MinimalWorkflowExecution
  attr_accessor :workflow_id, :run_id, :domain

  # Creates a new `MinimalWorkflowExecution` instance
  #
  # @param (Domain) domain
  #   The Amazon SWF domain that the workflow is running in; an instance of
  #   [AWS::SimpleWorkflow::Domain](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/Domain.html).
  #
  # @param (String) workflow_id
  #   The unique workflow indentifier for this workflow; From
  #   [AWS::SimpleWorkflow::WorkflowExecution#workflow_id](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html#workflow_id-instance_method).
  #
  # @param (String) run_id
  #   The unique run indentifier for this workflow. From
  #   [AWS::SimpleWorkflow::WorkflowExecution#run_id](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html#run_id-instance_method).
  #
  def initialize(domain, workflow_id, run_id)
    @domain = domain
    @workflow_id = workflow_id
    @run_id = run_id
  end
end

- (Object) run_id

The unique run indentifier for this workflow. See #initialize for details.



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/workflow_client.rb', line 50

class MinimalWorkflowExecution
  attr_accessor :workflow_id, :run_id, :domain

  # Creates a new `MinimalWorkflowExecution` instance
  #
  # @param (Domain) domain
  #   The Amazon SWF domain that the workflow is running in; an instance of
  #   [AWS::SimpleWorkflow::Domain](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/Domain.html).
  #
  # @param (String) workflow_id
  #   The unique workflow indentifier for this workflow; From
  #   [AWS::SimpleWorkflow::WorkflowExecution#workflow_id](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html#workflow_id-instance_method).
  #
  # @param (String) run_id
  #   The unique run indentifier for this workflow. From
  #   [AWS::SimpleWorkflow::WorkflowExecution#run_id](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html#run_id-instance_method).
  #
  def initialize(domain, workflow_id, run_id)
    @domain = domain
    @workflow_id = workflow_id
    @run_id = run_id
  end
end

- (Object) workflow_id

The unique identifier for this workflow. See #initialize for details.



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/workflow_client.rb', line 50

class MinimalWorkflowExecution
  attr_accessor :workflow_id, :run_id, :domain

  # Creates a new `MinimalWorkflowExecution` instance
  #
  # @param (Domain) domain
  #   The Amazon SWF domain that the workflow is running in; an instance of
  #   [AWS::SimpleWorkflow::Domain](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/Domain.html).
  #
  # @param (String) workflow_id
  #   The unique workflow indentifier for this workflow; From
  #   [AWS::SimpleWorkflow::WorkflowExecution#workflow_id](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html#workflow_id-instance_method).
  #
  # @param (String) run_id
  #   The unique run indentifier for this workflow. From
  #   [AWS::SimpleWorkflow::WorkflowExecution#run_id](http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html#run_id-instance_method).
  #
  def initialize(domain, workflow_id, run_id)
    @domain = domain
    @workflow_id = workflow_id
    @run_id = run_id
  end
end