I am developing a real-time chat application using AWS Streaming APIs, Amazon Lex, Amazon Connect, etc. I need a functionality where if a customer does not reply within a specific time frame, their conversation is automatically removed. I want to implement a stateless timer to track messages, which will reset if the customer replies within the time frame. If the customer does not reply, the timer should trigger an event to remove the chat. How can I achieve this using a solution that does not depend on my application code?
i tried sqs queues but failed