aws-samples / aws-samples/amazon-elasticsearch-lambda-samples
Async Client?
Open
- Dominant language
- JavaScript
- Stars
- 386
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
This sample code doesn't work in my AWS Lambda:
```js
var client = new AWS.NodeHttpClient();
console.log("client:", client)
// returns "client: {}"
client.handleRequest(req, null, function(httpResp) {
console.log("this never gets called")
}
```
This posts mentions something about an async Client but I'm not sure where to put the `await`?
https://stackoverflow.com/questions/60609426/aws-httpclient-handlerequest-is-not-working-in-aws-lambda
Contributor guide
Assessment
This issue has not been assessed yet.