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
feita há 2 anos198 visualizações
1 Resposta
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
ENGENHEIRO DE SUPORTE
respondido há 5 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas