INNER CODE UNIT · Python

lambda_handler

aws-samples/serverless-patterns · activemq-lambda/mq_listener/app.py:4

def lambda_handler(event, context):

    print(f"event={event}")
    print(f"context={context}")

    return {
        "statusCode": 200,
        "body": json.dumps({
            "message": "Invoke from MQ - Complete -",
        }),
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…