I have created an AWS API Gateway resource with a GET method that triggers a Lambda. In the Body Mapping Template I have defined a custom mapping.
I created this in the web based interface. I want to use YAML files instead, so I can edit the API Gateway through code. So I went to the Export tab and exported it to YAML.
I see that a lot of properties came down in the yaml file, but the Body Mapping Template is not there. How or where do I get that part to be in a local code file that can be committed to my source code repo, as well as edited locally?