@opensearch-project/opensearch 3.6.0 → 3.10.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 (618) hide show
  1. package/api/OpenSearchApi.d.ts +288 -0
  2. package/api/OpenSearchApi.js +202 -139
  3. package/api/_core/bulk.d.ts +2 -7
  4. package/api/_core/bulk.js +3 -3
  5. package/api/_core/bulkStream.d.ts +2 -7
  6. package/api/_core/bulkStream.js +2 -2
  7. package/api/_core/clearScroll.js +3 -3
  8. package/api/_core/count.js +3 -3
  9. package/api/_core/create.js +4 -4
  10. package/api/_core/createPit.d.ts +7 -4
  11. package/api/_core/createPit.js +8 -4
  12. package/api/_core/delete.js +4 -4
  13. package/api/_core/deleteAllPits.js +1 -1
  14. package/api/_core/deleteByQuery.js +3 -3
  15. package/api/_core/deleteByQueryRethrottle.js +1 -1
  16. package/api/_core/deletePit.js +1 -1
  17. package/api/_core/deleteScript.js +1 -1
  18. package/api/_core/exists.js +4 -4
  19. package/api/_core/existsSource.js +4 -4
  20. package/api/_core/explain.d.ts +3 -1
  21. package/api/_core/explain.js +3 -3
  22. package/api/_core/fieldCaps.js +4 -4
  23. package/api/_core/get.d.ts +3 -1
  24. package/api/_core/get.js +5 -5
  25. package/api/_core/getAllPits.js +1 -1
  26. package/api/_core/getScript.js +1 -1
  27. package/api/_core/getScriptContext.js +1 -1
  28. package/api/_core/getScriptLanguages.js +1 -1
  29. package/api/_core/getSource.d.ts +1 -1
  30. package/api/_core/getSource.js +5 -5
  31. package/api/_core/index.js +4 -4
  32. package/api/_core/info.js +1 -1
  33. package/api/_core/mget.js +4 -4
  34. package/api/_core/msearch.d.ts +1 -0
  35. package/api/_core/msearch.js +3 -2
  36. package/api/_core/msearchTemplate.js +2 -2
  37. package/api/_core/mtermvectors.js +9 -9
  38. package/api/_core/ping.js +1 -1
  39. package/api/_core/putScript.js +1 -1
  40. package/api/_core/rankEval.js +2 -2
  41. package/api/_core/reindex.js +1 -1
  42. package/api/_core/reindexRethrottle.js +1 -1
  43. package/api/_core/renderSearchTemplate.js +1 -1
  44. package/api/_core/scriptsPainlessExecute.d.ts +1 -1
  45. package/api/_core/scriptsPainlessExecute.js +1 -1
  46. package/api/_core/scroll.d.ts +1 -1
  47. package/api/_core/scroll.js +1 -1
  48. package/api/_core/search.d.ts +6 -3
  49. package/api/_core/search.js +3 -3
  50. package/api/_core/searchShards.js +2 -2
  51. package/api/_core/searchTemplate.d.ts +4 -17
  52. package/api/_core/searchTemplate.js +5 -3
  53. package/api/_core/termvectors.js +9 -9
  54. package/api/_core/update.js +2 -2
  55. package/api/_core/updateByQuery.js +3 -3
  56. package/api/_core/updateByQueryRethrottle.js +1 -1
  57. package/api/_types/_common.aggregations.d.ts +232 -175
  58. package/api/_types/_common.analysis.d.ts +10 -3
  59. package/api/_types/_common.d.ts +67 -47
  60. package/api/_types/_common.mapping.d.ts +34 -2
  61. package/api/_types/_common.query_dsl.d.ts +48 -24
  62. package/api/_types/_core.bulk.d.ts +17 -1
  63. package/api/_types/_core.explain.d.ts +1 -1
  64. package/api/_types/_core.get.d.ts +7 -3
  65. package/api/_types/_core.msearch.d.ts +1 -1
  66. package/api/_types/_core.pit.d.ts +2 -2
  67. package/api/_types/_core.search.d.ts +69 -36
  68. package/api/_types/asynchronous_search._common.d.ts +3 -4
  69. package/api/_types/cat._common.d.ts +19 -0
  70. package/api/_types/cat.indices.d.ts +28 -0
  71. package/api/_types/cat.nodes.d.ts +13 -0
  72. package/api/_types/cat.shards.d.ts +13 -0
  73. package/api/_types/cat.thread_pool.d.ts +1 -0
  74. package/api/_types/cluster.allocation_explain.d.ts +3 -0
  75. package/api/_types/cluster.decommission_awareness.d.ts +1 -3
  76. package/api/_types/cluster.pending_tasks.d.ts +2 -0
  77. package/api/_types/cluster.weighted_routing.d.ts +1 -8
  78. package/api/_types/flow_framework.common.d.ts +5 -2
  79. package/api/_types/geospatial._common.d.ts +9 -3
  80. package/api/_types/index.d.ts +18 -0
  81. package/api/_types/indices._common.d.ts +69 -16
  82. package/api/_types/indices.modify_data_stream.d.ts +33 -0
  83. package/api/_types/ingest._common.d.ts +37 -0
  84. package/api/_types/ingestion._common.d.ts +70 -0
  85. package/api/_types/insights._common.d.ts +8 -35
  86. package/api/_types/ism._common.d.ts +3 -3
  87. package/api/_types/knn._common.d.ts +45 -6
  88. package/api/_types/list._common.d.ts +19 -0
  89. package/api/_types/ltr._common.d.ts +11 -4
  90. package/api/_types/ml._common.d.ts +209 -168
  91. package/api/_types/neural._common.d.ts +146 -11
  92. package/api/_types/nodes.info.d.ts +8 -2
  93. package/api/_types/nodes.stats.d.ts +50 -2
  94. package/api/_types/observability._common.d.ts +0 -16
  95. package/api/_types/ppl._common.d.ts +19 -0
  96. package/api/_types/query._common.d.ts +0 -20
  97. package/api/_types/replication._common.d.ts +4 -1
  98. package/api/_types/rollups._common.d.ts +2 -0
  99. package/api/_types/search_pipeline._common.d.ts +33 -0
  100. package/api/_types/search_relevance._common.d.ts +132 -0
  101. package/api/_types/security._common.d.ts +25 -16
  102. package/api/_types/security_analytics.alerts.d.ts +59 -0
  103. package/api/_types/security_analytics.findings.d.ts +65 -0
  104. package/api/_types/sm._common.d.ts +3 -39
  105. package/api/_types/sql._common.d.ts +8 -0
  106. package/api/_types/transforms._common.d.ts +0 -23
  107. package/api/_types/ubi._common.d.ts +19 -0
  108. package/api/_types/wlm._common.d.ts +5 -3
  109. package/api/asynchronousSearch/_api.js +12 -4
  110. package/api/asynchronousSearch/delete.js +1 -1
  111. package/api/asynchronousSearch/get.js +1 -1
  112. package/api/asynchronousSearch/search.js +1 -1
  113. package/api/asynchronousSearch/stats.js +1 -1
  114. package/api/cat/_api.js +58 -30
  115. package/api/cat/aliases.d.ts +2 -1
  116. package/api/cat/aliases.js +2 -2
  117. package/api/cat/allPitSegments.d.ts +2 -1
  118. package/api/cat/allPitSegments.js +2 -2
  119. package/api/cat/allocation.d.ts +2 -1
  120. package/api/cat/allocation.js +2 -2
  121. package/api/cat/clusterManager.d.ts +2 -1
  122. package/api/cat/clusterManager.js +2 -2
  123. package/api/cat/count.d.ts +2 -1
  124. package/api/cat/count.js +3 -3
  125. package/api/cat/fielddata.d.ts +2 -1
  126. package/api/cat/fielddata.js +2 -2
  127. package/api/cat/health.d.ts +2 -1
  128. package/api/cat/health.js +2 -2
  129. package/api/cat/help.js +1 -1
  130. package/api/cat/indices.d.ts +2 -1
  131. package/api/cat/indices.js +2 -2
  132. package/api/cat/master.d.ts +2 -1
  133. package/api/cat/master.js +2 -2
  134. package/api/cat/nodeattrs.d.ts +2 -1
  135. package/api/cat/nodeattrs.js +2 -2
  136. package/api/cat/nodes.d.ts +2 -1
  137. package/api/cat/nodes.js +3 -3
  138. package/api/cat/pendingTasks.d.ts +2 -1
  139. package/api/cat/pendingTasks.js +3 -3
  140. package/api/cat/pitSegments.d.ts +2 -1
  141. package/api/cat/pitSegments.js +2 -2
  142. package/api/cat/plugins.d.ts +2 -1
  143. package/api/cat/plugins.js +2 -2
  144. package/api/cat/recovery.d.ts +2 -1
  145. package/api/cat/recovery.js +3 -3
  146. package/api/cat/repositories.d.ts +2 -1
  147. package/api/cat/repositories.js +2 -2
  148. package/api/cat/segmentReplication.d.ts +2 -1
  149. package/api/cat/segmentReplication.js +3 -3
  150. package/api/cat/segments.d.ts +2 -1
  151. package/api/cat/segments.js +2 -2
  152. package/api/cat/shards.d.ts +2 -1
  153. package/api/cat/shards.js +3 -3
  154. package/api/cat/snapshots.d.ts +2 -1
  155. package/api/cat/snapshots.js +3 -3
  156. package/api/cat/tasks.d.ts +2 -1
  157. package/api/cat/tasks.js +3 -3
  158. package/api/cat/templates.d.ts +2 -1
  159. package/api/cat/templates.js +2 -2
  160. package/api/cat/threadPool.d.ts +2 -1
  161. package/api/cat/threadPool.js +2 -2
  162. package/api/cluster/_api.js +63 -38
  163. package/api/cluster/allocationExplain.js +1 -1
  164. package/api/cluster/deleteComponentTemplate.js +2 -2
  165. package/api/cluster/deleteDecommissionAwareness.js +1 -1
  166. package/api/cluster/deleteVotingConfigExclusions.js +1 -1
  167. package/api/cluster/deleteWeightedRouting.d.ts +5 -2
  168. package/api/cluster/deleteWeightedRouting.js +1 -1
  169. package/api/cluster/existsComponentTemplate.js +2 -2
  170. package/api/cluster/getComponentTemplate.js +2 -2
  171. package/api/cluster/getDecommissionAwareness.d.ts +1 -1
  172. package/api/cluster/getDecommissionAwareness.js +1 -1
  173. package/api/cluster/getSettings.js +2 -2
  174. package/api/cluster/getWeightedRouting.d.ts +3 -1
  175. package/api/cluster/getWeightedRouting.js +1 -1
  176. package/api/cluster/health.js +3 -3
  177. package/api/cluster/pendingTasks.js +2 -2
  178. package/api/cluster/postVotingConfigExclusions.js +1 -1
  179. package/api/cluster/putComponentTemplate.js +3 -3
  180. package/api/cluster/putDecommissionAwareness.js +1 -1
  181. package/api/cluster/putSettings.js +2 -2
  182. package/api/cluster/putWeightedRouting.d.ts +5 -2
  183. package/api/cluster/putWeightedRouting.js +1 -1
  184. package/api/cluster/remoteInfo.js +1 -1
  185. package/api/cluster/reroute.js +2 -2
  186. package/api/cluster/state.js +3 -3
  187. package/api/cluster/stats.js +3 -3
  188. package/api/danglingIndices/_api.js +13 -6
  189. package/api/danglingIndices/deleteDanglingIndex.js +1 -1
  190. package/api/danglingIndices/importDanglingIndex.js +1 -1
  191. package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
  192. package/api/danglingIndices/listDanglingIndices.js +1 -1
  193. package/api/flowFramework/_api.js +27 -13
  194. package/api/flowFramework/create.js +1 -1
  195. package/api/flowFramework/delete.js +1 -1
  196. package/api/flowFramework/deprovision.js +1 -1
  197. package/api/flowFramework/get.js +1 -1
  198. package/api/flowFramework/getStatus.js +1 -1
  199. package/api/flowFramework/getSteps.js +1 -1
  200. package/api/flowFramework/provision.js +1 -1
  201. package/api/flowFramework/search.js +1 -1
  202. package/api/flowFramework/searchState.js +1 -1
  203. package/api/flowFramework/update.js +1 -1
  204. package/api/geospatial/_api.js +25 -14
  205. package/api/geospatial/deleteIp2GeoDatasource.js +1 -1
  206. package/api/geospatial/getIp2GeoDatasource.js +1 -1
  207. package/api/geospatial/putIp2GeoDatasource.js +1 -1
  208. package/api/geospatial/putIp2GeoDatasourceSettings.js +1 -1
  209. package/api/http/_api.js +22 -9
  210. package/api/index.d.ts +132 -6
  211. package/api/indices/_api.js +134 -78
  212. package/api/indices/addBlock.js +1 -1
  213. package/api/indices/analyze.js +1 -1
  214. package/api/indices/clearCache.js +3 -3
  215. package/api/indices/clone.js +1 -1
  216. package/api/indices/close.js +2 -2
  217. package/api/indices/create.js +2 -2
  218. package/api/indices/createDataStream.js +1 -1
  219. package/api/indices/dataStreamsStats.js +2 -2
  220. package/api/indices/delete.js +2 -2
  221. package/api/indices/deleteAlias.js +3 -3
  222. package/api/indices/deleteDataStream.js +2 -2
  223. package/api/indices/deleteIndexTemplate.js +2 -2
  224. package/api/indices/deleteTemplate.js +1 -1
  225. package/api/indices/exists.js +2 -2
  226. package/api/indices/existsAlias.js +3 -3
  227. package/api/indices/existsIndexTemplate.js +2 -2
  228. package/api/indices/existsTemplate.js +1 -1
  229. package/api/indices/flush.js +2 -2
  230. package/api/indices/forcemerge.js +1 -1
  231. package/api/indices/get.js +2 -2
  232. package/api/indices/getAlias.js +3 -3
  233. package/api/indices/getDataStream.js +2 -2
  234. package/api/indices/getFieldMapping.js +3 -3
  235. package/api/indices/getIndexTemplate.js +2 -2
  236. package/api/indices/getMapping.js +2 -2
  237. package/api/indices/getSettings.js +3 -3
  238. package/api/indices/getTemplate.js +2 -2
  239. package/api/indices/getUpgrade.js +2 -2
  240. package/api/indices/modifyDataStream.d.ts +37 -0
  241. package/api/indices/modifyDataStream.js +50 -0
  242. package/api/indices/open.js +2 -2
  243. package/api/indices/putAlias.js +2 -2
  244. package/api/indices/putIndexTemplate.js +1 -1
  245. package/api/indices/putMapping.js +1 -1
  246. package/api/indices/putSettings.js +2 -2
  247. package/api/indices/putTemplate.js +1 -1
  248. package/api/indices/recovery.js +2 -2
  249. package/api/indices/refresh.js +2 -2
  250. package/api/indices/resolveIndex.js +1 -1
  251. package/api/indices/rollover.js +2 -2
  252. package/api/indices/segments.js +2 -2
  253. package/api/indices/shardStores.js +5 -5
  254. package/api/indices/shrink.js +1 -1
  255. package/api/indices/simulateIndexTemplate.js +1 -1
  256. package/api/indices/simulateTemplate.js +2 -2
  257. package/api/indices/split.js +1 -1
  258. package/api/indices/stats.js +5 -5
  259. package/api/indices/updateAliases.js +1 -1
  260. package/api/indices/upgrade.js +2 -2
  261. package/api/indices/validateQuery.js +2 -2
  262. package/api/ingest/_api.js +18 -9
  263. package/api/ingest/deletePipeline.js +1 -1
  264. package/api/ingest/getPipeline.js +1 -1
  265. package/api/ingest/processorGrok.js +1 -1
  266. package/api/ingest/putPipeline.js +1 -1
  267. package/api/ingest/simulate.js +1 -1
  268. package/api/ingestion/_api.js +37 -0
  269. package/api/ingestion/getState.d.ts +34 -0
  270. package/api/ingestion/getState.js +52 -0
  271. package/api/ingestion/pause.d.ts +33 -0
  272. package/api/ingestion/pause.js +51 -0
  273. package/api/ingestion/resume.d.ts +34 -0
  274. package/api/ingestion/resume.js +52 -0
  275. package/api/insights/_api.js +7 -2
  276. package/api/insights/topQueries.d.ts +1 -1
  277. package/api/ism/_api.js +40 -24
  278. package/api/ism/addPolicy.d.ts +1 -1
  279. package/api/ism/addPolicy.js +2 -2
  280. package/api/ism/changePolicy.d.ts +1 -1
  281. package/api/ism/changePolicy.js +2 -2
  282. package/api/ism/deletePolicy.js +1 -1
  283. package/api/ism/existsPolicy.js +1 -1
  284. package/api/ism/explainPolicy.d.ts +1 -1
  285. package/api/ism/explainPolicy.js +2 -2
  286. package/api/ism/getPolicies.js +1 -1
  287. package/api/ism/getPolicy.js +1 -1
  288. package/api/ism/putPolicies.js +1 -1
  289. package/api/ism/putPolicy.js +1 -1
  290. package/api/ism/refreshSearchAnalyzers.d.ts +1 -1
  291. package/api/ism/refreshSearchAnalyzers.js +2 -2
  292. package/api/ism/removePolicy.d.ts +1 -1
  293. package/api/ism/removePolicy.js +2 -2
  294. package/api/ism/retryIndex.d.ts +1 -1
  295. package/api/ism/retryIndex.js +2 -2
  296. package/api/knn/_api.js +20 -10
  297. package/api/knn/deleteModel.js +1 -1
  298. package/api/knn/getModel.js +1 -1
  299. package/api/knn/searchModels.d.ts +1 -1
  300. package/api/knn/searchModels.js +5 -5
  301. package/api/knn/stats.d.ts +1 -1
  302. package/api/knn/stats.js +3 -3
  303. package/api/knn/trainModel.js +1 -1
  304. package/api/knn/warmup.js +2 -2
  305. package/api/list/_api.js +10 -3
  306. package/api/list/help.js +1 -1
  307. package/api/list/indices.d.ts +3 -2
  308. package/api/list/indices.js +5 -5
  309. package/api/list/shards.d.ts +3 -2
  310. package/api/list/shards.js +4 -4
  311. package/api/ltr/_api.js +98 -17
  312. package/api/ltr/addFeaturesToSet.d.ts +37 -0
  313. package/api/ltr/addFeaturesToSet.js +55 -0
  314. package/api/ltr/addFeaturesToSetByQuery.d.ts +35 -0
  315. package/api/ltr/addFeaturesToSetByQuery.js +57 -0
  316. package/api/ltr/createFeature.d.ts +35 -0
  317. package/api/ltr/createFeature.js +53 -0
  318. package/api/ltr/createFeatureset.d.ts +35 -0
  319. package/api/ltr/createFeatureset.js +53 -0
  320. package/api/ltr/createModel.d.ts +35 -0
  321. package/api/ltr/createModel.js +53 -0
  322. package/api/ltr/createModelFromSet.d.ts +35 -0
  323. package/api/ltr/createModelFromSet.js +53 -0
  324. package/api/ltr/deleteFeature.d.ts +31 -0
  325. package/api/ltr/deleteFeature.js +51 -0
  326. package/api/ltr/deleteFeatureset.d.ts +31 -0
  327. package/api/ltr/deleteFeatureset.js +51 -0
  328. package/api/ltr/deleteModel.d.ts +31 -0
  329. package/api/ltr/deleteModel.js +51 -0
  330. package/api/ltr/getFeature.d.ts +30 -0
  331. package/api/ltr/getFeature.js +51 -0
  332. package/api/ltr/getFeatureset.d.ts +30 -0
  333. package/api/ltr/getFeatureset.js +51 -0
  334. package/api/ltr/getModel.d.ts +30 -0
  335. package/api/ltr/getModel.js +51 -0
  336. package/api/ltr/searchFeatures.d.ts +33 -0
  337. package/api/ltr/searchFeatures.js +51 -0
  338. package/api/ltr/searchFeaturesets.d.ts +33 -0
  339. package/api/ltr/searchFeaturesets.js +51 -0
  340. package/api/ltr/searchModels.d.ts +33 -0
  341. package/api/ltr/searchModels.js +51 -0
  342. package/api/ltr/stats.d.ts +1 -1
  343. package/api/ltr/stats.js +2 -2
  344. package/api/ltr/updateFeature.d.ts +35 -0
  345. package/api/ltr/updateFeature.js +53 -0
  346. package/api/ltr/updateFeatureset.d.ts +35 -0
  347. package/api/ltr/updateFeatureset.js +53 -0
  348. package/api/ml/_api.js +239 -116
  349. package/api/ml/addAgenticMemory.d.ts +45 -0
  350. package/api/ml/addAgenticMemory.js +50 -0
  351. package/api/ml/createConnector.d.ts +1 -1
  352. package/api/ml/createMemoryContainer.d.ts +40 -0
  353. package/api/ml/createMemoryContainer.js +47 -0
  354. package/api/ml/createMemoryContainerSession.d.ts +41 -0
  355. package/api/ml/createMemoryContainerSession.js +50 -0
  356. package/api/ml/createModelMeta.d.ts +1 -0
  357. package/api/ml/deleteAgenticMemory.d.ts +33 -0
  358. package/api/ml/deleteAgenticMemory.js +55 -0
  359. package/api/ml/deleteAgenticMemoryQuery.d.ts +37 -0
  360. package/api/ml/deleteAgenticMemoryQuery.js +53 -0
  361. package/api/ml/deleteMemoryContainer.d.ts +33 -0
  362. package/api/ml/deleteMemoryContainer.js +51 -0
  363. package/api/ml/executeAgentStream.d.ts +35 -0
  364. package/api/ml/executeAgentStream.js +50 -0
  365. package/api/ml/executeAlgorithm.d.ts +2 -2
  366. package/api/ml/executeAlgorithm.js +1 -1
  367. package/api/ml/executeTool.d.ts +35 -0
  368. package/api/ml/executeTool.js +50 -0
  369. package/api/ml/getAgenticMemory.d.ts +32 -0
  370. package/api/ml/getAgenticMemory.js +55 -0
  371. package/api/ml/getMemoryContainer.d.ts +30 -0
  372. package/api/ml/getMemoryContainer.js +49 -0
  373. package/api/ml/getStats.d.ts +1 -1
  374. package/api/ml/getTool.d.ts +1 -1
  375. package/api/ml/loadModel.d.ts +2 -1
  376. package/api/ml/predictModel.d.ts +6 -1
  377. package/api/ml/predictModelStream.d.ts +37 -0
  378. package/api/ml/predictModelStream.js +50 -0
  379. package/api/ml/registerModel.d.ts +3 -0
  380. package/api/ml/registerModelGroup.d.ts +1 -1
  381. package/api/ml/registerModelMeta.d.ts +1 -0
  382. package/api/ml/searchAgenticMemory.d.ts +40 -0
  383. package/api/ml/searchAgenticMemory.js +53 -0
  384. package/api/ml/searchAgents.d.ts +4 -2
  385. package/api/ml/searchConnectors.d.ts +4 -2
  386. package/api/ml/searchMemory.d.ts +4 -2
  387. package/api/ml/searchMemoryContainer.d.ts +38 -0
  388. package/api/ml/searchMemoryContainer.js +47 -0
  389. package/api/ml/searchMessage.d.ts +4 -2
  390. package/api/ml/searchModelGroup.d.ts +4 -2
  391. package/api/ml/searchModels.d.ts +4 -2
  392. package/api/ml/searchTasks.d.ts +4 -2
  393. package/api/ml/updateAgenticMemory.d.ts +46 -0
  394. package/api/ml/updateAgenticMemory.js +56 -0
  395. package/api/ml/updateConnector.d.ts +2 -2
  396. package/api/ml/updateMemoryContainer.d.ts +38 -0
  397. package/api/ml/updateMemoryContainer.js +50 -0
  398. package/api/neural/_api.js +6 -1
  399. package/api/neural/stats.d.ts +4 -1
  400. package/api/neural/stats.js +5 -2
  401. package/api/nodes/_api.js +16 -7
  402. package/api/nodes/hotThreads.js +1 -1
  403. package/api/nodes/info.js +1 -1
  404. package/api/nodes/reloadSecureSettings.js +1 -1
  405. package/api/nodes/stats.js +1 -1
  406. package/api/nodes/usage.js +1 -1
  407. package/api/notifications/_api.js +31 -18
  408. package/api/notifications/createConfig.js +1 -1
  409. package/api/notifications/deleteConfig.js +1 -1
  410. package/api/notifications/deleteConfigs.js +1 -1
  411. package/api/notifications/getConfigs.js +1 -1
  412. package/api/notifications/listChannels.js +1 -1
  413. package/api/notifications/listFeatures.js +1 -1
  414. package/api/notifications/sendTest.js +1 -1
  415. package/api/notifications/updateConfig.js +1 -1
  416. package/api/observability/_api.js +25 -14
  417. package/api/ppl/_api.js +14 -6
  418. package/api/ppl/explain.d.ts +2 -1
  419. package/api/ppl/explain.js +2 -2
  420. package/api/ppl/getStats.d.ts +2 -1
  421. package/api/ppl/getStats.js +2 -2
  422. package/api/ppl/postStats.d.ts +2 -1
  423. package/api/ppl/postStats.js +2 -2
  424. package/api/ppl/query.d.ts +2 -1
  425. package/api/ppl/query.js +2 -2
  426. package/api/query/_api.js +19 -10
  427. package/api/remoteStore/_api.js +6 -1
  428. package/api/remoteStore/restore.js +1 -1
  429. package/api/replication/_api.js +32 -17
  430. package/api/replication/autofollowStats.js +1 -1
  431. package/api/replication/createReplicationRule.js +1 -1
  432. package/api/replication/deleteReplicationRule.js +1 -1
  433. package/api/replication/followerStats.js +1 -1
  434. package/api/replication/leaderStats.js +1 -1
  435. package/api/replication/pause.js +1 -1
  436. package/api/replication/resume.js +1 -1
  437. package/api/replication/start.js +1 -1
  438. package/api/replication/status.js +1 -1
  439. package/api/replication/stop.js +1 -1
  440. package/api/replication/updateSettings.js +1 -1
  441. package/api/rollups/_api.js +16 -6
  442. package/api/rollups/delete.js +1 -1
  443. package/api/rollups/explain.js +1 -1
  444. package/api/rollups/get.js +1 -1
  445. package/api/rollups/put.js +1 -1
  446. package/api/rollups/start.js +1 -1
  447. package/api/rollups/stop.js +1 -1
  448. package/api/searchPipeline/_api.js +10 -3
  449. package/api/searchPipeline/put.js +1 -1
  450. package/api/searchRelevance/_api.js +117 -0
  451. package/api/searchRelevance/deleteExperiments.d.ts +30 -0
  452. package/api/searchRelevance/deleteExperiments.js +49 -0
  453. package/api/searchRelevance/deleteJudgments.d.ts +30 -0
  454. package/api/searchRelevance/deleteJudgments.js +49 -0
  455. package/api/searchRelevance/deleteQuerySets.d.ts +30 -0
  456. package/api/searchRelevance/deleteQuerySets.js +49 -0
  457. package/api/searchRelevance/deleteScheduledExperiments.d.ts +30 -0
  458. package/api/searchRelevance/deleteScheduledExperiments.js +49 -0
  459. package/api/searchRelevance/deleteSearchConfigurations.d.ts +30 -0
  460. package/api/searchRelevance/deleteSearchConfigurations.js +49 -0
  461. package/api/searchRelevance/experimentsSearch.d.ts +31 -0
  462. package/api/searchRelevance/experimentsSearch.js +47 -0
  463. package/api/searchRelevance/getExperiments.d.ts +30 -0
  464. package/api/searchRelevance/getExperiments.js +48 -0
  465. package/api/searchRelevance/getJudgments.d.ts +30 -0
  466. package/api/searchRelevance/getJudgments.js +48 -0
  467. package/api/searchRelevance/getNodeStats.d.ts +42 -0
  468. package/api/searchRelevance/getNodeStats.js +56 -0
  469. package/api/searchRelevance/getQuerySets.d.ts +30 -0
  470. package/api/searchRelevance/getQuerySets.js +48 -0
  471. package/api/searchRelevance/getScheduledExperiments.d.ts +30 -0
  472. package/api/searchRelevance/getScheduledExperiments.js +48 -0
  473. package/api/searchRelevance/getSearchConfigurations.d.ts +30 -0
  474. package/api/searchRelevance/getSearchConfigurations.js +48 -0
  475. package/api/searchRelevance/getStats.d.ts +41 -0
  476. package/api/searchRelevance/getStats.js +53 -0
  477. package/api/searchRelevance/judgmentsSearch.d.ts +31 -0
  478. package/api/searchRelevance/judgmentsSearch.js +47 -0
  479. package/api/searchRelevance/postQuerySets.d.ts +30 -0
  480. package/api/searchRelevance/postQuerySets.js +47 -0
  481. package/api/searchRelevance/postScheduledExperiments.d.ts +30 -0
  482. package/api/searchRelevance/postScheduledExperiments.js +47 -0
  483. package/api/searchRelevance/putExperiments.d.ts +32 -0
  484. package/api/searchRelevance/putExperiments.js +47 -0
  485. package/api/searchRelevance/putJudgments.d.ts +32 -0
  486. package/api/searchRelevance/putJudgments.js +47 -0
  487. package/api/searchRelevance/putQuerySets.d.ts +30 -0
  488. package/api/searchRelevance/putQuerySets.js +47 -0
  489. package/api/searchRelevance/putSearchConfigurations.d.ts +30 -0
  490. package/api/searchRelevance/putSearchConfigurations.js +47 -0
  491. package/api/searchRelevance/querySetsSearch.d.ts +31 -0
  492. package/api/searchRelevance/querySetsSearch.js +47 -0
  493. package/api/searchRelevance/searchConfigurationsSearch.d.ts +31 -0
  494. package/api/searchRelevance/searchConfigurationsSearch.js +47 -0
  495. package/api/security/_api.js +227 -147
  496. package/api/security/changePassword.js +1 -1
  497. package/api/security/configUpgradeCheck.js +1 -1
  498. package/api/security/configUpgradePerform.js +1 -1
  499. package/api/security/createActionGroup.js +1 -1
  500. package/api/security/createAllowlist.js +1 -1
  501. package/api/security/createRole.js +1 -1
  502. package/api/security/createRoleMapping.js +1 -1
  503. package/api/security/createTenant.js +1 -1
  504. package/api/security/createUpdateTenancyConfig.js +1 -1
  505. package/api/security/createUser.js +1 -1
  506. package/api/security/deleteActionGroup.js +1 -1
  507. package/api/security/deleteDistinguishedName.js +1 -1
  508. package/api/security/deleteRole.js +1 -1
  509. package/api/security/deleteRoleMapping.js +1 -1
  510. package/api/security/deleteTenant.js +1 -1
  511. package/api/security/deleteUser.js +1 -1
  512. package/api/security/flushCache.js +1 -1
  513. package/api/security/generateOboToken.js +1 -1
  514. package/api/security/getAccountDetails.js +1 -1
  515. package/api/security/getActionGroup.js +1 -1
  516. package/api/security/getActionGroups.js +1 -1
  517. package/api/security/getAllowlist.js +1 -1
  518. package/api/security/getAuditConfiguration.js +1 -1
  519. package/api/security/getCertificates.js +1 -1
  520. package/api/security/getConfiguration.js +1 -1
  521. package/api/security/getDistinguishedName.js +1 -1
  522. package/api/security/getDistinguishedNames.js +1 -1
  523. package/api/security/getRole.js +1 -1
  524. package/api/security/getRoleMapping.js +1 -1
  525. package/api/security/getRoleMappings.js +1 -1
  526. package/api/security/getRoles.js +1 -1
  527. package/api/security/getSslinfo.d.ts +2 -1
  528. package/api/security/getSslinfo.js +1 -1
  529. package/api/security/getTenancyConfig.js +1 -1
  530. package/api/security/getTenant.js +1 -1
  531. package/api/security/getTenants.js +1 -1
  532. package/api/security/getUser.js +1 -1
  533. package/api/security/getUsers.js +1 -1
  534. package/api/security/health.js +1 -1
  535. package/api/security/patchActionGroup.js +1 -1
  536. package/api/security/patchActionGroups.js +1 -1
  537. package/api/security/patchAllowlist.js +1 -1
  538. package/api/security/patchAuditConfiguration.js +1 -1
  539. package/api/security/patchConfiguration.js +1 -1
  540. package/api/security/patchDistinguishedName.d.ts +3 -1
  541. package/api/security/patchDistinguishedNames.js +1 -1
  542. package/api/security/patchRole.js +1 -1
  543. package/api/security/patchRoleMapping.js +1 -1
  544. package/api/security/patchRoleMappings.js +1 -1
  545. package/api/security/patchRoles.js +1 -1
  546. package/api/security/patchTenant.js +1 -1
  547. package/api/security/patchTenants.js +1 -1
  548. package/api/security/patchUser.js +1 -1
  549. package/api/security/patchUsers.js +1 -1
  550. package/api/security/reloadHttpCertificates.js +1 -1
  551. package/api/security/reloadTransportCertificates.js +1 -1
  552. package/api/security/updateAuditConfiguration.js +1 -1
  553. package/api/security/updateConfiguration.js +1 -1
  554. package/api/security/updateDistinguishedName.js +1 -1
  555. package/api/securityAnalytics/_api.js +41 -0
  556. package/api/securityAnalytics/getAlerts.d.ts +42 -0
  557. package/api/securityAnalytics/getAlerts.js +58 -0
  558. package/api/securityAnalytics/getFindings.d.ts +43 -0
  559. package/api/securityAnalytics/getFindings.js +59 -0
  560. package/api/securityAnalytics/searchFindingCorrelations.d.ts +33 -0
  561. package/api/securityAnalytics/searchFindingCorrelations.js +52 -0
  562. package/api/sm/_api.js +28 -16
  563. package/api/sm/deletePolicy.d.ts +2 -2
  564. package/api/sm/getPolicies.d.ts +2 -1
  565. package/api/sm/getPolicies.js +1 -1
  566. package/api/snapshot/_api.js +31 -16
  567. package/api/snapshot/cleanupRepository.js +2 -2
  568. package/api/snapshot/clone.js +2 -2
  569. package/api/snapshot/create.js +2 -2
  570. package/api/snapshot/createRepository.js +2 -2
  571. package/api/snapshot/delete.js +2 -2
  572. package/api/snapshot/deleteRepository.js +2 -2
  573. package/api/snapshot/get.js +3 -3
  574. package/api/snapshot/getRepository.js +2 -2
  575. package/api/snapshot/restore.d.ts +1 -0
  576. package/api/snapshot/restore.js +2 -2
  577. package/api/snapshot/status.js +2 -2
  578. package/api/snapshot/verifyRepository.js +2 -2
  579. package/api/sql/_api.js +18 -8
  580. package/api/sql/close.d.ts +1 -1
  581. package/api/sql/close.js +2 -2
  582. package/api/sql/explain.d.ts +1 -1
  583. package/api/sql/explain.js +2 -2
  584. package/api/sql/getStats.d.ts +2 -1
  585. package/api/sql/getStats.js +2 -2
  586. package/api/sql/postStats.d.ts +1 -1
  587. package/api/sql/postStats.js +2 -2
  588. package/api/sql/query.d.ts +1 -1
  589. package/api/sql/query.js +2 -2
  590. package/api/sql/settings.d.ts +1 -1
  591. package/api/sql/settings.js +2 -2
  592. package/api/tasks/_api.js +12 -3
  593. package/api/tasks/cancel.js +1 -1
  594. package/api/tasks/delete.d.ts +30 -0
  595. package/api/tasks/delete.js +49 -0
  596. package/api/tasks/get.js +1 -1
  597. package/api/tasks/list.js +1 -1
  598. package/api/transforms/_api.js +20 -8
  599. package/api/transforms/delete.d.ts +2 -2
  600. package/api/transforms/delete.js +1 -1
  601. package/api/transforms/explain.js +1 -1
  602. package/api/transforms/get.js +1 -1
  603. package/api/transforms/preview.js +1 -1
  604. package/api/transforms/put.js +1 -1
  605. package/api/transforms/search.js +1 -1
  606. package/api/transforms/start.js +1 -1
  607. package/api/transforms/stop.js +1 -1
  608. package/api/ubi/_api.js +31 -0
  609. package/api/ubi/initialize.d.ts +27 -0
  610. package/api/ubi/initialize.js +45 -0
  611. package/api/wlm/_api.js +16 -8
  612. package/lib/Connection.d.ts +1 -2
  613. package/lib/Connection.js +3 -3
  614. package/lib/Helpers.js +8 -8
  615. package/lib/ProxyAgent.js +125 -0
  616. package/lib/Transport.js +48 -3
  617. package/lib/aws/shared.js +1 -1
  618. package/package.json +8 -3
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Clones an index.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/clone/ - indices.clone}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/clone/ - indices.clone}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Closes an index.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/close-index/ - indices.close}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/close-index/ - indices.close}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -32,7 +32,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
32
32
  * @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.
