AWS SQS Send Messsage Action

Send message to AWS SQS completely serverless via Thingsup IoT Platform.

This provides a way to send message AWS SQS. Before adding AWS SQS message Action, user has to define a AWS Connection. User need to provide following parameters to invode AWS SQS send message action.

QueryURL

  • User need to provide AWS SQS queue url.

DeletionInSeconds

User need to provide delay in seconds for FIFO queues, Keep '-1' for normal queue.

Function

  • Javascript code to supply dynamic data to SQS message.

  • "MessageBody","MessageAttributes" and "payload" objects are available in this code, function can be used to set message body and attributes from payload before sending to SQS.

//Example 1

MessageBody = payload;
MessageAttributes = { "From":Thingsup" };

Connection ID

User need to provide a Connection ID of AWS connection.

Please note the following points:

  • "payload" object is supplied from Action Trigger like Rules, Action Command etc.

  • Data Response from AWS SQS will be available as Action Response.

Last updated