Support for the Amazon Simple Queue Service.
salt.modules.aws_sqs.
create_queue
(name, region, opts=None, user=None)¶Creates a queue with the correct name.
CLI Example:
salt '*' aws_sqs.create_queue <sqs queue> <region>
salt.modules.aws_sqs.
delete_message
(queue, region, receipthandle, opts=None, user=None)¶Delete one or more messages from a queue in a region
CLI Example:
salt '*' aws_sqs.delete_message <sqs queue> <region> receipthandle='<sqs ReceiptHandle>'
New in version 2014.7.0.
salt.modules.aws_sqs.
delete_queue
(name, region, opts=None, user=None)¶Deletes a queue in the region.
CLI Example:
salt '*' aws_sqs.delete_queue <sqs queue> <region>
salt.modules.aws_sqs.
list_queues
(region, opts=None, user=None)¶List the queues in the selected region.
CLI Example:
salt '*' aws_sqs.list_queues <region>
salt.modules.aws_sqs.
queue_exists
(name, region, opts=None, user=None)¶Returns True or False on whether the queue exists in the region
CLI Example:
salt '*' aws_sqs.queue_exists <sqs queue> <region>
salt.modules.aws_sqs.
receive_message
(queue, region, num=1, opts=None, user=None)¶Receive one or more messages from a queue in a region
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.