elasticsearch 8.17.1__py3-none-any.whl → 8.18.0__py3-none-any.whl

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 (139) hide show
  1. elasticsearch/__init__.py +2 -2
  2. elasticsearch/_async/client/__init__.py +2146 -859
  3. elasticsearch/_async/client/_base.py +0 -1
  4. elasticsearch/_async/client/async_search.py +44 -29
  5. elasticsearch/_async/client/autoscaling.py +32 -26
  6. elasticsearch/_async/client/cat.py +244 -169
  7. elasticsearch/_async/client/ccr.py +268 -128
  8. elasticsearch/_async/client/cluster.py +191 -164
  9. elasticsearch/_async/client/connector.py +212 -116
  10. elasticsearch/_async/client/dangling_indices.py +22 -16
  11. elasticsearch/_async/client/enrich.py +51 -11
  12. elasticsearch/_async/client/eql.py +54 -13
  13. elasticsearch/_async/client/esql.py +352 -4
  14. elasticsearch/_async/client/features.py +37 -27
  15. elasticsearch/_async/client/fleet.py +22 -10
  16. elasticsearch/_async/client/graph.py +10 -9
  17. elasticsearch/_async/client/ilm.py +108 -77
  18. elasticsearch/_async/client/indices.py +1112 -677
  19. elasticsearch/_async/client/inference.py +1875 -133
  20. elasticsearch/_async/client/ingest.py +83 -50
  21. elasticsearch/_async/client/license.py +90 -38
  22. elasticsearch/_async/client/logstash.py +20 -9
  23. elasticsearch/_async/client/migration.py +26 -17
  24. elasticsearch/_async/client/ml.py +642 -365
  25. elasticsearch/_async/client/monitoring.py +6 -3
  26. elasticsearch/_async/client/nodes.py +51 -53
  27. elasticsearch/_async/client/query_rules.py +59 -33
  28. elasticsearch/_async/client/rollup.py +124 -86
  29. elasticsearch/_async/client/search_application.py +60 -32
  30. elasticsearch/_async/client/searchable_snapshots.py +25 -12
  31. elasticsearch/_async/client/security.py +896 -558
  32. elasticsearch/_async/client/shutdown.py +34 -36
  33. elasticsearch/_async/client/simulate.py +22 -28
  34. elasticsearch/_async/client/slm.py +65 -40
  35. elasticsearch/_async/client/snapshot.py +190 -213
  36. elasticsearch/_async/client/sql.py +43 -22
  37. elasticsearch/_async/client/ssl.py +17 -18
  38. elasticsearch/_async/client/synonyms.py +58 -37
  39. elasticsearch/_async/client/tasks.py +77 -48
  40. elasticsearch/_async/client/text_structure.py +65 -56
  41. elasticsearch/_async/client/transform.py +124 -93
  42. elasticsearch/_async/client/watcher.py +116 -72
  43. elasticsearch/_async/client/xpack.py +18 -9
  44. elasticsearch/_async/helpers.py +1 -2
  45. elasticsearch/_sync/client/__init__.py +2146 -859
  46. elasticsearch/_sync/client/_base.py +0 -1
  47. elasticsearch/_sync/client/async_search.py +44 -29
  48. elasticsearch/_sync/client/autoscaling.py +32 -26
  49. elasticsearch/_sync/client/cat.py +244 -169
  50. elasticsearch/_sync/client/ccr.py +268 -128
  51. elasticsearch/_sync/client/cluster.py +191 -164
  52. elasticsearch/_sync/client/connector.py +212 -116
  53. elasticsearch/_sync/client/dangling_indices.py +22 -16
  54. elasticsearch/_sync/client/enrich.py +51 -11
  55. elasticsearch/_sync/client/eql.py +54 -13
  56. elasticsearch/_sync/client/esql.py +352 -4
  57. elasticsearch/_sync/client/features.py +37 -27
  58. elasticsearch/_sync/client/fleet.py +22 -10
  59. elasticsearch/_sync/client/graph.py +10 -9
  60. elasticsearch/_sync/client/ilm.py +108 -77
  61. elasticsearch/_sync/client/indices.py +1112 -677
  62. elasticsearch/_sync/client/inference.py +1875 -133
  63. elasticsearch/_sync/client/ingest.py +83 -50
  64. elasticsearch/_sync/client/license.py +90 -38
  65. elasticsearch/_sync/client/logstash.py +20 -9
  66. elasticsearch/_sync/client/migration.py +26 -17
  67. elasticsearch/_sync/client/ml.py +642 -365
  68. elasticsearch/_sync/client/monitoring.py +6 -3
  69. elasticsearch/_sync/client/nodes.py +51 -53
  70. elasticsearch/_sync/client/query_rules.py +59 -33
  71. elasticsearch/_sync/client/rollup.py +124 -86
  72. elasticsearch/_sync/client/search_application.py +60 -32
  73. elasticsearch/_sync/client/searchable_snapshots.py +25 -12
  74. elasticsearch/_sync/client/security.py +896 -558
  75. elasticsearch/_sync/client/shutdown.py +34 -36
  76. elasticsearch/_sync/client/simulate.py +22 -28
  77. elasticsearch/_sync/client/slm.py +65 -40
  78. elasticsearch/_sync/client/snapshot.py +190 -213
  79. elasticsearch/_sync/client/sql.py +43 -22
  80. elasticsearch/_sync/client/ssl.py +17 -18
  81. elasticsearch/_sync/client/synonyms.py +58 -37
  82. elasticsearch/_sync/client/tasks.py +77 -48
  83. elasticsearch/_sync/client/text_structure.py +65 -56
  84. elasticsearch/_sync/client/transform.py +124 -93
  85. elasticsearch/_sync/client/utils.py +1 -4
  86. elasticsearch/_sync/client/watcher.py +116 -72
  87. elasticsearch/_sync/client/xpack.py +18 -9
  88. elasticsearch/_version.py +1 -1
  89. elasticsearch/client.py +2 -0
  90. elasticsearch/dsl/__init__.py +203 -0
  91. elasticsearch/dsl/_async/__init__.py +16 -0
  92. elasticsearch/dsl/_async/document.py +522 -0
  93. elasticsearch/dsl/_async/faceted_search.py +50 -0
  94. elasticsearch/dsl/_async/index.py +639 -0
  95. elasticsearch/dsl/_async/mapping.py +49 -0
  96. elasticsearch/dsl/_async/search.py +233 -0
  97. elasticsearch/dsl/_async/update_by_query.py +47 -0
  98. elasticsearch/dsl/_sync/__init__.py +16 -0
  99. elasticsearch/dsl/_sync/document.py +514 -0
  100. elasticsearch/dsl/_sync/faceted_search.py +50 -0
  101. elasticsearch/dsl/_sync/index.py +597 -0
  102. elasticsearch/dsl/_sync/mapping.py +49 -0
  103. elasticsearch/dsl/_sync/search.py +226 -0
  104. elasticsearch/dsl/_sync/update_by_query.py +45 -0
  105. elasticsearch/dsl/aggs.py +3730 -0
  106. elasticsearch/dsl/analysis.py +341 -0
  107. elasticsearch/dsl/async_connections.py +37 -0
  108. elasticsearch/dsl/connections.py +142 -0
  109. elasticsearch/dsl/document.py +20 -0
  110. elasticsearch/dsl/document_base.py +444 -0
  111. elasticsearch/dsl/exceptions.py +32 -0
  112. elasticsearch/dsl/faceted_search.py +28 -0
  113. elasticsearch/dsl/faceted_search_base.py +489 -0
  114. elasticsearch/dsl/field.py +4254 -0
  115. elasticsearch/dsl/function.py +180 -0
  116. elasticsearch/dsl/index.py +23 -0
  117. elasticsearch/dsl/index_base.py +178 -0
  118. elasticsearch/dsl/mapping.py +19 -0
  119. elasticsearch/dsl/mapping_base.py +219 -0
  120. elasticsearch/dsl/query.py +2816 -0
  121. elasticsearch/dsl/response/__init__.py +388 -0
  122. elasticsearch/dsl/response/aggs.py +100 -0
  123. elasticsearch/dsl/response/hit.py +53 -0
  124. elasticsearch/dsl/search.py +20 -0
  125. elasticsearch/dsl/search_base.py +1040 -0
  126. elasticsearch/dsl/serializer.py +34 -0
  127. elasticsearch/dsl/types.py +6471 -0
  128. elasticsearch/dsl/update_by_query.py +19 -0
  129. elasticsearch/dsl/update_by_query_base.py +149 -0
  130. elasticsearch/dsl/utils.py +687 -0
  131. elasticsearch/dsl/wrappers.py +119 -0
  132. elasticsearch/helpers/actions.py +1 -1
  133. elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
  134. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/METADATA +12 -2
  135. elasticsearch-8.18.0.dist-info/RECORD +161 -0
  136. elasticsearch-8.17.1.dist-info/RECORD +0 -119
  137. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/WHEEL +0 -0
  138. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/licenses/LICENSE +0 -0
  139. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/licenses/NOTICE +0 -0
