Using the Amazon SQS message deduplication ID - Amazon Simple Queue Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using the Amazon SQS message deduplication ID

The message deduplication ID is a token used to prevent duplicate message delivery in Amazon SQS FIFO queues only. It ensures that, within a 5-minute deduplication interval, only one copy of a message with the same deduplication ID will be processed and delivered. If a message with a specific deduplication ID has already been accepted, any subsequent messages with the same ID will be acknowledged but not delivered to the queue consumers.

Note

Amazon SQS continues to keep track of the message deduplication ID even after the message is received and deleted.