@opensearch-project/opensearch 3.0.0-beta.9 → 3.1.0
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/api/OpenSearchApi.d.ts +126 -3
- package/api/_core/search.d.ts +2 -1
- package/api/_core/updateByQueryRethrottle.d.ts +1 -0
- package/api/_types/_common.analysis.d.ts +1 -1
- package/api/_types/_common.d.ts +19 -14
- package/api/_types/_global.d.ts +2 -1
- package/api/_types/{cat._common.d.ts → cat.segment_replication.d.ts} +1 -18
- package/api/_types/cat.snapshots.d.ts +1 -1
- package/api/_types/cluster.stats.d.ts +0 -18
- package/api/_types/index.d.ts +233 -0
- package/api/_types/indices._common.d.ts +1 -13
- package/api/_types/indices.analyze.d.ts +2 -1
- package/api/_types/indices.shard_stores.d.ts +2 -2
- package/api/_types/indices.stats.d.ts +3 -1
- package/api/_types/ingest._common.d.ts +3 -40
- package/api/_types/ml._common.d.ts +367 -11
- package/api/_types/nodes._common.d.ts +0 -631
- package/api/_types/nodes.info.d.ts +30 -25
- package/api/_types/nodes.reload_secure_settings.d.ts +8 -4
- package/api/_types/nodes.stats.d.ts +634 -4
- package/api/_types/nodes.usage.d.ts +1 -7
- package/api/cat/aliases.js +1 -1
- package/api/cat/allPitSegments.d.ts +2 -2
- package/api/cat/allPitSegments.js +6 -6
- package/api/cat/clusterManager.js +1 -1
- package/api/cat/count.js +5 -5
- package/api/cat/fielddata.js +6 -6
- package/api/cat/health.js +5 -5
- package/api/cat/indices.js +14 -14
- package/api/cat/master.js +7 -7
- package/api/cat/nodeattrs.js +7 -7
- package/api/cat/nodes.d.ts +1 -1
- package/api/cat/nodes.js +11 -11
- package/api/cat/pendingTasks.js +9 -9
- package/api/cat/pitSegments.d.ts +2 -2
- package/api/cat/pitSegments.js +6 -6
- package/api/cat/plugins.js +8 -8
- package/api/cat/recovery.js +8 -8
- package/api/cat/repositories.js +8 -8
- package/api/cat/segmentReplication.d.ts +2 -2
- package/api/cat/segmentReplication.js +18 -17
- package/api/cat/segments.js +8 -8
- package/api/cat/shards.js +10 -10
- package/api/cat/snapshots.js +9 -9
- package/api/cat/tasks.js +8 -8
- package/api/cat/templates.js +8 -8
- package/api/cat/threadPool.js +8 -8
- package/api/cluster/getComponentTemplate.d.ts +1 -0
- package/api/cluster/getComponentTemplate.js +1 -0
- package/api/cluster/reroute.d.ts +1 -2
- package/api/cluster/state.d.ts +1 -1
- package/api/cluster/stats.d.ts +9 -1
- package/api/index.d.ts +58 -2
- package/api/indices/addBlock.d.ts +1 -2
- package/api/indices/clone.d.ts +2 -3
- package/api/indices/close.d.ts +1 -2
- package/api/indices/putTemplate.d.ts +1 -1
- package/api/indices/rollover.d.ts +2 -3
- package/api/indices/shardStores.d.ts +1 -1
- package/api/indices/shrink.d.ts +2 -3
- package/api/indices/split.d.ts +1 -2
- package/api/indices/stats.d.ts +1 -1
- package/api/indices/upgrade.d.ts +3 -2
- package/api/indices/upgrade.js +0 -1
- package/api/ml/_api.js +80 -0
- package/api/ml/chunkModel.d.ts +37 -0
- package/api/ml/chunkModel.js +53 -0
- package/api/ml/createConnector.d.ts +1 -1
- package/api/ml/createMemory.d.ts +36 -0
- package/api/ml/createMemory.js +47 -0
- package/api/ml/createMessage.d.ts +42 -0
- package/api/ml/createMessage.js +50 -0
- package/api/ml/createModelMeta.d.ts +46 -0
- package/api/ml/createModelMeta.js +47 -0
- package/api/ml/deleteMemory.d.ts +31 -0
- package/api/ml/deleteMemory.js +49 -0
- package/api/ml/getConnector.d.ts +30 -0
- package/api/ml/getConnector.js +49 -0
- package/api/ml/getMemory.d.ts +36 -0
- package/api/ml/getMemory.js +49 -0
- package/api/ml/getMessage.d.ts +31 -0
- package/api/ml/getMessage.js +55 -0
- package/api/ml/getMessageTraces.d.ts +30 -0
- package/api/ml/getMessageTraces.js +49 -0
- package/api/ml/getModel.d.ts +30 -0
- package/api/ml/getModel.js +49 -0
- package/api/ml/loadModel.d.ts +33 -0
- package/api/ml/loadModel.js +49 -0
- package/api/ml/predict.d.ts +40 -0
- package/api/ml/predict.js +53 -0
- package/api/ml/predictModel.d.ts +36 -0
- package/api/ml/predictModel.js +50 -0
- package/api/ml/registerModel.d.ts +4 -3
- package/api/ml/registerModelMeta.d.ts +46 -0
- package/api/ml/registerModelMeta.js +47 -0
- package/api/ml/searchConnectors.d.ts +36 -0
- package/api/ml/searchConnectors.js +47 -0
- package/api/ml/searchMemory.d.ts +36 -0
- package/api/ml/searchMemory.js +47 -0
- package/api/ml/searchMessage.d.ts +37 -0
- package/api/ml/searchMessage.js +50 -0
- package/api/ml/searchModelGroup.d.ts +36 -0
- package/api/ml/searchModelGroup.js +47 -0
- package/api/ml/searchModels.d.ts +3 -2
- package/api/ml/searchModels.js +1 -1
- package/api/ml/train.d.ts +37 -0
- package/api/ml/train.js +50 -0
- package/api/ml/trainPredict.d.ts +38 -0
- package/api/ml/trainPredict.js +50 -0
- package/api/ml/undeployModel.d.ts +8 -1
- package/api/ml/undeployModel.js +5 -5
- package/api/ml/unloadModel.d.ts +37 -0
- package/api/ml/unloadModel.js +49 -0
- package/api/ml/updateConnector.d.ts +45 -0
- package/api/ml/updateConnector.js +50 -0
- package/api/ml/updateMemory.d.ts +35 -0
- package/api/ml/updateMemory.js +50 -0
- package/api/ml/updateMessage.d.ts +40 -0
- package/api/ml/updateMessage.js +50 -0
- package/api/ml/updateModel.d.ts +43 -0
- package/api/ml/updateModel.js +50 -0
- package/api/ml/updateModelGroup.d.ts +40 -0
- package/api/ml/updateModelGroup.js +50 -0
- package/api/ml/uploadChunk.d.ts +37 -0
- package/api/ml/uploadChunk.js +53 -0
- package/api/ml/uploadModel.d.ts +41 -0
- package/api/ml/uploadModel.js +47 -0
- package/api/nodes/info.d.ts +5 -1
- package/api/nodes/reloadSecureSettings.d.ts +5 -1
- package/api/nodes/stats.d.ts +5 -1
- package/api/nodes/usage.d.ts +5 -1
- package/api/tasks/cancel.d.ts +1 -1
- package/api/tasks/list.d.ts +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Lists all active point-in-time segments.
|
|
22
|
+
* Lists all active CAT point-in-time segments.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/search-plugins/point-in-time-api/ - cat.all_pit_segments}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {array} [params.s] -
|
|
33
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
33
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
34
34
|
*
|
|
35
35
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
36
36
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -29,7 +29,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
29
29
|
* @param {string} [params.format] - A short version of the HTTP `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
32
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - A timeout for connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
35
|
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
package/api/cat/count.js
CHANGED
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Provides quick access to the document count of the entire cluster
|
|
22
|
+
* Provides quick access to the document count of the entire cluster or of an individual index.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-count/ - cat.count}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
29
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
29
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
30
30
|
* @param {boolean} [params.help=false] - Return help information.
|
|
31
|
-
* @param {array} [params.s] -
|
|
32
|
-
* @param {boolean} [params.v=false] -
|
|
31
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
32
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
33
33
|
* @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
34
34
|
*
|
|
35
35
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/cat/fielddata.js
CHANGED
|
@@ -25,13 +25,13 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.fields] -
|
|
30
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
31
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.fields] - A comma-separated list of fields used to limit the amount of returned information. To retrieve all fields, omit this parameter.
|
|
30
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
32
32
|
* @param {boolean} [params.help=false] - Return help information.
|
|
33
|
-
* @param {array} [params.s] -
|
|
34
|
-
* @param {boolean} [params.v=false] -
|
|
33
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
34
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
35
35
|
*
|
|
36
36
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
37
37
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/health.js
CHANGED
|
@@ -25,13 +25,13 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
29
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
29
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
30
30
|
* @param {boolean} [params.help=false] - Return help information.
|
|
31
|
-
* @param {array} [params.s] -
|
|
31
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
32
32
|
* @param {string} [params.time] - The unit used to display time values.
|
|
33
|
-
* @param {boolean} [params.ts=true] -
|
|
34
|
-
* @param {boolean} [params.v=false] -
|
|
33
|
+
* @param {boolean} [params.ts=true] - When `true`, returns `HH:MM:SS` and Unix epoch timestamps.
|
|
34
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
35
35
|
*
|
|
36
36
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
37
37
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/indices.js
CHANGED
|
@@ -19,27 +19,27 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Lists information related to indexes, that is, how much disk space they are using, how many shards they have, their health status, and so on.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-indices/ - cat.indices}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
30
30
|
* @param {string} [params.expand_wildcards] - The type of index that wildcard patterns can match.
|
|
31
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
32
|
-
* @param {array} [params.h] -
|
|
33
|
-
* @param {string} [params.health] -
|
|
31
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
32
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
33
|
+
* @param {string} [params.health] - Limits indexes based on their health status. Supported values are `green`, `yellow`, and `red`.
|
|
34
34
|
* @param {boolean} [params.help=false] - Return help information.
|
|
35
|
-
* @param {boolean} [params.include_unloaded_segments=false] -
|
|
36
|
-
* @param {boolean} [params.local=false] -
|
|
37
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
38
|
-
* @param {boolean} [params.pri=false] -
|
|
39
|
-
* @param {array} [params.s] -
|
|
40
|
-
* @param {string} [params.time] -
|
|
41
|
-
* @param {boolean} [params.v=false] -
|
|
42
|
-
* @param {string} [params.index] -
|
|
35
|
+
* @param {boolean} [params.include_unloaded_segments=false] - Whether to include information from segments not loaded into memory.
|
|
36
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
37
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
38
|
+
* @param {boolean} [params.pri=false] - When `true`, returns information only from the primary shards.
|
|
39
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
40
|
+
* @param {string} [params.time] - Specifies the time units.
|
|
41
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
42
|
+
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
43
43
|
*
|
|
44
44
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
45
45
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/master.js
CHANGED
|
@@ -25,14 +25,14 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {array} [params.s] -
|
|
35
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
36
36
|
*
|
|
37
37
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
38
38
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/nodeattrs.js
CHANGED
|
@@ -25,14 +25,14 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {array} [params.s] -
|
|
35
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
36
36
|
*
|
|
37
37
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
38
38
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/nodes.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface Cat_Nodes_Request extends Global.Params {
|
|
|
23
23
|
bytes?: Common.ByteUnit;
|
|
24
24
|
cluster_manager_timeout?: Common.Duration;
|
|
25
25
|
format?: string;
|
|
26
|
-
full_id?:
|
|
26
|
+
full_id?: Common.StringifiedBoolean;
|
|
27
27
|
h?: string[];
|
|
28
28
|
help?: boolean;
|
|
29
29
|
local?: boolean;
|
package/api/cat/nodes.js
CHANGED
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns basic statistics about performance of cluster nodes.
|
|
22
|
+
* Returns basic statistics about the performance of cluster nodes.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-nodes/ - cat.nodes}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
30
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
31
|
-
* @param {string} [params.full_id
|
|
32
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
30
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
|
+
* @param {string} [params.full_id] - When `true`, returns the full node ID. When `false`, returns the shortened node ID.
|
|
32
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
33
33
|
* @param {boolean} [params.help=false] - Return help information.
|
|
34
|
-
* @param {boolean} [params.local=false] DEPRECATED -
|
|
35
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
36
|
-
* @param {array} [params.s] -
|
|
37
|
-
* @param {string} [params.time] -
|
|
38
|
-
* @param {boolean} [params.v=false] -
|
|
34
|
+
* @param {boolean} [params.local=false] DEPRECATED - Returns local information but does not retrieve the state from the cluster manager node.
|
|
35
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
36
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
37
|
+
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
|
38
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
39
39
|
*
|
|
40
40
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
41
41
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/pendingTasks.js
CHANGED
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns a concise representation of the cluster pending tasks.
|
|
22
|
+
* Returns a concise representation of the cluster's pending tasks.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-pending-tasks/ - cat.pending_tasks}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {array} [params.s] -
|
|
35
|
-
* @param {string} [params.time] -
|
|
36
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
|
+
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
|
36
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
37
37
|
*
|
|
38
38
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
39
39
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/pitSegments.d.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { ApiResponse } from '../../lib/Transport'
|
|
18
|
-
import * as
|
|
18
|
+
import * as Cat_Segments from '../_types/cat.segments'
|
|
19
19
|
import * as Common from '../_types/_common'
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
@@ -37,5 +37,5 @@ export interface Cat_PitSegments_Response extends ApiResponse {
|
|
|
37
37
|
body: Cat_PitSegments_ResponseBody;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export type Cat_PitSegments_ResponseBody =
|
|
40
|
+
export type Cat_PitSegments_ResponseBody = Cat_Segments.SegmentsRecord[]
|
|
41
41
|
|
package/api/cat/pitSegments.js
CHANGED
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Lists one or several CAT point-in-time segments.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/search-plugins/point-in-time-api/ - cat.pit_segments}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {array} [params.s] -
|
|
33
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
33
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
34
34
|
* @param {object} [params.body]
|
|
35
35
|
*
|
|
36
36
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/cat/plugins.js
CHANGED
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns information about
|
|
22
|
+
* Returns information about the names, components, and versions of the installed plugins.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-plugins/ - cat.plugins}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {array} [params.s] -
|
|
35
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
36
36
|
*
|
|
37
37
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
38
38
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/recovery.js
CHANGED
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns
|
|
22
|
+
* Returns all completed and ongoing index and shard recoveries.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-plugins/ - cat.recovery}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {boolean} [params.active_only=false] - If `true`, the response only includes ongoing shard recoveries.
|
|
29
|
-
* @param {string} [params.bytes] - The
|
|
30
|
-
* @param {boolean} [params.detailed=false] -
|
|
31
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
32
|
-
* @param {array} [params.h] -
|
|
29
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
30
|
+
* @param {boolean} [params.detailed=false] - When `true`, includes detailed information about shard recoveries.
|
|
31
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
32
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
33
33
|
* @param {boolean} [params.help=false] - Return help information.
|
|
34
34
|
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
35
|
-
* @param {array} [params.s] -
|
|
36
|
-
* @param {string} [params.time] -
|
|
37
|
-
* @param {boolean} [params.v=false] -
|
|
35
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
36
|
+
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
|
37
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
38
38
|
*
|
|
39
39
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
40
40
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/repositories.js
CHANGED
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns information about snapshot repositories
|
|
22
|
+
* Returns information about all snapshot repositories for a cluster.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-repositories/ - cat.repositories}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {array} [params.s] -
|
|
35
|
-
* @param {boolean} [params.v=false] -
|
|
32
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
36
36
|
*
|
|
37
37
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
38
38
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { ApiResponse } from '../../lib/Transport'
|
|
18
|
-
import * as
|
|
18
|
+
import * as Cat_SegmentReplication from '../_types/cat.segment_replication'
|
|
19
19
|
import * as Common from '../_types/_common'
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
@@ -43,5 +43,5 @@ export interface Cat_SegmentReplication_Response extends ApiResponse {
|
|
|
43
43
|
body: Cat_SegmentReplication_ResponseBody;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export type Cat_SegmentReplication_ResponseBody =
|
|
46
|
+
export type Cat_SegmentReplication_ResponseBody = Cat_SegmentReplication.SegmentReplicationRecord[]
|
|
47
47
|
|
|
@@ -19,29 +19,30 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns information about
|
|
22
|
+
* Returns information about active and last-completed segment replication events on each replica shard, including related shard-level metrics.
|
|
23
|
+
These metrics provide information about how far behind the primary shard the replicas are lagging.
|
|
23
24
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-segment-replication/ - cat.segment_replication}
|
|
24
25
|
*
|
|
25
26
|
* @memberOf API-Cat
|
|
26
27
|
*
|
|
27
28
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.active_only=false] -
|
|
29
|
-
* @param {boolean} [params.allow_no_indices] - Whether to ignore if a wildcard
|
|
30
|
-
* @param {string} [params.bytes] - The
|
|
31
|
-
* @param {boolean} [params.completed_only=false] -
|
|
32
|
-
* @param {boolean} [params.detailed=false] -
|
|
33
|
-
* @param {string} [params.expand_wildcards] - Whether to expand wildcard expression to concrete indexes that are open, closed or both.
|
|
34
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
35
|
-
* @param {array} [params.h] -
|
|
29
|
+
* @param {boolean} [params.active_only=false] - When `true`, the response only includes ongoing segment replication events.
|
|
30
|
+
* @param {boolean} [params.allow_no_indices] - Whether to ignore the index if a wildcard index expression resolves to no concrete indexes. This includes the `_all` string or when no indexes have been specified.
|
|
31
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
32
|
+
* @param {boolean} [params.completed_only=false] - When `true`, the response only includes the last-completed segment replication events.
|
|
33
|
+
* @param {boolean} [params.detailed=false] - When `true`, the response includes additional metrics for each stage of a segment replication event.
|
|
34
|
+
* @param {string} [params.expand_wildcards] - Whether to expand the wildcard expression to include concrete indexes that are open, closed, or both.
|
|
35
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
36
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
36
37
|
* @param {boolean} [params.help=false] - Return help information.
|
|
37
|
-
* @param {boolean} [params.ignore_throttled] - Whether specified concrete, expanded or aliased indexes should be ignored when throttled.
|
|
38
|
-
* @param {boolean} [params.ignore_unavailable] - Whether specified concrete indexes should be ignored when
|
|
39
|
-
* @param {array} [params.index] -
|
|
40
|
-
* @param {array} [params.s] -
|
|
41
|
-
* @param {array} [params.shards] -
|
|
42
|
-
* @param {string} [params.time] -
|
|
43
|
-
* @param {string} [params.timeout] -
|
|
44
|
-
* @param {boolean} [params.v=false] -
|
|
38
|
+
* @param {boolean} [params.ignore_throttled] - Whether specified concrete, expanded, or aliased indexes should be ignored when throttled.
|
|
39
|
+
* @param {boolean} [params.ignore_unavailable] - Whether the specified concrete indexes should be ignored when missing or closed.
|
|
40
|
+
* @param {array} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
41
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
42
|
+
* @param {array} [params.shards] - A comma-separated list of shards to display.
|
|
43
|
+
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
|
44
|
+
* @param {string} [params.timeout] - The operation timeout.
|
|
45
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
45
46
|
*
|
|
46
47
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
47
48
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cat/segments.js
CHANGED
|
@@ -25,14 +25,14 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
30
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
31
|
-
* @param {array} [params.h] -
|
|
32
|
-
* @param {boolean} [params.help=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {array} [params.s] -
|
|
35
|
-
* @param {boolean} [params.v=false] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
30
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
32
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
35
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
36
36
|
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
37
37
|
*
|
|
38
38
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/cat/shards.js
CHANGED
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Lists the states of all primary and replica shards and how they are distributed.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-shards/ - cat.shards}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.bytes] - The
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
30
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
31
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
30
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
32
32
|
* @param {boolean} [params.help=false] - Return help information.
|
|
33
|
-
* @param {boolean} [params.local=false] -
|
|
34
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
35
|
-
* @param {array} [params.s] -
|
|
36
|
-
* @param {string} [params.time] -
|
|
37
|
-
* @param {boolean} [params.v=false] -
|
|
33
|
+
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
34
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
35
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
36
|
+
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
|
37
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
38
38
|
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
39
39
|
*
|
|
40
40
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/cat/snapshots.js
CHANGED
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Lists all of the snapshots stored in a specific repository.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cat/cat-snapshots/ - cat.snapshots}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {string} [params.format] - A short version of the Accept header
|
|
30
|
-
* @param {array} [params.h] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
|
+
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
|
+
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Return help information.
|
|
32
|
-
* @param {boolean} [params.ignore_unavailable=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
32
|
+
* @param {boolean} [params.ignore_unavailable=false] - When `true`, the response does not include information from unavailable snapshots.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {string} [params.repository] - A comma-separated list of snapshot repositories used to limit the request. Accepts wildcard expressions. `_all` returns all repositories. If any repository fails during the request, OpenSearch returns an error.
|
|
35
|
-
* @param {array} [params.s] -
|
|
36
|
-
* @param {string} [params.time] -
|
|
37
|
-
* @param {boolean} [params.v=false] -
|
|
35
|
+
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
36
|
+
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
|
37
|
+
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
38
38
|
*
|
|
39
39
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
40
40
|
* @param {function} [callback] - Callback that handles errors and response
|