[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-apigw-lambda-json-xml-vtl-transformation":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Fapigw-lambda-json-xml-vtl-transformation.json","Using VTL to transform AWS Lambda response with Amazon API Gateway",null,{"text":8},[9,10],"Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[12],"content\u002Fcontributors\u002Fvamsi-krishna-ganti.json",{"text":14},[15],"sam deploy","Use VTL template to transform JSON response to xml in Amazon API Gateway.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-json-xml-vtl-transformation","serverless-patterns\u002Fapigw-lambda-json-xml-vtl-transformation","apigw-lambda-json-xml-vtl-transformation","template.yaml",{"headline":26,"text":27},"How it works",[28],"This template shows an example of API Gateway transforms the JSON response from Lambda and returns XML using VTL.","Node.js","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"apigw","API Gateway",{"x":39,"y":35,"service":40,"label":41},80,"lambda","AWS Lambda",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48,51,54],{"text":49,"link":50},"API Gateway Mapping Template Reference","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapi-gateway-mapping-template-reference.html",{"text":52,"link":53},"Error Handling Patterns in Amazon API Gateway and AWS Lambda","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Ferror-handling-patterns-in-amazon-api-gateway-and-aws-lambda\u002F",{"text":55,"link":56},"Apache VTL reference user guide","https:\u002F\u002Fvelocity.apache.org\u002Fengine\u002F2.0\u002Fuser-guide.html","patterns\u002Fapigw-lambda-json-xml-vtl-transformation",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","Un3vP33qWNl2SFudyjUpeoWBMy7eLdebh_w0QJQWzsU",1779273332609]