@@ -57,18 +57,22 @@ class CatClient(NamespacedClient):
57
57
  v: t.Optional[bool] = None,
58
58
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
59
59
  """
60
- Get aliases. Retrieves the cluster’s index aliases, including filter and routing
61
- information. The API does not return data stream aliases. CAT APIs are only intended
62
- for human consumption using the command line or the Kibana console. They are
63
- not intended for use by applications. For application consumption, use the aliases
64
- API.
60
+ .. raw:: html
65
61
 
66
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
62
+ <p>Get aliases.</p>
63
+ <p>Get the cluster's index aliases, including filter and routing information.
64
+ This API does not return data stream aliases.</p>
65
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.</p>
66
+
67
+
68
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-alias.html>`_
67
69
 
68
70
  :param name: A comma-separated list of aliases to retrieve. Supports wildcards
69
71
  (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
70
- :param expand_wildcards: Whether to expand wildcard expression to concrete indices
71
- that are open, closed or both.
72
+ :param expand_wildcards: The type of index that wildcard patterns can match.
73
+ If the request can target data streams, this argument determines whether
74
+ wildcard expressions match hidden data streams. It supports comma-separated
75
+ values, such as `open,hidden`.
72
76
  :param format: Specifies the format to return the columnar data in, can be set
73
77
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
74
78
  :param h: List of columns to appear in the response. Supports simple wildcards.
@@ -78,7 +82,10 @@ class CatClient(NamespacedClient):
78
82
  the local cluster state. If `false` the list of selected nodes are computed
79
83
  from the cluster state of the master node. In both cases the coordinating
80
84
  node will send requests for further information to each selected node.
81
- :param master_timeout: Period to wait for a connection to the master node.
85
+ :param master_timeout: The period to wait for a connection to the master node.
86
+ If the master node is not available before the timeout expires, the request
87
+ fails and returns an error. To indicated that the request should never timeout,
88
+ you can set it to `-1`.
82
89
  :param s: List of columns that determine how the table should be sorted. Sorting
83
90
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
84
91
  a suffix to the column name.
@@ -147,13 +154,16 @@ class CatClient(NamespacedClient):
147
154
  v: t.Optional[bool] = None,
148
155
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
149
156
  """
