An AWS wrapper around ElasticsearchNIOClient. This library allows you to send Elasticsearch queries and requests to the AWS Elasticsearch Service. It uses Soto to sign the requests. This library works with other Elasticsearch endpoints, including local ones as well as AWS.
Installation and Usage
First add the library as a dependency in your dependencies array in Package.swift:
Creating an instance of SotoElasticsearchNIOClient depends on your environment, but you should be able to work it out depending on what you need. For Vapor, for example, you’d do something like:
The library supports all the functionality of ElasticsearchNIOClient. SotoElasticsearchClient exposes the underlying ElasticsearchClient you can pass requests to if needed, but most should be wrapped.
If you’d like to add extra functionality, either open an issue and raise a PR. Any contributions are gratefully accepted!
Elasticsearch Version
The library has been tested again Elasticsearch 7.6.2, but should work for the most part against older versions.
Soto Elasticsearch NIO Client
An AWS wrapper around
ElasticsearchNIOClient
. This library allows you to send Elasticsearch queries and requests to the AWS Elasticsearch Service. It uses Soto to sign the requests. This library works with other Elasticsearch endpoints, including local ones as well as AWS.Installation and Usage
First add the library as a dependency in your dependencies array in Package.swift:
Then add the dependency to the target you require it in:
Creating an instance of
SotoElasticsearchNIOClient
depends on your environment, but you should be able to work it out depending on what you need. For Vapor, for example, you’d do something like:Supported Features
The library supports all the functionality of
ElasticsearchNIOClient
.SotoElasticsearchClient
exposes the underlyingElasticsearchClient
you can pass requests to if needed, but most should be wrapped.If you’d like to add extra functionality, either open an issue and raise a PR. Any contributions are gratefully accepted!
Elasticsearch Version
The library has been tested again Elasticsearch 7.6.2, but should work for the most part against older versions.