DELETE on MessageQueue

Deletes the specified queue. A queue is deleted only if it is does not contain any messages. Use DELETE on Message to delete messages from the queue.

DELETE requests on a MessageQueue endpoint are validated on the following:

This action returns 200 (success) if successful, or 400 (fail) if unsuccessful.

This action takes no input parameters other than those common to all REST requests.

The following example of a DELETE action deletes the queue represented by the QueueURL.

See DeleteQueue (Query) for sample response information.

ErrorDescription
NonEmptyQueueQueue not empty.
AWS.SimpleQueueService.NonExistentQueueQueue does not exist.