2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
-1
For onSubscribe handlers in AWS AppSync Events, the Lambda function should return one of two things:
- A payload containing an error message if the subscription fails
nullto indicate a successful subscription
The correct response type for an onSubscribe handler should look like this:
type LambdaAppSyncEventResponse = { error: string } | null
If there is indeed a typo in the documentation you're referring to, it's always helpful to report such issues to AWS support or through their documentation feedback channels. AWS regularly updates their documentation based on user feedback to ensure accuracy and clarity.
Sources
Writing event handlers - AWS AppSync Events
répondu il y a un an
Contenus pertinents
demandé il y a 3 ans
demandé il y a 10 mois
demandé il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
