API Reference
    Preparing search index...
    LambdaFunctionUrlSchema: ZodObject<
        {
            body: ZodOptional<ZodString>;
            cookies: ZodOptional<ZodArray<ZodString>>;
            headers: ZodRecord<ZodString, ZodString>;
            isBase64Encoded: ZodBoolean;
            pathParameters: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
            queryStringParameters: ZodOptional<ZodRecord<ZodString, ZodString>>;
            rawPath: ZodString;
            rawQueryString: ZodString;
            requestContext: ZodObject<
                {
                    accountId: ZodString;
                    apiId: ZodString;
                    authentication: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    clientCert: ZodOptional<
                                        ZodObject<
                                            {
                                                clientCertPem: ...;
                                                issuerDN: ...;
                                                serialNumber: ...;
                                                subjectDN: ...;
                                                validity: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                },
                                $strip,
                            >,
                        >,
                    >;
                    authorizer: ZodOptional<
                        ZodObject<
                            {
                                iam: ZodOptional<
                                    ZodObject<
                                        {
                                            accessKey: ZodOptional<(...)>;
                                            accountId: ZodOptional<(...)>;
                                            callerId: ZodOptional<(...)>;
                                            cognitoIdentity: ZodOptional<(...)>;
                                            principalOrgId: ZodOptional<(...)>;
                                            userArn: ZodOptional<(...)>;
                                            userId: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >;
                                jwt: ZodOptional<
                                    ZodObject<
                                        { claims: ZodRecord<(...), (...)>; scopes: ZodNullable<(...)> },
                                        $strip,
                                    >,
                                >;
                                lambda: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodAny>>>;
                            },
                            $strip,
                        >,
                    >;
                    domainName: ZodString;
                    domainPrefix: ZodString;
                    http: ZodObject<
                        {
                            method: ZodEnum<
                                {
                                    DELETE: "DELETE";
                                    GET: "GET";
                                    HEAD: "HEAD";
                                    OPTIONS: "OPTIONS";
                                    PATCH: "PATCH";
                                    POST: "POST";
                                    PUT: "PUT";
                                },
                            >;
                            path: ZodString;
                            protocol: ZodString;
                            sourceIp: ZodIPv4;
                            userAgent: ZodString;
                        },
                        $strip,
                    >;
                    requestId: ZodString;
                    routeKey: ZodString;
                    stage: ZodString;
                    time: ZodString;
                    timeEpoch: ZodNumber;
                },
                $strip,
            >;
            routeKey: ZodString;
            stageVariables: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
            version: ZodString;
        },
        $strip,
    > = ...

    Zod schema for Lambda Function URL follows the API Gateway HTTP APIs Payload Format Version 2.0.

    Keys related to API Gateway features not available in Function URL use a sentinel value (e.g.routeKey, stage).

    {
    "version": "2.0",
    "routeKey": "$default",
    "rawPath": "/",
    "rawQueryString": "",
    "headers": {
    "sec-fetch-mode": "navigate",
    "x-amzn-tls-version": "TLSv1.2",
    "sec-fetch-site": "cross-site",
    "accept-language": "pt-BR,pt;q=0.9",
    "x-forwarded-proto": "https",
    "x-forwarded-port": "443",
    "x-forwarded-for": "123.123.123.123",
    "sec-fetch-user": "?1",
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng;q=0.8,application/signed-exchange;v=b3;q=0.9",
    "x-amzn-tls-cipher-suite": "ECDHE-RSA-AES128-GCM-SHA256",
    "sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\", \"Google Chrome\";v=\"102\"",
    "sec-ch-ua-mobile": "?0",
    "x-amzn-trace-id": "Root=1-62ecd163-5f302e550dcde3b12402207d",
    "sec-ch-ua-platform": "\"Linux\"",
    "host": "<url-id>.lambda-url.us-east-1.on.aws",
    "upgrade-insecure-requests": "1",
    "cache-control": "max-age=0",
    "accept-encoding": "gzip, deflate, br",
    "sec-fetch-dest": "document",
    "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
    },
    "requestContext": {
    "accountId": "anonymous",
    "apiId": "<url-id>",
    "domainName": "<url-id>.lambda-url.us-east-1.on.aws",
    "domainPrefix": "<url-id>",
    "http": {
    "method": "GET",
    "path": "/",
    "protocol": "HTTP/1.1",
    "sourceIp": "123.123.123.123",
    "userAgent": "agent"
    },
    "requestId": "id",
    "routeKey": "$default",
    "stage": "$default",
    "time": "05/Aug/2022:08:14:39 +0000",
    "timeEpoch": 1659687279885
    },
    "isBase64Encoded": false
    }