Learn R Programming

aws.sqs (version 0.1.10)

purge_queue: Purge a queue

Description

Purge an SQS queue of its message

Usage

purge_queue(queue, query = NULL, ...)

Arguments

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 query argument of sqsHTTP.

...

Additional arguments passed to sqsHTTP.

Value

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.

Details

Purge an SQS queue of its messages, without deleting it. Use delete_queue to delete the queue entirely.

References

PurgeQueue

See Also

link{create_queue} delete_queue