Skip to content

Instantly share code, notes, and snippets.

import boto3
import json
def respond(res):
return {
'statusCode': '200',
'body': json.dumps(res),
'headers': {
'Content-Type': 'application/json',
},