Deletes the queue specified by the queue URL. A queue is deleted only if it does not contain any messages. Use
DeleteMessage
to delete messages from the queue.
DeleteQueue requests are validated on the following:
The queue specified must exist.
The queue specified must be empty.
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.
<soap:Body wsu:Id="body" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <m:DeleteQueue xmlns:m="http://queue.amazonaws.com/doc/2006-04-01/"> </m:DeleteQueue> </soap:Body>