Class: AWS::Flow::SignalWorkflowOptions

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

Overview

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Options

#get_options, inherited, #initialize

Constructor Details

This class inherits a constructor from AWS::Flow::Options

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AWS::Flow::Options

Instance Attribute Details

- (Object) control

Optional data attached to the signal that can be used by the workflow execution.



186
187
188
189
190
191
192
193
194
195
196
197
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 186

class SignalWorkflowOptions < Options
  properties(:input, :signal_name, :run_id, :workflow_id, :control, :domain)

  # Gets a hash containing the held options.
  def get_full_options
    result = {}
    SignalWorkflowOptions.held_properties.each do |option|
      result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
    end
    result
  end
end

- (Object) domain

Required. The name of the domain containing the workflow execution to signal.



186
187
188
189
190
191
192
193
194
195
196
197
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 186

class SignalWorkflowOptions < Options
  properties(:input, :signal_name, :run_id, :workflow_id, :control, :domain)

  # Gets a hash containing the held options.
  def get_full_options
    result = {}
    SignalWorkflowOptions.held_properties.each do |option|
      result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
    end
    result
  end
end

- (Object) input

Data to attach to the WorkflowExecutionSignaled event in the target workflow execution's history.



186
187
188
189
190
191
192
193
194
195
196
197
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 186

class SignalWorkflowOptions < Options
  properties(:input, :signal_name, :run_id, :workflow_id, :control, :domain)

  # Gets a hash containing the held options.
  def get_full_options
    result = {}
    SignalWorkflowOptions.held_properties.each do |option|
      result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
    end
    result
  end
end

- (Object) run_id

The runId of the workflow execution to signal.



186
187
188
189
190
191
192
193
194
195
196
197
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 186

class SignalWorkflowOptions < Options
  properties(:input, :signal_name, :run_id, :workflow_id, :control, :domain)

  # Gets a hash containing the held options.
  def get_full_options
    result = {}
    SignalWorkflowOptions.held_properties.each do |option|
      result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
    end
    result
  end
end

- (Object) signal_name

Required. The name of the signal. This name must be meaningful to the target workflow.



186
187
188
189
190
191
192
193
194
195
196
197
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 186

class SignalWorkflowOptions < Options
  properties(:input, :signal_name, :run_id, :workflow_id, :control, :domain)

  # Gets a hash containing the held options.
  def get_full_options
    result = {}
    SignalWorkflowOptions.held_properties.each do |option|
      result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
    end
    result
  end
end

- (Object) workflow_id

Required. The workflow ID of the workflow execution to signal.



186
187
188
189
190
191
192
193
194
195
196
197
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 186

class SignalWorkflowOptions < Options
  properties(:input, :signal_name, :run_id, :workflow_id, :control, :domain)

  # Gets a hash containing the held options.
  def get_full_options
    result = {}
    SignalWorkflowOptions.held_properties.each do |option|
      result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
    end
    result
  end
end

Instance Method Details

- (Object) get_full_options

Gets a hash containing the held options.



190
191
192
193
194
195
196
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 190

def get_full_options
  result = {}
  SignalWorkflowOptions.held_properties.each do |option|
    result[option] = self.send(option) if self.send(option) != nil && self.send(option) != ""
  end
  result
end