33
33
  * @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.
34
34
  * @param {string} [params.wait_for_active_shards] - The number of shard copies that must be active before proceeding with the operation. Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
35
- * @param {string} params.index - Comma-separated list or wildcard expression of index names used to limit the request.
35
+ * @param {string} params.index - A comma-separated list or wildcard expression of index names used to limit the request.
36
36
  *
37
37
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
38
38
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Creates an index with optional settings and mappings.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/create-index/ - indices.create}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/create-index/ - indices.create}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
29
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
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
31
  * @param {string} [params.wait_for_active_shards] - The number of shard copies that must be active before proceeding with the operation. Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
32
- * @param {string} params.index - Name of the index you wish to create.
32
+ * @param {string} params.index - The name of the index you wish to create.
33
33
  * @param {object} [params.body] - The configuration for the index (`settings` and `mappings`)
34
34
  *
35
35
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Creates or updates a data stream.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/data-streams/ - indices.create_data_stream}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/data-streams/ - indices.create_data_stream}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,12 +20,12 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Provides statistics on operations happening in a data stream.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/data-streams/ - indices.data_streams_stats}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/data-streams/ - indices.data_streams_stats}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
27
27
  * @param {object} [params]
28
- * @param {string} [params.name] - Comma-separated list of data streams used to limit the request. Wildcard expressions (`*`) are supported. To target all data streams in a cluster, omit this parameter or use `*`.
28
+ * @param {string} [params.name] - A comma-separated list of data streams used to limit the request. Wildcard expressions (`*`) are supported. To target all data streams in a cluster, omit this parameter or use `*`.
29
29
  *
