sqsc: add page (#1992)

italian
mattbangert 2018-02-17 01:30:22 -07:00 committed by Agniva De Sarker
parent ad34f46429
commit b78c5184a6
1 changed files with 31 additions and 0 deletions

31
pages/common/sqsc.md Normal file
View File

@ -0,0 +1,31 @@
# sqsc
> A command line AWS Simple Queue Service client.
- 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}}`