I was wondering if anyone has any experience with using the AWS API Gateway as a proxy for Elasticsearch queries.
I have a few queries that I'd like to reuse and grab from a web application, so for simplicity it would be good to have an GET endpoint that can return that hard coded request from elasticsearch without requiring a running any further code to do the work.
Perhaps mapping query strings through as variables would allow specific areas within the query strings to be set to further manipulate the returned data.
The AWS API Gateway allows you to set mapping templates, which I think could be used to do this but I'm just not sure where to start here.
I can't find anything like this on the internet so any help would be appreciated.