150
- Provides a snapshot of the number of shards allocated to each data node and their
151
- disk space. IMPORTANT: cat APIs are only intended for human consumption using
152
- the command line or Kibana console. They are not intended for use by applications.
157
+ .. raw:: html
153
158
 
154
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
159
+ <p>Get shard allocation information.</p>
160
+ <p>Get a snapshot of the number of shards allocated to each data node and their disk space.</p>
161
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
155
162
 
156
- :param node_id: Comma-separated list of node identifiers or names used to limit
163
+
164
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-allocation.html>`_
165
+
166
+ :param node_id: A comma-separated list of node identifiers or names used to limit
157
167
  the returned information.
158
168
  :param bytes: The unit used to display byte values.
159
169
  :param format: Specifies the format to return the columnar data in, can be set
@@ -231,17 +241,19 @@ class CatClient(NamespacedClient):
231
241
  v: t.Optional[bool] = None,
232
242
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
233
243
  """
234
- Get component templates. Returns information about component templates in a cluster.
235
- Component templates are building blocks for constructing index templates that
236
- specify index mappings, settings, and aliases. CAT APIs are only intended for
237
- human consumption using the command line or Kibana console. They are not intended
238
- for use by applications. For application consumption, use the get component template
239
- API.
244
+ .. raw:: html
245
+
246
+ <p>Get component templates.</p>
247
+ <p>Get information about component templates in a cluster.
248
+ Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</p>
249
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console.
250
+ They are not intended for use by applications. For application consumption, use the get component template API.</p>
251
+
240
252
 
241
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-component-templates.html>`_
253
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-component-templates.html>`_
242
254
 
243
- :param name: The name of the component template. Accepts wildcard expressions.
244
- If omitted, all component templates are returned.
255
+ :param name: The name of the component template. It accepts wildcard expressions.
256
+ If it is omitted, all component templates are returned.
245
257
  :param format: Specifies the format to return the columnar data in, can be set
246
258
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
247
259
  :param h: List of columns to appear in the response. Supports simple wildcards.
@@ -251,7 +263,7 @@ class CatClient(NamespacedClient):
251
263
  the local cluster state. If `false` the list of selected nodes are computed
252
264
  from the cluster state of the master node. In both cases the coordinating
253
265
  node will send requests for further information to each selected node.
254
- :param master_timeout: Period to wait for a connection to the master node.
266
+ :param master_timeout: The period to wait for a connection to the master node.
255
267
  :param s: List of columns that determine how the table should be sorted. Sorting
256
268
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
257
269
  a suffix to the column name.
@@ -313,17 +325,19 @@ class CatClient(NamespacedClient):
313
325
  v: t.Optional[bool] = None,
314
326
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
315
327
  """
316
- Get a document count. Provides quick access to a document count for a data stream,
317
- an index, or an entire cluster. The document count only includes live documents,
318
- not deleted documents which have not yet been removed by the merge process. CAT
319
- APIs are only intended for human consumption using the command line or Kibana
320
- console. They are not intended for use by applications. For application consumption,
321
- use the count API.
328
+ .. raw:: html
322
329
 
323
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
330
+ <p>Get a document count.</p>
331
+ <p>Get quick access to a document count for a data stream, an index, or an entire cluster.
332
+ The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.</p>
333
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console.
334
+ They are not intended for use by applications. For application consumption, use the count API.</p>
324
335
 
325
- :param index: Comma-separated list of data streams, indices, and aliases used
326
- to limit the request. Supports wildcards (`*`). To target all data streams
336
+
337
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-count.html>`_
338
+
339
+ :param index: A comma-separated list of data streams, indices, and aliases used
340
+ to limit the request. It supports wildcards (`*`). To target all data streams
327
341
  and indices, omit this parameter or use `*` or `_all`.
