mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
19 lines
No EOL
391 B
Python
19 lines
No EOL
391 B
Python
"""
|
|
A quick example of lambda working a function in python
|
|
"""
|
|
|
|
def handler(event, context):
|
|
try:
|
|
print("Printing from lambda example")
|
|
|
|
return {
|
|
"statusCode": 200,
|
|
"body": f"s3 uri {s3_uri}"
|
|
}
|
|
|
|
except Exception as e:
|
|
print(f"❌ Error: {e}")
|
|
return {
|
|
"statusCode": 500,
|
|
"body": str(e)
|
|
} |