API Reference
    Preparing search index...
    CloudWatchLogsSchema: ZodObject<
        {
            awslogs: ZodObject<
                {
                    data: ZodEffects<
                        ZodString,
                        {
                            logEvents: { id: string; message: string; timestamp: number }[];
                            logGroup: string;
                            logStream: string;
                            messageType: string;
                            owner: string;
                            subscriptionFilters: string[];
                        },
                        string,
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    data: {
                        logEvents: { id: string; message: string; timestamp: number }[];
                        logGroup: string;
                        logStream: string;
                        messageType: string;
                        owner: string;
                        subscriptionFilters: string[];
                    };
                },
                { data: string },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            awslogs: {
                data: {
                    logEvents: { id: string; message: string; timestamp: number }[];
                    logGroup: string;
                    logStream: string;
                    messageType: string;
                    owner: string;
                    subscriptionFilters: string[];
                };
            };
        },
        { awslogs: { data: string } },
    > = ...

    Zod schema for CloudWatch Logs.

    {
    "awslogs": {
    "data": "H4sIAAAAAAAAAHWPwQqCQBCGX0Xm7EFtK+smZBEUgXoLCdMhFtKV3akI8d0bLYmibvPPN3wz00CJxmQnTO41whwWQRIctmEcB6sQbFC3CjW3XW8kxpOpP+OC22d1Wml1qZkQGtoMsScxaczKN3plG8zlaHIta5KqWsozoTYw3/djzwhpLwivWFGHGpAFe7DL68JlBUk+l7KSN7tCOEJ4M3/qOI49vMHj+zCKdlFqLaU2ZHV2a4Ct/an0/ivdX8oYc1UVX860fQDQiMdxRQEAAA=="
    }
    }

    The data field compressed JSON string, once transformed the payload will look like:

    {
    "owner": "123456789012",
    "logGroup": "CloudTrail",
    "logStream": "123456789012_CloudTrail_us-east-1",
    "subscriptionFilters": [
    "Destination"
    ],
    "messageType": "DATA_MESSAGE",
    "logEvents": [
    {
    "id": "31953106606966983378809025079804211143289615424298221568",
    "timestamp": 1432826855000,
    "message": "{\"eventVersion\":\"1.03\",\"userIdentity\":{\"type\":\"Root\"}"
    },
    {
    "id": "31953106606966983378809025079804211143289615424298221569",
    "timestamp": 1432826855000,
    "message": "{\"eventVersion\":\"1.03\",\"userIdentity\":{\"type\":\"Root\"}"
    },
    {
    "id": "31953106606966983378809025079804211143289615424298221570",
    "timestamp": 1432826855000,
    "message": "{\"eventVersion\":\"1.03\",\"userIdentity\":{\"type\":\"Root\"}"
    }
    ]
    }