@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.
Files changed (95) hide show
  1. package/api/OpenSearchApi.d.ts +4 -0
  2. package/api/_types/_common.analysis.d.ts +11 -1
  3. package/api/_types/_common.d.ts +2 -1
  4. package/api/_types/_common.query_dsl.d.ts +64 -39
  5. package/api/_types/_core.search.d.ts +134 -7
  6. package/api/_types/ml._common.d.ts +34 -0
  7. package/api/_types/search_pipeline._common.d.ts +2 -60
  8. package/api/asynchronousSearch/search.js +3 -3
  9. package/api/asynchronousSearch/stats.js +1 -1
  10. package/api/cluster/allocationExplain.js +4 -4
  11. package/api/cluster/deleteComponentTemplate.js +3 -3
  12. package/api/cluster/deleteDecommissionAwareness.js +1 -1
  13. package/api/cluster/deleteVotingConfigExclusions.js +2 -2
  14. package/api/cluster/existsComponentTemplate.js +4 -4
  15. package/api/cluster/getComponentTemplate.js +4 -4
  16. package/api/cluster/getDecommissionAwareness.js +2 -2
  17. package/api/cluster/getSettings.js +5 -5
  18. package/api/cluster/getWeightedRouting.js +1 -1
  19. package/api/cluster/health.js +14 -14
  20. package/api/cluster/pendingTasks.js +5 -5
  21. package/api/cluster/postVotingConfigExclusions.js +4 -4
  22. package/api/cluster/putComponentTemplate.js +6 -6
  23. package/api/cluster/putDecommissionAwareness.js +3 -3
  24. package/api/cluster/putSettings.js +5 -5
  25. package/api/cluster/putWeightedRouting.js +1 -1
  26. package/api/cluster/reroute.js +6 -6
  27. package/api/cluster/state.js +10 -10
  28. package/api/cluster/stats.js +5 -5
  29. package/api/index.d.ts +2 -0
  30. package/api/indices/simulateIndexTemplate.d.ts +5 -1
  31. package/api/ml/_api.js +3 -0
  32. package/api/ml/executeAlgorithm.d.ts +45 -0
  33. package/api/ml/executeAlgorithm.js +50 -0
  34. package/api/security/authinfo.js +3 -3
  35. package/api/security/authtoken.js +1 -1
  36. package/api/security/configUpgradeCheck.js +1 -1
  37. package/api/security/configUpgradePerform.js +1 -1
  38. package/api/security/createAllowlist.js +1 -1
  39. package/api/security/createRole.js +1 -1
  40. package/api/security/createRoleMapping.js +1 -1
  41. package/api/security/createTenant.js +1 -1
  42. package/api/security/createUpdateTenancyConfig.js +1 -1
  43. package/api/security/createUser.js +1 -1
  44. package/api/security/createUserLegacy.js +1 -1
  45. package/api/security/deleteActionGroup.js +1 -1
  46. package/api/security/deleteDistinguishedName.js +2 -2
  47. package/api/security/deleteRole.js +1 -1
  48. package/api/security/deleteRoleMapping.js +1 -1
  49. package/api/security/deleteTenant.js +1 -1
  50. package/api/security/deleteUser.js +1 -1
  51. package/api/security/flushCache.js +1 -1
  52. package/api/security/generateOboToken.js +1 -1
  53. package/api/security/generateUserToken.js +2 -2
  54. package/api/security/generateUserTokenLegacy.js +1 -1
  55. package/api/security/getAccountDetails.js +1 -1
  56. package/api/security/getAllCertificates.js +2 -2
  57. package/api/security/getAllowlist.js +1 -1
  58. package/api/security/getConfiguration.js +1 -1
  59. package/api/security/getDashboardsInfo.js +1 -1
  60. package/api/security/getDistinguishedName.js +3 -3
  61. package/api/security/getDistinguishedNames.js +2 -2
  62. package/api/security/getNodeCertificates.js +4 -4
  63. package/api/security/getPermissionsInfo.js +1 -1
  64. package/api/security/getRole.js +1 -1
  65. package/api/security/getRoleMapping.js +2 -2
  66. package/api/security/getSslinfo.js +2 -2
  67. package/api/security/getTenancyConfig.js +1 -1
  68. package/api/security/getTenant.js +1 -1
  69. package/api/security/getUser.js +1 -1
  70. package/api/security/health.js +2 -2
  71. package/api/security/migrate.js +1 -1
  72. package/api/security/patchActionGroup.js +1 -1
  73. package/api/security/patchActionGroups.js +1 -1
  74. package/api/security/patchAllowlist.js +1 -1
  75. package/api/security/patchAuditConfiguration.js +1 -1
  76. package/api/security/patchConfiguration.js +1 -1
  77. package/api/security/patchDistinguishedName.js +2 -2
  78. package/api/security/patchDistinguishedNames.js +1 -1
  79. package/api/security/patchRole.js +1 -1
  80. package/api/security/patchRoleMapping.js +2 -2
  81. package/api/security/patchRoleMappings.js +1 -1
  82. package/api/security/patchTenant.js +1 -1
  83. package/api/security/patchTenants.js +1 -1
  84. package/api/security/patchUser.js +1 -1
  85. package/api/security/patchUsers.js +1 -1
  86. package/api/security/postDashboardsInfo.js +1 -1
  87. package/api/security/reloadHttpCertificates.js +1 -1
  88. package/api/security/reloadTransportCertificates.js +1 -1
  89. package/api/security/tenantInfo.js +1 -1
  90. package/api/security/updateConfiguration.js +1 -1
  91. package/api/security/updateDistinguishedName.js +2 -2
  92. package/api/security/validate.js +1 -1
  93. package/api/security/whoAmI.js +1 -1
  94. package/api/security/whoAmIProtected.js +1 -1
  95. 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 - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
