elasticsearch 8.17.2__py3-none-any.whl → 8.18.1__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 (137) hide show
  1. elasticsearch/_async/client/__init__.py +174 -79
  2. elasticsearch/_async/client/_base.py +0 -1
  3. elasticsearch/_async/client/async_search.py +12 -8
  4. elasticsearch/_async/client/autoscaling.py +4 -4
  5. elasticsearch/_async/client/cat.py +26 -26
  6. elasticsearch/_async/client/ccr.py +186 -72
  7. elasticsearch/_async/client/cluster.py +38 -19
  8. elasticsearch/_async/client/connector.py +30 -30
  9. elasticsearch/_async/client/dangling_indices.py +3 -3
  10. elasticsearch/_async/client/enrich.py +26 -5
  11. elasticsearch/_async/client/eql.py +32 -4
  12. elasticsearch/_async/client/esql.py +62 -6
  13. elasticsearch/_async/client/features.py +12 -2
  14. elasticsearch/_async/client/fleet.py +8 -2
  15. elasticsearch/_async/client/graph.py +1 -1
  16. elasticsearch/_async/client/ilm.py +23 -22
  17. elasticsearch/_async/client/indices.py +424 -132
  18. elasticsearch/_async/client/inference.py +1906 -61
  19. elasticsearch/_async/client/ingest.py +32 -38
  20. elasticsearch/_async/client/license.py +51 -16
  21. elasticsearch/_async/client/logstash.py +3 -3
  22. elasticsearch/_async/client/migration.py +3 -3
  23. elasticsearch/_async/client/ml.py +144 -115
  24. elasticsearch/_async/client/monitoring.py +1 -1
  25. elasticsearch/_async/client/nodes.py +9 -27
  26. elasticsearch/_async/client/query_rules.py +8 -8
  27. elasticsearch/_async/client/rollup.py +8 -8
  28. elasticsearch/_async/client/search_application.py +13 -13
  29. elasticsearch/_async/client/searchable_snapshots.py +4 -4
  30. elasticsearch/_async/client/security.py +71 -71
  31. elasticsearch/_async/client/shutdown.py +3 -10
  32. elasticsearch/_async/client/simulate.py +6 -6
  33. elasticsearch/_async/client/slm.py +9 -9
  34. elasticsearch/_async/client/snapshot.py +13 -17
  35. elasticsearch/_async/client/sql.py +6 -6
  36. elasticsearch/_async/client/ssl.py +1 -1
  37. elasticsearch/_async/client/synonyms.py +7 -7
  38. elasticsearch/_async/client/tasks.py +3 -9
  39. elasticsearch/_async/client/text_structure.py +4 -4
  40. elasticsearch/_async/client/transform.py +30 -28
  41. elasticsearch/_async/client/watcher.py +22 -14
  42. elasticsearch/_async/client/xpack.py +2 -2
  43. elasticsearch/_async/helpers.py +0 -1
  44. elasticsearch/_sync/client/__init__.py +174 -79
  45. elasticsearch/_sync/client/_base.py +0 -1
  46. elasticsearch/_sync/client/async_search.py +12 -8
  47. elasticsearch/_sync/client/autoscaling.py +4 -4
  48. elasticsearch/_sync/client/cat.py +26 -26
  49. elasticsearch/_sync/client/ccr.py +186 -72
  50. elasticsearch/_sync/client/cluster.py +38 -19
  51. elasticsearch/_sync/client/connector.py +30 -30
  52. elasticsearch/_sync/client/dangling_indices.py +3 -3
  53. elasticsearch/_sync/client/enrich.py +26 -5
  54. elasticsearch/_sync/client/eql.py +32 -4
  55. elasticsearch/_sync/client/esql.py +62 -6
  56. elasticsearch/_sync/client/features.py +12 -2
  57. elasticsearch/_sync/client/fleet.py +8 -2
  58. elasticsearch/_sync/client/graph.py +1 -1
  59. elasticsearch/_sync/client/ilm.py +23 -22
  60. elasticsearch/_sync/client/indices.py +424 -132
  61. elasticsearch/_sync/client/inference.py +1906 -61
  62. elasticsearch/_sync/client/ingest.py +32 -38
  63. elasticsearch/_sync/client/license.py +51 -16
  64. elasticsearch/_sync/client/logstash.py +3 -3
  65. elasticsearch/_sync/client/migration.py +3 -3
  66. elasticsearch/_sync/client/ml.py +144 -115
  67. elasticsearch/_sync/client/monitoring.py +1 -1
  68. elasticsearch/_sync/client/nodes.py +9 -27
  69. elasticsearch/_sync/client/query_rules.py +8 -8
  70. elasticsearch/_sync/client/rollup.py +8 -8
  71. elasticsearch/_sync/client/search_application.py +13 -13
  72. elasticsearch/_sync/client/searchable_snapshots.py +4 -4
  73. elasticsearch/_sync/client/security.py +71 -71
  74. elasticsearch/_sync/client/shutdown.py +3 -10
  75. elasticsearch/_sync/client/simulate.py +6 -6
  76. elasticsearch/_sync/client/slm.py +9 -9
  77. elasticsearch/_sync/client/snapshot.py +13 -17
  78. elasticsearch/_sync/client/sql.py +6 -6
  79. elasticsearch/_sync/client/ssl.py +1 -1
  80. elasticsearch/_sync/client/synonyms.py +7 -7
  81. elasticsearch/_sync/client/tasks.py +3 -9
  82. elasticsearch/_sync/client/text_structure.py +4 -4
  83. elasticsearch/_sync/client/transform.py +30 -28
  84. elasticsearch/_sync/client/utils.py +0 -3
  85. elasticsearch/_sync/client/watcher.py +22 -14
  86. elasticsearch/_sync/client/xpack.py +2 -2
  87. elasticsearch/_version.py +1 -1
  88. elasticsearch/dsl/__init__.py +203 -0
  89. elasticsearch/dsl/_async/__init__.py +16 -0
  90. elasticsearch/dsl/_async/document.py +522 -0
  91. elasticsearch/dsl/_async/faceted_search.py +50 -0
  92. elasticsearch/dsl/_async/index.py +639 -0
  93. elasticsearch/dsl/_async/mapping.py +49 -0
  94. elasticsearch/dsl/_async/search.py +233 -0
  95. elasticsearch/dsl/_async/update_by_query.py +47 -0
  96. elasticsearch/dsl/_sync/__init__.py +16 -0
  97. elasticsearch/dsl/_sync/document.py +514 -0
  98. elasticsearch/dsl/_sync/faceted_search.py +50 -0
  99. elasticsearch/dsl/_sync/index.py +597 -0
  100. elasticsearch/dsl/_sync/mapping.py +49 -0
  101. elasticsearch/dsl/_sync/search.py +226 -0
  102. elasticsearch/dsl/_sync/update_by_query.py +45 -0
  103. elasticsearch/dsl/aggs.py +3730 -0
  104. elasticsearch/dsl/analysis.py +341 -0
  105. elasticsearch/dsl/async_connections.py +37 -0
  106. elasticsearch/dsl/connections.py +142 -0
  107. elasticsearch/dsl/document.py +20 -0
  108. elasticsearch/dsl/document_base.py +444 -0
  109. elasticsearch/dsl/exceptions.py +32 -0
  110. elasticsearch/dsl/faceted_search.py +28 -0
  111. elasticsearch/dsl/faceted_search_base.py +489 -0
  112. elasticsearch/dsl/field.py +4392 -0
  113. elasticsearch/dsl/function.py +180 -0
  114. elasticsearch/dsl/index.py +23 -0
  115. elasticsearch/dsl/index_base.py +178 -0
  116. elasticsearch/dsl/mapping.py +19 -0
  117. elasticsearch/dsl/mapping_base.py +219 -0
  118. elasticsearch/dsl/query.py +2822 -0
  119. elasticsearch/dsl/response/__init__.py +388 -0
  120. elasticsearch/dsl/response/aggs.py +100 -0
  121. elasticsearch/dsl/response/hit.py +53 -0
  122. elasticsearch/dsl/search.py +20 -0
  123. elasticsearch/dsl/search_base.py +1040 -0
  124. elasticsearch/dsl/serializer.py +34 -0
  125. elasticsearch/dsl/types.py +6509 -0
  126. elasticsearch/dsl/update_by_query.py +19 -0
  127. elasticsearch/dsl/update_by_query_base.py +149 -0
  128. elasticsearch/dsl/utils.py +687 -0
  129. elasticsearch/dsl/wrappers.py +119 -0
  130. {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/METADATA +14 -2
  131. elasticsearch-8.18.1.dist-info/RECORD +163 -0
  132. elasticsearch-8.18.1.dist-info/licenses/LICENSE.txt +175 -0
  133. elasticsearch-8.18.1.dist-info/licenses/NOTICE.txt +559 -0
  134. elasticsearch-8.17.2.dist-info/RECORD +0 -119
  135. {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/WHEEL +0 -0
  136. {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/licenses/LICENSE +0 -0
  137. {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/licenses/NOTICE +0 -0
@@ -298,7 +298,6 @@ class BaseClient:
298
298
  def mimetype_header_to_compat(header: str) -> None:
299
299
  # Converts all parts of a Accept/Content-Type headers
300
300
  # from application/X -> application/vnd.elasticsearch+X
301
- nonlocal request_headers
302
301
  mimetype = request_headers.get(header, None)
303
302
  if mimetype:
304
303
  request_headers[header] = _COMPAT_MIMETYPE_RE.sub(
@@ -44,7 +44,7 @@ class AsyncSearchClient(NamespacedClient):
44
44
  If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the <code>cancel_task</code> cluster privilege.</p>
45
45
 
46
46
 
47
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
47
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/async-search.html>`_
48
48
 
49
49
  :param id: A unique identifier for the async search.
50
50
  """
@@ -94,11 +94,11 @@ class AsyncSearchClient(NamespacedClient):
94
94
  If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.</p>
95
95
 
96
96
 
97
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
97
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/async-search.html>`_
98
98
 
99
99
  :param id: A unique identifier for the async search.
100
- :param keep_alive: Specifies how long the async search should be available in
101
- the cluster. When not specified, the `keep_alive` set with the corresponding
100
+ :param keep_alive: The length of time that the async search should be available
101
+ in the cluster. When not specified, the `keep_alive` set with the corresponding
102
102
  submit async request will be used. Otherwise, it is possible to override
103
103
  the value and extend the validity of the request. When this period expires,
104
104
  the search, if still running, is cancelled. If the search is completed, its
@@ -157,13 +157,17 @@ class AsyncSearchClient(NamespacedClient):
157
157
 
158
158
  <p>Get the async search status.</p>
159
159
  <p>Get the status of a previously submitted async search request given its identifier, without retrieving search results.
160
- If the Elasticsearch security features are enabled, use of this API is restricted to the <code>monitoring_user</code> role.</p>
160
+ If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:</p>
161
+ <ul>
162
+ <li>The user or API key that submitted the original async search request.</li>
163
+ <li>Users that have the <code>monitor</code> cluster privilege or greater privileges.</li>
164
+ </ul>
161
165
 
162
166
 
163
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
167
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/async-search.html>`_
164
168
 
165
169
  :param id: A unique identifier for the async search.
166
- :param keep_alive: Specifies how long the async search needs to be available.
170
+ :param keep_alive: The length of time that the async search needs to be available.
167
171
  Ongoing async searches and any saved search results are deleted after this
168
172
  period.
169
173
  """
@@ -342,7 +346,7 @@ class AsyncSearchClient(NamespacedClient):
342
346
  The maximum allowed size for a stored async search response can be set by changing the <code>search.max_async_search_response_size</code> cluster level setting.</p>
343
347
 
344
348
 
345
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
349
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/async-search.html>`_
346
350
 
347
351
  :param index: A comma-separated list of index names to search; use `_all` or
348
352
  empty string to perform the operation on all indices
@@ -44,7 +44,7 @@ class AutoscalingClient(NamespacedClient):
44
44
  <p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
45
45
 
46
46
 
47
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-delete-autoscaling-policy.html>`_
47
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/autoscaling-delete-autoscaling-policy.html>`_
48
48
 
49
49
  :param name: the name of the autoscaling policy
50
50
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -104,7 +104,7 @@ class AutoscalingClient(NamespacedClient):
104
104
  Do not use this information to make autoscaling decisions.</p>
105
105
 
106
106
 
107
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
107
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/autoscaling-get-autoscaling-capacity.html>`_
108
108
 
109
109
  :param master_timeout: Period to wait for a connection to the master node. If
110
110
  no response is received before the timeout expires, the request fails and
@@ -151,7 +151,7 @@ class AutoscalingClient(NamespacedClient):
151
151
  <p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
152
152
 
153
153
 
154
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
154
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/autoscaling-get-autoscaling-capacity.html>`_
155
155
 
156
156
  :param name: the name of the autoscaling policy
157
157
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -206,7 +206,7 @@ class AutoscalingClient(NamespacedClient):
206
206
  <p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
207
207
 
208
208
 
209
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-put-autoscaling-policy.html>`_
209
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/autoscaling-put-autoscaling-policy.html>`_
210
210
 
211
211
  :param name: the name of the autoscaling policy
212
212
  :param policy:
@@ -65,7 +65,7 @@ class CatClient(NamespacedClient):
65
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
66
 
67
67
 
68
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
68
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-alias.html>`_
69
69
 
70
70
  :param name: A comma-separated list of aliases to retrieve. Supports wildcards
71
71
  (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
@@ -161,7 +161,7 @@ class CatClient(NamespacedClient):
161
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>
162
162
 
163
163
 
164
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
164
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-allocation.html>`_
165
165
 
166
166
  :param node_id: A comma-separated list of node identifiers or names used to limit
167
167
  the returned information.
@@ -250,7 +250,7 @@ class CatClient(NamespacedClient):
250
250
  They are not intended for use by applications. For application consumption, use the get component template API.</p>
251
251
 
252
252
 
253
- `<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>`_
254
254
 
255
255
  :param name: The name of the component template. It accepts wildcard expressions.
256
256
  If it is omitted, all component templates are returned.
@@ -334,7 +334,7 @@ class CatClient(NamespacedClient):
334
334
  They are not intended for use by applications. For application consumption, use the count API.</p>
335
335
 
336
336
 
337
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
337
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-count.html>`_
338
338
 
339
339
  :param index: A comma-separated list of data streams, indices, and aliases used
340
340
  to limit the request. It supports wildcards (`*`). To target all data streams
@@ -412,7 +412,7 @@ class CatClient(NamespacedClient):
412
412
  They are not intended for use by applications. For application consumption, use the nodes stats API.</p>
413
413
 
414
414
 
415
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
415
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-fielddata.html>`_
416
416
 
417
417
  :param fields: Comma-separated list of fields used to limit returned information.
418
418
  To retrieve all fields, omit this parameter.
@@ -498,7 +498,7 @@ class CatClient(NamespacedClient):
498
498
  You also can use the API to track the recovery of a large cluster over a longer period of time.</p>
499
499
 
500
500
 
501
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
501
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-health.html>`_
502
502
 
503
503
  :param format: Specifies the format to return the columnar data in, can be set
504
504
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -556,7 +556,7 @@ class CatClient(NamespacedClient):
556
556
  <p>Get help for the CAT APIs.</p>
557
557
 
558
558
 
559
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
559
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat.html>`_
560
560
  """
561
561
  __path_parts: t.Dict[str, str] = {}
562
562
  __path = "/_cat"
@@ -623,7 +623,7 @@ class CatClient(NamespacedClient):
623
623
  They are not intended for use by applications. For application consumption, use an index endpoint.</p>
624
624
 
625
625
 
626
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
626
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-indices.html>`_
627
627
 
628
628
  :param index: Comma-separated list of data streams, indices, and aliases used
629
629
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -721,7 +721,7 @@ class CatClient(NamespacedClient):
721
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>
722
722
 
723
723
 
724
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
724
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-master.html>`_
725
725
 
726
726
  :param format: Specifies the format to return the columnar data in, can be set
727
727
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -899,7 +899,7 @@ class CatClient(NamespacedClient):
899
899
  application consumption, use the get data frame analytics jobs statistics API.</p>
900
900
 
901
901
 
902
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
902
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-dfanalytics.html>`_
903
903
 
904
904
  :param id: The ID of the data frame analytics to fetch
905
905
  :param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -1067,7 +1067,7 @@ class CatClient(NamespacedClient):
1067
1067
  application consumption, use the get datafeed statistics API.</p>
1068
1068
 
1069
1069
 
1070
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
1070
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-datafeeds.html>`_
1071
1071
 
1072
1072
  :param datafeed_id: A numerical character string that uniquely identifies the
1073
1073
  datafeed.
@@ -1433,7 +1433,7 @@ class CatClient(NamespacedClient):
1433
1433
  application consumption, use the get anomaly detection job statistics API.</p>
1434
1434
 
1435
1435
 
1436
- `<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>`_
1437
1437
 
1438
1438
  :param job_id: Identifier for the anomaly detection job.
1439
1439
  :param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1618,7 +1618,7 @@ class CatClient(NamespacedClient):
1618
1618
  application consumption, use the get trained models statistics API.</p>
1619
1619
 
1620
1620
 
1621
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
1621
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-trained-model.html>`_
1622
1622
 
1623
1623
  :param model_id: A unique identifier for the trained model.
1624
1624
  :param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1711,7 +1711,7 @@ class CatClient(NamespacedClient):
1711
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
1712
 
1713
1713
 
1714
- `<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>`_
1715
1715
 
1716
1716
  :param format: Specifies the format to return the columnar data in, can be set
1717
1717
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1794,7 +1794,7 @@ class CatClient(NamespacedClient):
1794
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
1795
 
1796
1796
 
1797
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
1797
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-nodes.html>`_
1798
1798
 
1799
1799
  :param bytes: The unit used to display byte values.
1800
1800
  :param format: Specifies the format to return the columnar data in, can be set
@@ -1881,7 +1881,7 @@ class CatClient(NamespacedClient):
1881
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>
1882
1882
 
1883
1883
 
1884
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
1884
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-pending-tasks.html>`_
1885
1885
 
1886
1886
  :param format: Specifies the format to return the columnar data in, can be set
1887
1887
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1961,7 +1961,7 @@ class CatClient(NamespacedClient):
1961
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>
1962
1962
 
1963
1963
 
1964
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
1964
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-plugins.html>`_
1965
1965
 
1966
1966
  :param format: Specifies the format to return the columnar data in, can be set
1967
1967
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2049,7 +2049,7 @@ class CatClient(NamespacedClient):
2049
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>
2050
2050
 
2051
2051
 
2052
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
2052
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-recovery.html>`_
2053
2053
 
2054
2054
  :param index: A comma-separated list of data streams, indices, and aliases used
2055
2055
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2137,7 +2137,7 @@ class CatClient(NamespacedClient):
2137
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
2138
 
2139
2139
 
2140
- `<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>`_
2141
2141
 
2142
2142
  :param format: Specifies the format to return the columnar data in, can be set
2143
2143
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2218,7 +2218,7 @@ class CatClient(NamespacedClient):
2218
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
2219
 
2220
2220
 
2221
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
2221
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-segments.html>`_
2222
2222
 
2223
2223
  :param index: A comma-separated list of data streams, indices, and aliases used
2224
2224
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2312,7 +2312,7 @@ class CatClient(NamespacedClient):
2312
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
2313
 
2314
2314
 
2315
- `<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>`_
2316
2316
 
2317
2317
  :param index: A comma-separated list of data streams, indices, and aliases used
2318
2318
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2401,7 +2401,7 @@ class CatClient(NamespacedClient):
2401
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
2402
 
2403
2403
 
2404
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
2404
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-snapshots.html>`_
2405
2405
 
2406
2406
  :param repository: A comma-separated list of snapshot repositories used to limit
2407
2407
  the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2494,7 +2494,7 @@ class CatClient(NamespacedClient):
2494
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>
2495
2495
 
2496
2496
 
2497
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html>`_
2497
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-tasks.html>`_
2498
2498
 
2499
2499
  :param actions: The task action names, which are used to limit the response.
2500
2500
  :param detailed: If `true`, the response includes detailed information about
@@ -2588,7 +2588,7 @@ class CatClient(NamespacedClient):
2588
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>
2589
2589
 
2590
2590
 
2591
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
2591
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-templates.html>`_
2592
2592
 
2593
2593
  :param name: The name of the template to return. Accepts wildcard expressions.
2594
2594
  If omitted, all templates are returned.
@@ -2676,7 +2676,7 @@ class CatClient(NamespacedClient):
2676
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>
2677
2677
 
2678
2678
 
2679
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
2679
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cat-thread-pool.html>`_
2680
2680
 
2681
2681
  :param thread_pool_patterns: A comma-separated list of thread pool names used
2682
2682
  to limit the request. Accepts wildcard expressions.
@@ -2933,7 +2933,7 @@ class CatClient(NamespacedClient):
2933
2933
  application consumption, use the get transform statistics API.</p>
2934
2934
 
2935
2935
 
2936
- `<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>`_
2937
2937
 
2938
2938
  :param transform_id: A transform identifier or a wildcard expression. If you
2939
2939
  do not specify one of these options, the API returns information for all