328
342
  :param format: Specifies the format to return the columnar data in, can be set
329
343
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -390,12 +404,15 @@ class CatClient(NamespacedClient):
390
404
  v: t.Optional[bool] = None,
391
405
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
392
406
  """
393
- Returns the amount of heap memory currently used by the field data cache on every
394
- data node in the cluster. IMPORTANT: cat APIs are only intended for human consumption
395
- using the command line or Kibana console. They are not intended for use by applications.
396
- For application consumption, use the nodes stats API.
407
+ .. raw:: html
408
+
409
+ <p>Get field data cache information.</p>
410
+ <p>Get the amount of heap memory currently used by the field data cache on every data node in the cluster.</p>
411
+ <p>IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
412
+ They are not intended for use by applications. For application consumption, use the nodes stats API.</p>
397
413
 
398
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
414
+
415
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-fielddata.html>`_
399
416
 
400
417
  :param fields: Comma-separated list of fields used to limit returned information.
401
418
  To retrieve all fields, omit this parameter.
@@ -467,19 +484,21 @@ class CatClient(NamespacedClient):
467
484
  v: t.Optional[bool] = None,
468
485
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
469
486
  """
470
- Returns the health status of a cluster, similar to the cluster health API. IMPORTANT:
471
- cat APIs are only intended for human consumption using the command line or Kibana
472
- console. They are not intended for use by applications. For application consumption,
473
- use the cluster health API. This API is often used to check malfunctioning clusters.
474
- To help you track cluster health alongside log files and alerting systems, the
475
- API returns timestamps in two formats: `HH:MM:SS`, which is human-readable but
476
- includes no date information; `Unix epoch time`, which is machine-sortable and
477
- includes date information. The latter format is useful for cluster recoveries
478
- that take multiple days. You can use the cat health API to verify cluster health
479
- across multiple nodes. You also can use the API to track the recovery of a large
480
- cluster over a longer period of time.
481
-
482
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
487
+ .. raw:: html
488
+
489
+ <p>Get the cluster health status.</p>
490
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console.
491
+ They are not intended for use by applications. For application consumption, use the cluster health API.
492
+ This API is often used to check malfunctioning clusters.
493
+ To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats:
494
+ <code>HH:MM:SS</code>, which is human-readable but includes no date information;
495
+ <code>Unix epoch time</code>, which is machine-sortable and includes date information.
496
+ The latter format is useful for cluster recoveries that take multiple days.
497
+ You can use the cat health API to verify cluster health across multiple nodes.
498
+ You also can use the API to track the recovery of a large cluster over a longer period of time.</p>
499
+
500
+
501
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-health.html>`_
483
502
 
484
503
  :param format: Specifies the format to return the columnar data in, can be set
485
504
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -531,9 +550,13 @@ class CatClient(NamespacedClient):
531
550
  @_rewrite_parameters()
532
551
  async def help(self) -> TextApiResponse:
533
552
  """
534
- Get CAT help. Returns help for the CAT APIs.
553
+ .. raw:: html
535
554
 
536
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
555
+ <p>Get CAT help.</p>
556
+ <p>Get help for the CAT APIs.</p>
557
+
558
+
559
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat.html>`_
537
560
  """
538
561
  __path_parts: t.Dict[str, str] = {}
539
562
  __path = "/_cat"
@@ -582,18 +605,25 @@ class CatClient(NamespacedClient):
582
605
  v: t.Optional[bool] = None,
583
606
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
584
607
  """
