Skip to main content
The SQSResourceClient allows you to perform operations on AWS SQS queues, such as sending messages, receiving messages, and deleting messages.

Usage

Inputs

The invoke method accepts the following arguments:
string
required
The SQS command to execute. Supported commands include "SendMessage", "ReceiveMessage", "DeleteMessage", "ListQueues", "GetQueueAttributes", "SetQueueAttributes".
Record<string, unknown>
required
The parameters for the command, matching the AWS SDK input shape (e.g., QueueUrl, MessageBody, ReceiptHandle).
string
required
A unique identifier for this operation.
object
Optional configuration object.

Outputs

On success (ok: true), the result object contains:
"queue"
Discriminator for the response type.
string
The command that was executed.
unknown
The result data from SQS (e.g., the MessageId from a SendMessage call, or Messages from a ReceiveMessage call).