# @trmaphi/aws-elasticsearch-service-client

> Using @elastic/elasticsearch client with aws-sdk

Latest version **0.0.3** (published 2019-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @trmaphi/aws-elasticsearch-service-client
pnpm add @trmaphi/aws-elasticsearch-service-client
yarn add @trmaphi/aws-elasticsearch-service-client
bun add @trmaphi/aws-elasticsearch-service-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-10-19 |
| First published | 2019-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Truong Ma Phi |
| Maintainers | trmaphi |
| Keywords | aws, elasticsearch |

## Links

- npm: https://www.npmjs.com/package/@trmaphi/aws-elasticsearch-service-client
- Repository: https://github.com/trmaphi/aws-elasticsearch-client
- Homepage: https://github.com/trmaphi/aws-elasticsearch-client#readme
- Issues: https://github.com/trmaphi/aws-elasticsearch-client/issues
- npm.io page: https://npm.io/package/@trmaphi/aws-elasticsearch-service-client

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-10-19
- 0.0.2 — 2019-10-19
- 0.0.1 — 2019-10-19
- 0.0.0 — 2019-10-18

## README

# AWS ElasticSearch Service Client

Unofficial AWS ElasticSearch Service client for Node.js

## Getting Started

```bash
npm i @trmaphi/aws-elasticsearch-service-client @elastic/elasticsearch aws-sdk
```

## Usage

```javascript
const AWS = require('aws-sdk');
const { AWSElasticSearchClient } = require('@trmaphi/aws-elasticsearch-service-client');

AWS.config.update({
    credentials: new AWS.SharedIniFileCredentials({ profile: 'YOUR LOCAL AWS PROFILE'}),
    region: 'AWS REGION',
})

const client = new AWSElasticSearchClient({
    node: 'URL to AWS ElasticSearch Node',
});

client.search({
    index: 'Any index name',
    body: { query: { match_all: {} } }
})
    .then(res => console.log(res.body.hits.hits))
    .catch(err => console.error(err));
```

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/trmaphi/aws-elasticsearch-client/tags).

## Authors

* **Truong Ma Phi** - *Initial work* - [trmaphi](https://github.com/trmaphi)


## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details

---
_Source: https://npm.io/package/@trmaphi/aws-elasticsearch-service-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