585
- Get index information. Returns high-level information about indices in a cluster,
586
- including backing indices for data streams. Use this request to get the following
587
- information for each index in a cluster: - shard count - document count - deleted
588
- document count - primary store size - total store size of all shards, including
589
- shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
590
- uses internally to power indexing and search. As a result, all document counts
591
- include hidden nested documents. To get an accurate count of Elasticsearch documents,
592
- use the cat count or count APIs. CAT APIs are only intended for human consumption
593
- using the command line or Kibana console. They are not intended for use by applications.
594
- For application consumption, use an index endpoint.
595
-
596
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
608
+ .. raw:: html
609
+
610
+ <p>Get index information.</p>
611
+ <p>Get high-level information about indices in a cluster, including backing indices for data streams.</p>
612
+ <p>Use this request to get the following information for each index in a cluster:</p>
613
+ <ul>
614
+ <li>shard count</li>
615
+ <li>document count</li>
616
+ <li>deleted document count</li>
617
+ <li>primary store size</li>
618
+ <li>total store size of all shards, including shard replicas</li>
619
+ </ul>
620
+ <p>These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents.
621
+ To get an accurate count of Elasticsearch documents, use the cat count or count APIs.</p>
622
+ <p>CAT APIs are only intended for human consumption using the command line or Kibana console.
623
+ They are not intended for use by applications. For application consumption, use an index endpoint.</p>
624
+
625
+
626
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-indices.html>`_
597
627
 
598
628
  :param index: Comma-separated list of data streams, indices, and aliases used
599
629
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -684,12 +714,14 @@ class CatClient(NamespacedClient):
684
714
  v: t.Optional[bool] = None,
685
715
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
686
716
  """
687
- Returns information about the master node, including the ID, bound IP address,
688
- and name. IMPORTANT: cat APIs are only intended for human consumption using the
689
- command line or Kibana console. They are not intended for use by applications.
690
- For application consumption, use the nodes info API.
717
+ .. raw:: html
718
+
719
+ <p>Get master node information.</p>
720
+ <p>Get information about the master node, including the ID, bound IP address, and name.</p>
721
+ <p>IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
691
722
 
692
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
723
+
724
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-master.html>`_
693
725
 
694
726
  :param format: Specifies the format to return the columnar data in, can be set
695
727
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -858,13 +890,16 @@ class CatClient(NamespacedClient):
858
890
  v: t.Optional[bool] = None,
859
891
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
860
892
  """
861
- Get data frame analytics jobs. Returns configuration and usage information about
862
- data frame analytics jobs. CAT APIs are only intended for human consumption using
863
- the Kibana console or command line. They are not intended for use by applications.
864
- For application consumption, use the get data frame analytics jobs statistics
865
- API.
893
+ .. raw:: html
894
+
895
+ <p>Get data frame analytics jobs.</p>
896
+ <p>Get configuration and usage information about data frame analytics jobs.</p>
897
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
898
+ console or command line. They are not intended for use by applications. For
899
+ application consumption, use the get data frame analytics jobs statistics API.</p>
866
900
 
867
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
901
+
902
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-dfanalytics.html>`_
868
903
 
869
904
  :param id: The ID of the data frame analytics to fetch
870
905
  :param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -1020,14 +1055,19 @@ class CatClient(NamespacedClient):
1020
1055
  v: t.Optional[bool] = None,
1021
1056
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1022
1057
  """
1023
- Get datafeeds. Returns configuration and usage information about datafeeds. This
1024
- API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features
1025
- are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
1026
- cluster privileges to use this API. CAT APIs are only intended for human consumption
1027
- using the Kibana console or command line. They are not intended for use by applications.
1028
- For application consumption, use the get datafeed statistics API.
1058
+ .. raw:: html
1059
+
1060
+ <p>Get datafeeds.</p>
1061
+ <p>Get configuration and usage information about datafeeds.
1062
+ This API returns a maximum of 10,000 datafeeds.
1063
+ If the Elasticsearch security features are enabled, you must have <code>monitor_ml</code>, <code>monitor</code>, <code>manage_ml</code>, or <code>manage</code>
1064
+ cluster privileges to use this API.</p>
1065
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
1066
+ console or command line. They are not intended for use by applications. For
1067
+ application consumption, use the get datafeed statistics API.</p>
1029
1068
 
