Build a serverless request poller on AWS

Here is a simplified architecture of the serverless request poller.

Serverless Request Poller Architecture

The idea is to send the message to AWS SQS, which will then be picked up by AWS Lambda. In the message, you can define the maximum number of retries, retry count, message delay and the necessary parameters for the request polling.