30
- * @param {string} [params.timeout] - Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
31
- * @param {string} params.name - Name of the component template to delete. Wildcard (*) expressions are supported.
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
- * Delete any existing decommission.
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 config exclusions.
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. Defaults to true, meaning that all excluded nodes must be removed from the cluster before this API takes any action. If set to `false` then the voting configuration exclusions list is cleared even if some excluded nodes are still in the cluster.
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] - Operation timeout for connection to cluster-manager node.
29
- * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node.
30
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
31
- * @param {string} params.name - Name of the component template to check existence of. Wildcard (*) expressions are supported.
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] - Operation timeout for connection to cluster-manager node.
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] - If `true`, the request retrieves information from the local node only. If `false`, information is retrieved from the cluster-manager node.
31
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
32
- * @param {string} [params.name] - Name of the component template to retrieve. Wildcard (`*`) expressions are supported.
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
- * Get details and status of decommissioned attribute.
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 - 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] - Operation timeout for connection to cluster-manager node.
29
- * @param {boolean} [params.flat_settings=false] - If `true`, returns settings in flat format.
30
- * @param {boolean} [params.include_defaults=false] - If `true`, returns default cluster settings from the local node.
31
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
32
- * @param {string} [params.timeout] - Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
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 - Awareness attribute name.
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
@@ -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 required.
29
- * @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
30
- * @param {string} [params.expand_wildcards] - Whether to expand wildcard expression to concrete indexes that are open, closed or both.
31
- * @param {string} [params.level] - Can be one of cluster, indexes or shards. Controls the details level of the health information returned.
32
- * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node.
33
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
34
- * @param {string} [params.timeout] - Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
35
- * @param {string} [params.wait_for_active_shards] - A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.
36
- * @param {string} [params.wait_for_events] - Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.
37
- * @param {boolean} [params.wait_for_no_initializing_shards] - A Boolean value which controls whether to wait (until the timeout provided) for the cluster to have no shard initializations. Defaults to false, which means it will not wait for initializing shards.
38
- * @param {boolean} [params.wait_for_no_relocating_shards] - A Boolean value which controls whether to wait (until the timeout provided) for the cluster to have no shard relocations. Defaults to false, which means it will not wait for relocating shards.
39
- * @param {string} [params.wait_for_nodes] - The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and <N. Alternatively, it is possible to use ge(N), le(N), gt(N) and lt(N) notation.
40
- * @param {string} [params.wait_for_status] - One of green, yellow or red. Will wait (until the timeout provided) until the status of the cluster changes to the one provided or better, i.e. green > yellow > red. By default, will not wait for any status.
41
- * @param {string} [params.index] - Comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indexes in a cluster, omit this parameter or use `_all` or `*`.
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 any cluster-level changes (e.g. create index, update mapping,
23
- allocate or fail shard) which have not yet been executed.
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] - Operation timeout for connection to cluster-manager node.
30
- * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only. If `false`, information is retrieved from the cluster-manager node.
31
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
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 config exclusions by node ids or node names.
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 the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify `node_names`.
29
- * @param {string} [params.node_names] - A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not 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. 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] - Operation timeout for connection to cluster-manager node.
29
- * @param {boolean} [params.create=false] - If `true`, this request cannot replace or update existing component templates.
30
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
31
- * @param {string} [params.timeout] - Operation timeout.
32
- * @param {string} params.name - 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 Agent uses these templates to configure backing indexes for its data streams. If you use OpenSearch Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version. If you don't use OpenSearch Agent and 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
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 an awareness attribute.
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 - Awareness attribute name.
29
- * @param {string} params.awareness_attribute_value - 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] - Operation timeout for connection to cluster-manager node.
29
- * @param {boolean} [params.flat_settings=false] - Return settings in flat format.
30
- * @param {string} [params.master_timeout] DEPRECATED - Explicit operation timeout for connection to cluster-manager node
31
- * @param {string} [params.timeout] - Explicit operation timeout
32
- * @param {object} params.body - The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart).
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 - Awareness attribute name.
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}
@@ -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] - Operation timeout for connection to cluster-manager node.
29
- * @param {boolean} [params.dry_run] - If `true`, then the request simulates the operation only and returns the resulting state.
30
- * @param {boolean} [params.explain] - If `true`, then the response contains an explanation of why the commands can or cannot be executed.
31
- * @param {string} [params.master_timeout] DEPRECATED - Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
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] - If `true`, then retries allocation of shards that are blocked due to too many subsequent allocation failures.
34
- * @param {string} [params.timeout] - Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
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}
@@ -19,23 +19,23 @@
19
19
  const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
