- We can send data to an AWS queue from the command line, as follows:
aws sqs send-message
--queue-url https://queue.amazonaws.com/<account id>/my-first-queue
--message-body 'This is a test message'
--profile admin
This command will return a response, as follows:
- We can get data from an AWS queue from the command line, as follows:
aws sqs receive-message
--queue-url https://queue.amazonaws.com/<account id>/my-first-queue
--profile admin
This command will return a response, as follows: