@elastic/elasticsearch 9.3.0 → 9.3.2

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 (197) hide show
  1. package/esm/api/api/async_search.d.ts +4 -4
  2. package/esm/api/api/autoscaling.d.ts +4 -4
  3. package/esm/api/api/bulk.d.ts +1 -1
  4. package/esm/api/api/cat.d.ts +27 -27
  5. package/esm/api/api/ccr.d.ts +13 -13
  6. package/esm/api/api/clear_scroll.d.ts +1 -1
  7. package/esm/api/api/close_point_in_time.d.ts +1 -1
  8. package/esm/api/api/cluster.d.ts +16 -16
  9. package/esm/api/api/connector.d.ts +30 -30
  10. package/esm/api/api/count.d.ts +1 -1
  11. package/esm/api/api/create.d.ts +1 -1
  12. package/esm/api/api/dangling_indices.d.ts +3 -3
  13. package/esm/api/api/delete.d.ts +1 -1
  14. package/esm/api/api/delete_by_query.d.ts +1 -1
  15. package/esm/api/api/delete_by_query_rethrottle.d.ts +1 -1
  16. package/esm/api/api/delete_script.d.ts +1 -1
  17. package/esm/api/api/enrich.d.ts +5 -5
  18. package/esm/api/api/eql.d.ts +4 -4
  19. package/esm/api/api/esql.d.ts +6 -6
  20. package/esm/api/api/esql.d.ts.map +1 -1
  21. package/esm/api/api/esql.js +6 -2
  22. package/esm/api/api/esql.js.map +1 -1
  23. package/esm/api/api/exists.d.ts +1 -1
  24. package/esm/api/api/exists_source.d.ts +1 -1
  25. package/esm/api/api/explain.d.ts +1 -1
  26. package/esm/api/api/features.d.ts +2 -2
  27. package/esm/api/api/field_caps.d.ts +1 -1
  28. package/esm/api/api/fleet.d.ts +3 -3
  29. package/esm/api/api/get.d.ts +1 -1
  30. package/esm/api/api/get_script.d.ts +1 -1
  31. package/esm/api/api/get_script_context.d.ts +1 -1
  32. package/esm/api/api/get_script_languages.d.ts +1 -1
  33. package/esm/api/api/get_source.d.ts +1 -1
  34. package/esm/api/api/graph.d.ts +1 -1
  35. package/esm/api/api/health_report.d.ts +1 -1
  36. package/esm/api/api/ilm.d.ts +11 -11
  37. package/esm/api/api/index.d.ts +1 -1
  38. package/esm/api/api/indices.d.ts +71 -71
  39. package/esm/api/api/inference.d.ts +36 -36
  40. package/esm/api/api/inference.d.ts.map +1 -1
  41. package/esm/api/api/inference.js +4 -0
  42. package/esm/api/api/inference.js.map +1 -1
  43. package/esm/api/api/info.d.ts +1 -1
  44. package/esm/api/api/ingest.d.ts +9 -9
  45. package/esm/api/api/knn_search.d.ts +1 -1
  46. package/esm/api/api/license.d.ts +7 -7
  47. package/esm/api/api/logstash.d.ts +3 -3
  48. package/esm/api/api/mget.d.ts +1 -1
  49. package/esm/api/api/migration.d.ts +3 -3
  50. package/esm/api/api/ml.d.ts +72 -72
  51. package/esm/api/api/monitoring.d.ts +1 -1
  52. package/esm/api/api/msearch.d.ts +1 -1
  53. package/esm/api/api/msearch_template.d.ts +1 -1
  54. package/esm/api/api/mtermvectors.d.ts +1 -1
  55. package/esm/api/api/nodes.d.ts +7 -7
  56. package/esm/api/api/open_point_in_time.d.ts +1 -1
  57. package/esm/api/api/ping.d.ts +1 -1
  58. package/esm/api/api/put_script.d.ts +1 -1
  59. package/esm/api/api/query_rules.d.ts +8 -8
  60. package/esm/api/api/rank_eval.d.ts +1 -1
  61. package/esm/api/api/reindex.d.ts +1 -1
  62. package/esm/api/api/reindex_rethrottle.d.ts +1 -1
  63. package/esm/api/api/render_search_template.d.ts +1 -1
  64. package/esm/api/api/rollup.d.ts +8 -8
  65. package/esm/api/api/scroll.d.ts +1 -1
  66. package/esm/api/api/search.d.ts +1 -1
  67. package/esm/api/api/search_application.d.ts +10 -10
  68. package/esm/api/api/search_mvt.d.ts +1 -1
  69. package/esm/api/api/search_shards.d.ts +1 -1
  70. package/esm/api/api/search_template.d.ts +1 -1
  71. package/esm/api/api/searchable_snapshots.d.ts +4 -4
  72. package/esm/api/api/security.d.ts +65 -65
  73. package/esm/api/api/shutdown.d.ts +3 -3
  74. package/esm/api/api/simulate.d.ts +1 -1
  75. package/esm/api/api/slm.d.ts +9 -9
  76. package/esm/api/api/snapshot.d.ts +13 -13
  77. package/esm/api/api/sql.d.ts +6 -6
  78. package/esm/api/api/ssl.d.ts +1 -1
  79. package/esm/api/api/synonyms.d.ts +7 -7
  80. package/esm/api/api/tasks.d.ts +3 -3
  81. package/esm/api/api/terms_enum.d.ts +1 -1
  82. package/esm/api/api/termvectors.d.ts +1 -1
  83. package/esm/api/api/text_structure.d.ts +4 -4
  84. package/esm/api/api/transform.d.ts +13 -13
  85. package/esm/api/api/update.d.ts +1 -1
  86. package/esm/api/api/update_by_query.d.ts +1 -1
  87. package/esm/api/api/update_by_query_rethrottle.d.ts +1 -1
  88. package/esm/api/api/watcher.d.ts +13 -13
  89. package/esm/api/api/xpack.d.ts +2 -2
  90. package/esm/api/types.d.ts +59 -23
  91. package/esm/api/types.d.ts.map +1 -1
  92. package/esm/client.d.ts.map +1 -1
  93. package/esm/client.js +3 -8
  94. package/esm/client.js.map +1 -1
  95. package/esm/index.d.ts +1 -0
  96. package/esm/index.d.ts.map +1 -1
  97. package/esm/index.js +1 -0
  98. package/esm/index.js.map +1 -1
  99. package/esm/version.generated.d.ts +3 -0
  100. package/esm/version.generated.d.ts.map +1 -0
  101. package/esm/version.generated.js +9 -0
  102. package/esm/version.generated.js.map +1 -0
  103. package/lib/api/api/async_search.d.ts +4 -4
  104. package/lib/api/api/autoscaling.d.ts +4 -4
  105. package/lib/api/api/bulk.d.ts +1 -1
  106. package/lib/api/api/cat.d.ts +27 -27
  107. package/lib/api/api/ccr.d.ts +13 -13
  108. package/lib/api/api/clear_scroll.d.ts +1 -1
  109. package/lib/api/api/close_point_in_time.d.ts +1 -1
  110. package/lib/api/api/cluster.d.ts +16 -16
  111. package/lib/api/api/connector.d.ts +30 -30
  112. package/lib/api/api/count.d.ts +1 -1
  113. package/lib/api/api/create.d.ts +1 -1
  114. package/lib/api/api/dangling_indices.d.ts +3 -3
  115. package/lib/api/api/delete.d.ts +1 -1
  116. package/lib/api/api/delete_by_query.d.ts +1 -1
  117. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  118. package/lib/api/api/delete_script.d.ts +1 -1
  119. package/lib/api/api/enrich.d.ts +5 -5
  120. package/lib/api/api/eql.d.ts +4 -4
  121. package/lib/api/api/esql.d.ts +6 -6
  122. package/lib/api/api/esql.js +6 -2
  123. package/lib/api/api/esql.js.map +1 -1
  124. package/lib/api/api/exists.d.ts +1 -1
  125. package/lib/api/api/exists_source.d.ts +1 -1
  126. package/lib/api/api/explain.d.ts +1 -1
  127. package/lib/api/api/features.d.ts +2 -2
  128. package/lib/api/api/field_caps.d.ts +1 -1
  129. package/lib/api/api/fleet.d.ts +3 -3
  130. package/lib/api/api/get.d.ts +1 -1
  131. package/lib/api/api/get_script.d.ts +1 -1
  132. package/lib/api/api/get_script_context.d.ts +1 -1
  133. package/lib/api/api/get_script_languages.d.ts +1 -1
  134. package/lib/api/api/get_source.d.ts +1 -1
  135. package/lib/api/api/graph.d.ts +1 -1
  136. package/lib/api/api/health_report.d.ts +1 -1
  137. package/lib/api/api/ilm.d.ts +11 -11
  138. package/lib/api/api/index.d.ts +1 -1
  139. package/lib/api/api/indices.d.ts +71 -71
  140. package/lib/api/api/inference.d.ts +36 -36
  141. package/lib/api/api/inference.js +4 -0
  142. package/lib/api/api/inference.js.map +1 -1
  143. package/lib/api/api/info.d.ts +1 -1
  144. package/lib/api/api/ingest.d.ts +9 -9
  145. package/lib/api/api/knn_search.d.ts +1 -1
  146. package/lib/api/api/license.d.ts +7 -7
  147. package/lib/api/api/logstash.d.ts +3 -3
  148. package/lib/api/api/mget.d.ts +1 -1
  149. package/lib/api/api/migration.d.ts +3 -3
  150. package/lib/api/api/ml.d.ts +72 -72
  151. package/lib/api/api/monitoring.d.ts +1 -1
  152. package/lib/api/api/msearch.d.ts +1 -1
  153. package/lib/api/api/msearch_template.d.ts +1 -1
  154. package/lib/api/api/mtermvectors.d.ts +1 -1
  155. package/lib/api/api/nodes.d.ts +7 -7
  156. package/lib/api/api/open_point_in_time.d.ts +1 -1
  157. package/lib/api/api/ping.d.ts +1 -1
  158. package/lib/api/api/put_script.d.ts +1 -1
  159. package/lib/api/api/query_rules.d.ts +8 -8
  160. package/lib/api/api/rank_eval.d.ts +1 -1
  161. package/lib/api/api/reindex.d.ts +1 -1
  162. package/lib/api/api/reindex_rethrottle.d.ts +1 -1
  163. package/lib/api/api/render_search_template.d.ts +1 -1
  164. package/lib/api/api/rollup.d.ts +8 -8
  165. package/lib/api/api/scroll.d.ts +1 -1
  166. package/lib/api/api/search.d.ts +1 -1
  167. package/lib/api/api/search_application.d.ts +10 -10
  168. package/lib/api/api/search_mvt.d.ts +1 -1
  169. package/lib/api/api/search_shards.d.ts +1 -1
  170. package/lib/api/api/search_template.d.ts +1 -1
  171. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  172. package/lib/api/api/security.d.ts +65 -65
  173. package/lib/api/api/shutdown.d.ts +3 -3
  174. package/lib/api/api/simulate.d.ts +1 -1
  175. package/lib/api/api/slm.d.ts +9 -9
  176. package/lib/api/api/snapshot.d.ts +13 -13
  177. package/lib/api/api/sql.d.ts +6 -6
  178. package/lib/api/api/ssl.d.ts +1 -1
  179. package/lib/api/api/synonyms.d.ts +7 -7
  180. package/lib/api/api/tasks.d.ts +3 -3
  181. package/lib/api/api/terms_enum.d.ts +1 -1
  182. package/lib/api/api/termvectors.d.ts +1 -1
  183. package/lib/api/api/text_structure.d.ts +4 -4
  184. package/lib/api/api/transform.d.ts +13 -13
  185. package/lib/api/api/update.d.ts +1 -1
  186. package/lib/api/api/update_by_query.d.ts +1 -1
  187. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  188. package/lib/api/api/watcher.d.ts +13 -13
  189. package/lib/api/api/xpack.d.ts +2 -2
  190. package/lib/api/types.d.ts +59 -23
  191. package/lib/client.js +3 -6
  192. package/lib/client.js.map +1 -1
  193. package/lib/index.js.map +1 -1
  194. package/lib/version.generated.d.ts +2 -0
  195. package/lib/version.generated.js +12 -0
  196. package/lib/version.generated.js.map +1 -0
  197. package/package.json +6 -4