30
30
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
31
31
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Deletes an index.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/delete-index/ - indices.delete}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/delete-index/ - indices.delete}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -31,7 +31,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
31
31
  * @param {boolean} [params.ignore_unavailable=false] - If `false`, the request returns an error if it targets a missing or closed index.
32
32
  * @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.
33
33
  * @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.
34
- * @param {string} params.index - Comma-separated list of indexes to delete. You cannot specify index aliases. By default, this parameter does not support wildcards (`*`) or `_all`. To use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.
34
+ * @param {string} params.index - A comma-separated list of indexes to delete. You cannot specify index aliases. By default, this parameter does not support wildcards (`*`) or `_all`. To use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.
35
35
  *
36
36
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
37
37
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Deletes an alias.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/index-alias/#delete-aliases - indices.delete_alias}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/alias/delete-alias/ - indices.delete_alias}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -28,8 +28,8 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
28
28
  * @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
29
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
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.index - Comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`).
32
- * @param {string} params.name - Comma-separated list of aliases to remove. Supports wildcards (`*`). To remove all aliases, use `*` or `_all`.
31
+ * @param {string} params.index - A comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`).
32
+ * @param {string} params.name - A comma-separated list of aliases to remove. Supports wildcards (`*`). To remove all aliases, use `*` or `_all`.
33
33
  *
