Created a lambda function to retrieve value from dynamodb.When I am testing the function I am getting an error in response?


Couldn't find any answer on the internet.
Your function should be named lambda_handler
def lambda_handler(event,context):
The documentation provides more information on this here: https://docs.aws.amazon.com/lambda/latest/dg/python-handler.html
lambda_handlerinstead ofhandler.