Class: AWS::Flow::SignalWorkflowOptions

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

Overview

Instance Attribute Summary collapse

Attributes included from Utilities::UpwardLookups

#precursors

Attributes included from Utilities::UpwardLookups::InstanceMethods

#precursors

Instance Method Summary collapse

Methods inherited from Options

#get_options, inherited, #initialize, #method_missing

Methods included from Utilities::UpwardLookups

#held_properties, #properties, #property

Methods included from Utilities::UpwardLookups::InstanceMethods

#look_upwards

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

#controlObject

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 '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

#domainObject

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 '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

#inputObject

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 '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

#run_idObject

The runId of the workflow execution to signal.



186
187
188
189
190
191
192
193
194
195
196
197
# File '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

#signal_nameObject

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 '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

#workflow_idObject

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



186
187
188
189
190
191
192
193
194
195
196
197
# File '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

#get_full_optionsObject

Gets a hash containing the held options.



190
191
192
193
194
195
196
# File '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