> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon SQS

> Receive and publish SQS messages through SigV4.

Use [the Streams mount example](https://docs.bijection.com/integrations/native-kinesis.md)
with `sqsReceiver("us-east-1", session, data)` and bind it
to `streams_sqs`. Seal a regional AWS session with `sqs:ReceiveMessage`,
`sqs:DeleteMessage`, and `sqs:SendMessage` on one queue. Bind the mount and
receiver to the same [label](https://docs.bijection.com/integrations/native-connectors.md#installer-bound-labels).
Initialize `streams.sqs` with
`{ queue: "https://sqs.us-east-1.amazonaws.com/111122223333/orders" }`.
The queue URL is fixed after initialization. Use a fresh mount if the queue
is replaced, including replacement under the same URL.

The app receives at most one message per request, with a ten-second wait
and 120-second visibility window. It retains at most 16 KiB of UTF-8 body
as a File, keyed by the queue's `MessageId`. The wire answer is bounded to
36 KiB. Landing the event also submits `DeleteMessage` for the exact
delivery receipt, which can dispatch only after that transaction commits.
If the message returns, its current receipt can settle the same retained
event. Oversized or invalid deliveries remain unacknowledged. The queue
owns delivery position, visibility and redrive. Empty reads and remote
deletion leave retained Files intact.

Call `publish({ command, message })` on a standard queue. Supply `group`
for a FIFO queue. FIFO sends use the command as the provider deduplication ID.
Both queue kinds get at most one send per task. The same
command and message recover the same retained disposition.
`publishStatus({ command })` reports the provider's message ID on acceptance.
An ambiguous send stays unknown.

For provider delivery terminology, see the
[ReceiveMessage API](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html)
and [DeleteMessage API](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessage.html).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.