testing/functions/python3.9/main.py [3:15]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
coldstart = "true"
def handler(event, context):
    global coldstart
    print("Example function log", context.aws_request_id)
    resp = {
        "statusCode": 200,
        "body": json.dumps("Hello from Lambda!"+context.aws_request_id),
        "headers": {
            "coldstart": coldstart,
        }
    }
    coldstart = "false"
    return resp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



testing/smoketest/function/main.py [3:15]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
coldstart = "true"
def handler(event, context):
    global coldstart
    print("Example function log", context.aws_request_id)
    resp = {
        "statusCode": 200,
        "body": json.dumps("Hello from Lambda!"+context.aws_request_id),
        "headers": {
            "coldstart": coldstart,
        }
    }
    coldstart = "false"
    return resp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