34
34
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
35
35
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,12 +20,12 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Deletes a data stream.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/data-streams/ - indices.delete_data_stream}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/data-streams/ - indices.delete_data_stream}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
27
27
  * @param {object} params
28
- * @param {string} params.name - Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.
28
+ * @param {string} params.name - A comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.
29
29
  *
30
30
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
31
31
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Deletes an index template.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/index-templates/#delete-a-template - indices.delete_index_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/index-templates/#delete-a-template - indices.delete_index_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -28,7 +28,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
28
28
  * @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
29
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
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 index template to delete. Wildcard (*) expressions are supported.
31
+ * @param {string} params.name - The name of the index template to delete. 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
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Deletes an index template.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.delete_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.delete_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Returns information about whether a particular index exists.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/exists/ - indices.exists}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/exists/ - indices.exists}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -32,7 +32,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
32
32
  * @param {boolean} [params.ignore_unavailable=false] - If `false`, the request returns an error if it targets a missing or closed index.
33
33
  * @param {boolean} [params.include_defaults=false] - If `true`, return all default settings in the response.
34
34
  * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only.
35
- * @param {string} params.index - Comma-separated list of data streams, indexes, and aliases. Supports wildcards (`*`).
35
+ * @param {string} params.index - A comma-separated list of data streams, indexes, and aliases. Supports wildcards (`*`).
36
36
  *
