1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 07:55:25 +02:00
tldr/pages/common/sqsc.md
Managor d1fa35edf6
common/*: reduce usage of "command-line" (part 2) (#16950)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:23 +03:00

692 B

sqsc

An AWS Simple Queue Service client. More information: https://github.com/yongfei25/sqsc.

  • List all queues:

sqsc lq {{queue_prefix}}

  • List all messages in a queue:

sqsc ls {{queue_name}}

  • Copy all messages from one queue to another:

sqsc cp {{source_queue}} {{destination_queue}}

  • Move all messages from one queue to another:

sqsc mv {{source_queue}} {{destination_queue}}

  • Describe a queue:

sqsc describe {{queue_name}}

  • Query a queue with SQL syntax:

sqsc query "SELECT body FROM {{queue_name}} WHERE body LIKE '%user%'"

  • Pull all messages from a queue into a local SQLite database in your present working directory:

sqsc pull {{queue_name}}