How can we calculate age of latest message in SQS?
Use-case: I want to trigger a notification based on time elapsed(Age) since the latest message landed on SQS queue. Say my threshold cutoff is 1 hour, if first message lands on SQS at 11:00, second message lands on 11:50 and third message lands on 11:55. Then I want a notification triggered at 12:55.
SQS publishes ApproximateAgeOfOldestMessage but I want something like Approximate age of newest message.