Class: AWS::Flow::MinimalWorkflowExecution
- Inherits:
-
Object
- Object
- AWS::Flow::MinimalWorkflowExecution
- Defined in:
- 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](docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow/WorkflowExecution.html) class.
Instance Attribute Summary collapse
-
#domain ⇒ Object
The domain that the workflow is running in.
-
#run_id ⇒ Object
The unique run indentifier for this workflow.
-
#workflow_id ⇒ Object
The unique identifier for this workflow.
Instance Method Summary collapse
-
#initialize(domain, workflow_id, run_id) ⇒ MinimalWorkflowExecution
constructor
Creates a new ‘MinimalWorkflowExecution` instance.
Constructor Details
#initialize(domain, workflow_id, run_id) ⇒ MinimalWorkflowExecution
Creates a new ‘MinimalWorkflowExecution` instance
67 68 69 70 71 |
# File '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
#domain ⇒ Object
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 '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 |
#run_id ⇒ Object
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 '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 |
#workflow_id ⇒ Object
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 '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 |