37
37
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
38
38
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Returns information about whether a particular alias exists.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.exists_alias}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.exists_alias}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,8 +29,8 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
29
29
  * @param {string} [params.expand_wildcards] - Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
30
30
  * @param {boolean} [params.ignore_unavailable] - If `false`, requests that include a missing data stream or index in the target indexes or data streams return an error.
31
31
  * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only.
32
- * @param {string} params.name - Comma-separated list of aliases to check. Supports wildcards (`*`).
33
- * @param {string} [params.index] - Comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
32
+ * @param {string} params.name - A comma-separated list of aliases to check. Supports wildcards (`*`).
33
+ * @param {string} [params.index] - A comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
34
34
  *
35
35
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
36
36
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Returns information about whether a particular index template exists.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/index-templates/ - indices.exists_index_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/index-templates/ - indices.exists_index_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
29
29
  * @param {boolean} [params.flat_settings=false] - Return settings in flat format.
30
30
  * @param {boolean} [params.local=false] - Return local information, do not retrieve the state from cluster-manager node.
31
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 index template to check existence of. Wildcard (*) expressions are supported.
32
+ * @param {string} params.name - The name of the index template to check existence of. 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
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Returns information about whether a particular index template exists.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.exists_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.exists_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Performs the flush operation on one or more indexes.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.flush}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.flush}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -30,7 +30,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
30
30
  * @param {boolean} [params.force] - If `true`, the request forces a flush even if there are no changes to commit to the index.
