README
AWS ElasticSearch package that used form AWS Lambda
This package allows the comunication of an AWS lambda function with an AWS elasticsearch.
In order to make a request you need to call the request method with an object type parameter that contains the following keys:
- payload: the information that will be sent to instance
- host: the host of the instance
- domain: the domain where the instance is
- region: the AWS region (ex: eu-central-1)
- path: the uri that the request will access (ex: /events/_doc)
- httpMethod: the http method that will be used (ex: POST)