aws sqs

Create, delete, and send messages to queues for the AWS SQS service. More information: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sqs/index.html.

aws sqs list-queues

aws sqs get-queue-url --queue-name {{queue_name}}

aws sqs create-queue --queue-name {{queue_name}} --attributes {{file://path/to/attributes_file.json}}

aws sqs send-message --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}} --message-body "{{message_body}}" --delay-seconds {{delay}} --message-attributes {{file://path/to/attributes_file.json}}

aws sqs delete-message --queue-url {{https://queue_url}} --receipt-handle {{receipt_handle}}

aws sqs delete-queue --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}}

aws sqs purge-queue --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}}

aws sqs add-permission --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}} --label {{permission_name}} --aws-account-ids {{account_id}} --actions SendMessage