Alternera.Plugins.Sqs.Editor (alternera_plugin_sqs v0.9.0)

Copy Markdown View Source

Editor for an SQS step's settings (Alternera.Plugins.Sqs), on the editor contract (Alternera.Plugin.Editor):

  • Operation, a segmented Send / Receive / Delete / Release. Switching drops the settings of the other operations, so the save never sees a key the new one does not take; Delete and Release start with the receipt handle of a For each's item (${input.item.receipt_handle}).
  • Queue URL and Proxy user (granted_proxy_users).
  • Region, Access key id and Secret access key: blank leaves them to a Configuration step (Editor.ByMatch); the secret is a {{secret.NAME}} reference, typed as it is, with no template suggestions.
  • Send: Body (source, Editor.LocationPicker, the side's body by default), Message group id, Deduplication id, Delay and Attributes rows.
  • Receive: Batch size, Wait time, Visibility timeout, When no message comes and Delete, with a note that a consume trigger reads a queue without a receive step.
  • Delete and Release: Receipt handle; Release also Visible again after.
  • To (targets), the TargetList of the plugin's outputs.

A text field is stored trimmed and left out when blank, a number as an integer when it is one and as typed otherwise, so the save refuses it by name (Plugin.Editor.put_text/3, put_number/3). The settings go to the pipeline editor with Plugin.Editor.notify_step_settings_changed/2.