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
已提問 2 年前檢視次數 198 次
1 個回答
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
支援工程師
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南