31
31
  * @param {boolean} [params.ignore_unavailable] - If `false`, the request returns an error if it targets a missing or closed index.
32
32
  * @param {boolean} [params.wait_if_ongoing=true] - If `true`, the flush operation blocks until execution when another flush operation is running. If `false`, OpenSearch returns an error if you request a flush when another flush operation is running.
33
- * @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases to flush. Supports wildcards (`*`). To flush all data streams and indexes, omit this parameter or use `*` or `_all`.
33
+ * @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases to flush. Supports wildcards (`*`). To flush all data streams and indexes, omit this parameter or use `*` or `_all`.
34
34
  *
35
35
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
36
36
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Performs the force merge operation on one or more indexes.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.forcemerge}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.forcemerge}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Returns information about one or more indexes.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/get-index/ - indices.get}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/get-index/ - indices.get}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -33,7 +33,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
33
33
  * @param {boolean} [params.include_defaults=false] - If `true`, return all default settings in the response.
34
34
  * @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.
35
35
  * @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.
36
- * @param {string} params.index - Comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard expressions (*) are supported.
36
+ * @param {string} params.index - A comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard expressions (*) are supported.
37
37
  *
38
38
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
39
39
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Returns an alias.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/index-alias/ - indices.get_alias}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/index-alias/ - indices.get_alias}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,8 +29,8 @@ const { normalizeArguments, parsePathParam } = require('../utils');
29
29
  * @param {string} [params.expand_wildcards] - Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
