Purging messages from an queue using the Amazon SQS console
If you want to keep an Amazon SQS queue but need to remove all its messages, you can purge the queue. The message deletion process may take up to 60 seconds, so it’s best to wait the full 60 seconds regardless of the queue’s size.
Important
When you purge a queue, you can't retrieve any of the deleted messages.
To purge a queue (console)
Open the Amazon SQS console at https://console.amazonaws.cn/sqs/
. -
In the navigation pane, choose Queues.
-
On the Queues page, choose the queue to purge.
-
From Actions, choose Purge.
-
In the Purge queue dialog box, confirm the purge by entering
purge
and choosing Purge.All messages are purged from the queue. The console displays a confirmation banner.