OpenSearchClient

class OpenSearchClient(val searchClient: SearchClient)

OpenSearch client with AWS SigV4 support.

This wraps SearchClient and configures KtorRestClient with a SigV4 requestSigner.

Constructors

Link copied to clipboard
constructor(searchClient: SearchClient)
constructor(nodes: Array<Node>, region: String, service: String? = null, credentialsProvider: AwsCredentialsProvider, https: Boolean = true, logging: Boolean = false, nodeSelector: NodeSelector = RoundRobinNodeSelector(nodes), json: Json = DEFAULT_JSON)
constructor(host: String, region: String, port: Int = 443, service: String? = null, credentialsProvider: AwsCredentialsProvider, https: Boolean = true, logging: Boolean = false, json: Json = DEFAULT_JSON)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun close()