def apigateway_event(order):
    """
    API Gateway Lambda Proxy event

    See https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format
    """
    return {
        "resource": "/backend/{orderId}",
        "path": "/backend/"+order["orderId"],
        "httpMethod": "GET",
        "headers": {},
        "multiValueHeaders": {},
        "queryStringParameters": None,
        "multiValueQueryStringParameters": {},
        "pathParameters": {
            "orderId": order["orderId"]
        },
        "stageVariables": {},
        "requestContext": {
            "identity": {
                "accountId": "123456789012",
                "caller": "CALLER",
                "sourceIp": "127.0.0.1",
                "accessKey": "ACCESS_KEY",
                "userArn": "arn:aws:iam::123456789012:user/alice",
                "userAgent": "PostmanRuntime/7.1.1",
                "user": "CALLER"
            }
        },
        "body": {},
        "isBase64Encoded": False
    }