1030
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
1069
+
1070
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-datafeeds.html>`_
1031
1071
 
1032
1072
  :param datafeed_id: A numerical character string that uniquely identifies the
1033
1073
  datafeed.
@@ -1381,15 +1421,19 @@ class CatClient(NamespacedClient):
1381
1421
  v: t.Optional[bool] = None,
1382
1422
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1383
1423
  """
1384
- Get anomaly detection jobs. Returns configuration and usage information for anomaly
1385
- detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch
1386
- security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
1387
- or `manage` cluster privileges to use this API. CAT APIs are only intended for
1388
- human consumption using the Kibana console or command line. They are not intended
1389
- for use by applications. For application consumption, use the get anomaly detection
1390
- job statistics API.
1424
+ .. raw:: html
1425
+
1426
+ <p>Get anomaly detection jobs.</p>
1427
+ <p>Get configuration and usage information for anomaly detection jobs.
1428
+ This API returns a maximum of 10,000 jobs.
1429
+ If the Elasticsearch security features are enabled, you must have <code>monitor_ml</code>,
1430
+ <code>monitor</code>, <code>manage_ml</code>, or <code>manage</code> cluster privileges to use this API.</p>
1431
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
1432
+ console or command line. They are not intended for use by applications. For
1433
+ application consumption, use the get anomaly detection job statistics API.</p>
1434
+
1391
1435
 
1392
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-anomaly-detectors.html>`_
1436
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-anomaly-detectors.html>`_
1393
1437
 
1394
1438
  :param job_id: Identifier for the anomaly detection job.
1395
1439
  :param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1565,12 +1609,16 @@ class CatClient(NamespacedClient):
1565
1609
  v: t.Optional[bool] = None,
1566
1610
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1567
1611
  """
1568
- Get trained models. Returns configuration and usage information about inference
1569
- trained models. CAT APIs are only intended for human consumption using the Kibana
1570
- console or command line. They are not intended for use by applications. For application
1571
- consumption, use the get trained models statistics API.
1612
+ .. raw:: html
1572
1613
 
1573
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
1614
+ <p>Get trained models.</p>
1615
+ <p>Get configuration and usage information about inference trained models.</p>
1616
+ <p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
1617
+ console or command line. They are not intended for use by applications. For
1618
+ application consumption, use the get trained models statistics API.</p>
1619
+
1620
+
1621
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-trained-model.html>`_
1574
1622
 
1575
1623
  :param model_id: A unique identifier for the trained model.
1576
1624
  :param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1656,12 +1704,14 @@ class CatClient(NamespacedClient):
1656
1704
  v: t.Optional[bool] = None,
1657
1705
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1658
1706
  """
1659
- Returns information about custom node attributes. IMPORTANT: cat APIs are only
1660
- intended for human consumption using the command line or Kibana console. They
1661
- are not intended for use by applications. For application consumption, use the
1662
- nodes info API.
1707
+ .. raw:: html
1708
+
1709
+ <p>Get node attribute information.</p>
1710
+ <p>Get information about custom node attributes.
1711
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
1712
+
1663
1713
 
1664
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodeattrs.html>`_
1714
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-nodeattrs.html>`_
1665
1715
 
1666
1716
  :param format: Specifies the format to return the columnar data in, can be set
1667
1717
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1737,12 +1787,14 @@ class CatClient(NamespacedClient):
1737
1787
  v: t.Optional[bool] = None,
1738
1788
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1739
1789
  """
1740
- Returns information about the nodes in a cluster. IMPORTANT: cat APIs are only
1741
- intended for human consumption using the command line or Kibana console. They
1742
- are not intended for use by applications. For application consumption, use the
1743
- nodes info API.
1790
+ .. raw:: html
1744
1791
 
1745
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
1792
+ <p>Get node information.</p>
1793
+ <p>Get information about the nodes in a cluster.
1794
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
1795
+
1796
+
1797
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-nodes.html>`_
1746
1798
 
1747
1799
  :param bytes: The unit used to display byte values.
1748
1800
  :param format: Specifies the format to return the columnar data in, can be set
@@ -1822,12 +1874,14 @@ class CatClient(NamespacedClient):
1822
1874
  v: t.Optional[bool] = None,
1823
1875
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1824
1876
  """
1825
- Returns cluster-level changes that have not yet been executed. IMPORTANT: cat
1826
- APIs are only intended for human consumption using the command line or Kibana
1827
- console. They are not intended for use by applications. For application consumption,
1828
- use the pending cluster tasks API.
1877
+ .. raw:: html
1878
+
1879
+ <p>Get pending task information.</p>
1880
+ <p>Get information about cluster-level changes that have not yet taken effect.
1881
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.</p>
1829
1882
 
1830
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
1883
+
1884
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-pending-tasks.html>`_
1831
1885
 
