MCPcopy Create free account
hub / github.com/aws-samples/serverless-samples / lambda_handler

Function lambda_handler

apigw-ws-integrations/src/default.py:6–12  ·  view source on GitHub ↗
(event, context)

Source from the content-addressed store, hash-verified

4import json
5
6def lambda_handler(event, context):
7 response={}
8 response['isBase64Encoded']='false'
9 response['statusCode']='200'
10 response['headers']={}
11 response['body']=json.dumps(event)
12 return response

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected