Skip to main content

ElasticSearchClientWrapper.updateAliases()

Home > @backstage/plugin-search-backend-module-elasticsearch > ElasticSearchClientWrapper > updateAliases

Signature:

updateAliases(options: {
actions: ElasticSearchAliasAction[];
}): import("@opensearch-project/opensearch/lib/Transport").TransportRequestPromise<import("@opensearch-project/opensearch").ApiResponse<Record<string, any>, unknown>> | import("@elastic/elasticsearch/lib/Transport").TransportRequestPromise<import("@elastic/elasticsearch").ApiResponse<Record<string, any>, unknown>>;

Parameters

Parameter

Type

Description

options

{ actions: ElasticSearchAliasAction[]; }

**Returns:**

import("@opensearch-project/opensearch/lib/Transport").TransportRequestPromise<import("@opensearch-project/opensearch").ApiResponse<Record<string, any>, unknown>> | import("@elastic/elasticsearch/lib/Transport").TransportRequestPromise<import("@elastic/elasticsearch").ApiResponse<Record<string, any>, unknown>>