Support for the Amazon Simple Queue Service.
Creates a queue with the correct name.
Name of the SQS queue to create
Region to create the SQS queue in
Any additional options to add to the command line
Run hg as a user other than what the minion runs as
CLI Example:
salt '*' aws_sqs.create_queue <sqs queue> <region>
Delete one or more messages from a queue in a region
The name of the queue to delete messages from
Region where SQS queues exists
The ReceiptHandle of the message to delete. The ReceiptHandle is obtained in the return from receive_message
Any additional options to add to the command line
Run as a user other than what the minion runs as
CLI Example:
salt '*' aws_sqs.delete_message <sqs queue> <region> receipthandle='<sqs ReceiptHandle>'
New in version 2014.7.0.
Deletes a queue in the region.
Name of the SQS queue to deletes
Name of the region to delete the queue from
Any additional options to add to the command line
Run hg as a user other than what the minion runs as
CLI Example:
salt '*' aws_sqs.delete_queue <sqs queue> <region>
List the queues in the selected region.
Region to list SQS queues for
Any additional options to add to the command line
Run hg as a user other than what the minion runs as
CLI Example:
salt '*' aws_sqs.list_queues <region>
Returns True or False on whether the queue exists in the region
Name of the SQS queue to search for
Name of the region to search for the queue in
Any additional options to add to the command line
Run hg as a user other than what the minion runs as
CLI Example:
salt '*' aws_sqs.queue_exists <sqs queue> <region>
Receive one or more messages from a queue in a region
The name of the queue to receive messages from
Region where SQS queues exists
The max number of messages to receive
Any additional options to add to the command line
Run as a user other than what the minion runs as
CLI Example:
salt '*' aws_sqs.receive_message <sqs queue> <region>
salt '*' aws_sqs.receive_message <sqs queue> <region> num=10
New in version 2014.7.0.