How to get Total Number of Retry inside Lambda Function | Code and Demo | Python Code

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

My result set is always empty: {'results': [], 'statistics': {'recordsMatched': 0.0, 'recordsScanned': 9745.0, 'bytesScanned': 2904676.0}, 'status': 'Complete'... Even when status = 'Complete'. I wait inside the lambda for over 3 minutes with status = Complete, I get no results. I'm invoking my Lambda via URL, my start and end time is 4 days ago and 4 hours into the future. When I run the same query in Log Insights with lambda_request_id, I am not able to get a result retry_count until the Lambda terminates. As I run the Lambda as is, inside the Lambda function, I get nothing.

philn