1.3.6 • Published 3 years ago

aws-es-client v1.3.6

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

npm.io npm.io npm.io

GitHub Actions workflows status

Build workflow status Publish workflow status

CodeClimate

npm.io npm.io npm.io


Installation

npm i aws-es-client

API documentation

Modules

ModuleDescription
aws-es-clientCreates a new client connected to your AWS ElasticSearch cluster.

Typedefs

NameDescription
OptionsElasticSearch client options

aws-es-client

Creates a new client connected to your AWS ElasticSearch cluster.

Once the client has been instanciated, you can use all the methods available in the regular ElasticSearch Node client. See here for details.

Returns: ES - New ElasticSearch client

ParamTypeDescription
optsOptionsOptions to be passed to instanciate a new client

Example

const ES = require('aws-es-client')({
 url: process.env.ES_CLUSTER_URL,
 id: process.env.ES_ID,
 token: process.env.ES_SECRET
})

Options

ElasticSearch client options

Kind: global typedef
Properties

NameTypeDefaultDescription
urlstringElasticSearch cluster URL
idstringProgrammatic user ID (needs access to ElasticSearch cluster)
tokenstringProgrammatic user token (needs access to ElasticSearch cluster)
[region]string'eu-central-1'ElasticSearch cluster region
1.3.6

3 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.0

4 years ago

1.3.0

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago