@opensearch-project/opensearch 3.2.0 → 3.4.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 +4 -0
- package/api/_types/_common.analysis.d.ts +11 -1
- package/api/_types/_common.d.ts +2 -1
- package/api/_types/_common.query_dsl.d.ts +64 -39
- package/api/_types/_core.search.d.ts +134 -7
- package/api/_types/ml._common.d.ts +34 -0
- package/api/_types/search_pipeline._common.d.ts +2 -60
- package/api/asynchronousSearch/search.js +3 -3
- package/api/asynchronousSearch/stats.js +1 -1
- package/api/cluster/allocationExplain.js +4 -4
- package/api/cluster/deleteComponentTemplate.js +3 -3
- package/api/cluster/deleteDecommissionAwareness.js +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +2 -2
- package/api/cluster/existsComponentTemplate.js +4 -4
- package/api/cluster/getComponentTemplate.js +4 -4
- package/api/cluster/getDecommissionAwareness.js +2 -2
- package/api/cluster/getSettings.js +5 -5
- package/api/cluster/getWeightedRouting.js +1 -1
- package/api/cluster/health.js +14 -14
- package/api/cluster/pendingTasks.js +5 -5
- package/api/cluster/postVotingConfigExclusions.js +4 -4
- package/api/cluster/putComponentTemplate.js +6 -6
- package/api/cluster/putDecommissionAwareness.js +3 -3
- package/api/cluster/putSettings.js +5 -5
- package/api/cluster/putWeightedRouting.js +1 -1
- package/api/cluster/reroute.js +6 -6
- package/api/cluster/state.js +10 -10
- package/api/cluster/stats.js +5 -5
- package/api/index.d.ts +2 -0
- package/api/indices/simulateIndexTemplate.d.ts +5 -1
- package/api/ml/_api.js +3 -0
- package/api/ml/executeAlgorithm.d.ts +45 -0
- package/api/ml/executeAlgorithm.js +50 -0
- package/api/security/authinfo.js +3 -3
- package/api/security/authtoken.js +1 -1
- package/api/security/configUpgradeCheck.js +1 -1
- package/api/security/configUpgradePerform.js +1 -1
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.js +1 -1
- package/api/security/createRoleMapping.js +1 -1
- package/api/security/createTenant.js +1 -1
- package/api/security/createUpdateTenancyConfig.js +1 -1
- package/api/security/createUser.js +1 -1
- package/api/security/createUserLegacy.js +1 -1
- package/api/security/deleteActionGroup.js +1 -1
- package/api/security/deleteDistinguishedName.js +2 -2
- package/api/security/deleteRole.js +1 -1
- package/api/security/deleteRoleMapping.js +1 -1
- package/api/security/deleteTenant.js +1 -1
- package/api/security/deleteUser.js +1 -1
- package/api/security/flushCache.js +1 -1
- package/api/security/generateOboToken.js +1 -1
- package/api/security/generateUserToken.js +2 -2
- package/api/security/generateUserTokenLegacy.js +1 -1
- package/api/security/getAccountDetails.js +1 -1
- package/api/security/getAllCertificates.js +2 -2
- package/api/security/getAllowlist.js +1 -1
- package/api/security/getConfiguration.js +1 -1
- package/api/security/getDashboardsInfo.js +1 -1
- package/api/security/getDistinguishedName.js +3 -3
- package/api/security/getDistinguishedNames.js +2 -2
- package/api/security/getNodeCertificates.js +4 -4
- package/api/security/getPermissionsInfo.js +1 -1
- package/api/security/getRole.js +1 -1
- package/api/security/getRoleMapping.js +2 -2
- package/api/security/getSslinfo.js +2 -2
- package/api/security/getTenancyConfig.js +1 -1
- package/api/security/getTenant.js +1 -1
- package/api/security/getUser.js +1 -1
- package/api/security/health.js +2 -2
- package/api/security/migrate.js +1 -1
- package/api/security/patchActionGroup.js +1 -1
- package/api/security/patchActionGroups.js +1 -1
- package/api/security/patchAllowlist.js +1 -1
- package/api/security/patchAuditConfiguration.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.js +2 -2
- package/api/security/patchDistinguishedNames.js +1 -1
- package/api/security/patchRole.js +1 -1
- package/api/security/patchRoleMapping.js +2 -2
- package/api/security/patchRoleMappings.js +1 -1
- package/api/security/patchTenant.js +1 -1
- package/api/security/patchTenants.js +1 -1
- package/api/security/patchUser.js +1 -1
- package/api/security/patchUsers.js +1 -1
- package/api/security/postDashboardsInfo.js +1 -1
- package/api/security/reloadHttpCertificates.js +1 -1
- package/api/security/reloadTransportCertificates.js +1 -1
- package/api/security/tenantInfo.js +1 -1
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +2 -2
- package/api/security/validate.js +1 -1
- package/api/security/whoAmI.js +1 -1
- package/api/security/whoAmIProtected.js +1 -1
- package/package.json +1 -1
|
@@ -26,9 +26,9 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
|
|
29
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
30
|
-
* @param {string} [params.timeout] -
|
|
31
|
-
* @param {string} params.name -
|
|
29
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
30
|
+
* @param {string} [params.timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
31
|
+
* @param {string} params.name - The name of the component template to delete. Supports wildcard (*) expressions.
|
|
32
32
|
*
|
|
33
33
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
34
34
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Recommissions a decommissioned zone.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-decommission/#example-decommissioning-and-recommissioning-a-zone - cluster.delete_decommission_awareness}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Clears cluster voting
|
|
22
|
+
* Clears any cluster voting configuration exclusions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest - cluster.delete_voting_config_exclusions}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.wait_for_removal=true] - Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list.
|
|
28
|
+
* @param {boolean} [params.wait_for_removal=true] - Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list. When `true`, all excluded nodes are removed from the cluster before this API takes any action. When `false`, the voting configuration exclusions list is cleared even if some excluded nodes are still in the cluster.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,10 +25,10 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {boolean} [params.local=false] -
|
|
30
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
31
|
-
* @param {string} params.name -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
29
|
+
* @param {boolean} [params.local=false] - When `true`, the request retrieves information from the local node only. When `false, information is retrieved from the cluster manager node.
|
|
30
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
31
|
+
* @param {string} params.name - The name of the component template. Wildcard (*) expressions are supported.
|
|
32
32
|
*
|
|
33
33
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
34
34
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,11 +25,11 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
29
29
|
* @param {boolean} [params.flat_settings=false] - If `true`, returns settings in flat format.
|
|
30
|
-
* @param {boolean} [params.local=false] -
|
|
31
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
32
|
-
* @param {string} [params.name] -
|
|
30
|
+
* @param {boolean} [params.local=false] - When `true`, the request retrieves information from the local node only. When `false`, information is retrieved from the cluster manager node.
|
|
31
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
32
|
+
* @param {string} [params.name] - The name of the component template to retrieve. Wildcard (`*`) expressions are supported.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
35
35
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Retrieves the decommission status for all zones.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-decommission/#example-getting-zone-decommission-status - cluster.get_decommission_awareness}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.awareness_attribute_name -
|
|
28
|
+
* @param {string} params.awareness_attribute_name - The name of the awareness attribute.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,11 +25,11 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {boolean} [params.flat_settings=false] -
|
|
30
|
-
* @param {boolean} [params.include_defaults=false] -
|
|
31
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
32
|
-
* @param {string} [params.timeout] -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
29
|
+
* @param {boolean} [params.flat_settings=false] - When `true`, returns cluster settings in a flat format.
|
|
30
|
+
* @param {boolean} [params.include_defaults=false] - When `true`, returns default cluster settings from the local node.
|
|
31
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
32
|
+
* @param {string} [params.timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
35
35
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.attribute -
|
|
28
|
+
* @param {string} params.attribute - The name of the awareness attribute.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cluster/health.js
CHANGED
|
@@ -25,20 +25,20 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.awareness_attribute] - The awareness attribute for which the health is
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
30
|
-
* @param {string} [params.expand_wildcards] -
|
|
31
|
-
* @param {string} [params.level] -
|
|
32
|
-
* @param {boolean} [params.local=false] -
|
|
33
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
34
|
-
* @param {string} [params.timeout] -
|
|
35
|
-
* @param {string} [params.wait_for_active_shards] -
|
|
36
|
-
* @param {string} [params.wait_for_events] -
|
|
37
|
-
* @param {boolean} [params.wait_for_no_initializing_shards] -
|
|
38
|
-
* @param {boolean} [params.wait_for_no_relocating_shards] -
|
|
39
|
-
* @param {string} [params.wait_for_nodes] -
|
|
40
|
-
* @param {string} [params.wait_for_status] -
|
|
41
|
-
* @param {string} [params.index] -
|
|
28
|
+
* @param {string} [params.awareness_attribute] - The name of the awareness attribute for which to return the cluster health status (for example, `zone`). Applicable only if `level` is set to `awareness_attributes`.
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
30
|
+
* @param {string} [params.expand_wildcards] - Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
|
|
31
|
+
* @param {string} [params.level] - Controls the amount of detail included in the cluster health response.
|
|
32
|
+
* @param {boolean} [params.local=false] - Whether to return information from the local node only instead of from the cluster manager node.
|
|
33
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
34
|
+
* @param {string} [params.timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
35
|
+
* @param {string} [params.wait_for_active_shards] - Waits until the specified number of shards is active before returning a response. Use `all` for all shards.
|
|
36
|
+
* @param {string} [params.wait_for_events] - Waits until all currently queued events with the given priority are processed.
|
|
37
|
+
* @param {boolean} [params.wait_for_no_initializing_shards=false] - Whether to wait until there are no initializing shards in the cluster.
|
|
38
|
+
* @param {boolean} [params.wait_for_no_relocating_shards] - Whether to wait until there are no relocating shards in the cluster.
|
|
39
|
+
* @param {string} [params.wait_for_nodes] - Waits until the specified number of nodes (`N`) is available. Accepts `>=N`, `<=N`, `>N`, and `<N`. You can also use `ge(N)`, `le(N)`, `gt(N)`, and `lt(N)` notation.
|
|
40
|
+
* @param {string} [params.wait_for_status] - Waits until the cluster health reaches the specified status or better.
|
|
41
|
+
* @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`.
|
|
42
42
|
*
|
|
43
43
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
44
44
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns a list of
|
|
23
|
-
|
|
22
|
+
* Returns a list of pending cluster-level tasks, such as index creation, mapping updates,
|
|
23
|
+
or new allocations.
|
|
24
24
|
* <br/> See Also: {@link https://opensearch.org/docs/latest - cluster.pending_tasks}
|
|
25
25
|
*
|
|
26
26
|
* @memberOf API-Cluster
|
|
27
27
|
*
|
|
28
28
|
* @param {object} [params]
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
30
|
-
* @param {boolean} [params.local=false] -
|
|
31
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
30
|
+
* @param {boolean} [params.local=false] - When `true`, the request retrieves information from the local node only. When `false`, information is retrieved from the cluster manager node.
|
|
31
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
32
32
|
*
|
|
33
33
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
34
34
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates the cluster voting
|
|
22
|
+
* Updates the cluster voting configuration by excluding certain node IDs or names.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest - cluster.post_voting_config_exclusions}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.node_ids] - A comma-separated list of
|
|
29
|
-
* @param {string} [params.node_names] - A comma-separated list of
|
|
30
|
-
* @param {string} [params.timeout] - When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.
|
|
28
|
+
* @param {string} [params.node_ids] - A comma-separated list of node IDs to exclude from the voting configuration. When using this setting, you cannot also specify `node_names`.
|
|
29
|
+
* @param {string} [params.node_names] - A comma-separated list of node names to exclude from the voting configuration. When using this setting, you cannot also specify `node_ids`.
|
|
30
|
+
* @param {string} [params.timeout] - When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning a response. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.
|
|
31
31
|
*
|
|
32
32
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
33
33
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,12 +25,12 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {boolean} [params.create=false] -
|
|
30
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
31
|
-
* @param {string} [params.timeout] -
|
|
32
|
-
* @param {string} params.name -
|
|
33
|
-
* @param {object} params.body - The template definition
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
29
|
+
* @param {boolean} [params.create=false] - When `true`, this request cannot replace or update existing component templates.
|
|
30
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
31
|
+
* @param {string} [params.timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
32
|
+
* @param {string} params.name - The name of the component template to create. OpenSearch includes the following built-in component templates: `logs-mappings`; `logs-settings`; `metrics-mappings`; `metrics-settings`; `synthetics-mapping`; `synthetics-settings`. OpenSearch uses these templates to configure backing indexes for its data streams. If you want to overwrite one of these templates, set the replacement template `version` to a higher value than the current version. If you want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the Cluster Update Settings API.
|
|
33
|
+
* @param {object} params.body - The template definition.
|
|
34
34
|
*
|
|
35
35
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
36
36
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Decommissions
|
|
22
|
+
* Decommissions a cluster zone based on awareness. This can greatly benefit multi-zone deployments, where awareness attributes can aid in applying new upgrades to a cluster in a controlled fashion.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-decommission/#example-decommissioning-and-recommissioning-a-zone - cluster.put_decommission_awareness}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.awareness_attribute_name -
|
|
29
|
-
* @param {string} params.awareness_attribute_value -
|
|
28
|
+
* @param {string} params.awareness_attribute_name - The name of the awareness attribute.
|
|
29
|
+
* @param {string} params.awareness_attribute_value - The value of the awareness attribute.
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
32
32
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,11 +25,11 @@ const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {boolean} [params.flat_settings=false] -
|
|
30
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
31
|
-
* @param {string} [params.timeout] -
|
|
32
|
-
* @param {object} params.body - The settings to
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
29
|
+
* @param {boolean} [params.flat_settings=false] - Returns settings in a flat format.
|
|
30
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
31
|
+
* @param {string} [params.timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
32
|
+
* @param {object} params.body - The cluster settings to update.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
35
35
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.attribute -
|
|
28
|
+
* @param {string} params.attribute - The name of the awareness attribute.
|
|
29
29
|
* @param {string} [params.body]
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/cluster/reroute.js
CHANGED
|
@@ -25,13 +25,13 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
29
|
-
* @param {boolean} [params.dry_run] -
|
|
30
|
-
* @param {boolean} [params.explain] -
|
|
31
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
28
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
29
|
+
* @param {boolean} [params.dry_run] - When `true`, the request simulates the operation and returns the resulting state.
|
|
30
|
+
* @param {boolean} [params.explain] - When `true`, the response contains an explanation of why certain commands can or cannot be executed.
|
|
31
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
32
32
|
* @param {string} [params.metric] - Limits the information returned to the specified metrics.
|
|
33
|
-
* @param {boolean} [params.retry_failed] -
|
|
34
|
-
* @param {string} [params.timeout] -
|
|
33
|
+
* @param {boolean} [params.retry_failed] - When `true`, retries shard allocation if it was blocked because of too many subsequent failures.
|
|
34
|
+
* @param {string} [params.timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
35
35
|
* @param {object} [params.body] - The definition of `commands` to perform (`move`, `cancel`, `allocate`)
|
|
36
36
|
*
|
|
37
37
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/cluster/state.js
CHANGED
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns
|
|
22
|
+
* Returns comprehensive information about the state of the cluster.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest - cluster.state}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.allow_no_indices] - Whether to ignore
|
|
29
|
-
* @param {string} [params.cluster_manager_timeout] -
|
|
30
|
-
* @param {string} [params.expand_wildcards] -
|
|
31
|
-
* @param {boolean} [params.flat_settings=false] -
|
|
32
|
-
* @param {boolean} [params.ignore_unavailable] - Whether specified concrete indexes should be ignored when unavailable (missing or closed)
|
|
33
|
-
* @param {boolean} [params.local=false] -
|
|
34
|
-
* @param {string} [params.master_timeout] DEPRECATED -
|
|
28
|
+
* @param {boolean} [params.allow_no_indices] - Whether to ignore a wildcard index expression that resolves into no concrete indexes. This includes the `_all` string or when no indexes have been specified.
|
|
29
|
+
* @param {string} [params.cluster_manager_timeout] - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
30
|
+
* @param {string} [params.expand_wildcards] - Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
|
|
31
|
+
* @param {boolean} [params.flat_settings=false] - Returns settings in a flat format.
|
|
32
|
+
* @param {boolean} [params.ignore_unavailable] - Whether the specified concrete indexes should be ignored when unavailable (missing or closed).
|
|
33
|
+
* @param {boolean} [params.local=false] - Whether to return information from the local node only instead of from the cluster manager node.
|
|
34
|
+
* @param {string} [params.master_timeout] DEPRECATED - A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
|
|
35
35
|
* @param {number} [params.wait_for_metadata_version] - Wait for the metadata version to be equal or greater than the specified metadata version.
|
|
36
36
|
* @param {string} [params.wait_for_timeout] - The maximum time to wait for `wait_for_metadata_version` before timing out.
|
|
37
|
-
* @param {array} [params.metric] -
|
|
38
|
-
* @param {string} [params.index] - A comma-separated list of
|
|
37
|
+
* @param {array} [params.metric] - Limits the information returned to only the specified metrics.
|
|
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}
|
|
41
41
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/cluster/stats.js
CHANGED
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns high-level overview of cluster statistics.
|
|
22
|
+
* Returns a high-level overview of cluster statistics.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/ - cluster.stats}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.flat_settings=false] -
|
|
29
|
-
* @param {string} [params.timeout] -
|
|
30
|
-
* @param {array} [params.index_metric] -
|
|
28
|
+
* @param {boolean} [params.flat_settings=false] - When `true`, returns settings in a flat format.
|
|
29
|
+
* @param {string} [params.timeout] - The amount of time to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response's `_nodes.failed` property. Defaults to no timeout.
|
|
30
|
+
* @param {array} [params.index_metric] - A comma-separated list of index metric groups, for example, `docs,store`.
|
|
31
31
|
* @param {array} [params.metric] - Limit the information returned to the specified metrics.
|
|
32
|
-
* @param {string} [params.node_id] -
|
|
32
|
+
* @param {string} [params.node_id] - A comma-separated list of node IDs used to filter results. Supports [node filters](https://opensearch.org/docs/latest/api-reference/nodes-apis/index/#node-filters).
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
35
35
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/index.d.ts
CHANGED
|
@@ -275,6 +275,7 @@ import { Knn_TrainModel_Request, Knn_TrainModel_Response, Knn_TrainModel_Respons
|
|
|
275
275
|
import { Knn_DeleteModel_Request, Knn_DeleteModel_Response, Knn_DeleteModel_ResponseBody } from './knn/deleteModel';
|
|
276
276
|
import { Knn_GetModel_Request, Knn_GetModel_Response, Knn_GetModel_ResponseBody } from './knn/getModel';
|
|
277
277
|
import { Knn_Warmup_Request, Knn_Warmup_Response, Knn_Warmup_ResponseBody } from './knn/warmup';
|
|
278
|
+
import { Ml_ExecuteAlgorithm_Request, Ml_ExecuteAlgorithm_RequestBody, Ml_ExecuteAlgorithm_Response, Ml_ExecuteAlgorithm_ResponseBody } from './ml/executeAlgorithm';
|
|
278
279
|
import { Ml_Predict_Request, Ml_Predict_RequestBody, Ml_Predict_Response, Ml_Predict_ResponseBody } from './ml/predict';
|
|
279
280
|
import { Ml_TrainPredict_Request, Ml_TrainPredict_RequestBody, Ml_TrainPredict_Response, Ml_TrainPredict_ResponseBody } from './ml/trainPredict';
|
|
280
281
|
import { Ml_Train_Request, Ml_Train_RequestBody, Ml_Train_Response, Ml_Train_ResponseBody } from './ml/train';
|
|
@@ -682,6 +683,7 @@ export {
|
|
|
682
683
|
Knn_DeleteModel_Request, Knn_DeleteModel_Response, Knn_DeleteModel_ResponseBody,
|
|
683
684
|
Knn_GetModel_Request, Knn_GetModel_Response, Knn_GetModel_ResponseBody,
|
|
684
685
|
Knn_Warmup_Request, Knn_Warmup_Response, Knn_Warmup_ResponseBody,
|
|
686
|
+
Ml_ExecuteAlgorithm_Request, Ml_ExecuteAlgorithm_RequestBody, Ml_ExecuteAlgorithm_Response, Ml_ExecuteAlgorithm_ResponseBody,
|
|
685
687
|
Ml_Predict_Request, Ml_Predict_RequestBody, Ml_Predict_Response, Ml_Predict_ResponseBody,
|
|
686
688
|
Ml_TrainPredict_Request, Ml_TrainPredict_RequestBody, Ml_TrainPredict_Response, Ml_TrainPredict_ResponseBody,
|
|
687
689
|
Ml_Train_Request, Ml_Train_RequestBody, Ml_Train_Response, Ml_Train_ResponseBody,
|
|
@@ -19,6 +19,7 @@ import * as Common from '../_types/_common'
|
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
import * as Indices_Common from '../_types/indices._common'
|
|
21
21
|
import * as Indices_PutIndexTemplate from '../_types/indices.put_index_template'
|
|
22
|
+
import * as Indices_SimulateTemplate from '../_types/indices.simulate_template'
|
|
22
23
|
|
|
23
24
|
export interface Indices_SimulateIndexTemplate_Request extends Global.Params {
|
|
24
25
|
body?: Indices_SimulateIndexTemplate_RequestBody;
|
|
@@ -42,5 +43,8 @@ export interface Indices_SimulateIndexTemplate_Response extends ApiResponse {
|
|
|
42
43
|
body: Indices_SimulateIndexTemplate_ResponseBody;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
export type Indices_SimulateIndexTemplate_ResponseBody =
|
|
46
|
+
export type Indices_SimulateIndexTemplate_ResponseBody = {
|
|
47
|
+
overlapping?: Indices_SimulateTemplate.Overlapping[];
|
|
48
|
+
template?: Indices_SimulateTemplate.Template;
|
|
49
|
+
}
|
|
46
50
|
|
package/api/ml/_api.js
CHANGED
|
@@ -34,6 +34,7 @@ function MlApi(bindObj) {
|
|
|
34
34
|
this.deleteTask = require('./deleteTask').bind(bindObj);
|
|
35
35
|
this.deployModel = require('./deployModel').bind(bindObj);
|
|
36
36
|
this.executeAgent = require('./executeAgent').bind(bindObj);
|
|
37
|
+
this.executeAlgorithm = require('./executeAlgorithm').bind(bindObj);
|
|
37
38
|
this.getAgent = require('./getAgent').bind(bindObj);
|
|
38
39
|
this.getAllMemories = require('./getAllMemories').bind(bindObj);
|
|
39
40
|
this.getAllMessages = require('./getAllMessages').bind(bindObj);
|
|
@@ -108,6 +109,8 @@ function MlApi(bindObj) {
|
|
|
108
109
|
this.deploy_model = require('./deployModel').bind(bindObj);
|
|
109
110
|
// Deprecated: Use executeAgent instead.
|
|
110
111
|
this.execute_agent = require('./executeAgent').bind(bindObj);
|
|
112
|
+
// Deprecated: Use executeAlgorithm instead.
|
|
113
|
+
this.execute_algorithm = require('./executeAlgorithm').bind(bindObj);
|
|
111
114
|
// Deprecated: Use getAgent instead.
|
|
112
115
|
this.get_agent = require('./getAgent').bind(bindObj);
|
|
113
116
|
// Deprecated: Use getAllMemories instead.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
18
|
+
import * as Global from '../_types/_global'
|
|
19
|
+
import * as Ml_Common from '../_types/ml._common'
|
|
20
|
+
|
|
21
|
+
export interface Ml_ExecuteAlgorithm_Request extends Global.Params {
|
|
22
|
+
algorithm_name: 'anomaly_localization' | 'local_sample_calculator';
|
|
23
|
+
body?: Ml_ExecuteAlgorithm_RequestBody;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type Ml_ExecuteAlgorithm_RequestBody = {
|
|
27
|
+
aggregations?: Ml_Common.Aggregation[];
|
|
28
|
+
attribute_field_names?: string[];
|
|
29
|
+
end_time?: number;
|
|
30
|
+
index_name?: string;
|
|
31
|
+
input_data?: number[];
|
|
32
|
+
metrics?: number[][];
|
|
33
|
+
min_time_interval?: number;
|
|
34
|
+
num_outputs?: number;
|
|
35
|
+
operation?: 'max' | 'min' | 'sum';
|
|
36
|
+
start_time?: number;
|
|
37
|
+
time_field_name?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface Ml_ExecuteAlgorithm_Response extends ApiResponse {
|
|
41
|
+
body: Ml_ExecuteAlgorithm_ResponseBody;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type Ml_ExecuteAlgorithm_ResponseBody = Ml_Common.ExecuteAlgorithmResponse
|
|
45
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
'use strict';
|
|
18
|
+
|
|
19
|
+
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Execute an algorithm.
|
|
23
|
+
* <br/> See Also: {@link undefined - ml.execute_algorithm}
|
|
24
|
+
*
|
|
25
|
+
* @memberOf API-Ml
|
|
26
|
+
*
|
|
27
|
+
* @param {object} params
|
|
28
|
+
* @param {string} params.algorithm_name
|
|
29
|
+
* @param {object} [params.body]
|
|
30
|
+
*
|
|
31
|
+
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
32
|
+
* @param {function} [callback] - Callback that handles errors and response
|
|
33
|
+
*
|
|
34
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
35
|
+
*/
|
|
36
|
+
function executeAlgorithmFunc(params, options, callback) {
|
|
37
|
+
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
38
|
+
if (params.algorithm_name == null) return handleMissingParam('algorithm_name', this, callback);
|
|
39
|
+
|
|
40
|
+
let { body, algorithm_name, ...querystring } = params;
|
|
41
|
+
algorithm_name = parsePathParam(algorithm_name);
|
|
42
|
+
|
|
43
|
+
const path = '/_plugins/_ml/_execute/' + algorithm_name;
|
|
44
|
+
const method = 'POST';
|
|
45
|
+
body = body || '';
|
|
46
|
+
|
|
47
|
+
return this.transport.request({ method, path, querystring, body }, options, callback);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
module.exports = executeAlgorithmFunc;
|
package/api/security/authinfo.js
CHANGED
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns
|
|
22
|
+
* Returns or updates authentication information for the currently authenticated user.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.authinfo}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.auth_type] - The type of current authentication request.
|
|
29
|
-
* @param {boolean} [params.verbose] -
|
|
28
|
+
* @param {string} [params.auth_type] - The type of the current authentication request.
|
|
29
|
+
* @param {boolean} [params.verbose] - Whether to return a verbose response.
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
32
32
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Checks whether or not an upgrade can be performed and which security resources can be updated.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#configuration-upgrade-check - security.config_upgrade_check}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Assists the cluster operator with upgrading missing default values and stale default definitions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#configuration-upgrade - security.config_upgrade_perform}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Creates or replaces
|
|
22
|
+
* Creates or replaces APIs permitted for users on the allow list. Requires a super admin certificate or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#access-control-for-the-api - security.create_allowlist}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|