How do I return a message back to SQS from lambda trigger
问题 I have lambda trigger that reads messages from SQS queue. In some conditions, the message may not be ready for processing so I'd like to put the message back in queue for 1min and try again. Currently, I am create another copy of this customer record and posting this new copy in the queue. Is there a reason/way for me to keep the original record in queue as opposed to creating a new one def postToQueue(customer): if 'attemptCount' in customer.keys(): attemptCount = int(customer["attemptCount"