@@ -19,497 +19,497 @@ export default class Ml {
19
19
  constructor(transport: Transport);
20
20
  /**
21
21
  * Clear trained model deployment cache. Cache will be cleared on all nodes where the trained model is assigned. A trained model deployment may have an inference cache enabled. As requests are handled by each allocated node, their responses may be cached on that individual node. Calling this API clears the caches without restarting the deployment.
22
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-clear-trained-model-deployment-cache | Elasticsearch API documentation}
22
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-clear-trained-model-deployment-cache | Elasticsearch API documentation}
23
23
  */
24
24
  clearTrainedModelDeploymentCache(this: That, params: T.MlClearTrainedModelDeploymentCacheRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlClearTrainedModelDeploymentCacheResponse>;
25
25
  clearTrainedModelDeploymentCache(this: That, params: T.MlClearTrainedModelDeploymentCacheRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlClearTrainedModelDeploymentCacheResponse, unknown>>;
26
26
  clearTrainedModelDeploymentCache(this: That, params: T.MlClearTrainedModelDeploymentCacheRequest, options?: TransportRequestOptions): Promise<T.MlClearTrainedModelDeploymentCacheResponse>;
27
27
  /**
28
28
  * Close anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results. When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data. If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. When a datafeed that has a specified end date stops, it automatically closes its associated job.
29
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-close-job | Elasticsearch API documentation}
29
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-close-job | Elasticsearch API documentation}
30
30
  */
31
31
  closeJob(this: That, params: T.MlCloseJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlCloseJobResponse>;
32
32
  closeJob(this: That, params: T.MlCloseJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlCloseJobResponse, unknown>>;
33
33
  closeJob(this: That, params: T.MlCloseJobRequest, options?: TransportRequestOptions): Promise<T.MlCloseJobResponse>;
34
34
  /**
35
35
  * Delete a calendar. Remove all scheduled events from a calendar, then delete it.
36
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-calendar | Elasticsearch API documentation}
36
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-calendar | Elasticsearch API documentation}
37
37
  */
38
38
  deleteCalendar(this: That, params: T.MlDeleteCalendarRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteCalendarResponse>;
39
39
  deleteCalendar(this: That, params: T.MlDeleteCalendarRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteCalendarResponse, unknown>>;
40
40
  deleteCalendar(this: That, params: T.MlDeleteCalendarRequest, options?: TransportRequestOptions): Promise<T.MlDeleteCalendarResponse>;
41
41
  /**
42
42
  * Delete events from a calendar.
43
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-calendar-event | Elasticsearch API documentation}
43
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-calendar-event | Elasticsearch API documentation}
44
44
  */
45
45
  deleteCalendarEvent(this: That, params: T.MlDeleteCalendarEventRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteCalendarEventResponse>;
46
46
  deleteCalendarEvent(this: That, params: T.MlDeleteCalendarEventRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteCalendarEventResponse, unknown>>;
47
47
  deleteCalendarEvent(this: That, params: T.MlDeleteCalendarEventRequest, options?: TransportRequestOptions): Promise<T.MlDeleteCalendarEventResponse>;
48
48
  /**
49
49
  * Delete anomaly jobs from a calendar.
50
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-calendar-job | Elasticsearch API documentation}
50
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-calendar-job | Elasticsearch API documentation}
51
51
  */
52
52
  deleteCalendarJob(this: That, params: T.MlDeleteCalendarJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteCalendarJobResponse>;
53
53
  deleteCalendarJob(this: That, params: T.MlDeleteCalendarJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteCalendarJobResponse, unknown>>;
54
54
  deleteCalendarJob(this: That, params: T.MlDeleteCalendarJobRequest, options?: TransportRequestOptions): Promise<T.MlDeleteCalendarJobResponse>;
55
55
  /**
56
56
  * Delete a data frame analytics job.
57
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-data-frame-analytics | Elasticsearch API documentation}
57
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-data-frame-analytics | Elasticsearch API documentation}
58
58
  */
59
59
  deleteDataFrameAnalytics(this: That, params: T.MlDeleteDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteDataFrameAnalyticsResponse>;
60
60
  deleteDataFrameAnalytics(this: That, params: T.MlDeleteDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteDataFrameAnalyticsResponse, unknown>>;
61
61
  deleteDataFrameAnalytics(this: That, params: T.MlDeleteDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlDeleteDataFrameAnalyticsResponse>;
62
62
  /**
63
63
  * Delete a datafeed.
64
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-datafeed | Elasticsearch API documentation}
64
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-datafeed | Elasticsearch API documentation}
65
65
  */
66
66
  deleteDatafeed(this: That, params: T.MlDeleteDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteDatafeedResponse>;
67
67
  deleteDatafeed(this: That, params: T.MlDeleteDatafeedRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteDatafeedResponse, unknown>>;
68
68
  deleteDatafeed(this: That, params: T.MlDeleteDatafeedRequest, options?: TransportRequestOptions): Promise<T.MlDeleteDatafeedResponse>;
69
69
  /**
70
70
  * Delete expired ML data. Delete all job results, model snapshots and forecast data that have exceeded their retention days period. Machine learning state documents that are not associated with any job are also deleted. You can limit the request to a single or set of anomaly detection jobs by using a job identifier, a group name, a comma-separated list of jobs, or a wildcard expression. You can delete expired data for all anomaly detection jobs by using `_all`, by specifying `*` as the `<job_id>`, or by omitting the `<job_id>`.
71
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-expired-data | Elasticsearch API documentation}
71
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-expired-data | Elasticsearch API documentation}
72
72
  */
73
73
  deleteExpiredData(this: That, params?: T.MlDeleteExpiredDataRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteExpiredDataResponse>;
74
74
  deleteExpiredData(this: That, params?: T.MlDeleteExpiredDataRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteExpiredDataResponse, unknown>>;
75
75
  deleteExpiredData(this: That, params?: T.MlDeleteExpiredDataRequest, options?: TransportRequestOptions): Promise<T.MlDeleteExpiredDataResponse>;
76
76
  /**
77
77
  * Delete a filter. If an anomaly detection job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.
78
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-filter | Elasticsearch API documentation}
78
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-filter | Elasticsearch API documentation}
79
79
  */
80
80
  deleteFilter(this: That, params: T.MlDeleteFilterRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteFilterResponse>;
81
81
  deleteFilter(this: That, params: T.MlDeleteFilterRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteFilterResponse, unknown>>;
82
82
  deleteFilter(this: That, params: T.MlDeleteFilterRequest, options?: TransportRequestOptions): Promise<T.MlDeleteFilterResponse>;
83
83
  /**
84
84
  * Delete forecasts from a job. By default, forecasts are retained for 14 days. You can specify a different retention period with the `expires_in` parameter in the forecast jobs API. The delete forecast API enables you to delete one or more forecasts before they expire.
85
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-forecast | Elasticsearch API documentation}
85
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-forecast | Elasticsearch API documentation}
86
86
  */
87
87
  deleteForecast(this: That, params: T.MlDeleteForecastRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteForecastResponse>;
88
88
  deleteForecast(this: That, params: T.MlDeleteForecastRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteForecastResponse, unknown>>;
89
89
  deleteForecast(this: That, params: T.MlDeleteForecastRequest, options?: TransportRequestOptions): Promise<T.MlDeleteForecastResponse>;
90
90
  /**
91
91
  * Delete an anomaly detection job. All job configuration, model state and results are deleted. It is not currently possible to delete multiple jobs using wildcards or a comma separated list. If you delete a job that has a datafeed, the request first tries to delete the datafeed. This behavior is equivalent to calling the delete datafeed API with the same timeout and force parameters as the delete job request.
92
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-job | Elasticsearch API documentation}
92
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-job | Elasticsearch API documentation}
93
93
  */
94
94
  deleteJob(this: That, params: T.MlDeleteJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteJobResponse>;
95
95
  deleteJob(this: That, params: T.MlDeleteJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteJobResponse, unknown>>;
96
96
  deleteJob(this: That, params: T.MlDeleteJobRequest, options?: TransportRequestOptions): Promise<T.MlDeleteJobResponse>;
97
97
  /**
98
98
  * Delete a model snapshot. You cannot delete the active model snapshot. To delete that snapshot, first revert to a different one. To identify the active model snapshot, refer to the `model_snapshot_id` in the results from the get jobs API.
99
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-model-snapshot | Elasticsearch API documentation}
99
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-model-snapshot | Elasticsearch API documentation}
100
100
  */
101
101
  deleteModelSnapshot(this: That, params: T.MlDeleteModelSnapshotRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteModelSnapshotResponse>;
102
102
  deleteModelSnapshot(this: That, params: T.MlDeleteModelSnapshotRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteModelSnapshotResponse, unknown>>;
103
103
  deleteModelSnapshot(this: That, params: T.MlDeleteModelSnapshotRequest, options?: TransportRequestOptions): Promise<T.MlDeleteModelSnapshotResponse>;
104
104
  /**
105
105
  * Delete an unreferenced trained model. The request deletes a trained inference model that is not referenced by an ingest pipeline.
106
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-trained-model | Elasticsearch API documentation}
106
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-trained-model | Elasticsearch API documentation}
107
107
  */
108
108
  deleteTrainedModel(this: That, params: T.MlDeleteTrainedModelRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteTrainedModelResponse>;
109
109
  deleteTrainedModel(this: That, params: T.MlDeleteTrainedModelRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteTrainedModelResponse, unknown>>;
110
110
  deleteTrainedModel(this: That, params: T.MlDeleteTrainedModelRequest, options?: TransportRequestOptions): Promise<T.MlDeleteTrainedModelResponse>;
111
111
  /**
112
112
  * Delete a trained model alias. This API deletes an existing model alias that refers to a trained model. If the model alias is missing or refers to a model other than the one identified by the `model_id`, this API returns an error.
113
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-delete-trained-model-alias | Elasticsearch API documentation}
113
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-delete-trained-model-alias | Elasticsearch API documentation}
114
114
  */
115
115
  deleteTrainedModelAlias(this: That, params: T.MlDeleteTrainedModelAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlDeleteTrainedModelAliasResponse>;
116
116
  deleteTrainedModelAlias(this: That, params: T.MlDeleteTrainedModelAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlDeleteTrainedModelAliasResponse, unknown>>;
117
117
  deleteTrainedModelAlias(this: That, params: T.MlDeleteTrainedModelAliasRequest, options?: TransportRequestOptions): Promise<T.MlDeleteTrainedModelAliasResponse>;
118
118
  /**
119
119
  * Estimate job model memory usage. Make an estimation of the memory usage for an anomaly detection job model. The estimate is based on analysis configuration details for the job and cardinality estimates for the fields it references.
120
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-estimate-model-memory | Elasticsearch API documentation}
120
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-estimate-model-memory | Elasticsearch API documentation}
121
121
  */
122
122
  estimateModelMemory(this: That, params?: T.MlEstimateModelMemoryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlEstimateModelMemoryResponse>;
123
123
  estimateModelMemory(this: That, params?: T.MlEstimateModelMemoryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlEstimateModelMemoryResponse, unknown>>;
124
124
  estimateModelMemory(this: That, params?: T.MlEstimateModelMemoryRequest, options?: TransportRequestOptions): Promise<T.MlEstimateModelMemoryResponse>;
125
125
  /**
126
126
  * Evaluate data frame analytics. The API packages together commonly used evaluation metrics for various types of machine learning features. This has been designed for use on indexes created by data frame analytics. Evaluation requires both a ground truth field and an analytics result field to be present.
127
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-evaluate-data-frame | Elasticsearch API documentation}
127
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-evaluate-data-frame | Elasticsearch API documentation}
128
128
  */
129
129
  evaluateDataFrame(this: That, params: T.MlEvaluateDataFrameRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlEvaluateDataFrameResponse>;
130
130
  evaluateDataFrame(this: That, params: T.MlEvaluateDataFrameRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlEvaluateDataFrameResponse, unknown>>;
131
131
  evaluateDataFrame(this: That, params: T.MlEvaluateDataFrameRequest, options?: TransportRequestOptions): Promise<T.MlEvaluateDataFrameResponse>;
132
132
  /**
133
133
  * Explain data frame analytics config. This API provides explanations for a data frame analytics config that either exists already or one that has not been created yet. The following explanations are provided: * which fields are included or not in the analysis and why, * how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on. If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
134
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-explain-data-frame-analytics | Elasticsearch API documentation}
134
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-explain-data-frame-analytics | Elasticsearch API documentation}
135
135
  */
136
136
  explainDataFrameAnalytics(this: That, params?: T.MlExplainDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlExplainDataFrameAnalyticsResponse>;
137
137
  explainDataFrameAnalytics(this: That, params?: T.MlExplainDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlExplainDataFrameAnalyticsResponse, unknown>>;
138
138
  explainDataFrameAnalytics(this: That, params?: T.MlExplainDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlExplainDataFrameAnalyticsResponse>;
139
139
  /**
140
140
  * Force buffered data to be processed. The flush jobs API is only applicable when sending data for analysis using the post data API. Depending on the content of the buffer, then it might additionally calculate new results. Both flush and close operations are similar, however the flush is more efficient if you are expecting to send more data for analysis. When flushing, the job remains open and is available to continue analyzing data. A close operation additionally prunes and persists the model state to disk and the job must be opened again before analyzing further data.
141
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-flush-job | Elasticsearch API documentation}
141
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-flush-job | Elasticsearch API documentation}
142
142
  */
143
143
  flushJob(this: That, params: T.MlFlushJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlFlushJobResponse>;
144
144
  flushJob(this: That, params: T.MlFlushJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlFlushJobResponse, unknown>>;
145
145
  flushJob(this: That, params: T.MlFlushJobRequest, options?: TransportRequestOptions): Promise<T.MlFlushJobResponse>;
146
146
  /**
147
147
  * Predict future behavior of a time series. Forecasts are not supported for jobs that perform population analysis; an error occurs if you try to create a forecast for a job that has an `over_field_name` in its configuration. Forcasts predict future behavior based on historical data.
148
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-forecast | Elasticsearch API documentation}
148
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-forecast | Elasticsearch API documentation}
149
149
  */
150
150
  forecast(this: That, params: T.MlForecastRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlForecastResponse>;
151
151
  forecast(this: That, params: T.MlForecastRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlForecastResponse, unknown>>;
152
152
  forecast(this: That, params: T.MlForecastRequest, options?: TransportRequestOptions): Promise<T.MlForecastResponse>;
153
153
  /**
154
154
  * Get anomaly detection job results for buckets. The API presents a chronological view of the records, grouped by bucket.
155
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-buckets | Elasticsearch API documentation}
155
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-buckets | Elasticsearch API documentation}
156
156
  */
157
157
  getBuckets(this: That, params: T.MlGetBucketsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetBucketsResponse>;
158
158
  getBuckets(this: That, params: T.MlGetBucketsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetBucketsResponse, unknown>>;
159
159
  getBuckets(this: That, params: T.MlGetBucketsRequest, options?: TransportRequestOptions): Promise<T.MlGetBucketsResponse>;
160
160
  /**
161
161
  * Get info about events in calendars.
162
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-calendar-events | Elasticsearch API documentation}
162
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-calendar-events | Elasticsearch API documentation}
163
163
  */
164
164
  getCalendarEvents(this: That, params: T.MlGetCalendarEventsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetCalendarEventsResponse>;
165
165
  getCalendarEvents(this: That, params: T.MlGetCalendarEventsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetCalendarEventsResponse, unknown>>;
166
166
  getCalendarEvents(this: That, params: T.MlGetCalendarEventsRequest, options?: TransportRequestOptions): Promise<T.MlGetCalendarEventsResponse>;
167
167
  /**
168
168
  * Get calendar configuration info.
169
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-calendars | Elasticsearch API documentation}
169
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-calendars | Elasticsearch API documentation}
170
170
  */
171
171
  getCalendars(this: That, params?: T.MlGetCalendarsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetCalendarsResponse>;
172
172
  getCalendars(this: That, params?: T.MlGetCalendarsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetCalendarsResponse, unknown>>;
173
173
  getCalendars(this: That, params?: T.MlGetCalendarsRequest, options?: TransportRequestOptions): Promise<T.MlGetCalendarsResponse>;
174
174
  /**
175
175
  * Get anomaly detection job results for categories.
176
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-categories | Elasticsearch API documentation}
176
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-categories | Elasticsearch API documentation}
177
177
  */
178
178
  getCategories(this: That, params: T.MlGetCategoriesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetCategoriesResponse>;
179
179
  getCategories(this: That, params: T.MlGetCategoriesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetCategoriesResponse, unknown>>;
180
180
  getCategories(this: That, params: T.MlGetCategoriesRequest, options?: TransportRequestOptions): Promise<T.MlGetCategoriesResponse>;
181
181
  /**
182
182
  * Get data frame analytics job configuration info. You can get information for multiple data frame analytics jobs in a single API request by using a comma-separated list of data frame analytics jobs or a wildcard expression.
183
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-data-frame-analytics | Elasticsearch API documentation}
183
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-data-frame-analytics | Elasticsearch API documentation}
184
184
  */
185
185
  getDataFrameAnalytics(this: That, params?: T.MlGetDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetDataFrameAnalyticsResponse>;
186
186
  getDataFrameAnalytics(this: That, params?: T.MlGetDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetDataFrameAnalyticsResponse, unknown>>;
187
187
  getDataFrameAnalytics(this: That, params?: T.MlGetDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlGetDataFrameAnalyticsResponse>;
188
188
  /**
189
189
  * Get data frame analytics job stats.
190
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-data-frame-analytics-stats | Elasticsearch API documentation}
190
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-data-frame-analytics-stats | Elasticsearch API documentation}
191
191
  */
192
192
  getDataFrameAnalyticsStats(this: That, params?: T.MlGetDataFrameAnalyticsStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetDataFrameAnalyticsStatsResponse>;
193
193
  getDataFrameAnalyticsStats(this: That, params?: T.MlGetDataFrameAnalyticsStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetDataFrameAnalyticsStatsResponse, unknown>>;
194
194
  getDataFrameAnalyticsStats(this: That, params?: T.MlGetDataFrameAnalyticsStatsRequest, options?: TransportRequestOptions): Promise<T.MlGetDataFrameAnalyticsStatsResponse>;
195
195
  /**
196
196
  * Get datafeed stats. You can get statistics for multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can get statistics for all datafeeds by using `_all`, by specifying `*` as the `<feed_id>`, or by omitting the `<feed_id>`. If the datafeed is stopped, the only information you receive is the `datafeed_id` and the `state`. This API returns a maximum of 10,000 datafeeds.
197
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-datafeed-stats | Elasticsearch API documentation}
197
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-datafeed-stats | Elasticsearch API documentation}
198
198
  */
199
199
  getDatafeedStats(this: That, params?: T.MlGetDatafeedStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetDatafeedStatsResponse>;
200
200
  getDatafeedStats(this: That, params?: T.MlGetDatafeedStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetDatafeedStatsResponse, unknown>>;
201
201
  getDatafeedStats(this: That, params?: T.MlGetDatafeedStatsRequest, options?: TransportRequestOptions): Promise<T.MlGetDatafeedStatsResponse>;
202
202
  /**
203
203
  * Get datafeeds configuration info. You can get information for multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can get information for all datafeeds by using `_all`, by specifying `*` as the `<feed_id>`, or by omitting the `<feed_id>`. This API returns a maximum of 10,000 datafeeds.
204
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-datafeeds | Elasticsearch API documentation}
204
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-datafeeds | Elasticsearch API documentation}
205
205
  */
206
206
  getDatafeeds(this: That, params?: T.MlGetDatafeedsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetDatafeedsResponse>;
207
207
  getDatafeeds(this: That, params?: T.MlGetDatafeedsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetDatafeedsResponse, unknown>>;
208
208
  getDatafeeds(this: That, params?: T.MlGetDatafeedsRequest, options?: TransportRequestOptions): Promise<T.MlGetDatafeedsResponse>;
209
209
  /**
210
210
  * Get filters. You can get a single filter or all filters.
211
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-filters | Elasticsearch API documentation}
211
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-filters | Elasticsearch API documentation}
212
212
  */
213
213
  getFilters(this: That, params?: T.MlGetFiltersRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetFiltersResponse>;
214
214
  getFilters(this: That, params?: T.MlGetFiltersRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetFiltersResponse, unknown>>;
215
215
  getFilters(this: That, params?: T.MlGetFiltersRequest, options?: TransportRequestOptions): Promise<T.MlGetFiltersResponse>;
216
216
  /**
217
217
  * Get anomaly detection job results for influencers. Influencers are the entities that have contributed to, or are to blame for, the anomalies. Influencer results are available only if an `influencer_field_name` is specified in the job configuration.
218
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-influencers | Elasticsearch API documentation}
218
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-influencers | Elasticsearch API documentation}
219
219
  */
220
220
  getInfluencers(this: That, params: T.MlGetInfluencersRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetInfluencersResponse>;
221
221
  getInfluencers(this: That, params: T.MlGetInfluencersRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetInfluencersResponse, unknown>>;
222
222
  getInfluencers(this: That, params: T.MlGetInfluencersRequest, options?: TransportRequestOptions): Promise<T.MlGetInfluencersResponse>;
223
223
  /**
224
224
  * Get anomaly detection job stats.
225
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-job-stats | Elasticsearch API documentation}
225
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-job-stats | Elasticsearch API documentation}
226
226
  */
227
227
  getJobStats(this: That, params?: T.MlGetJobStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetJobStatsResponse>;
228
228
  getJobStats(this: That, params?: T.MlGetJobStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetJobStatsResponse, unknown>>;
229
229
  getJobStats(this: That, params?: T.MlGetJobStatsRequest, options?: TransportRequestOptions): Promise<T.MlGetJobStatsResponse>;
230
230
  /**
231
231
  * Get anomaly detection jobs configuration info. You can get information for multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can get information for all anomaly detection jobs by using `_all`, by specifying `*` as the `<job_id>`, or by omitting the `<job_id>`.
232
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-jobs | Elasticsearch API documentation}
232
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-jobs | Elasticsearch API documentation}
233
233
  */
234
234
  getJobs(this: That, params?: T.MlGetJobsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetJobsResponse>;
235
235
  getJobs(this: That, params?: T.MlGetJobsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetJobsResponse, unknown>>;
236
236
  getJobs(this: That, params?: T.MlGetJobsRequest, options?: TransportRequestOptions): Promise<T.MlGetJobsResponse>;
237
237
  /**
238
238
  * Get machine learning memory usage info. Get information about how machine learning jobs and trained models are using memory, on each node, both within the JVM heap, and natively, outside of the JVM.
239
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-memory-stats | Elasticsearch API documentation}
239
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-memory-stats | Elasticsearch API documentation}
240
240
  */
241
241
  getMemoryStats(this: That, params?: T.MlGetMemoryStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetMemoryStatsResponse>;
242
242
  getMemoryStats(this: That, params?: T.MlGetMemoryStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetMemoryStatsResponse, unknown>>;
243
243
  getMemoryStats(this: That, params?: T.MlGetMemoryStatsRequest, options?: TransportRequestOptions): Promise<T.MlGetMemoryStatsResponse>;
244
244
  /**
245
245
  * Get anomaly detection job model snapshot upgrade usage info.
246
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-model-snapshot-upgrade-stats | Elasticsearch API documentation}
246
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-model-snapshot-upgrade-stats | Elasticsearch API documentation}
247
247
  */
248
248
  getModelSnapshotUpgradeStats(this: That, params: T.MlGetModelSnapshotUpgradeStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetModelSnapshotUpgradeStatsResponse>;
249
249
  getModelSnapshotUpgradeStats(this: That, params: T.MlGetModelSnapshotUpgradeStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetModelSnapshotUpgradeStatsResponse, unknown>>;
250
250
  getModelSnapshotUpgradeStats(this: That, params: T.MlGetModelSnapshotUpgradeStatsRequest, options?: TransportRequestOptions): Promise<T.MlGetModelSnapshotUpgradeStatsResponse>;
251
251
  /**
252
252
  * Get model snapshots info.
253
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-model-snapshots | Elasticsearch API documentation}
253
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-model-snapshots | Elasticsearch API documentation}
254
254
  */
255
255
  getModelSnapshots(this: That, params: T.MlGetModelSnapshotsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetModelSnapshotsResponse>;
256
256
  getModelSnapshots(this: That, params: T.MlGetModelSnapshotsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetModelSnapshotsResponse, unknown>>;
257
257
  getModelSnapshots(this: That, params: T.MlGetModelSnapshotsRequest, options?: TransportRequestOptions): Promise<T.MlGetModelSnapshotsResponse>;
258
258
  /**
259
259
  * Get overall bucket results. Retrievs overall bucket results that summarize the bucket results of multiple anomaly detection jobs. The `overall_score` is calculated by combining the scores of all the buckets within the overall bucket span. First, the maximum `anomaly_score` per anomaly detection job in the overall bucket is calculated. Then the `top_n` of those scores are averaged to result in the `overall_score`. This means that you can fine-tune the `overall_score` so that it is more or less sensitive to the number of jobs that detect an anomaly at the same time. For example, if you set `top_n` to `1`, the `overall_score` is the maximum bucket score in the overall bucket. Alternatively, if you set `top_n` to the number of jobs, the `overall_score` is high only when all jobs detect anomalies in that overall bucket. If you set the `bucket_span` parameter (to a value greater than its default), the `overall_score` is the maximum `overall_score` of the overall buckets that have a span equal to the jobs' largest bucket span.
260
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-overall-buckets | Elasticsearch API documentation}
260
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-overall-buckets | Elasticsearch API documentation}
261
261
  */
262
262
  getOverallBuckets(this: That, params: T.MlGetOverallBucketsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetOverallBucketsResponse>;
263
263
  getOverallBuckets(this: That, params: T.MlGetOverallBucketsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetOverallBucketsResponse, unknown>>;
264
264
  getOverallBuckets(this: That, params: T.MlGetOverallBucketsRequest, options?: TransportRequestOptions): Promise<T.MlGetOverallBucketsResponse>;
265
265
  /**
266
266
  * Get anomaly records for an anomaly detection job. Records contain the detailed analytical results. They describe the anomalous activity that has been identified in the input data based on the detector configuration. There can be many anomaly records depending on the characteristics and size of the input data. In practice, there are often too many to be able to manually process them. The machine learning features therefore perform a sophisticated aggregation of the anomaly records into buckets. The number of record results depends on the number of anomalies found in each bucket, which relates to the number of time series being modeled and the number of detectors.
267
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-records | Elasticsearch API documentation}
267
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-records | Elasticsearch API documentation}
268
268
  */
269
269
  getRecords(this: That, params: T.MlGetRecordsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetRecordsResponse>;
270
270
  getRecords(this: That, params: T.MlGetRecordsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetRecordsResponse, unknown>>;
271
271
  getRecords(this: That, params: T.MlGetRecordsRequest, options?: TransportRequestOptions): Promise<T.MlGetRecordsResponse>;
272
272
  /**
273
273
  * Get trained model configuration info.
274
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-trained-models | Elasticsearch API documentation}
274
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-trained-models | Elasticsearch API documentation}
275
275
  */
276
276
  getTrainedModels(this: That, params?: T.MlGetTrainedModelsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetTrainedModelsResponse>;
277
277
  getTrainedModels(this: That, params?: T.MlGetTrainedModelsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetTrainedModelsResponse, unknown>>;
278
278
  getTrainedModels(this: That, params?: T.MlGetTrainedModelsRequest, options?: TransportRequestOptions): Promise<T.MlGetTrainedModelsResponse>;
279
279
  /**
280
280
  * Get trained models usage info. You can get usage information for multiple trained models in a single API request by using a comma-separated list of model IDs or a wildcard expression.
281
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-trained-models-stats | Elasticsearch API documentation}
281
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-get-trained-models-stats | Elasticsearch API documentation}
282
282
  */
283
283
  getTrainedModelsStats(this: That, params?: T.MlGetTrainedModelsStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlGetTrainedModelsStatsResponse>;
284
284
  getTrainedModelsStats(this: That, params?: T.MlGetTrainedModelsStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlGetTrainedModelsStatsResponse, unknown>>;
285
285
  getTrainedModelsStats(this: That, params?: T.MlGetTrainedModelsStatsRequest, options?: TransportRequestOptions): Promise<T.MlGetTrainedModelsStatsResponse>;
286
286
  /**
287
287
  * Evaluate a trained model.
288
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-infer-trained-model | Elasticsearch API documentation}
288
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-infer-trained-model | Elasticsearch API documentation}
289
289
  */
290
290
  inferTrainedModel(this: That, params: T.MlInferTrainedModelRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlInferTrainedModelResponse>;
291
291
  inferTrainedModel(this: That, params: T.MlInferTrainedModelRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlInferTrainedModelResponse, unknown>>;
292
292
  inferTrainedModel(this: That, params: T.MlInferTrainedModelRequest, options?: TransportRequestOptions): Promise<T.MlInferTrainedModelResponse>;
293
293
  /**
294
294
  * Get machine learning information. Get defaults and limits used by machine learning. This endpoint is designed to be used by a user interface that needs to fully understand machine learning configurations where some options are not specified, meaning that the defaults should be used. This endpoint may be used to find out what those defaults are. It also provides information about the maximum size of machine learning jobs that could run in the current cluster configuration.
295
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-info | Elasticsearch API documentation}
295
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-info | Elasticsearch API documentation}
296
296
  */
297
297
  info(this: That, params?: T.MlInfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlInfoResponse>;
298
298
  info(this: That, params?: T.MlInfoRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlInfoResponse, unknown>>;
299
299
  info(this: That, params?: T.MlInfoRequest, options?: TransportRequestOptions): Promise<T.MlInfoResponse>;
300
300
  /**
301
301
  * Open anomaly detection jobs. An anomaly detection job must be opened to be ready to receive and analyze data. It can be opened and closed multiple times throughout its lifecycle. When you open a new job, it starts with an empty model. When you open an existing job, the most recent model state is automatically loaded. The job is ready to resume its analysis from where it left off, once new data is received.
302
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-open-job | Elasticsearch API documentation}
302
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-open-job | Elasticsearch API documentation}
303
303
  */
304
304
  openJob(this: That, params: T.MlOpenJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlOpenJobResponse>;
305
305
  openJob(this: That, params: T.MlOpenJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlOpenJobResponse, unknown>>;
306
306
  openJob(this: That, params: T.MlOpenJobRequest, options?: TransportRequestOptions): Promise<T.MlOpenJobResponse>;
307
307
  /**
308
308
  * Add scheduled events to the calendar.
309
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-post-calendar-events | Elasticsearch API documentation}
309
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-post-calendar-events | Elasticsearch API documentation}
310
310
  */
311
311
  postCalendarEvents(this: That, params: T.MlPostCalendarEventsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPostCalendarEventsResponse>;
312
312
  postCalendarEvents(this: That, params: T.MlPostCalendarEventsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPostCalendarEventsResponse, unknown>>;
313
313
  postCalendarEvents(this: That, params: T.MlPostCalendarEventsRequest, options?: TransportRequestOptions): Promise<T.MlPostCalendarEventsResponse>;
314
314
  /**
315
315
  * Send data to an anomaly detection job for analysis. IMPORTANT: For each job, data can be accepted from only a single connection at a time. It is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.
316
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-post-data | Elasticsearch API documentation}
316
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-post-data | Elasticsearch API documentation}
317
317
  */
318
318
  postData<TData = unknown>(this: That, params: T.MlPostDataRequest<TData>, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPostDataResponse>;
319
319
  postData<TData = unknown>(this: That, params: T.MlPostDataRequest<TData>, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPostDataResponse, unknown>>;
320
320
  postData<TData = unknown>(this: That, params: T.MlPostDataRequest<TData>, options?: TransportRequestOptions): Promise<T.MlPostDataResponse>;
321
321
  /**
322
322
  * Preview features used by data frame analytics. Preview the extracted features used by a data frame analytics config.
323
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-preview-data-frame-analytics | Elasticsearch API documentation}
323
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-preview-data-frame-analytics | Elasticsearch API documentation}
324
324
  */
325
325
  previewDataFrameAnalytics(this: That, params?: T.MlPreviewDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPreviewDataFrameAnalyticsResponse>;
326
326
  previewDataFrameAnalytics(this: That, params?: T.MlPreviewDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPreviewDataFrameAnalyticsResponse, unknown>>;
327
327
  previewDataFrameAnalytics(this: That, params?: T.MlPreviewDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlPreviewDataFrameAnalyticsResponse>;
328
328
  /**
329
329
  * Preview a datafeed. This API returns the first "page" of search results from a datafeed. You can preview an existing datafeed or provide configuration details for a datafeed and anomaly detection job in the API. The preview shows the structure of the data that will be passed to the anomaly detection engine. IMPORTANT: When Elasticsearch security features are enabled, the preview uses the credentials of the user that called the API. However, when the datafeed starts it uses the roles of the last user that created or updated the datafeed. To get a preview that accurately reflects the behavior of the datafeed, use the appropriate credentials. You can also use secondary authorization headers to supply the credentials.
330
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-preview-datafeed | Elasticsearch API documentation}
330
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-preview-datafeed | Elasticsearch API documentation}
331
331
  */
332
332
  previewDatafeed<TDocument = unknown>(this: That, params?: T.MlPreviewDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPreviewDatafeedResponse<TDocument>>;
333
333
  previewDatafeed<TDocument = unknown>(this: That, params?: T.MlPreviewDatafeedRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPreviewDatafeedResponse<TDocument>, unknown>>;
334
334
  previewDatafeed<TDocument = unknown>(this: That, params?: T.MlPreviewDatafeedRequest, options?: TransportRequestOptions): Promise<T.MlPreviewDatafeedResponse<TDocument>>;
335
335
  /**
336
336
  * Create a calendar.
337
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-calendar | Elasticsearch API documentation}
337
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-calendar | Elasticsearch API documentation}
338
338
  */
339
339
  putCalendar(this: That, params: T.MlPutCalendarRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutCalendarResponse>;
340
340
  putCalendar(this: That, params: T.MlPutCalendarRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutCalendarResponse, unknown>>;
341
341
  putCalendar(this: That, params: T.MlPutCalendarRequest, options?: TransportRequestOptions): Promise<T.MlPutCalendarResponse>;
342
342
  /**
343
343
  * Add anomaly detection job to calendar.
344
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-calendar-job | Elasticsearch API documentation}
344
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-calendar-job | Elasticsearch API documentation}
345
345
  */
346
346
  putCalendarJob(this: That, params: T.MlPutCalendarJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutCalendarJobResponse>;
347
347
  putCalendarJob(this: That, params: T.MlPutCalendarJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutCalendarJobResponse, unknown>>;
348
348
  putCalendarJob(this: That, params: T.MlPutCalendarJobRequest, options?: TransportRequestOptions): Promise<T.MlPutCalendarJobResponse>;
349
349
  /**
350
350
  * Create a data frame analytics job. This API creates a data frame analytics job that performs an analysis on the source indices and stores the outcome in a destination index. By default, the query used in the source configuration is `{"match_all": {}}`. If the destination index does not exist, it is created automatically when you start the job. If you supply only a subset of the regression or classification parameters, hyperparameter optimization occurs. It determines a value for each of the undefined parameters.
351
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-data-frame-analytics | Elasticsearch API documentation}
351
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-data-frame-analytics | Elasticsearch API documentation}
352
352
  */
353
353
  putDataFrameAnalytics(this: That, params: T.MlPutDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutDataFrameAnalyticsResponse>;
354
354
  putDataFrameAnalytics(this: That, params: T.MlPutDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutDataFrameAnalyticsResponse, unknown>>;
355
355
  putDataFrameAnalytics(this: That, params: T.MlPutDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlPutDataFrameAnalyticsResponse>;
356
356
  /**
357
357
  * Create a datafeed. Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. You can associate only one datafeed with each anomaly detection job. The datafeed contains a query that runs at a defined interval (`frequency`). If you are concerned about delayed data, you can add a delay (`query_delay') at each interval. By default, the datafeed uses the following query: `{"match_all": {"boost": 1}}`. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the `.ml-config` index. Do not give users `write` privileges on the `.ml-config` index.
358
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-datafeed | Elasticsearch API documentation}
358
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-datafeed | Elasticsearch API documentation}
359
359
  */
360
360
  putDatafeed(this: That, params: T.MlPutDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutDatafeedResponse>;
361
361
  putDatafeed(this: That, params: T.MlPutDatafeedRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutDatafeedResponse, unknown>>;
362
362
  putDatafeed(this: That, params: T.MlPutDatafeedRequest, options?: TransportRequestOptions): Promise<T.MlPutDatafeedResponse>;
363
363
  /**
364
364
  * Create a filter. A filter contains a list of strings. It can be used by one or more anomaly detection jobs. Specifically, filters are referenced in the `custom_rules` property of detector configuration objects.
365
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-filter | Elasticsearch API documentation}
365
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-filter | Elasticsearch API documentation}
366
366
  */
367
367
  putFilter(this: That, params: T.MlPutFilterRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutFilterResponse>;
368
368
  putFilter(this: That, params: T.MlPutFilterRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutFilterResponse, unknown>>;
369
369
  putFilter(this: That, params: T.MlPutFilterRequest, options?: TransportRequestOptions): Promise<T.MlPutFilterResponse>;
370
370
  /**
371
371
  * Create an anomaly detection job. If you include a `datafeed_config`, you must have read index privileges on the source index. If you include a `datafeed_config` but do not provide a query, the datafeed uses `{"match_all": {"boost": 1}}`.
372
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-job | Elasticsearch API documentation}
372
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-job | Elasticsearch API documentation}
373
373
  */
374
374
  putJob(this: That, params: T.MlPutJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutJobResponse>;
375
375
  putJob(this: That, params: T.MlPutJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutJobResponse, unknown>>;
376
376
  putJob(this: That, params: T.MlPutJobRequest, options?: TransportRequestOptions): Promise<T.MlPutJobResponse>;
377
377
  /**
378
378
  * Create a trained model. Enable you to supply a trained model that is not created by data frame analytics.
379
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-trained-model | Elasticsearch API documentation}
379
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-trained-model | Elasticsearch API documentation}
380
380
  */
381
381
  putTrainedModel(this: That, params: T.MlPutTrainedModelRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutTrainedModelResponse>;
382
382
  putTrainedModel(this: That, params: T.MlPutTrainedModelRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutTrainedModelResponse, unknown>>;
383
383
  putTrainedModel(this: That, params: T.MlPutTrainedModelRequest, options?: TransportRequestOptions): Promise<T.MlPutTrainedModelResponse>;
384
384
  /**
385
385
  * Create or update a trained model alias. A trained model alias is a logical name used to reference a single trained model. You can use aliases instead of trained model identifiers to make it easier to reference your models. For example, you can use aliases in inference aggregations and processors. An alias must be unique and refer to only a single trained model. However, you can have multiple aliases for each trained model. If you use this API to update an alias such that it references a different trained model ID and the model uses a different type of data frame analytics, an error occurs. For example, this situation occurs if you have a trained model for regression analysis and a trained model for classification analysis; you cannot reassign an alias from one type of trained model to another. If you use this API to update an alias and there are very few input fields in common between the old and new trained models for the model alias, the API returns a warning.
386
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-trained-model-alias | Elasticsearch API documentation}
386
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-trained-model-alias | Elasticsearch API documentation}
387
387
  */
388
388
  putTrainedModelAlias(this: That, params: T.MlPutTrainedModelAliasRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutTrainedModelAliasResponse>;
389
389
  putTrainedModelAlias(this: That, params: T.MlPutTrainedModelAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutTrainedModelAliasResponse, unknown>>;
390
390
  putTrainedModelAlias(this: That, params: T.MlPutTrainedModelAliasRequest, options?: TransportRequestOptions): Promise<T.MlPutTrainedModelAliasResponse>;
391
391
  /**
392
392
  * Create part of a trained model definition.
393
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-trained-model-definition-part | Elasticsearch API documentation}
393
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-trained-model-definition-part | Elasticsearch API documentation}
394
394
  */
395
395
  putTrainedModelDefinitionPart(this: That, params: T.MlPutTrainedModelDefinitionPartRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutTrainedModelDefinitionPartResponse>;
396
396
  putTrainedModelDefinitionPart(this: That, params: T.MlPutTrainedModelDefinitionPartRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutTrainedModelDefinitionPartResponse, unknown>>;
397
397
  putTrainedModelDefinitionPart(this: That, params: T.MlPutTrainedModelDefinitionPartRequest, options?: TransportRequestOptions): Promise<T.MlPutTrainedModelDefinitionPartResponse>;
398
398
  /**
399
399
  * Create a trained model vocabulary. This API is supported only for natural language processing (NLP) models. The vocabulary is stored in the index as described in `inference_config.*.vocabulary` of the trained model definition.
400
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-trained-model-vocabulary | Elasticsearch API documentation}
400
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-put-trained-model-vocabulary | Elasticsearch API documentation}
401
401
  */
402
402
  putTrainedModelVocabulary(this: That, params: T.MlPutTrainedModelVocabularyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlPutTrainedModelVocabularyResponse>;
403
403
  putTrainedModelVocabulary(this: That, params: T.MlPutTrainedModelVocabularyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlPutTrainedModelVocabularyResponse, unknown>>;
404
404
  putTrainedModelVocabulary(this: That, params: T.MlPutTrainedModelVocabularyRequest, options?: TransportRequestOptions): Promise<T.MlPutTrainedModelVocabularyResponse>;
405
405
  /**
406
406
  * Reset an anomaly detection job. All model state and results are deleted. The job is ready to start over as if it had just been created. It is not currently possible to reset multiple jobs using wildcards or a comma separated list.
407
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-reset-job | Elasticsearch API documentation}
407
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-reset-job | Elasticsearch API documentation}
408
408
  */
409
409
  resetJob(this: That, params: T.MlResetJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlResetJobResponse>;
410
410
  resetJob(this: That, params: T.MlResetJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlResetJobResponse, unknown>>;
411
411
  resetJob(this: That, params: T.MlResetJobRequest, options?: TransportRequestOptions): Promise<T.MlResetJobResponse>;
412
412
  /**
413
413
  * Revert to a snapshot. The machine learning features react quickly to anomalous input, learning new behaviors in data. Highly anomalous input increases the variance in the models whilst the system learns whether this is a new step-change in behavior or a one-off event. In the case where this anomalous input is known to be a one-off, then it might be appropriate to reset the model state to a time before this event. For example, you might consider reverting to a saved snapshot after Black Friday or a critical system failure.
414
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-revert-model-snapshot | Elasticsearch API documentation}
414
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-revert-model-snapshot | Elasticsearch API documentation}
415
415
  */
416
416
  revertModelSnapshot(this: That, params: T.MlRevertModelSnapshotRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlRevertModelSnapshotResponse>;
417
417
  revertModelSnapshot(this: That, params: T.MlRevertModelSnapshotRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlRevertModelSnapshotResponse, unknown>>;
418
418
  revertModelSnapshot(this: That, params: T.MlRevertModelSnapshotRequest, options?: TransportRequestOptions): Promise<T.MlRevertModelSnapshotResponse>;
419
419
  /**
420
420
  * Set upgrade_mode for ML indices. Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade. When upgrading your cluster, in some circumstances you must restart your nodes and reindex your machine learning indices. In those circumstances, there must be no machine learning jobs running. You can close the machine learning jobs, do the upgrade, then open all the jobs again. Alternatively, you can use this API to temporarily halt tasks associated with the jobs and datafeeds and prevent new jobs from opening. You can also use this API during upgrades that do not require you to reindex your machine learning indices, though stopping jobs is not a requirement in that case. You can see the current value for the upgrade_mode setting by using the get machine learning info API.
421
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-set-upgrade-mode | Elasticsearch API documentation}
421
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-set-upgrade-mode | Elasticsearch API documentation}
422
422
  */
423
423
  setUpgradeMode(this: That, params?: T.MlSetUpgradeModeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlSetUpgradeModeResponse>;
424
424
  setUpgradeMode(this: That, params?: T.MlSetUpgradeModeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlSetUpgradeModeResponse, unknown>>;
425
425
  setUpgradeMode(this: That, params?: T.MlSetUpgradeModeRequest, options?: TransportRequestOptions): Promise<T.MlSetUpgradeModeResponse>;
426
426
  /**
427
427
  * Start a data frame analytics job. A data frame analytics job can be started and stopped multiple times throughout its lifecycle. If the destination index does not exist, it is created automatically the first time you start the data frame analytics job. The `index.number_of_shards` and `index.number_of_replicas` settings for the destination index are copied from the source index. If there are multiple source indices, the destination index copies the highest setting values. The mappings for the destination index are also copied from the source indices. If there are any mapping conflicts, the job fails to start. If the destination index exists, it is used as is. You can therefore set up the destination index in advance with custom settings and mappings.
428
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-start-data-frame-analytics | Elasticsearch API documentation}
428
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-start-data-frame-analytics | Elasticsearch API documentation}
429
429
  */
430
430
  startDataFrameAnalytics(this: That, params: T.MlStartDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlStartDataFrameAnalyticsResponse>;
431
431
  startDataFrameAnalytics(this: That, params: T.MlStartDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlStartDataFrameAnalyticsResponse, unknown>>;
432
432
  startDataFrameAnalytics(this: That, params: T.MlStartDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlStartDataFrameAnalyticsResponse>;
433
433
  /**
434
434
  * Start datafeeds. A datafeed must be started in order to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle. Before you can start a datafeed, the anomaly detection job must be open. Otherwise, an error occurs. If you restart a stopped datafeed, it continues processing input data from the next millisecond after it was stopped. If new data was indexed for that exact millisecond between stopping and starting, it will be ignored. When Elasticsearch security features are enabled, your datafeed remembers which roles the last user to create or update it had at the time of creation or update and runs the query using those same roles. If you provided secondary authorization headers when you created or updated the datafeed, those credentials are used instead.
435
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-start-datafeed | Elasticsearch API documentation}
435
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-start-datafeed | Elasticsearch API documentation}
436
436
  */
437
437
  startDatafeed(this: That, params: T.MlStartDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlStartDatafeedResponse>;
438
438
  startDatafeed(this: That, params: T.MlStartDatafeedRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlStartDatafeedResponse, unknown>>;
439
439
  startDatafeed(this: That, params: T.MlStartDatafeedRequest, options?: TransportRequestOptions): Promise<T.MlStartDatafeedResponse>;
440
440
  /**
441
441
  * Start a trained model deployment. It allocates the model to every machine learning node.
442
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-start-trained-model-deployment | Elasticsearch API documentation}
442
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-start-trained-model-deployment | Elasticsearch API documentation}
443
443
  */
444
444
  startTrainedModelDeployment(this: That, params: T.MlStartTrainedModelDeploymentRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlStartTrainedModelDeploymentResponse>;
445
445
  startTrainedModelDeployment(this: That, params: T.MlStartTrainedModelDeploymentRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlStartTrainedModelDeploymentResponse, unknown>>;
446
446
  startTrainedModelDeployment(this: That, params: T.MlStartTrainedModelDeploymentRequest, options?: TransportRequestOptions): Promise<T.MlStartTrainedModelDeploymentResponse>;
447
447
  /**
448
448
  * Stop data frame analytics jobs. A data frame analytics job can be started and stopped multiple times throughout its lifecycle.
449
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-data-frame-analytics | Elasticsearch API documentation}
449
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-stop-data-frame-analytics | Elasticsearch API documentation}
450
450
  */
451
451
  stopDataFrameAnalytics(this: That, params: T.MlStopDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlStopDataFrameAnalyticsResponse>;
452
452
  stopDataFrameAnalytics(this: That, params: T.MlStopDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlStopDataFrameAnalyticsResponse, unknown>>;
453
453
  stopDataFrameAnalytics(this: That, params: T.MlStopDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlStopDataFrameAnalyticsResponse>;
454
454
  /**
455
455
  * Stop datafeeds. A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle.
456
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-datafeed | Elasticsearch API documentation}
456
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-stop-datafeed | Elasticsearch API documentation}
457
457
  */
458
458
  stopDatafeed(this: That, params: T.MlStopDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlStopDatafeedResponse>;
459
459
  stopDatafeed(this: That, params: T.MlStopDatafeedRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlStopDatafeedResponse, unknown>>;
460
460
  stopDatafeed(this: That, params: T.MlStopDatafeedRequest, options?: TransportRequestOptions): Promise<T.MlStopDatafeedResponse>;
461
461
  /**
462
462
  * Stop a trained model deployment.
463
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-trained-model-deployment | Elasticsearch API documentation}
463
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-stop-trained-model-deployment | Elasticsearch API documentation}
464
464
  */
465
465
  stopTrainedModelDeployment(this: That, params: T.MlStopTrainedModelDeploymentRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlStopTrainedModelDeploymentResponse>;
466
466
  stopTrainedModelDeployment(this: That, params: T.MlStopTrainedModelDeploymentRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlStopTrainedModelDeploymentResponse, unknown>>;
467
467
  stopTrainedModelDeployment(this: That, params: T.MlStopTrainedModelDeploymentRequest, options?: TransportRequestOptions): Promise<T.MlStopTrainedModelDeploymentResponse>;
468
468
  /**
469
469
  * Update a data frame analytics job.
470
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-update-data-frame-analytics | Elasticsearch API documentation}
470
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-update-data-frame-analytics | Elasticsearch API documentation}
471
471
  */
472
472
  updateDataFrameAnalytics(this: That, params: T.MlUpdateDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpdateDataFrameAnalyticsResponse>;
473
473
  updateDataFrameAnalytics(this: That, params: T.MlUpdateDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpdateDataFrameAnalyticsResponse, unknown>>;
474
474
  updateDataFrameAnalytics(this: That, params: T.MlUpdateDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.MlUpdateDataFrameAnalyticsResponse>;
475
475
  /**
476
476
  * Update a datafeed. You must stop and start the datafeed for the changes to be applied. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at the time of the update and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead.
477
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-update-datafeed | Elasticsearch API documentation}
477
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-update-datafeed | Elasticsearch API documentation}
478
478
  */
479
479
  updateDatafeed(this: That, params: T.MlUpdateDatafeedRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpdateDatafeedResponse>;
480
480
  updateDatafeed(this: That, params: T.MlUpdateDatafeedRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpdateDatafeedResponse, unknown>>;
481
481
  updateDatafeed(this: That, params: T.MlUpdateDatafeedRequest, options?: TransportRequestOptions): Promise<T.MlUpdateDatafeedResponse>;
482
482
  /**
483
483
  * Update a filter. Updates the description of a filter, adds items, or removes items from the list.
484
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-update-filter | Elasticsearch API documentation}
484
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-update-filter | Elasticsearch API documentation}
485
485
  */
486
486
  updateFilter(this: That, params: T.MlUpdateFilterRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpdateFilterResponse>;
487
487
  updateFilter(this: That, params: T.MlUpdateFilterRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpdateFilterResponse, unknown>>;
488
488
  updateFilter(this: That, params: T.MlUpdateFilterRequest, options?: TransportRequestOptions): Promise<T.MlUpdateFilterResponse>;
489
489
  /**
490
490
  * Update an anomaly detection job. Updates certain properties of an anomaly detection job.
491
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-update-job | Elasticsearch API documentation}
491
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-update-job | Elasticsearch API documentation}
492
492
  */
493
493
  updateJob(this: That, params: T.MlUpdateJobRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpdateJobResponse>;
494
494
  updateJob(this: That, params: T.MlUpdateJobRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpdateJobResponse, unknown>>;
495
495
  updateJob(this: That, params: T.MlUpdateJobRequest, options?: TransportRequestOptions): Promise<T.MlUpdateJobResponse>;
496
496
  /**
497
497
  * Update a snapshot. Updates certain properties of a snapshot.
498
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-update-model-snapshot | Elasticsearch API documentation}
498
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-update-model-snapshot | Elasticsearch API documentation}
499
499
  */
500
500
  updateModelSnapshot(this: That, params: T.MlUpdateModelSnapshotRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpdateModelSnapshotResponse>;
501
501
  updateModelSnapshot(this: That, params: T.MlUpdateModelSnapshotRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpdateModelSnapshotResponse, unknown>>;
502
502
  updateModelSnapshot(this: That, params: T.MlUpdateModelSnapshotRequest, options?: TransportRequestOptions): Promise<T.MlUpdateModelSnapshotResponse>;
503
503
  /**
504
504
  * Update a trained model deployment.
505
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-update-trained-model-deployment | Elasticsearch API documentation}
505
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-update-trained-model-deployment | Elasticsearch API documentation}
506
506
  */
507
507
  updateTrainedModelDeployment(this: That, params: T.MlUpdateTrainedModelDeploymentRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpdateTrainedModelDeploymentResponse>;
508
508
  updateTrainedModelDeployment(this: That, params: T.MlUpdateTrainedModelDeploymentRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpdateTrainedModelDeploymentResponse, unknown>>;
509
509
  updateTrainedModelDeployment(this: That, params: T.MlUpdateTrainedModelDeploymentRequest, options?: TransportRequestOptions): Promise<T.MlUpdateTrainedModelDeploymentResponse>;
510
510
  /**
511
511
  * Upgrade a snapshot. Upgrade an anomaly detection model snapshot to the latest major version. Over time, older snapshot formats are deprecated and removed. Anomaly detection jobs support only snapshots that are from the current or previous major version. This API provides a means to upgrade a snapshot to the current major version. This aids in preparing the cluster for an upgrade to the next major version. Only one snapshot per anomaly detection job can be upgraded at a time and the upgraded snapshot cannot be the current snapshot of the anomaly detection job.
512
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-upgrade-job-snapshot | Elasticsearch API documentation}
512
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ml-upgrade-job-snapshot | Elasticsearch API documentation}
513
513
  */
514
514
  upgradeJobSnapshot(this: That, params: T.MlUpgradeJobSnapshotRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlUpgradeJobSnapshotResponse>;
515
515
  upgradeJobSnapshot(this: That, params: T.MlUpgradeJobSnapshotRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlUpgradeJobSnapshotResponse, unknown>>;
@@ -523,7 +523,7 @@ export default class Ml {
523
523
  validate(this: That, params?: T.MlValidateRequest, options?: TransportRequestOptions): Promise<T.MlValidateResponse>;
524
524
  /**
525
525
  * Validate an anomaly detection job.
526
- * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch | Elasticsearch API documentation}
526
+ * @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/v9/ | Elasticsearch API documentation}
527
527
  */
528
528
  validateDetector(this: That, params: T.MlValidateDetectorRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MlValidateDetectorResponse>;
529
529
  validateDetector(this: That, params: T.MlValidateDetectorRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MlValidateDetectorResponse, unknown>>;