@elastic/elasticsearch 8.16.2 → 9.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +4 -1
- package/lib/api/api/async_search.d.ts +16 -17
- package/lib/api/api/async_search.js +5 -16
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +16 -17
- package/lib/api/api/autoscaling.js +5 -7
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +4 -5
- package/lib/api/api/bulk.js +3 -5
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.d.ts +3 -4
- package/lib/api/api/capabilities.js +2 -2
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.d.ts +121 -122
- package/lib/api/api/cat.js +26 -26
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +52 -53
- package/lib/api/api/ccr.js +18 -54
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +4 -5
- package/lib/api/api/clear_scroll.js +3 -12
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +4 -5
- package/lib/api/api/close_point_in_time.js +3 -12
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +64 -65
- package/lib/api/api/cluster.js +20 -56
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +132 -133
- package/lib/api/api/connector.js +50 -194
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +5 -6
- package/lib/api/api/count.js +3 -12
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +4 -5
- package/lib/api/api/create.js +3 -5
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +12 -13
- package/lib/api/api/dangling_indices.js +3 -3
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +4 -5
- package/lib/api/api/delete.js +2 -2
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +4 -5
- package/lib/api/api/delete_by_query.js +3 -12
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +4 -5
- package/lib/api/api/delete_by_query_rethrottle.js +2 -2
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +4 -5
- package/lib/api/api/delete_script.js +2 -2
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +21 -22
- package/lib/api/api/enrich.js +6 -15
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +20 -21
- package/lib/api/api/eql.js +6 -15
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +13 -14
- package/lib/api/api/esql.js +4 -13
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +4 -5
- package/lib/api/api/exists.js +2 -2
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +4 -5
- package/lib/api/api/exists_source.js +2 -2
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +4 -5
- package/lib/api/api/explain.js +3 -12
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +8 -9
- package/lib/api/api/features.js +2 -2
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +4 -5
- package/lib/api/api/field_caps.js +3 -12
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.d.ts +22 -23
- package/lib/api/api/fleet.js +8 -19
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +4 -5
- package/lib/api/api/get.js +2 -2
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +4 -5
- package/lib/api/api/get_script.js +2 -2
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +4 -5
- package/lib/api/api/get_script_context.js +2 -2
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +4 -5
- package/lib/api/api/get_script_languages.js +2 -2
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +4 -5
- package/lib/api/api/get_source.js +2 -2
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.d.ts +5 -6
- package/lib/api/api/graph.js +2 -11
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.d.ts +4 -5
- package/lib/api/api/health_report.js +2 -2
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.d.ts +44 -45
- package/lib/api/api/ilm.js +14 -41
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +4 -5
- package/lib/api/api/index.js +3 -5
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +238 -239
- package/lib/api/api/indices.js +77 -216
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +20 -21
- package/lib/api/api/inference.js +7 -18
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +4 -5
- package/lib/api/api/info.js +2 -2
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +57 -58
- package/lib/api/api/ingest.js +15 -42
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +4 -5
- package/lib/api/api/knn_search.js +3 -12
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +28 -29
- package/lib/api/api/license.js +8 -17
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +12 -13
- package/lib/api/api/logstash.js +4 -6
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +4 -5
- package/lib/api/api/mget.js +3 -12
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +12 -13
- package/lib/api/api/migration.js +3 -3
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +293 -294
- package/lib/api/api/ml.js +112 -449
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +4 -5
- package/lib/api/api/monitoring.js +2 -4
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +4 -5
- package/lib/api/api/msearch.js +3 -5
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +4 -5
- package/lib/api/api/msearch_template.js +3 -5
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +4 -5
- package/lib/api/api/mtermvectors.js +3 -12
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +28 -29
- package/lib/api/api/nodes.js +8 -17
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +4 -5
- package/lib/api/api/open_point_in_time.js +3 -12
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +4 -5
- package/lib/api/api/ping.js +2 -2
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +16 -17
- package/lib/api/api/profiling.js +4 -4
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/put_script.d.ts +4 -5
- package/lib/api/api/put_script.js +3 -12
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.d.ts +40 -41
- package/lib/api/api/query_rules.js +11 -38
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.d.ts +4 -5
- package/lib/api/api/rank_eval.js +3 -12
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +4 -5
- package/lib/api/api/reindex.js +3 -12
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +4 -5
- package/lib/api/api/reindex_rethrottle.js +2 -2
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +4 -5
- package/lib/api/api/render_search_template.js +3 -12
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +32 -33
- package/lib/api/api/rollup.js +10 -28
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +4 -5
- package/lib/api/api/scripts_painless_execute.js +3 -12
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +4 -5
- package/lib/api/api/scroll.js +3 -12
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +4 -5
- package/lib/api/api/search.js +3 -14
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +39 -40
- package/lib/api/api/search_application.js +12 -23
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +4 -5
- package/lib/api/api/search_mvt.js +3 -12
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +4 -5
- package/lib/api/api/search_shards.js +2 -2
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +4 -5
- package/lib/api/api/search_template.js +3 -12
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +16 -17
- package/lib/api/api/searchable_snapshots.js +5 -14
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +253 -254
- package/lib/api/api/security.js +92 -337
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.d.ts +9 -10
- package/lib/api/api/shutdown.js +4 -13
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +4 -5
- package/lib/api/api/simulate.js +1 -1
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.d.ts +36 -37
- package/lib/api/api/slm.js +10 -19
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +52 -53
- package/lib/api/api/snapshot.js +17 -46
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +30 -31
- package/lib/api/api/sql.js +9 -36
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +4 -5
- package/lib/api/api/ssl.js +1 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +35 -36
- package/lib/api/api/synonyms.js +9 -27
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +12 -13
- package/lib/api/api/tasks.js +3 -3
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +4 -5
- package/lib/api/api/terms_enum.js +3 -12
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +4 -5
- package/lib/api/api/termvectors.js +3 -12
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +16 -17
- package/lib/api/api/text_structure.js +6 -17
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +48 -49
- package/lib/api/api/transform.js +15 -42
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +4 -5
- package/lib/api/api/update.js +3 -12
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.d.ts +4 -5
- package/lib/api/api/update_by_query.js +3 -12
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +4 -5
- package/lib/api/api/update_by_query_rethrottle.js +2 -2
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.d.ts +52 -53
- package/lib/api/api/watcher.js +16 -43
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +8 -9
- package/lib/api/api/xpack.js +2 -2
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/index.js +1 -1
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +131 -72
- package/lib/client.d.ts +82 -2
- package/lib/client.js +11 -4
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +0 -3
- package/lib/helpers.js +8 -7
- package/lib/helpers.js.map +1 -1
- package/package.json +33 -33
- package/renovate.json +29 -0
- package/lib/api/typesWithBodyKey.d.ts +0 -18163
- package/lib/api/typesWithBodyKey.js +0 -21
- package/lib/api/typesWithBodyKey.js.map +0 -1
package/lib/api/api/indices.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
|
2
2
|
import * as T from '../types';
|
|
3
|
-
import * as TB from '../typesWithBodyKey';
|
|
4
3
|
interface That {
|
|
5
4
|
transport: Transport;
|
|
6
5
|
}
|
|
@@ -9,416 +8,416 @@ export default class Indices {
|
|
|
9
8
|
constructor(transport: Transport);
|
|
10
9
|
/**
|
|
11
10
|
* Add an index block. Limits the operations allowed on an index by blocking specific operation types.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
11
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html | Elasticsearch API documentation}
|
|
13
12
|
*/
|
|
14
|
-
addBlock(this: That, params: T.IndicesAddBlockRequest
|
|
15
|
-
addBlock(this: That, params: T.IndicesAddBlockRequest
|
|
16
|
-
addBlock(this: That, params: T.IndicesAddBlockRequest
|
|
13
|
+
addBlock(this: That, params: T.IndicesAddBlockRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesAddBlockResponse>;
|
|
14
|
+
addBlock(this: That, params: T.IndicesAddBlockRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesAddBlockResponse, unknown>>;
|
|
15
|
+
addBlock(this: That, params: T.IndicesAddBlockRequest, options?: TransportRequestOptions): Promise<T.IndicesAddBlockResponse>;
|
|
17
16
|
/**
|
|
18
17
|
* Get tokens from text analysis. The analyze API performs [analysis](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html) on a text string and returns the resulting tokens.
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
18
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html | Elasticsearch API documentation}
|
|
20
19
|
*/
|
|
21
|
-
analyze(this: That, params?: T.IndicesAnalyzeRequest
|
|
22
|
-
analyze(this: That, params?: T.IndicesAnalyzeRequest
|
|
23
|
-
analyze(this: That, params?: T.IndicesAnalyzeRequest
|
|
20
|
+
analyze(this: That, params?: T.IndicesAnalyzeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesAnalyzeResponse>;
|
|
21
|
+
analyze(this: That, params?: T.IndicesAnalyzeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesAnalyzeResponse, unknown>>;
|
|
22
|
+
analyze(this: That, params?: T.IndicesAnalyzeRequest, options?: TransportRequestOptions): Promise<T.IndicesAnalyzeResponse>;
|
|
24
23
|
/**
|
|
25
24
|
* Clears the caches of one or more indices. For data streams, the API clears the caches of the stream’s backing indices.
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
25
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html | Elasticsearch API documentation}
|
|
27
26
|
*/
|
|
28
|
-
clearCache(this: That, params?: T.IndicesClearCacheRequest
|
|
29
|
-
clearCache(this: That, params?: T.IndicesClearCacheRequest
|
|
30
|
-
clearCache(this: That, params?: T.IndicesClearCacheRequest
|
|
27
|
+
clearCache(this: That, params?: T.IndicesClearCacheRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesClearCacheResponse>;
|
|
28
|
+
clearCache(this: That, params?: T.IndicesClearCacheRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesClearCacheResponse, unknown>>;
|
|
29
|
+
clearCache(this: That, params?: T.IndicesClearCacheRequest, options?: TransportRequestOptions): Promise<T.IndicesClearCacheResponse>;
|
|
31
30
|
/**
|
|
32
31
|
* Clones an existing index.
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
32
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html | Elasticsearch API documentation}
|
|
34
33
|
*/
|
|
35
|
-
clone(this: That, params: T.IndicesCloneRequest
|
|
36
|
-
clone(this: That, params: T.IndicesCloneRequest
|
|
37
|
-
clone(this: That, params: T.IndicesCloneRequest
|
|
34
|
+
clone(this: That, params: T.IndicesCloneRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesCloneResponse>;
|
|
35
|
+
clone(this: That, params: T.IndicesCloneRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesCloneResponse, unknown>>;
|
|
36
|
+
clone(this: That, params: T.IndicesCloneRequest, options?: TransportRequestOptions): Promise<T.IndicesCloneResponse>;
|
|
38
37
|
/**
|
|
39
38
|
* Closes an index.
|
|
40
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
39
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-close.html | Elasticsearch API documentation}
|
|
41
40
|
*/
|
|
42
|
-
close(this: That, params: T.IndicesCloseRequest
|
|
43
|
-
close(this: That, params: T.IndicesCloseRequest
|
|
44
|
-
close(this: That, params: T.IndicesCloseRequest
|
|
41
|
+
close(this: That, params: T.IndicesCloseRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesCloseResponse>;
|
|
42
|
+
close(this: That, params: T.IndicesCloseRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesCloseResponse, unknown>>;
|
|
43
|
+
close(this: That, params: T.IndicesCloseRequest, options?: TransportRequestOptions): Promise<T.IndicesCloseResponse>;
|
|
45
44
|
/**
|
|
46
45
|
* Create an index. Creates a new index.
|
|
47
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
46
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html | Elasticsearch API documentation}
|
|
48
47
|
*/
|
|
49
|
-
create(this: That, params: T.IndicesCreateRequest
|
|
50
|
-
create(this: That, params: T.IndicesCreateRequest
|
|
51
|
-
create(this: That, params: T.IndicesCreateRequest
|
|
48
|
+
create(this: That, params: T.IndicesCreateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesCreateResponse>;
|
|
49
|
+
create(this: That, params: T.IndicesCreateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesCreateResponse, unknown>>;
|
|
50
|
+
create(this: That, params: T.IndicesCreateRequest, options?: TransportRequestOptions): Promise<T.IndicesCreateResponse>;
|
|
52
51
|
/**
|
|
53
52
|
* Create a data stream. Creates a data stream. You must have a matching index template with data stream enabled.
|
|
54
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
53
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
55
54
|
*/
|
|
56
|
-
createDataStream(this: That, params: T.IndicesCreateDataStreamRequest
|
|
57
|
-
createDataStream(this: That, params: T.IndicesCreateDataStreamRequest
|
|
58
|
-
createDataStream(this: That, params: T.IndicesCreateDataStreamRequest
|
|
55
|
+
createDataStream(this: That, params: T.IndicesCreateDataStreamRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesCreateDataStreamResponse>;
|
|
56
|
+
createDataStream(this: That, params: T.IndicesCreateDataStreamRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesCreateDataStreamResponse, unknown>>;
|
|
57
|
+
createDataStream(this: That, params: T.IndicesCreateDataStreamRequest, options?: TransportRequestOptions): Promise<T.IndicesCreateDataStreamResponse>;
|
|
59
58
|
/**
|
|
60
59
|
* Get data stream stats. Retrieves statistics for one or more data streams.
|
|
61
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
60
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
62
61
|
*/
|
|
63
|
-
dataStreamsStats(this: That, params?: T.IndicesDataStreamsStatsRequest
|
|
64
|
-
dataStreamsStats(this: That, params?: T.IndicesDataStreamsStatsRequest
|
|
65
|
-
dataStreamsStats(this: That, params?: T.IndicesDataStreamsStatsRequest
|
|
62
|
+
dataStreamsStats(this: That, params?: T.IndicesDataStreamsStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDataStreamsStatsResponse>;
|
|
63
|
+
dataStreamsStats(this: That, params?: T.IndicesDataStreamsStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDataStreamsStatsResponse, unknown>>;
|
|
64
|
+
dataStreamsStats(this: That, params?: T.IndicesDataStreamsStatsRequest, options?: TransportRequestOptions): Promise<T.IndicesDataStreamsStatsResponse>;
|
|
66
65
|
/**
|
|
67
66
|
* Delete indices. Deletes one or more indices.
|
|
68
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
67
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html | Elasticsearch API documentation}
|
|
69
68
|
*/
|
|
70
|
-
delete(this: That, params: T.IndicesDeleteRequest
|
|
71
|
-
delete(this: That, params: T.IndicesDeleteRequest
|
|
72
|
-
delete(this: That, params: T.IndicesDeleteRequest
|
|
69
|
+
delete(this: That, params: T.IndicesDeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDeleteResponse>;
|
|
70
|
+
delete(this: That, params: T.IndicesDeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDeleteResponse, unknown>>;
|
|
71
|
+
delete(this: That, params: T.IndicesDeleteRequest, options?: TransportRequestOptions): Promise<T.IndicesDeleteResponse>;
|
|
73
72
|
/**
|
|
74
73
|
* Delete an alias. Removes a data stream or index from an alias.
|
|
75
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
74
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html | Elasticsearch API documentation}
|
|
76
75
|
*/
|
|
77
|
-
deleteAlias(this: That, params: T.IndicesDeleteAliasRequest
|
|
78
|
-
deleteAlias(this: That, params: T.IndicesDeleteAliasRequest
|
|
79
|
-
deleteAlias(this: That, params: T.IndicesDeleteAliasRequest
|
|
76
|
+
deleteAlias(this: That, params: T.IndicesDeleteAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDeleteAliasResponse>;
|
|
77
|
+
deleteAlias(this: That, params: T.IndicesDeleteAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDeleteAliasResponse, unknown>>;
|
|
78
|
+
deleteAlias(this: That, params: T.IndicesDeleteAliasRequest, options?: TransportRequestOptions): Promise<T.IndicesDeleteAliasResponse>;
|
|
80
79
|
/**
|
|
81
80
|
* Delete data stream lifecycles. Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
|
|
82
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
81
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html | Elasticsearch API documentation}
|
|
83
82
|
*/
|
|
84
|
-
deleteDataLifecycle(this: That, params: T.IndicesDeleteDataLifecycleRequest
|
|
85
|
-
deleteDataLifecycle(this: That, params: T.IndicesDeleteDataLifecycleRequest
|
|
86
|
-
deleteDataLifecycle(this: That, params: T.IndicesDeleteDataLifecycleRequest
|
|
83
|
+
deleteDataLifecycle(this: That, params: T.IndicesDeleteDataLifecycleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDeleteDataLifecycleResponse>;
|
|
84
|
+
deleteDataLifecycle(this: That, params: T.IndicesDeleteDataLifecycleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDeleteDataLifecycleResponse, unknown>>;
|
|
85
|
+
deleteDataLifecycle(this: That, params: T.IndicesDeleteDataLifecycleRequest, options?: TransportRequestOptions): Promise<T.IndicesDeleteDataLifecycleResponse>;
|
|
87
86
|
/**
|
|
88
87
|
* Delete data streams. Deletes one or more data streams and their backing indices.
|
|
89
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
88
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
90
89
|
*/
|
|
91
|
-
deleteDataStream(this: That, params: T.IndicesDeleteDataStreamRequest
|
|
92
|
-
deleteDataStream(this: That, params: T.IndicesDeleteDataStreamRequest
|
|
93
|
-
deleteDataStream(this: That, params: T.IndicesDeleteDataStreamRequest
|
|
90
|
+
deleteDataStream(this: That, params: T.IndicesDeleteDataStreamRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDeleteDataStreamResponse>;
|
|
91
|
+
deleteDataStream(this: That, params: T.IndicesDeleteDataStreamRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDeleteDataStreamResponse, unknown>>;
|
|
92
|
+
deleteDataStream(this: That, params: T.IndicesDeleteDataStreamRequest, options?: TransportRequestOptions): Promise<T.IndicesDeleteDataStreamResponse>;
|
|
94
93
|
/**
|
|
95
94
|
* Delete an index template. The provided <index-template> may contain multiple template names separated by a comma. If multiple template names are specified then there is no wildcard support and the provided names should match completely with existing templates.
|
|
96
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
95
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template.html | Elasticsearch API documentation}
|
|
97
96
|
*/
|
|
98
|
-
deleteIndexTemplate(this: That, params: T.IndicesDeleteIndexTemplateRequest
|
|
99
|
-
deleteIndexTemplate(this: That, params: T.IndicesDeleteIndexTemplateRequest
|
|
100
|
-
deleteIndexTemplate(this: That, params: T.IndicesDeleteIndexTemplateRequest
|
|
97
|
+
deleteIndexTemplate(this: That, params: T.IndicesDeleteIndexTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDeleteIndexTemplateResponse>;
|
|
98
|
+
deleteIndexTemplate(this: That, params: T.IndicesDeleteIndexTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDeleteIndexTemplateResponse, unknown>>;
|
|
99
|
+
deleteIndexTemplate(this: That, params: T.IndicesDeleteIndexTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesDeleteIndexTemplateResponse>;
|
|
101
100
|
/**
|
|
102
101
|
* Deletes a legacy index template.
|
|
103
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
102
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template-v1.html | Elasticsearch API documentation}
|
|
104
103
|
*/
|
|
105
|
-
deleteTemplate(this: That, params: T.IndicesDeleteTemplateRequest
|
|
106
|
-
deleteTemplate(this: That, params: T.IndicesDeleteTemplateRequest
|
|
107
|
-
deleteTemplate(this: That, params: T.IndicesDeleteTemplateRequest
|
|
104
|
+
deleteTemplate(this: That, params: T.IndicesDeleteTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDeleteTemplateResponse>;
|
|
105
|
+
deleteTemplate(this: That, params: T.IndicesDeleteTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDeleteTemplateResponse, unknown>>;
|
|
106
|
+
deleteTemplate(this: That, params: T.IndicesDeleteTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesDeleteTemplateResponse>;
|
|
108
107
|
/**
|
|
109
108
|
* Analyzes the disk usage of each field of an index or data stream.
|
|
110
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
109
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html | Elasticsearch API documentation}
|
|
111
110
|
*/
|
|
112
|
-
diskUsage(this: That, params: T.IndicesDiskUsageRequest
|
|
113
|
-
diskUsage(this: That, params: T.IndicesDiskUsageRequest
|
|
114
|
-
diskUsage(this: That, params: T.IndicesDiskUsageRequest
|
|
111
|
+
diskUsage(this: That, params: T.IndicesDiskUsageRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDiskUsageResponse>;
|
|
112
|
+
diskUsage(this: That, params: T.IndicesDiskUsageRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDiskUsageResponse, unknown>>;
|
|
113
|
+
diskUsage(this: That, params: T.IndicesDiskUsageRequest, options?: TransportRequestOptions): Promise<T.IndicesDiskUsageResponse>;
|
|
115
114
|
/**
|
|
116
115
|
* Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval.
|
|
117
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
116
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-downsample-data-stream.html | Elasticsearch API documentation}
|
|
118
117
|
*/
|
|
119
|
-
downsample(this: That, params: T.IndicesDownsampleRequest
|
|
120
|
-
downsample(this: That, params: T.IndicesDownsampleRequest
|
|
121
|
-
downsample(this: That, params: T.IndicesDownsampleRequest
|
|
118
|
+
downsample(this: That, params: T.IndicesDownsampleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesDownsampleResponse>;
|
|
119
|
+
downsample(this: That, params: T.IndicesDownsampleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesDownsampleResponse, unknown>>;
|
|
120
|
+
downsample(this: That, params: T.IndicesDownsampleRequest, options?: TransportRequestOptions): Promise<T.IndicesDownsampleResponse>;
|
|
122
121
|
/**
|
|
123
122
|
* Check indices. Checks if one or more indices, index aliases, or data streams exist.
|
|
124
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
123
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html | Elasticsearch API documentation}
|
|
125
124
|
*/
|
|
126
|
-
exists(this: That, params: T.IndicesExistsRequest
|
|
127
|
-
exists(this: That, params: T.IndicesExistsRequest
|
|
128
|
-
exists(this: That, params: T.IndicesExistsRequest
|
|
125
|
+
exists(this: That, params: T.IndicesExistsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesExistsResponse>;
|
|
126
|
+
exists(this: That, params: T.IndicesExistsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesExistsResponse, unknown>>;
|
|
127
|
+
exists(this: That, params: T.IndicesExistsRequest, options?: TransportRequestOptions): Promise<T.IndicesExistsResponse>;
|
|
129
128
|
/**
|
|
130
129
|
* Check aliases. Checks if one or more data stream or index aliases exist.
|
|
131
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
130
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html | Elasticsearch API documentation}
|
|
132
131
|
*/
|
|
133
|
-
existsAlias(this: That, params: T.IndicesExistsAliasRequest
|
|
134
|
-
existsAlias(this: That, params: T.IndicesExistsAliasRequest
|
|
135
|
-
existsAlias(this: That, params: T.IndicesExistsAliasRequest
|
|
132
|
+
existsAlias(this: That, params: T.IndicesExistsAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesExistsAliasResponse>;
|
|
133
|
+
existsAlias(this: That, params: T.IndicesExistsAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesExistsAliasResponse, unknown>>;
|
|
134
|
+
existsAlias(this: That, params: T.IndicesExistsAliasRequest, options?: TransportRequestOptions): Promise<T.IndicesExistsAliasResponse>;
|
|
136
135
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
136
|
+
* Check index templates. Check whether index templates exist.
|
|
137
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/index-templates.html | Elasticsearch API documentation}
|
|
139
138
|
*/
|
|
140
|
-
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest
|
|
141
|
-
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest
|
|
142
|
-
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest
|
|
139
|
+
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesExistsIndexTemplateResponse>;
|
|
140
|
+
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesExistsIndexTemplateResponse, unknown>>;
|
|
141
|
+
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesExistsIndexTemplateResponse>;
|
|
143
142
|
/**
|
|
144
143
|
* Check existence of index templates. Returns information about whether a particular index template exists.
|
|
145
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
144
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-template-exists-v1.html | Elasticsearch API documentation}
|
|
146
145
|
*/
|
|
147
|
-
existsTemplate(this: That, params: T.IndicesExistsTemplateRequest
|
|
148
|
-
existsTemplate(this: That, params: T.IndicesExistsTemplateRequest
|
|
149
|
-
existsTemplate(this: That, params: T.IndicesExistsTemplateRequest
|
|
146
|
+
existsTemplate(this: That, params: T.IndicesExistsTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesExistsTemplateResponse>;
|
|
147
|
+
existsTemplate(this: That, params: T.IndicesExistsTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesExistsTemplateResponse, unknown>>;
|
|
148
|
+
existsTemplate(this: That, params: T.IndicesExistsTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesExistsTemplateResponse>;
|
|
150
149
|
/**
|
|
151
150
|
* Get the status for a data stream lifecycle. Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
|
|
152
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
151
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-explain-lifecycle.html | Elasticsearch API documentation}
|
|
153
152
|
*/
|
|
154
|
-
explainDataLifecycle(this: That, params: T.IndicesExplainDataLifecycleRequest
|
|
155
|
-
explainDataLifecycle(this: That, params: T.IndicesExplainDataLifecycleRequest
|
|
156
|
-
explainDataLifecycle(this: That, params: T.IndicesExplainDataLifecycleRequest
|
|
153
|
+
explainDataLifecycle(this: That, params: T.IndicesExplainDataLifecycleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesExplainDataLifecycleResponse>;
|
|
154
|
+
explainDataLifecycle(this: That, params: T.IndicesExplainDataLifecycleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesExplainDataLifecycleResponse, unknown>>;
|
|
155
|
+
explainDataLifecycle(this: That, params: T.IndicesExplainDataLifecycleRequest, options?: TransportRequestOptions): Promise<T.IndicesExplainDataLifecycleResponse>;
|
|
157
156
|
/**
|
|
158
157
|
* Returns field usage information for each shard and field of an index.
|
|
159
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
158
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html | Elasticsearch API documentation}
|
|
160
159
|
*/
|
|
161
|
-
fieldUsageStats(this: That, params: T.IndicesFieldUsageStatsRequest
|
|
162
|
-
fieldUsageStats(this: That, params: T.IndicesFieldUsageStatsRequest
|
|
163
|
-
fieldUsageStats(this: That, params: T.IndicesFieldUsageStatsRequest
|
|
160
|
+
fieldUsageStats(this: That, params: T.IndicesFieldUsageStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesFieldUsageStatsResponse>;
|
|
161
|
+
fieldUsageStats(this: That, params: T.IndicesFieldUsageStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesFieldUsageStatsResponse, unknown>>;
|
|
162
|
+
fieldUsageStats(this: That, params: T.IndicesFieldUsageStatsRequest, options?: TransportRequestOptions): Promise<T.IndicesFieldUsageStatsResponse>;
|
|
164
163
|
/**
|
|
165
164
|
* Flushes one or more data streams or indices.
|
|
166
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
165
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html | Elasticsearch API documentation}
|
|
167
166
|
*/
|
|
168
|
-
flush(this: That, params?: T.IndicesFlushRequest
|
|
169
|
-
flush(this: That, params?: T.IndicesFlushRequest
|
|
170
|
-
flush(this: That, params?: T.IndicesFlushRequest
|
|
167
|
+
flush(this: That, params?: T.IndicesFlushRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesFlushResponse>;
|
|
168
|
+
flush(this: That, params?: T.IndicesFlushRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesFlushResponse, unknown>>;
|
|
169
|
+
flush(this: That, params?: T.IndicesFlushRequest, options?: TransportRequestOptions): Promise<T.IndicesFlushResponse>;
|
|
171
170
|
/**
|
|
172
171
|
* Performs the force merge operation on one or more indices.
|
|
173
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
172
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html | Elasticsearch API documentation}
|
|
174
173
|
*/
|
|
175
|
-
forcemerge(this: That, params?: T.IndicesForcemergeRequest
|
|
176
|
-
forcemerge(this: That, params?: T.IndicesForcemergeRequest
|
|
177
|
-
forcemerge(this: That, params?: T.IndicesForcemergeRequest
|
|
174
|
+
forcemerge(this: That, params?: T.IndicesForcemergeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesForcemergeResponse>;
|
|
175
|
+
forcemerge(this: That, params?: T.IndicesForcemergeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesForcemergeResponse, unknown>>;
|
|
176
|
+
forcemerge(this: That, params?: T.IndicesForcemergeRequest, options?: TransportRequestOptions): Promise<T.IndicesForcemergeResponse>;
|
|
178
177
|
/**
|
|
179
178
|
* Get index information. Returns information about one or more indices. For data streams, the API returns information about the stream’s backing indices.
|
|
180
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
179
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html | Elasticsearch API documentation}
|
|
181
180
|
*/
|
|
182
|
-
get(this: That, params: T.IndicesGetRequest
|
|
183
|
-
get(this: That, params: T.IndicesGetRequest
|
|
184
|
-
get(this: That, params: T.IndicesGetRequest
|
|
181
|
+
get(this: That, params: T.IndicesGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetResponse>;
|
|
182
|
+
get(this: That, params: T.IndicesGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetResponse, unknown>>;
|
|
183
|
+
get(this: That, params: T.IndicesGetRequest, options?: TransportRequestOptions): Promise<T.IndicesGetResponse>;
|
|
185
184
|
/**
|
|
186
185
|
* Get aliases. Retrieves information for one or more data stream or index aliases.
|
|
187
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
186
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html | Elasticsearch API documentation}
|
|
188
187
|
*/
|
|
189
|
-
getAlias(this: That, params?: T.IndicesGetAliasRequest
|
|
190
|
-
getAlias(this: That, params?: T.IndicesGetAliasRequest
|
|
191
|
-
getAlias(this: That, params?: T.IndicesGetAliasRequest
|
|
188
|
+
getAlias(this: That, params?: T.IndicesGetAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetAliasResponse>;
|
|
189
|
+
getAlias(this: That, params?: T.IndicesGetAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetAliasResponse, unknown>>;
|
|
190
|
+
getAlias(this: That, params?: T.IndicesGetAliasRequest, options?: TransportRequestOptions): Promise<T.IndicesGetAliasResponse>;
|
|
192
191
|
/**
|
|
193
192
|
* Get data stream lifecycles. Retrieves the data stream lifecycle configuration of one or more data streams.
|
|
194
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
193
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html | Elasticsearch API documentation}
|
|
195
194
|
*/
|
|
196
|
-
getDataLifecycle(this: That, params: T.IndicesGetDataLifecycleRequest
|
|
197
|
-
getDataLifecycle(this: That, params: T.IndicesGetDataLifecycleRequest
|
|
198
|
-
getDataLifecycle(this: That, params: T.IndicesGetDataLifecycleRequest
|
|
195
|
+
getDataLifecycle(this: That, params: T.IndicesGetDataLifecycleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetDataLifecycleResponse>;
|
|
196
|
+
getDataLifecycle(this: That, params: T.IndicesGetDataLifecycleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetDataLifecycleResponse, unknown>>;
|
|
197
|
+
getDataLifecycle(this: That, params: T.IndicesGetDataLifecycleRequest, options?: TransportRequestOptions): Promise<T.IndicesGetDataLifecycleResponse>;
|
|
199
198
|
/**
|
|
200
199
|
* Get data streams. Retrieves information about one or more data streams.
|
|
201
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
200
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
202
201
|
*/
|
|
203
|
-
getDataStream(this: That, params?: T.IndicesGetDataStreamRequest
|
|
204
|
-
getDataStream(this: That, params?: T.IndicesGetDataStreamRequest
|
|
205
|
-
getDataStream(this: That, params?: T.IndicesGetDataStreamRequest
|
|
202
|
+
getDataStream(this: That, params?: T.IndicesGetDataStreamRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetDataStreamResponse>;
|
|
203
|
+
getDataStream(this: That, params?: T.IndicesGetDataStreamRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetDataStreamResponse, unknown>>;
|
|
204
|
+
getDataStream(this: That, params?: T.IndicesGetDataStreamRequest, options?: TransportRequestOptions): Promise<T.IndicesGetDataStreamResponse>;
|
|
206
205
|
/**
|
|
207
206
|
* Get mapping definitions. Retrieves mapping definitions for one or more fields. For data streams, the API retrieves field mappings for the stream’s backing indices.
|
|
208
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
207
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html | Elasticsearch API documentation}
|
|
209
208
|
*/
|
|
210
|
-
getFieldMapping(this: That, params: T.IndicesGetFieldMappingRequest
|
|
211
|
-
getFieldMapping(this: That, params: T.IndicesGetFieldMappingRequest
|
|
212
|
-
getFieldMapping(this: That, params: T.IndicesGetFieldMappingRequest
|
|
209
|
+
getFieldMapping(this: That, params: T.IndicesGetFieldMappingRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetFieldMappingResponse>;
|
|
210
|
+
getFieldMapping(this: That, params: T.IndicesGetFieldMappingRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetFieldMappingResponse, unknown>>;
|
|
211
|
+
getFieldMapping(this: That, params: T.IndicesGetFieldMappingRequest, options?: TransportRequestOptions): Promise<T.IndicesGetFieldMappingResponse>;
|
|
213
212
|
/**
|
|
214
213
|
* Get index templates. Returns information about one or more index templates.
|
|
215
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
214
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template.html | Elasticsearch API documentation}
|
|
216
215
|
*/
|
|
217
|
-
getIndexTemplate(this: That, params?: T.IndicesGetIndexTemplateRequest
|
|
218
|
-
getIndexTemplate(this: That, params?: T.IndicesGetIndexTemplateRequest
|
|
219
|
-
getIndexTemplate(this: That, params?: T.IndicesGetIndexTemplateRequest
|
|
216
|
+
getIndexTemplate(this: That, params?: T.IndicesGetIndexTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetIndexTemplateResponse>;
|
|
217
|
+
getIndexTemplate(this: That, params?: T.IndicesGetIndexTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetIndexTemplateResponse, unknown>>;
|
|
218
|
+
getIndexTemplate(this: That, params?: T.IndicesGetIndexTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesGetIndexTemplateResponse>;
|
|
220
219
|
/**
|
|
221
220
|
* Get mapping definitions. Retrieves mapping definitions for one or more indices. For data streams, the API retrieves mappings for the stream’s backing indices.
|
|
222
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
221
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html | Elasticsearch API documentation}
|
|
223
222
|
*/
|
|
224
|
-
getMapping(this: That, params?: T.IndicesGetMappingRequest
|
|
225
|
-
getMapping(this: That, params?: T.IndicesGetMappingRequest
|
|
226
|
-
getMapping(this: That, params?: T.IndicesGetMappingRequest
|
|
223
|
+
getMapping(this: That, params?: T.IndicesGetMappingRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetMappingResponse>;
|
|
224
|
+
getMapping(this: That, params?: T.IndicesGetMappingRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetMappingResponse, unknown>>;
|
|
225
|
+
getMapping(this: That, params?: T.IndicesGetMappingRequest, options?: TransportRequestOptions): Promise<T.IndicesGetMappingResponse>;
|
|
227
226
|
/**
|
|
228
227
|
* Get index settings. Returns setting information for one or more indices. For data streams, returns setting information for the stream’s backing indices.
|
|
229
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
228
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html | Elasticsearch API documentation}
|
|
230
229
|
*/
|
|
231
|
-
getSettings(this: That, params?: T.IndicesGetSettingsRequest
|
|
232
|
-
getSettings(this: That, params?: T.IndicesGetSettingsRequest
|
|
233
|
-
getSettings(this: That, params?: T.IndicesGetSettingsRequest
|
|
230
|
+
getSettings(this: That, params?: T.IndicesGetSettingsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetSettingsResponse>;
|
|
231
|
+
getSettings(this: That, params?: T.IndicesGetSettingsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetSettingsResponse, unknown>>;
|
|
232
|
+
getSettings(this: That, params?: T.IndicesGetSettingsRequest, options?: TransportRequestOptions): Promise<T.IndicesGetSettingsResponse>;
|
|
234
233
|
/**
|
|
235
234
|
* Get index templates. Retrieves information about one or more index templates.
|
|
236
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
235
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template-v1.html | Elasticsearch API documentation}
|
|
237
236
|
*/
|
|
238
|
-
getTemplate(this: That, params?: T.IndicesGetTemplateRequest
|
|
239
|
-
getTemplate(this: That, params?: T.IndicesGetTemplateRequest
|
|
240
|
-
getTemplate(this: That, params?: T.IndicesGetTemplateRequest
|
|
237
|
+
getTemplate(this: That, params?: T.IndicesGetTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesGetTemplateResponse>;
|
|
238
|
+
getTemplate(this: That, params?: T.IndicesGetTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesGetTemplateResponse, unknown>>;
|
|
239
|
+
getTemplate(this: That, params?: T.IndicesGetTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesGetTemplateResponse>;
|
|
241
240
|
/**
|
|
242
241
|
* Convert an index alias to a data stream. Converts an index alias to a data stream. You must have a matching index template that is data stream enabled. The alias must meet the following criteria: The alias must have a write index; All indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type; The alias must not have any filters; The alias must not use custom routing. If successful, the request removes the alias and creates a data stream with the same name. The indices for the alias become hidden backing indices for the stream. The write index for the alias becomes the write index for the stream.
|
|
243
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
242
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
244
243
|
*/
|
|
245
|
-
migrateToDataStream(this: That, params: T.IndicesMigrateToDataStreamRequest
|
|
246
|
-
migrateToDataStream(this: That, params: T.IndicesMigrateToDataStreamRequest
|
|
247
|
-
migrateToDataStream(this: That, params: T.IndicesMigrateToDataStreamRequest
|
|
244
|
+
migrateToDataStream(this: That, params: T.IndicesMigrateToDataStreamRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesMigrateToDataStreamResponse>;
|
|
245
|
+
migrateToDataStream(this: That, params: T.IndicesMigrateToDataStreamRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesMigrateToDataStreamResponse, unknown>>;
|
|
246
|
+
migrateToDataStream(this: That, params: T.IndicesMigrateToDataStreamRequest, options?: TransportRequestOptions): Promise<T.IndicesMigrateToDataStreamResponse>;
|
|
248
247
|
/**
|
|
249
248
|
* Update data streams. Performs one or more data stream modification actions in a single atomic operation.
|
|
250
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
249
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
251
250
|
*/
|
|
252
|
-
modifyDataStream(this: That, params: T.IndicesModifyDataStreamRequest
|
|
253
|
-
modifyDataStream(this: That, params: T.IndicesModifyDataStreamRequest
|
|
254
|
-
modifyDataStream(this: That, params: T.IndicesModifyDataStreamRequest
|
|
251
|
+
modifyDataStream(this: That, params: T.IndicesModifyDataStreamRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesModifyDataStreamResponse>;
|
|
252
|
+
modifyDataStream(this: That, params: T.IndicesModifyDataStreamRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesModifyDataStreamResponse, unknown>>;
|
|
253
|
+
modifyDataStream(this: That, params: T.IndicesModifyDataStreamRequest, options?: TransportRequestOptions): Promise<T.IndicesModifyDataStreamResponse>;
|
|
255
254
|
/**
|
|
256
255
|
* Opens a closed index. For data streams, the API opens any closed backing indices.
|
|
257
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
256
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html | Elasticsearch API documentation}
|
|
258
257
|
*/
|
|
259
|
-
open(this: That, params: T.IndicesOpenRequest
|
|
260
|
-
open(this: That, params: T.IndicesOpenRequest
|
|
261
|
-
open(this: That, params: T.IndicesOpenRequest
|
|
258
|
+
open(this: That, params: T.IndicesOpenRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesOpenResponse>;
|
|
259
|
+
open(this: That, params: T.IndicesOpenRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesOpenResponse, unknown>>;
|
|
260
|
+
open(this: That, params: T.IndicesOpenRequest, options?: TransportRequestOptions): Promise<T.IndicesOpenResponse>;
|
|
262
261
|
/**
|
|
263
262
|
* Promotes a data stream from a replicated data stream managed by CCR to a regular data stream
|
|
264
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
263
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html | Elasticsearch API documentation}
|
|
265
264
|
*/
|
|
266
|
-
promoteDataStream(this: That, params: T.IndicesPromoteDataStreamRequest
|
|
267
|
-
promoteDataStream(this: That, params: T.IndicesPromoteDataStreamRequest
|
|
268
|
-
promoteDataStream(this: That, params: T.IndicesPromoteDataStreamRequest
|
|
265
|
+
promoteDataStream(this: That, params: T.IndicesPromoteDataStreamRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPromoteDataStreamResponse>;
|
|
266
|
+
promoteDataStream(this: That, params: T.IndicesPromoteDataStreamRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPromoteDataStreamResponse, unknown>>;
|
|
267
|
+
promoteDataStream(this: That, params: T.IndicesPromoteDataStreamRequest, options?: TransportRequestOptions): Promise<T.IndicesPromoteDataStreamResponse>;
|
|
269
268
|
/**
|
|
270
269
|
* Create or update an alias. Adds a data stream or index to an alias.
|
|
271
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
270
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html | Elasticsearch API documentation}
|
|
272
271
|
*/
|
|
273
|
-
putAlias(this: That, params: T.IndicesPutAliasRequest
|
|
274
|
-
putAlias(this: That, params: T.IndicesPutAliasRequest
|
|
275
|
-
putAlias(this: That, params: T.IndicesPutAliasRequest
|
|
272
|
+
putAlias(this: That, params: T.IndicesPutAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPutAliasResponse>;
|
|
273
|
+
putAlias(this: That, params: T.IndicesPutAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPutAliasResponse, unknown>>;
|
|
274
|
+
putAlias(this: That, params: T.IndicesPutAliasRequest, options?: TransportRequestOptions): Promise<T.IndicesPutAliasResponse>;
|
|
276
275
|
/**
|
|
277
276
|
* Update data stream lifecycles. Update the data stream lifecycle of the specified data streams.
|
|
278
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
277
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html | Elasticsearch API documentation}
|
|
279
278
|
*/
|
|
280
|
-
putDataLifecycle(this: That, params: T.IndicesPutDataLifecycleRequest
|
|
281
|
-
putDataLifecycle(this: That, params: T.IndicesPutDataLifecycleRequest
|
|
282
|
-
putDataLifecycle(this: That, params: T.IndicesPutDataLifecycleRequest
|
|
279
|
+
putDataLifecycle(this: That, params: T.IndicesPutDataLifecycleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPutDataLifecycleResponse>;
|
|
280
|
+
putDataLifecycle(this: That, params: T.IndicesPutDataLifecycleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPutDataLifecycleResponse, unknown>>;
|
|
281
|
+
putDataLifecycle(this: That, params: T.IndicesPutDataLifecycleRequest, options?: TransportRequestOptions): Promise<T.IndicesPutDataLifecycleResponse>;
|
|
283
282
|
/**
|
|
284
283
|
* Create or update an index template. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
|
|
285
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
284
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-template.html | Elasticsearch API documentation}
|
|
286
285
|
*/
|
|
287
|
-
putIndexTemplate(this: That, params: T.IndicesPutIndexTemplateRequest
|
|
288
|
-
putIndexTemplate(this: That, params: T.IndicesPutIndexTemplateRequest
|
|
289
|
-
putIndexTemplate(this: That, params: T.IndicesPutIndexTemplateRequest
|
|
286
|
+
putIndexTemplate(this: That, params: T.IndicesPutIndexTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPutIndexTemplateResponse>;
|
|
287
|
+
putIndexTemplate(this: That, params: T.IndicesPutIndexTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPutIndexTemplateResponse, unknown>>;
|
|
288
|
+
putIndexTemplate(this: That, params: T.IndicesPutIndexTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesPutIndexTemplateResponse>;
|
|
290
289
|
/**
|
|
291
290
|
* Update field mappings. Adds new fields to an existing data stream or index. You can also use this API to change the search settings of existing fields. For data streams, these changes are applied to all backing indices by default.
|
|
292
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
291
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html | Elasticsearch API documentation}
|
|
293
292
|
*/
|
|
294
|
-
putMapping(this: That, params: T.IndicesPutMappingRequest
|
|
295
|
-
putMapping(this: That, params: T.IndicesPutMappingRequest
|
|
296
|
-
putMapping(this: That, params: T.IndicesPutMappingRequest
|
|
293
|
+
putMapping(this: That, params: T.IndicesPutMappingRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPutMappingResponse>;
|
|
294
|
+
putMapping(this: That, params: T.IndicesPutMappingRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPutMappingResponse, unknown>>;
|
|
295
|
+
putMapping(this: That, params: T.IndicesPutMappingRequest, options?: TransportRequestOptions): Promise<T.IndicesPutMappingResponse>;
|
|
297
296
|
/**
|
|
298
297
|
* Update index settings. Changes dynamic index settings in real time. For data streams, index setting changes are applied to all backing indices by default.
|
|
299
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
298
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html | Elasticsearch API documentation}
|
|
300
299
|
*/
|
|
301
|
-
putSettings(this: That, params: T.IndicesPutSettingsRequest
|
|
302
|
-
putSettings(this: That, params: T.IndicesPutSettingsRequest
|
|
303
|
-
putSettings(this: That, params: T.IndicesPutSettingsRequest
|
|
300
|
+
putSettings(this: That, params: T.IndicesPutSettingsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPutSettingsResponse>;
|
|
301
|
+
putSettings(this: That, params: T.IndicesPutSettingsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPutSettingsResponse, unknown>>;
|
|
302
|
+
putSettings(this: That, params: T.IndicesPutSettingsRequest, options?: TransportRequestOptions): Promise<T.IndicesPutSettingsResponse>;
|
|
304
303
|
/**
|
|
305
304
|
* Create or update an index template. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
|
|
306
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
305
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html | Elasticsearch API documentation}
|
|
307
306
|
*/
|
|
308
|
-
putTemplate(this: That, params: T.IndicesPutTemplateRequest
|
|
309
|
-
putTemplate(this: That, params: T.IndicesPutTemplateRequest
|
|
310
|
-
putTemplate(this: That, params: T.IndicesPutTemplateRequest
|
|
307
|
+
putTemplate(this: That, params: T.IndicesPutTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesPutTemplateResponse>;
|
|
308
|
+
putTemplate(this: That, params: T.IndicesPutTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesPutTemplateResponse, unknown>>;
|
|
309
|
+
putTemplate(this: That, params: T.IndicesPutTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesPutTemplateResponse>;
|
|
311
310
|
/**
|
|
312
311
|
* Returns information about ongoing and completed shard recoveries for one or more indices. For data streams, the API returns information for the stream’s backing indices.
|
|
313
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
312
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html | Elasticsearch API documentation}
|
|
314
313
|
*/
|
|
315
|
-
recovery(this: That, params?: T.IndicesRecoveryRequest
|
|
316
|
-
recovery(this: That, params?: T.IndicesRecoveryRequest
|
|
317
|
-
recovery(this: That, params?: T.IndicesRecoveryRequest
|
|
314
|
+
recovery(this: That, params?: T.IndicesRecoveryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesRecoveryResponse>;
|
|
315
|
+
recovery(this: That, params?: T.IndicesRecoveryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesRecoveryResponse, unknown>>;
|
|
316
|
+
recovery(this: That, params?: T.IndicesRecoveryRequest, options?: TransportRequestOptions): Promise<T.IndicesRecoveryResponse>;
|
|
318
317
|
/**
|
|
319
318
|
* Refresh an index. A refresh makes recent operations performed on one or more indices available for search. For data streams, the API runs the refresh operation on the stream’s backing indices.
|
|
320
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
319
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html | Elasticsearch API documentation}
|
|
321
320
|
*/
|
|
322
|
-
refresh(this: That, params?: T.IndicesRefreshRequest
|
|
323
|
-
refresh(this: That, params?: T.IndicesRefreshRequest
|
|
324
|
-
refresh(this: That, params?: T.IndicesRefreshRequest
|
|
321
|
+
refresh(this: That, params?: T.IndicesRefreshRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesRefreshResponse>;
|
|
322
|
+
refresh(this: That, params?: T.IndicesRefreshRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesRefreshResponse, unknown>>;
|
|
323
|
+
refresh(this: That, params?: T.IndicesRefreshRequest, options?: TransportRequestOptions): Promise<T.IndicesRefreshResponse>;
|
|
325
324
|
/**
|
|
326
325
|
* Reloads an index's search analyzers and their resources.
|
|
327
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
326
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html | Elasticsearch API documentation}
|
|
328
327
|
*/
|
|
329
|
-
reloadSearchAnalyzers(this: That, params: T.IndicesReloadSearchAnalyzersRequest
|
|
330
|
-
reloadSearchAnalyzers(this: That, params: T.IndicesReloadSearchAnalyzersRequest
|
|
331
|
-
reloadSearchAnalyzers(this: That, params: T.IndicesReloadSearchAnalyzersRequest
|
|
328
|
+
reloadSearchAnalyzers(this: That, params: T.IndicesReloadSearchAnalyzersRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesReloadSearchAnalyzersResponse>;
|
|
329
|
+
reloadSearchAnalyzers(this: That, params: T.IndicesReloadSearchAnalyzersRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesReloadSearchAnalyzersResponse, unknown>>;
|
|
330
|
+
reloadSearchAnalyzers(this: That, params: T.IndicesReloadSearchAnalyzersRequest, options?: TransportRequestOptions): Promise<T.IndicesReloadSearchAnalyzersResponse>;
|
|
332
331
|
/**
|
|
333
332
|
* Resolves the specified index expressions to return information about each cluster, including the local cluster, if included. Multiple patterns and remote clusters are supported.
|
|
334
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
333
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html | Elasticsearch API documentation}
|
|
335
334
|
*/
|
|
336
|
-
resolveCluster(this: That, params: T.IndicesResolveClusterRequest
|
|
337
|
-
resolveCluster(this: That, params: T.IndicesResolveClusterRequest
|
|
338
|
-
resolveCluster(this: That, params: T.IndicesResolveClusterRequest
|
|
335
|
+
resolveCluster(this: That, params: T.IndicesResolveClusterRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesResolveClusterResponse>;
|
|
336
|
+
resolveCluster(this: That, params: T.IndicesResolveClusterRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesResolveClusterResponse, unknown>>;
|
|
337
|
+
resolveCluster(this: That, params: T.IndicesResolveClusterRequest, options?: TransportRequestOptions): Promise<T.IndicesResolveClusterResponse>;
|
|
339
338
|
/**
|
|
340
|
-
*
|
|
341
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
339
|
+
* Resolve indices. Resolve the names and/or index patterns for indices, aliases, and data streams. Multiple patterns and remote clusters are supported.
|
|
340
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html | Elasticsearch API documentation}
|
|
342
341
|
*/
|
|
343
|
-
resolveIndex(this: That, params: T.IndicesResolveIndexRequest
|
|
344
|
-
resolveIndex(this: That, params: T.IndicesResolveIndexRequest
|
|
345
|
-
resolveIndex(this: That, params: T.IndicesResolveIndexRequest
|
|
342
|
+
resolveIndex(this: That, params: T.IndicesResolveIndexRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesResolveIndexResponse>;
|
|
343
|
+
resolveIndex(this: That, params: T.IndicesResolveIndexRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesResolveIndexResponse, unknown>>;
|
|
344
|
+
resolveIndex(this: That, params: T.IndicesResolveIndexRequest, options?: TransportRequestOptions): Promise<T.IndicesResolveIndexResponse>;
|
|
346
345
|
/**
|
|
347
346
|
* Roll over to a new index. Creates a new index for a data stream or index alias.
|
|
348
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
347
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html | Elasticsearch API documentation}
|
|
349
348
|
*/
|
|
350
|
-
rollover(this: That, params: T.IndicesRolloverRequest
|
|
351
|
-
rollover(this: That, params: T.IndicesRolloverRequest
|
|
352
|
-
rollover(this: That, params: T.IndicesRolloverRequest
|
|
349
|
+
rollover(this: That, params: T.IndicesRolloverRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesRolloverResponse>;
|
|
350
|
+
rollover(this: That, params: T.IndicesRolloverRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesRolloverResponse, unknown>>;
|
|
351
|
+
rollover(this: That, params: T.IndicesRolloverRequest, options?: TransportRequestOptions): Promise<T.IndicesRolloverResponse>;
|
|
353
352
|
/**
|
|
354
353
|
* Returns low-level information about the Lucene segments in index shards. For data streams, the API returns information about the stream’s backing indices.
|
|
355
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
354
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html | Elasticsearch API documentation}
|
|
356
355
|
*/
|
|
357
|
-
segments(this: That, params?: T.IndicesSegmentsRequest
|
|
358
|
-
segments(this: That, params?: T.IndicesSegmentsRequest
|
|
359
|
-
segments(this: That, params?: T.IndicesSegmentsRequest
|
|
356
|
+
segments(this: That, params?: T.IndicesSegmentsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesSegmentsResponse>;
|
|
357
|
+
segments(this: That, params?: T.IndicesSegmentsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesSegmentsResponse, unknown>>;
|
|
358
|
+
segments(this: That, params?: T.IndicesSegmentsRequest, options?: TransportRequestOptions): Promise<T.IndicesSegmentsResponse>;
|
|
360
359
|
/**
|
|
361
360
|
* Retrieves store information about replica shards in one or more indices. For data streams, the API retrieves store information for the stream’s backing indices.
|
|
362
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
361
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html | Elasticsearch API documentation}
|
|
363
362
|
*/
|
|
364
|
-
shardStores(this: That, params?: T.IndicesShardStoresRequest
|
|
365
|
-
shardStores(this: That, params?: T.IndicesShardStoresRequest
|
|
366
|
-
shardStores(this: That, params?: T.IndicesShardStoresRequest
|
|
363
|
+
shardStores(this: That, params?: T.IndicesShardStoresRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesShardStoresResponse>;
|
|
364
|
+
shardStores(this: That, params?: T.IndicesShardStoresRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesShardStoresResponse, unknown>>;
|
|
365
|
+
shardStores(this: That, params?: T.IndicesShardStoresRequest, options?: TransportRequestOptions): Promise<T.IndicesShardStoresResponse>;
|
|
367
366
|
/**
|
|
368
367
|
* Shrinks an existing index into a new index with fewer primary shards.
|
|
369
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
368
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html | Elasticsearch API documentation}
|
|
370
369
|
*/
|
|
371
|
-
shrink(this: That, params: T.IndicesShrinkRequest
|
|
372
|
-
shrink(this: That, params: T.IndicesShrinkRequest
|
|
373
|
-
shrink(this: That, params: T.IndicesShrinkRequest
|
|
370
|
+
shrink(this: That, params: T.IndicesShrinkRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesShrinkResponse>;
|
|
371
|
+
shrink(this: That, params: T.IndicesShrinkRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesShrinkResponse, unknown>>;
|
|
372
|
+
shrink(this: That, params: T.IndicesShrinkRequest, options?: TransportRequestOptions): Promise<T.IndicesShrinkResponse>;
|
|
374
373
|
/**
|
|
375
374
|
* Simulate an index. Returns the index configuration that would be applied to the specified index from an existing index template.
|
|
376
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
375
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-index.html | Elasticsearch API documentation}
|
|
377
376
|
*/
|
|
378
|
-
simulateIndexTemplate(this: That, params: T.IndicesSimulateIndexTemplateRequest
|
|
379
|
-
simulateIndexTemplate(this: That, params: T.IndicesSimulateIndexTemplateRequest
|
|
380
|
-
simulateIndexTemplate(this: That, params: T.IndicesSimulateIndexTemplateRequest
|
|
377
|
+
simulateIndexTemplate(this: That, params: T.IndicesSimulateIndexTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesSimulateIndexTemplateResponse>;
|
|
378
|
+
simulateIndexTemplate(this: That, params: T.IndicesSimulateIndexTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesSimulateIndexTemplateResponse, unknown>>;
|
|
379
|
+
simulateIndexTemplate(this: That, params: T.IndicesSimulateIndexTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesSimulateIndexTemplateResponse>;
|
|
381
380
|
/**
|
|
382
381
|
* Simulate an index template. Returns the index configuration that would be applied by a particular index template.
|
|
383
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
382
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-template.html | Elasticsearch API documentation}
|
|
384
383
|
*/
|
|
385
|
-
simulateTemplate(this: That, params?: T.IndicesSimulateTemplateRequest
|
|
386
|
-
simulateTemplate(this: That, params?: T.IndicesSimulateTemplateRequest
|
|
387
|
-
simulateTemplate(this: That, params?: T.IndicesSimulateTemplateRequest
|
|
384
|
+
simulateTemplate(this: That, params?: T.IndicesSimulateTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesSimulateTemplateResponse>;
|
|
385
|
+
simulateTemplate(this: That, params?: T.IndicesSimulateTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesSimulateTemplateResponse, unknown>>;
|
|
386
|
+
simulateTemplate(this: That, params?: T.IndicesSimulateTemplateRequest, options?: TransportRequestOptions): Promise<T.IndicesSimulateTemplateResponse>;
|
|
388
387
|
/**
|
|
389
388
|
* Splits an existing index into a new index with more primary shards.
|
|
390
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
389
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html | Elasticsearch API documentation}
|
|
391
390
|
*/
|
|
392
|
-
split(this: That, params: T.IndicesSplitRequest
|
|
393
|
-
split(this: That, params: T.IndicesSplitRequest
|
|
394
|
-
split(this: That, params: T.IndicesSplitRequest
|
|
391
|
+
split(this: That, params: T.IndicesSplitRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesSplitResponse>;
|
|
392
|
+
split(this: That, params: T.IndicesSplitRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesSplitResponse, unknown>>;
|
|
393
|
+
split(this: That, params: T.IndicesSplitRequest, options?: TransportRequestOptions): Promise<T.IndicesSplitResponse>;
|
|
395
394
|
/**
|
|
396
395
|
* Returns statistics for one or more indices. For data streams, the API retrieves statistics for the stream’s backing indices.
|
|
397
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
396
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html | Elasticsearch API documentation}
|
|
398
397
|
*/
|
|
399
|
-
stats(this: That, params?: T.IndicesStatsRequest
|
|
400
|
-
stats(this: That, params?: T.IndicesStatsRequest
|
|
401
|
-
stats(this: That, params?: T.IndicesStatsRequest
|
|
398
|
+
stats(this: That, params?: T.IndicesStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesStatsResponse>;
|
|
399
|
+
stats(this: That, params?: T.IndicesStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesStatsResponse, unknown>>;
|
|
400
|
+
stats(this: That, params?: T.IndicesStatsRequest, options?: TransportRequestOptions): Promise<T.IndicesStatsResponse>;
|
|
402
401
|
/**
|
|
403
402
|
* Unfreezes an index.
|
|
404
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
403
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/unfreeze-index-api.html | Elasticsearch API documentation}
|
|
405
404
|
*/
|
|
406
|
-
unfreeze(this: That, params: T.IndicesUnfreezeRequest
|
|
407
|
-
unfreeze(this: That, params: T.IndicesUnfreezeRequest
|
|
408
|
-
unfreeze(this: That, params: T.IndicesUnfreezeRequest
|
|
405
|
+
unfreeze(this: That, params: T.IndicesUnfreezeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesUnfreezeResponse>;
|
|
406
|
+
unfreeze(this: That, params: T.IndicesUnfreezeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesUnfreezeResponse, unknown>>;
|
|
407
|
+
unfreeze(this: That, params: T.IndicesUnfreezeRequest, options?: TransportRequestOptions): Promise<T.IndicesUnfreezeResponse>;
|
|
409
408
|
/**
|
|
410
409
|
* Create or update an alias. Adds a data stream or index to an alias.
|
|
411
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
410
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html | Elasticsearch API documentation}
|
|
412
411
|
*/
|
|
413
|
-
updateAliases(this: That, params?: T.IndicesUpdateAliasesRequest
|
|
414
|
-
updateAliases(this: That, params?: T.IndicesUpdateAliasesRequest
|
|
415
|
-
updateAliases(this: That, params?: T.IndicesUpdateAliasesRequest
|
|
412
|
+
updateAliases(this: That, params?: T.IndicesUpdateAliasesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesUpdateAliasesResponse>;
|
|
413
|
+
updateAliases(this: That, params?: T.IndicesUpdateAliasesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesUpdateAliasesResponse, unknown>>;
|
|
414
|
+
updateAliases(this: That, params?: T.IndicesUpdateAliasesRequest, options?: TransportRequestOptions): Promise<T.IndicesUpdateAliasesResponse>;
|
|
416
415
|
/**
|
|
417
416
|
* Validate a query. Validates a query without running it.
|
|
418
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/
|
|
417
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html | Elasticsearch API documentation}
|
|
419
418
|
*/
|
|
420
|
-
validateQuery(this: That, params?: T.IndicesValidateQueryRequest
|
|
421
|
-
validateQuery(this: That, params?: T.IndicesValidateQueryRequest
|
|
422
|
-
validateQuery(this: That, params?: T.IndicesValidateQueryRequest
|
|
419
|
+
validateQuery(this: That, params?: T.IndicesValidateQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesValidateQueryResponse>;
|
|
420
|
+
validateQuery(this: That, params?: T.IndicesValidateQueryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesValidateQueryResponse, unknown>>;
|
|
421
|
+
validateQuery(this: That, params?: T.IndicesValidateQueryRequest, options?: TransportRequestOptions): Promise<T.IndicesValidateQueryResponse>;
|
|
423
422
|
}
|
|
424
423
|
export {};
|