AWS Lambda keeps returning “\”Hello from Lambda!\"
问题 I'm having some issues with AWS Lambda for Python 3.8. No matter what code I try running, AWS Lambda keeps returning the same response. I am trying to retrieve a information from a DynamoDB instance with the code below: import json import boto3 dynamodb = boto3.resource('dynamodb') table = dynamodb.Table('planets') def lambda_handler(event, context): response = table.get_item( Key = { 'id':'mercury' } ) print(response) # TODO implement return { 'statusCode': 200, 'body': response) } I am