Method: AWS::SimpleWorkflow::DecisionTask#record_marker

Defined in:
lib/aws/simple_workflow/decision_task.rb

#record_marker(marker_name, options = {}) ⇒ nil

Records a MarkerRecorded event in the history. Markers can be used for adding custom information in the history for instance to let deciders know that they do not need to look at the history beyond the marker event.

Parameters:

  • marker_name (String)

    The name of the marker.

  • options (Hash) (defaults to: {})

Options Hash (options):

  • :details (String) — default: nil

    Optional details of the marker.

Returns:

  • (nil)


428
429
430
# File 'lib/aws/simple_workflow/decision_task.rb', line 428

def record_marker marker_name, options = {}
  add_decision :record_marker, options.merge(:marker_name => marker_name)
end