Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created April 21, 2022 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/567ddeb9700d8cd479f8786d8ac862c2 to your computer and use it in GitHub Desktop.
Save richardgrantserverless/567ddeb9700d8cd479f8786d8ac862c2 to your computer and use it in GitHub Desktop.
import json
import sysdef hello(event, context):
body = {
"message": "Python Function executed successfully!"
}
response = {
"statusCode": 200,
"body": json.dumps(body)
}
return response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment