A lightweight Node.js wrapper (v3.0.3) around the AWS SQS SDK that simplifies sending messages to FIFO queues by automatically retrieving the queue URL from the queue name. Supports cross-account queue access via AWS account ID. Ships TypeScript definitions. Requires Node >=8 and peer dependency aws-sdk ^2.580.0. Last published in 2020; maintenance-focused release cadence.
npm install aws-sqs-pushNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sends a JSON message to a FIFO SQS queue using queue name, with automatic URL resolution and optional cross-account ID.
Update import to `import sqsPush from 'aws-sqs-push'` and use as function directly.
Replace with @aws-sdk/client-sqs: install `npm install @aws-sdk/client-sqs` and use `SQSClient` and `SendMessageCommand`.
Ensure request object includes both `MessageGroupId` and `MessageDeduplicationId` for FIFO queues.
Verify the target queue's policy allows `sqs:SendMessage` from your account. Use AWS SDK directly for debugging.
Add `MessageBody: JSON.stringify({...})` to the request object.Ensure the queue name is correct and includes '.fifo' if it's a FIFO queue.
Verify AWS credentials via environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) and ensure IAM policy allows sqs:GetQueueUrl and sqs:SendMessage.