Have you seen this?
<a href="https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?messageID=673863" rel="nofollow">https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?messageID=673863</a><p>It&#x27;s a mapping template for the AWS API Gateway you can use to convert both HTML form POSTed data and HTTP GET query string data to JSON.