purge_queue {aws.sqs} | R Documentation |
Purge an SQS queue of its message
purge_queue(queue, query = NULL, ...)
queue |
A character string containing a queue URL, or the name of the queue. |
query |
A list specifying additional query arguments to be passed to the |
... |
Additional arguments passed to |
Purge an SQS queue of its messages, without deleting it. Use delete_queue
to delete the queue entirely.
If successful, a logical TRUE
value. Otherwise, a data structure of class “aws_error” containing any error message(s) from AWS and information about the request attempt.
Thomas J. Leeper
link{create_queue}
delete_queue