Home > Net >  Getting Handler Error in Response of AWS Lambda function Test
Getting Handler Error in Response of AWS Lambda function Test

Time:12-27

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

enter image description here

enter image description here

Couldn't find any answer on the internet.

CodePudding user response:

Your function should be named lambda_handler

def lambda_handler(event,context):

The documentation provides more information on this here: enter image description here

  • Related