30
30
  * @param {boolean} [params.ignore_unavailable] - If `false`, the request returns an error if it targets a missing or closed index.
31
31
  * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only.
32
- * @param {string} [params.name] - Comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
33
- * @param {string} [params.index] - Comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
32
+ * @param {string} [params.name] - A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
33
+ * @param {string} [params.index] - A comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
34
34
  *
35
35
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
36
36
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,12 +20,12 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Returns data streams.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/data-streams/ - indices.get_data_stream}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/data-streams/ - indices.get_data_stream}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
27
27
  * @param {object} [params]
28
- * @param {string} [params.name] - Comma-separated list of data stream names used to limit the request. Wildcard (`*`) expressions are supported. If omitted, all data streams are returned.
28
+ * @param {string} [params.name] - A comma-separated list of data stream names used to limit the request. Wildcard (`*`) expressions are supported. If omitted, all data streams are returned.
29
29
  *
30
30
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
31
31
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Returns mapping for one or more fields.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/field-types/index/ - indices.get_field_mapping}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/field-types/index/ - indices.get_field_mapping}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -30,8 +30,8 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
30
30
  * @param {boolean} [params.ignore_unavailable] - If `false`, the request returns an error if it targets a missing or closed index.
31
31
  * @param {boolean} [params.include_defaults] - If `true`, return all default settings in the response.
32
32
  * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only.
33
- * @param {string} params.fields - Comma-separated list or wildcard expression of fields used to limit returned information.
34
- * @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
33
+ * @param {string} params.fields - A comma-separated list or wildcard expression of fields used to limit returned information.
34
+ * @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
35
35
  *
36
36
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
37
37
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Returns an index template.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/index-templates/ - indices.get_index_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/index-templates/ - indices.get_index_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
29
29
  * @param {boolean} [params.flat_settings=false] - If `true`, returns settings in flat format.
30
30
  * @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.
31
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 index template to retrieve. Wildcard (*) expressions are supported.
32
+ * @param {string} [params.name] - The name of the index 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
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Returns mappings for one or more indexes.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/field-types/index/#get-a-mapping - indices.get_mapping}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/get-mapping/ - indices.get_mapping}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
29
29
  * @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
30
30
  * @param {string} [params.expand_wildcards] - Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
