API Gateway Mapping Template missing toJson

0

API Gateway seems to have limited VTL support, and in particular 2 key features are missing that AppSync VTL does support - $util.toJson and #return. Are these on the roadmap or are there workarounds? I know I can always fall back to Lambda, but I'm specifically trying to do as much in the mapping template as possible.

Brendan
preguntada hace 2 años198 visualizaciones
1 Respuesta
0

Thank you for the feedback. We have a Feature request to add same utils functions that are available for AppSync in the API Gateway VTL https://docs.aws.amazon.com/appsync/latest/devguide/resolver-util-reference.html

I have added your voice to the feature request. Apologies for the delayed acknowledgement.

AWS
INGENIERO DE SOPORTE
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas