Configuring visibility timeouts in Amazon SQS - Amazon Simple Queue Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Configuring visibility timeouts in Amazon SQS

To ensure reliable message processing, set the visibility timeout to be longer than the AWS SDK read timeout. This applies when using the ReceiveMessage API with both short polling and long polling. A longer visibility timeout prevents messages from becoming available to other consumers before the original request completes, reducing the risk of duplicate processing.