1832
1886
  :param format: Specifies the format to return the columnar data in, can be set
1833
1887
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1900,12 +1954,14 @@ class CatClient(NamespacedClient):
1900
1954
  v: t.Optional[bool] = None,
1901
1955
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1902
1956
  """
1903
- Returns a list of plugins running on each node of a cluster. IMPORTANT: cat APIs
1904
- are only intended for human consumption using the command line or Kibana console.
1905
- They are not intended for use by applications. For application consumption, use
1906
- the nodes info API.
1957
+ .. raw:: html
1958
+
1959
+ <p>Get plugin information.</p>
1960
+ <p>Get a list of plugins running on each node of a cluster.
1961
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
1907
1962
 
1908
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
1963
+
1964
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-plugins.html>`_
1909
1965
 
1910
1966
  :param format: Specifies the format to return the columnar data in, can be set
1911
1967
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1984,16 +2040,16 @@ class CatClient(NamespacedClient):
1984
2040
  v: t.Optional[bool] = None,
1985
2041
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1986
2042
  """
1987
- Returns information about ongoing and completed shard recoveries. Shard recovery
1988
- is the process of initializing a shard copy, such as restoring a primary shard
1989
- from a snapshot or syncing a replica shard from a primary shard. When a shard
1990
- recovery completes, the recovered shard is available for search and indexing.
1991
- For data streams, the API returns information about the stream’s backing indices.
1992
- IMPORTANT: cat APIs are only intended for human consumption using the command
1993
- line or Kibana console. They are not intended for use by applications. For application
1994
- consumption, use the index recovery API.
2043
+ .. raw:: html
2044
+
2045
+ <p>Get shard recovery information.</p>
2046
+ <p>Get information about ongoing and completed shard recoveries.
2047
+ Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing.
2048
+ For data streams, the API returns information about the stream’s backing indices.
2049
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.</p>
1995
2050
 
1996
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
2051
+
2052
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-recovery.html>`_
1997
2053
 
1998
2054
  :param index: A comma-separated list of data streams, indices, and aliases used
1999
2055
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2074,12 +2130,14 @@ class CatClient(NamespacedClient):
2074
2130
  v: t.Optional[bool] = None,
2075
2131
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2076
2132
  """
2077
- Returns the snapshot repositories for a cluster. IMPORTANT: cat APIs are only
2078
- intended for human consumption using the command line or Kibana console. They
2079
- are not intended for use by applications. For application consumption, use the
2080
- get snapshot repository API.
2133
+ .. raw:: html
2134
+
2135
+ <p>Get snapshot repository information.</p>
2136
+ <p>Get a list of snapshot repositories for a cluster.
2137
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.</p>
2138
+
2081
2139
 
2082
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-repositories.html>`_
2140
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-repositories.html>`_
2083
2141
 
2084
2142
  :param format: Specifies the format to return the columnar data in, can be set
2085
2143
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2152,13 +2210,15 @@ class CatClient(NamespacedClient):
2152
2210
  v: t.Optional[bool] = None,
2153
2211
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2154
2212
  """
2155
- Returns low-level information about the Lucene segments in index shards. For
2156
- data streams, the API returns information about the backing indices. IMPORTANT:
2157
- cat APIs are only intended for human consumption using the command line or Kibana
2158
- console. They are not intended for use by applications. For application consumption,
2159
- use the index segments API.
2213
+ .. raw:: html
2160
2214
 
2161
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
2215
+ <p>Get segment information.</p>
2216
+ <p>Get low-level information about the Lucene segments in index shards.
2217
+ For data streams, the API returns information about the backing indices.
2218
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.</p>
2219
+
2220
+
2221
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-segments.html>`_
2162
2222
 
2163
2223
  :param index: A comma-separated list of data streams, indices, and aliases used
2164
2224
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2244,12 +2304,15 @@ class CatClient(NamespacedClient):
2244
2304
  v: t.Optional[bool] = None,
2245
2305
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2246
2306
  """
2247
- Returns information about the shards in a cluster. For data streams, the API
2248
- returns information about the backing indices. IMPORTANT: cat APIs are only intended
2249
- for human consumption using the command line or Kibana console. They are not
2250
- intended for use by applications.
2307
+ .. raw:: html
2308
+
2309
+ <p>Get shard information.</p>
2310
+ <p>Get information about the shards in a cluster.
2311
+ For data streams, the API returns information about the backing indices.
2312
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
2313
+
2251
2314
 
2252
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-shards.html>`_
2315
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-shards.html>`_
2253
2316
 
2254
2317
  :param index: A comma-separated list of data streams, indices, and aliases used
2255
2318
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2330,13 +2393,15 @@ class CatClient(NamespacedClient):
2330
2393
  v: t.Optional[bool] = None,
2331
2394
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2332
2395
  """
