{
"identity": null,
"result": null,
"request": {
"headers": {
"header1": "value1",
},
"domainName": "example.com"
},
"info": {
"channel": {
"path": "/default/foo",
"segments": ["default", "foo"]
},
"channelNamespace": {
"name": "default"
},
"operation": "SUBSCRIBE"
},
"error": null,
"prev": null,
"stash": {},
"outErrors": [],
"events": null
}
For strongly typed validation and parsing at runtime, check out the @aws-lambda-powertools/parser
package.
Event type for AppSync Events subscribe events.