API Reference
    Preparing search index...
    AppSyncEventsPublishEvent: AppSyncEventsEvent & {
        events: { id: string; payload: unknown }[];
        info: { operation: "PUBLISH" };
    }

    Event type for AppSync Events publish events.

    {
    "identity": null,
    "result": null,
    "request": {
    "headers": {
    "header1": "value1",
    },
    "domainName": "example.com"
    },
    "info": {
    "channel": {
    "path": "/default/foo",
    "segments": ["default", "foo"]
    },
    "channelNamespace": {
    "name": "default"
    },
    "operation": "PUBLISH"
    },
    "error": null,
    "prev": null,
    "stash": {},
    "outErrors": [],
    "events": [
    {
    "payload": {
    "key": "value"
    },
    "id": "12345"
    },
    {
    "payload": {
    "key2": "value2"
    },
    "id": "67890"
    }
    ]
    }

    For strongly typed validation and parsing at runtime, check out the `@aws-lambda-powertools/parser` package.