purge_queue: Purge a queue

Description Usage Arguments Details Value Author(s) References See Also

View source: R/queue.r

Description

Purge an SQS queue of its message

Usage

1
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.

Details

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

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.

Author(s)

Thomas J. Leeper

References

PurgeQueue

See Also

link{create_queue} delete_queue


cloudyr/aws.sqs documentation built on Aug. 16, 2018, 2:25 a.m.