2333
- Returns information about the snapshots stored in one or more repositories. A
2334
- snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT:
2335
- cat APIs are only intended for human consumption using the command line or Kibana
2336
- console. They are not intended for use by applications. For application consumption,
2337
- use the get snapshot API.
2396
+ .. raw:: html
2338
2397
 
2339
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
2398
+ <p>Get snapshot information.</p>
2399
+ <p>Get information about the snapshots stored in one or more repositories.
2400
+ A snapshot is a backup of an index or running Elasticsearch cluster.
2401
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.</p>
2402
+
2403
+
2404
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-snapshots.html>`_
2340
2405
 
2341
2406
  :param repository: A comma-separated list of snapshot repositories used to limit
2342
2407
  the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2422,12 +2487,14 @@ class CatClient(NamespacedClient):
2422
2487
  wait_for_completion: t.Optional[bool] = None,
2423
2488
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2424
2489
  """
2425
- Returns information about tasks currently executing in the cluster. IMPORTANT:
2426
- cat APIs are only intended for human consumption using the command line or Kibana
2427
- console. They are not intended for use by applications. For application consumption,
2428
- use the task management API.
2490
+ .. raw:: html
2491
+
2492
+ <p>Get task information.</p>
2493
+ <p>Get information about tasks currently running in the cluster.
2494
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.</p>
2429
2495
 
2430
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html>`_
2496
+
2497
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-tasks.html>`_
2431
2498
 
2432
2499
  :param actions: The task action names, which are used to limit the response.
2433
2500
  :param detailed: If `true`, the response includes detailed information about
@@ -2513,13 +2580,15 @@ class CatClient(NamespacedClient):
2513
2580
  v: t.Optional[bool] = None,
2514
2581
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2515
2582
  """
2516
- Returns information about index templates in a cluster. You can use index templates
2517
- to apply index settings and field mappings to new indices at creation. IMPORTANT:
2518
- cat APIs are only intended for human consumption using the command line or Kibana
2519
- console. They are not intended for use by applications. For application consumption,
2520
- use the get index template API.
2583
+ .. raw:: html
2584
+
2585
+ <p>Get index template information.</p>
2586
+ <p>Get information about the index templates in a cluster.
2587
+ You can use index templates to apply index settings and field mappings to new indices at creation.
2588
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.</p>
2521
2589
 
2522
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
2590
+
2591
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-templates.html>`_
2523
2592
 
2524
2593
  :param name: The name of the template to return. Accepts wildcard expressions.
2525
2594
  If omitted, all templates are returned.
@@ -2599,13 +2668,15 @@ class CatClient(NamespacedClient):
2599
2668
  v: t.Optional[bool] = None,
2600
2669
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2601
2670
  """
2602
- Returns thread pool statistics for each node in a cluster. Returned information
2603
- includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs
2604
- are only intended for human consumption using the command line or Kibana console.
2605
- They are not intended for use by applications. For application consumption, use
2606
- the nodes info API.
2671
+ .. raw:: html
2672
+
2673
+ <p>Get thread pool statistics.</p>
2674
+ <p>Get thread pool statistics for each node in a cluster.
2675
+ Returned information includes all built-in thread pools and custom thread pools.
2676
+ IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
2607
2677
 
2608
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
2678
+
2679
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-thread-pool.html>`_
2609
2680
 
2610
2681
  :param thread_pool_patterns: A comma-separated list of thread pool names used
2611
2682
  to limit the request. Accepts wildcard expressions.
@@ -2853,12 +2924,16 @@ class CatClient(NamespacedClient):
2853
2924
  v: t.Optional[bool] = None,
2854
2925
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2855
2926
  """
2856
- Get transforms. Returns configuration and usage information about transforms.
2857
- CAT APIs are only intended for human consumption using the Kibana console or
2858
- command line. They are not intended for use by applications. For application
2859
- consumption, use the get transform statistics API.
2927
+ .. raw:: html
2928
+
2929
+ <p>Get transform information.</p>
2930
+ <p>Get configuration and usage information about transforms.</p>
2931
+ <p>CAT APIs are only intended for human consumption using the Kibana
2932
+ console or command line. They are not intended for use by applications. For
2933
+ application consumption, use the get transform statistics API.</p>
2934
+
2860
2935
 
2861
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-transforms.html>`_
2936
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-transforms.html>`_
2862
2937
 
2863
2938
  :param transform_id: A transform identifier or a wildcard expression. If you
2864
2939
  do not specify one of these options, the API returns information for all