Skip to main content

awscli-sqsall

awscli plugin to treat SQS queues more like files, with receive-all-messages and send-all-messages.

Quickstart

receive-all-messages dumps all messages to a files. send-all-messages sends all file lines as messages to a queue. FIFO queues are supported.

You should be able to do something like:

aws sqs receive-all-messages --queue my-dlq \
| sed '/some fault/d' \
| aws sqs send-all-messages --queue my-queue

Since receive-all-messages doesn't communicate with send-all-messages, and just deletes the message after printing, you might want to keep a backup. Try this instead:

aws sqs receive-all-messages --queue my-dlq \
| tee safe_place \
| sed '/some fault/d' \
| aws sqs send-all-messages --queue my-queue

Check the commands' help for more details.

Installing

pip install awscli-sqsall
aws configure set plugins.sqsall sqsall

Releasing

It happes on tag. Check the GitHub Actions.

Metadata

Release files for awscli-sqsall 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awscli-sqsall 1.0.2
File Size Uploaded
awscli-sqsall-1.0.2.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awscli-sqsall 1.0.2
File Interpreter ABI Platform
awscli_sqsall-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / awscli-sqsall-1.0.2.tar.gz

Download URL awscli-sqsall-1.0.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fe762e3dcbe13a7a0e8f4329ed80409d429865a1a64c3ab43df89435ac8943e3
BLAKE2b-256 checksum
How to use checksums
a3167d749abdf1f0222428937b68b7ad83493604d27bce96c120ed64b4a624af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / awscli_sqsall-1.0.2-py3-none-any.whl

Download URL awscli_sqsall-1.0.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbc4eb4499d542576dd1cd1d87730c3186c892ebd1341e2ee23485d96075e410
BLAKE2b-256 checksum
How to use checksums
6a3fd6f6c6a7ba370b3731ff497271662e29c6a23ae153c7ce09c0d0997efa35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page