Socket
Book a DemoInstallSign in
Socket

aws-es-client

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-es-client

aws elasticsearch client

1.3.6
latest
Source
npmnpm
Version published
Weekly downloads
3
-82.35%
Maintainers
2
Weekly downloads
 
Created
Source

GitHub Actions workflows status

Build workflow status Publish workflow status

CodeClimate

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

FAQs

Package last updated on 31 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.