mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 22:00:52 +00:00
Update cheatsheets
This commit is contained in:
37
sqsc
Normal file
37
sqsc
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sqsc
|
||||
|
||||
> A command-line 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}}`
|
||||
Reference in New Issue
Block a user