For 429 and 5xx errors, the document says:
If the function doesn't have enough concurrency available to process all events, additional requests are throttled. For throttling errors (429) and system errors (500-series), Lambda returns the event to the queue and attempts to run the function again for up to 6 hours. The retry interval increases exponentially from 1 second after the first attempt to a maximum of 5 minutes. If the queue contains many entries, Lambda increases the retry interval and reduces the rate at which it reads events from the queue.
I want to find out how many retries will happen in cases like this.
Thank you very much for your answer!!
You're very welcome! Thanks for accepting my answer