- * Returns a comprehensive information about the state of the cluster.
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 if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified)
29
- * @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
30
- * @param {string} [params.expand_wildcards] - Whether to expand wildcard expression to concrete indexes that are open, closed or both.
31
- * @param {boolean} [params.flat_settings=false] - Return settings in flat format.
32
- * @param {boolean} [params.ignore_unavailable] - Whether specified concrete indexes should be ignored when unavailable (missing or closed)
33
- * @param {boolean} [params.local=false] - Return local information, do not retrieve the state from cluster-manager node.
34
- * @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to cluster manager.
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] - Limit the information returned to the specified metrics
38
- * @param {string} [params.index] - A comma-separated list of index names; use `_all` or empty string to perform the operation on all indexes
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
@@ -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] - If `true`, returns settings in flat format.
29
- * @param {string} [params.timeout] - Period 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] - Limit the information returned for indexes metric to the specific index metrics. It can be used only if indexes (or all) metric is specified.
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] - Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.
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 = Record<string, any>
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;
@@ -19,14 +19,14 @@
19
19
  const { normalizeArguments } = require('../utils');
20
20
 
21
21
  /**
22
- * Returns the authentication information.
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] - Indicates whether a verbose response should be returned.
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
- * Returns the authorization token.
22
+ * Returns the authorization token for the current user.
23
23
  * <br/> See Also: {@link undefined - security.authtoken}
24
24
  *
25
25
  * @memberOf API-Security
@@ -19,7 +19,7 @@
19
19
  const { normalizeArguments } = require('../utils');
20
20
 
21
21
  /**
22
- * Check whether or not an upgrade can be performed and what resources can be updated.
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
- * Helps cluster operator upgrade missing defaults and stale default definitions.
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 the permitted APIs. Accessible using Super Admin certificate or REST API permission.
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