How to fetch the data from elastic Search index to api on hit through lambda function?
问题 I have created an elastic search domain. Push the document into elastic search with index my-index through lambda function https://search-xx.us-east-1.es.amazonaws.com/my-index/_search What I have done. I have created an api (post) What need to do? How to fetch the data from elastic Search index to api on hit through lambda function? My return is null COde to generate elastic search import boto3 import json from requests_aws4auth import AWS4Auth from elasticsearch import Elasticsearch,