31
31
  * @param {boolean} [params.ignore_unavailable] - If `false`, the request returns an error if it targets a missing or closed index.
32
- * @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
32
+ * @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`.
33
33
  * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only.
34
34
  * @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.
35
35
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Returns settings for one or more indexes.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/get-settings/ - indices.get_settings}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/get-settings/ - indices.get_settings}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -33,8 +33,8 @@ const { normalizeArguments, parsePathParam } = require('../utils');
33
33
  * @param {boolean} [params.include_defaults=false] - If `true`, return all default settings in the response.
34
34
  * @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.
35
35
  * @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.
36
- * @param {string} [params.name] - Comma-separated list or wildcard expression of settings to retrieve.
37
- * @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
36
+ * @param {string} [params.name] - A comma-separated list or wildcard expression of settings to retrieve.
37
+ * @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`.
38
38
  *
39
39
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
40
40
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Returns an index template.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.get_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.get_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
29
29
  * @param {boolean} [params.flat_settings=false] - If `true`, returns settings in flat format.
30
30
  * @param {boolean} [params.local=false] - If `true`, the request retrieves information from the local node only.
31
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] - Comma-separated list of index template names used to limit the request. Wildcard (`*`) expressions are supported. To return all index templates, omit this parameter or use a value of `_all` or `*`.
32
+ * @param {string} [params.name] - A comma-separated list of index template names used to limit the request. Wildcard (`*`) expressions are supported. To return all index templates, omit this parameter or use a value of `_all` or `*`.
33
33
  *
34
34
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
35
35
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * The `_upgrade` API is no longer useful and will be removed.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest - indices.get_upgrade}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/ - indices.get_upgrade}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -28,7 +28,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
28
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
29
  * @param {string} [params.expand_wildcards] - Whether to expand wildcard expression to concrete indexes that are open, closed or both.
30
30
  * @param {boolean} [params.ignore_unavailable] - Whether specified concrete indexes should be ignored when unavailable (missing or closed).
31
- * @param {array} [params.index] - Comma-separated list of indexes; use `_all` or empty string to perform the operation on all indexes.
31
+ * @param {array} [params.index] - A comma-separated list of indexes; use `_all` or empty string to perform the operation on all indexes.
32
32
  *
33
33
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
34
34
  * @param {function} [callback] - Callback that handles errors and response
@@ -0,0 +1,37 @@
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 Common from '../_types/_common'
19
+ import * as Global from '../_types/_global'
20
+ import * as Indices_ModifyDataStream from '../_types/indices.modify_data_stream'
21
+
22
+ export interface Indices_ModifyDataStream_Request extends Global.Params {
23
+ body: Indices_ModifyDataStream_RequestBody;
24
+ cluster_manager_timeout?: Common.Duration;
25
+ timeout?: Common.Duration;
26
+ }
27
+
28
+ export type Indices_ModifyDataStream_RequestBody = {
29
+ actions: Indices_ModifyDataStream.Action[];
30
+ }
31
+
32
+ export interface Indices_ModifyDataStream_Response extends ApiResponse {
33
+ body: Indices_ModifyDataStream_ResponseBody;
34
+ }
35
+
36
+ export type Indices_ModifyDataStream_ResponseBody = Common.AcknowledgedResponseBase
37
+
@@ -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, handleMissingParam } = require('../utils');
20
+
21
+ /**
22
+ * Adds or removes backing indexes of a data stream with metadata-only actions.
23
+ This is an experimental API.
24
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/data-streams/ - indices.modify_data_stream}
25
+ *
26
+ * @memberOf API-Indices
27
+ *
28
+ * @param {object} params
29
+ * @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
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 {object} params.body - The data stream modify actions.
32
+ *
33
+ * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
34
+ * @param {function} [callback] - Callback that handles errors and response
35
+ *
36
+ * @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
37
+ */
38
+ function modifyDataStreamFunc(params, options, callback) {
39
+ [params, options, callback] = normalizeArguments(params, options, callback);
40
+ if (params.body == null) return handleMissingParam('body', this, callback);
41
+
42
+ let { body, ...querystring } = params;
43
+
44
+ const path = '/_data_stream/_modify';
45
+ const method = 'POST';
46
+
47
+ return this.transport.request({ method, path, querystring, body }, options, callback);
48
+ }
49
+
50
+ module.exports = modifyDataStreamFunc;
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Opens an index.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/open-index/ - indices.open}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/open-index/ - indices.open}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -34,7 +34,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
34
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
35
  * @param {string} [params.wait_for_active_shards] - The number of shard copies that must be active before proceeding with the operation. Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
36
36
  * @param {boolean} [params.wait_for_completion=true] - Should this request wait until the operation has completed before returning.
37
- * @param {string} params.index - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). By default, you must explicitly name the indexes you using to limit the request. To limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false. You can update this setting in the `opensearch.yml` file or using the cluster update settings API.
37
+ * @param {string} params.index - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). By default, you must explicitly name the indexes you using to limit the request. To limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false. You can update this setting in the `opensearch.yml` file or using the cluster update settings API.
38
38
  *
39
39
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
40
40
  * @param {function} [callback] - Callback that handles errors and response
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
20
20
 
21
21
  /**
22
22
  * Creates or updates an alias.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/update-alias/ - indices.put_alias}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/update-alias/ - indices.put_alias}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
29
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
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
31
  * @param {string} [params.name] - Alias to update. If the alias doesn't exist, the request creates it. Index alias names support date math.
32
- * @param {string} [params.index] - Comma-separated list of data streams or indexes to add. Supports wildcards (`*`). Wildcard patterns that match both data streams and indexes return an error.
32
+ * @param {string} [params.index] - A comma-separated list of data streams or indexes to add. Supports wildcards (`*`). Wildcard patterns that match both data streams and indexes return an error.
33
33
  * @param {object} [params.body] - The settings for the alias, such as `routing` or `filter`
34
34
  *
35
35
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Creates or updates an index template.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/im-plugin/index-templates/ - indices.put_index_template}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/index-templates/ - indices.put_index_template}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Updates the index mappings.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/put-mapping/ - indices.put_mapping}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/put-mapping/ - indices.put_mapping}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
20
20
 
21
21
  /**
22
22
  * Updates the index settings.
23
- * <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/index-apis/update-settings/ - indices.put_settings}
23
+ * <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/index-apis/update-settings/ - indices.put_settings}
24
24
  *
25
25
  * @memberOf API-Indices
26
26
  *
@@ -33,7 +33,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
33
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
34
  * @param {boolean} [params.preserve_existing=false] - If `true`, existing index settings remain unchanged.
35
35
  * @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.
36
- * @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
36
+ * @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
37
37
  * @param {object} params.body - The configuration settings for an index.
38
38
  *
39
39
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}