DeleteQueue (Query)

Deletes the queue specified by the queue URL. A queue is deleted only if it is does not contain any messages. Use DeleteMessage to delete messages from the queue.

DeleteQueue requests are validated on the following:

Returns Success if the request is successful, or an error response if unsuccessful.

The DeleteQueue action takes no input parameters other than those common to all requests to SQS.

The following example of a DeleteQueue request deletes the queue specified by the provided queue URL.

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