elasticsearch 8.16.0__py3-none-any.whl → 8.17.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 (85) hide show
  1. elasticsearch/_async/client/__init__.py +82 -46
  2. elasticsearch/_async/client/async_search.py +12 -22
  3. elasticsearch/_async/client/autoscaling.py +39 -4
  4. elasticsearch/_async/client/cat.py +26 -26
  5. elasticsearch/_async/client/ccr.py +85 -35
  6. elasticsearch/_async/client/cluster.py +141 -49
  7. elasticsearch/_async/client/connector.py +25 -25
  8. elasticsearch/_async/client/dangling_indices.py +3 -3
  9. elasticsearch/_async/client/enrich.py +6 -6
  10. elasticsearch/_async/client/eql.py +13 -11
  11. elasticsearch/_async/client/esql.py +3 -2
  12. elasticsearch/_async/client/features.py +27 -5
  13. elasticsearch/_async/client/fleet.py +1 -1
  14. elasticsearch/_async/client/graph.py +9 -3
  15. elasticsearch/_async/client/ilm.py +69 -34
  16. elasticsearch/_async/client/indices.py +307 -105
  17. elasticsearch/_async/client/inference.py +5 -15
  18. elasticsearch/_async/client/ingest.py +28 -23
  19. elasticsearch/_async/client/license.py +38 -22
  20. elasticsearch/_async/client/logstash.py +3 -3
  21. elasticsearch/_async/client/migration.py +3 -3
  22. elasticsearch/_async/client/ml.py +125 -73
  23. elasticsearch/_async/client/monitoring.py +1 -1
  24. elasticsearch/_async/client/nodes.py +34 -20
  25. elasticsearch/_async/client/query_rules.py +17 -16
  26. elasticsearch/_async/client/rollup.py +8 -8
  27. elasticsearch/_async/client/search_application.py +8 -8
  28. elasticsearch/_async/client/searchable_snapshots.py +4 -4
  29. elasticsearch/_async/client/security.py +64 -57
  30. elasticsearch/_async/client/slm.py +9 -9
  31. elasticsearch/_async/client/snapshot.py +12 -12
  32. elasticsearch/_async/client/sql.py +16 -15
  33. elasticsearch/_async/client/ssl.py +1 -1
  34. elasticsearch/_async/client/synonyms.py +17 -14
  35. elasticsearch/_async/client/tasks.py +3 -3
  36. elasticsearch/_async/client/text_structure.py +2 -2
  37. elasticsearch/_async/client/transform.py +11 -11
  38. elasticsearch/_async/client/watcher.py +11 -11
  39. elasticsearch/_async/client/xpack.py +2 -2
  40. elasticsearch/_sync/client/__init__.py +82 -46
  41. elasticsearch/_sync/client/async_search.py +12 -22
  42. elasticsearch/_sync/client/autoscaling.py +39 -4
  43. elasticsearch/_sync/client/cat.py +26 -26
  44. elasticsearch/_sync/client/ccr.py +85 -35
  45. elasticsearch/_sync/client/cluster.py +141 -49
  46. elasticsearch/_sync/client/connector.py +25 -25
  47. elasticsearch/_sync/client/dangling_indices.py +3 -3
  48. elasticsearch/_sync/client/enrich.py +6 -6
  49. elasticsearch/_sync/client/eql.py +13 -11
  50. elasticsearch/_sync/client/esql.py +3 -2
  51. elasticsearch/_sync/client/features.py +27 -5
  52. elasticsearch/_sync/client/fleet.py +1 -1
  53. elasticsearch/_sync/client/graph.py +9 -3
  54. elasticsearch/_sync/client/ilm.py +69 -34
  55. elasticsearch/_sync/client/indices.py +307 -105
  56. elasticsearch/_sync/client/inference.py +5 -15
  57. elasticsearch/_sync/client/ingest.py +28 -23
  58. elasticsearch/_sync/client/license.py +38 -22
  59. elasticsearch/_sync/client/logstash.py +3 -3
  60. elasticsearch/_sync/client/migration.py +3 -3
  61. elasticsearch/_sync/client/ml.py +125 -73
  62. elasticsearch/_sync/client/monitoring.py +1 -1
  63. elasticsearch/_sync/client/nodes.py +34 -20
  64. elasticsearch/_sync/client/query_rules.py +17 -16
  65. elasticsearch/_sync/client/rollup.py +8 -8
  66. elasticsearch/_sync/client/search_application.py +8 -8
  67. elasticsearch/_sync/client/searchable_snapshots.py +4 -4
  68. elasticsearch/_sync/client/security.py +64 -57
  69. elasticsearch/_sync/client/slm.py +9 -9
  70. elasticsearch/_sync/client/snapshot.py +12 -12
  71. elasticsearch/_sync/client/sql.py +16 -15
  72. elasticsearch/_sync/client/ssl.py +1 -1
  73. elasticsearch/_sync/client/synonyms.py +17 -14
  74. elasticsearch/_sync/client/tasks.py +3 -3
  75. elasticsearch/_sync/client/text_structure.py +2 -2
  76. elasticsearch/_sync/client/transform.py +11 -11
  77. elasticsearch/_sync/client/watcher.py +11 -11
  78. elasticsearch/_sync/client/xpack.py +2 -2
  79. elasticsearch/_version.py +1 -1
  80. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/METADATA +6 -4
  81. elasticsearch-8.17.0.dist-info/RECORD +117 -0
  82. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/WHEEL +1 -1
  83. elasticsearch-8.16.0.dist-info/RECORD +0 -117
  84. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/licenses/LICENSE +0 -0
  85. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/licenses/NOTICE +0 -0
@@ -33,16 +33,23 @@ class AutoscalingClient(NamespacedClient):
33
33
  error_trace: t.Optional[bool] = None,
34
34
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
35
35
  human: t.Optional[bool] = None,
36
+ master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
36
37
  pretty: t.Optional[bool] = None,
38
+ timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
37
39
  ) -> ObjectApiResponse[t.Any]:
38
40
  """
39
41
  Delete an autoscaling policy. NOTE: This feature is designed for indirect use
40
42
  by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes.
41
43
  Direct use is not supported.
42
44
 
43
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/autoscaling-delete-autoscaling-policy.html>`_
45
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-delete-autoscaling-policy.html>`_
44
46
 
45
47
  :param name: the name of the autoscaling policy
48
+ :param master_timeout: Period to wait for a connection to the master node. If
49
+ no response is received before the timeout expires, the request fails and
50
+ returns an error.
51
+ :param timeout: Period to wait for a response. If no response is received before
52
+ the timeout expires, the request fails and returns an error.
46
53
  """
47
54
  if name in SKIP_IN_PATH:
48
55
  raise ValueError("Empty value passed for parameter 'name'")
@@ -55,8 +62,12 @@ class AutoscalingClient(NamespacedClient):
55
62
  __query["filter_path"] = filter_path
56
63
  if human is not None:
57
64
  __query["human"] = human
65
+ if master_timeout is not None:
66
+ __query["master_timeout"] = master_timeout
58
67
  if pretty is not None:
59
68
  __query["pretty"] = pretty
69
+ if timeout is not None:
70
+ __query["timeout"] = timeout
60
71
  __headers = {"accept": "application/json"}
61
72
  return await self.perform_request( # type: ignore[return-value]
62
73
  "DELETE",
@@ -74,6 +85,7 @@ class AutoscalingClient(NamespacedClient):
74
85
  error_trace: t.Optional[bool] = None,
75
86
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
76
87
  human: t.Optional[bool] = None,
88
+ master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
77
89
  pretty: t.Optional[bool] = None,
78
90
  ) -> ObjectApiResponse[t.Any]:
79
91
  """
@@ -90,7 +102,11 @@ class AutoscalingClient(NamespacedClient):
90
102
  capacity was required. This information is provided for diagnosis only. Do not
91
103
  use this information to make autoscaling decisions.
92
104
 
93
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/autoscaling-get-autoscaling-capacity.html>`_
105
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
106
+
107
+ :param master_timeout: Period to wait for a connection to the master node. If
108
+ no response is received before the timeout expires, the request fails and
109
+ returns an error.
94
110
  """
95
111
  __path_parts: t.Dict[str, str] = {}
96
112
  __path = "/_autoscaling/capacity"
@@ -101,6 +117,8 @@ class AutoscalingClient(NamespacedClient):
101
117
  __query["filter_path"] = filter_path
102
118
  if human is not None:
103
119
  __query["human"] = human
120
+ if master_timeout is not None:
121
+ __query["master_timeout"] = master_timeout
104
122
  if pretty is not None:
105
123
  __query["pretty"] = pretty
106
124
  __headers = {"accept": "application/json"}
@@ -121,6 +139,7 @@ class AutoscalingClient(NamespacedClient):
121
139
  error_trace: t.Optional[bool] = None,
122
140
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
123
141
  human: t.Optional[bool] = None,
142
+ master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
124
143
  pretty: t.Optional[bool] = None,
125
144
  ) -> ObjectApiResponse[t.Any]:
126
145
  """
@@ -128,9 +147,12 @@ class AutoscalingClient(NamespacedClient):
128
147
  Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes.
129
148
  Direct use is not supported.
130
149
 
131
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/autoscaling-get-autoscaling-capacity.html>`_
150
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
132
151
 
133
152
  :param name: the name of the autoscaling policy
153
+ :param master_timeout: Period to wait for a connection to the master node. If
154
+ no response is received before the timeout expires, the request fails and
155
+ returns an error.
134
156
  """
135
157
  if name in SKIP_IN_PATH:
136
158
  raise ValueError("Empty value passed for parameter 'name'")
@@ -143,6 +165,8 @@ class AutoscalingClient(NamespacedClient):
143
165
  __query["filter_path"] = filter_path
144
166
  if human is not None:
145
167
  __query["human"] = human
168
+ if master_timeout is not None:
169
+ __query["master_timeout"] = master_timeout
146
170
  if pretty is not None:
147
171
  __query["pretty"] = pretty
148
172
  __headers = {"accept": "application/json"}
@@ -167,17 +191,24 @@ class AutoscalingClient(NamespacedClient):
167
191
  error_trace: t.Optional[bool] = None,
168
192
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
169
193
  human: t.Optional[bool] = None,
194
+ master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
170
195
  pretty: t.Optional[bool] = None,
196
+ timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
171
197
  ) -> ObjectApiResponse[t.Any]:
172
198
  """
173
199
  Create or update an autoscaling policy. NOTE: This feature is designed for indirect
174
200
  use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on
175
201
  Kubernetes. Direct use is not supported.
176
202
 
177
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/autoscaling-put-autoscaling-policy.html>`_
203
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-put-autoscaling-policy.html>`_
178
204
 
179
205
  :param name: the name of the autoscaling policy
180
206
  :param policy:
207
+ :param master_timeout: Period to wait for a connection to the master node. If
208
+ no response is received before the timeout expires, the request fails and
209
+ returns an error.
210
+ :param timeout: Period to wait for a response. If no response is received before
211
+ the timeout expires, the request fails and returns an error.
181
212
  """
182
213
  if name in SKIP_IN_PATH:
183
214
  raise ValueError("Empty value passed for parameter 'name'")
@@ -196,8 +227,12 @@ class AutoscalingClient(NamespacedClient):
196
227
  __query["filter_path"] = filter_path
197
228
  if human is not None:
198
229
  __query["human"] = human
230
+ if master_timeout is not None:
231
+ __query["master_timeout"] = master_timeout
199
232
  if pretty is not None:
200
233
  __query["pretty"] = pretty
234
+ if timeout is not None:
235
+ __query["timeout"] = timeout
201
236
  __body = policy if policy is not None else body
202
237
  __headers = {"accept": "application/json", "content-type": "application/json"}
203
238
  return await self.perform_request( # type: ignore[return-value]
@@ -63,7 +63,7 @@ class CatClient(NamespacedClient):
63
63
  not intended for use by applications. For application consumption, use the aliases
64
64
  API.
65
65
 
66
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-alias.html>`_
66
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
67
67
 
68
68
  :param name: A comma-separated list of aliases to retrieve. Supports wildcards
69
69
  (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
@@ -151,7 +151,7 @@ class CatClient(NamespacedClient):
151
151
  disk space. IMPORTANT: cat APIs are only intended for human consumption using
152
152
  the command line or Kibana console. They are not intended for use by applications.
153
153
 
154
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-allocation.html>`_
154
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
155
155
 
156
156
  :param node_id: Comma-separated list of node identifiers or names used to limit
157
157
  the returned information.
@@ -238,7 +238,7 @@ class CatClient(NamespacedClient):
238
238
  for use by applications. For application consumption, use the get component template
239
239
  API.
240
240
 
241
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-component-templates.html>`_
241
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-component-templates.html>`_
242
242
 
243
243
  :param name: The name of the component template. Accepts wildcard expressions.
244
244
  If omitted, all component templates are returned.
@@ -322,7 +322,7 @@ class CatClient(NamespacedClient):
322
322
  console. They are not intended for use by applications. For application consumption,
323
323
  use the count API.
324
324
 
325
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-count.html>`_
325
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
326
326
 
327
327
  :param index: Comma-separated list of data streams, indices, and aliases used
328
328
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -408,7 +408,7 @@ class CatClient(NamespacedClient):
408
408
  using the command line or Kibana console. They are not intended for use by applications.
409
409
  For application consumption, use the nodes stats API.
410
410
 
411
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-fielddata.html>`_
411
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
412
412
 
413
413
  :param fields: Comma-separated list of fields used to limit returned information.
414
414
  To retrieve all fields, omit this parameter.
@@ -503,7 +503,7 @@ class CatClient(NamespacedClient):
503
503
  across multiple nodes. You also can use the API to track the recovery of a large
504
504
  cluster over a longer period of time.
505
505
 
506
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-health.html>`_
506
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
507
507
 
508
508
  :param format: Specifies the format to return the columnar data in, can be set
509
509
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -580,7 +580,7 @@ class CatClient(NamespacedClient):
580
580
  """
581
581
  Get CAT help. Returns help for the CAT APIs.
582
582
 
583
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat.html>`_
583
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
584
584
 
585
585
  :param format: Specifies the format to return the columnar data in, can be set
586
586
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -678,7 +678,7 @@ class CatClient(NamespacedClient):
678
678
  using the command line or Kibana console. They are not intended for use by applications.
679
679
  For application consumption, use an index endpoint.
680
680
 
681
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-indices.html>`_
681
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
682
682
 
683
683
  :param index: Comma-separated list of data streams, indices, and aliases used
684
684
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -780,7 +780,7 @@ class CatClient(NamespacedClient):
780
780
  command line or Kibana console. They are not intended for use by applications.
781
781
  For application consumption, use the nodes info API.
782
782
 
783
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-master.html>`_
783
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
784
784
 
785
785
  :param format: Specifies the format to return the columnar data in, can be set
786
786
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -955,7 +955,7 @@ class CatClient(NamespacedClient):
955
955
  For application consumption, use the get data frame analytics jobs statistics
956
956
  API.
957
957
 
958
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-dfanalytics.html>`_
958
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
959
959
 
960
960
  :param id: The ID of the data frame analytics to fetch
961
961
  :param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -1129,7 +1129,7 @@ class CatClient(NamespacedClient):
1129
1129
  using the Kibana console or command line. They are not intended for use by applications.
1130
1130
  For application consumption, use the get datafeed statistics API.
1131
1131
 
1132
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-datafeeds.html>`_
1132
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
1133
1133
 
1134
1134
  :param datafeed_id: A numerical character string that uniquely identifies the
1135
1135
  datafeed.
@@ -1502,7 +1502,7 @@ class CatClient(NamespacedClient):
1502
1502
  for use by applications. For application consumption, use the get anomaly detection
1503
1503
  job statistics API.
1504
1504
 
1505
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-anomaly-detectors.html>`_
1505
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-anomaly-detectors.html>`_
1506
1506
 
1507
1507
  :param job_id: Identifier for the anomaly detection job.
1508
1508
  :param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1691,7 +1691,7 @@ class CatClient(NamespacedClient):
1691
1691
  console or command line. They are not intended for use by applications. For application
1692
1692
  consumption, use the get trained models statistics API.
1693
1693
 
1694
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-trained-model.html>`_
1694
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
1695
1695
 
1696
1696
  :param model_id: A unique identifier for the trained model.
1697
1697
  :param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1788,7 +1788,7 @@ class CatClient(NamespacedClient):
1788
1788
  are not intended for use by applications. For application consumption, use the
1789
1789
  nodes info API.
1790
1790
 
1791
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-nodeattrs.html>`_
1791
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodeattrs.html>`_
1792
1792
 
1793
1793
  :param format: Specifies the format to return the columnar data in, can be set
1794
1794
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1867,7 +1867,7 @@ class CatClient(NamespacedClient):
1867
1867
  are not intended for use by applications. For application consumption, use the
1868
1868
  nodes info API.
1869
1869
 
1870
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-nodes.html>`_
1870
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
1871
1871
 
1872
1872
  :param bytes: The unit used to display byte values.
1873
1873
  :param format: Specifies the format to return the columnar data in, can be set
@@ -1952,7 +1952,7 @@ class CatClient(NamespacedClient):
1952
1952
  console. They are not intended for use by applications. For application consumption,
1953
1953
  use the pending cluster tasks API.
1954
1954
 
1955
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-pending-tasks.html>`_
1955
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
1956
1956
 
1957
1957
  :param format: Specifies the format to return the columnar data in, can be set
1958
1958
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2026,7 +2026,7 @@ class CatClient(NamespacedClient):
2026
2026
  They are not intended for use by applications. For application consumption, use
2027
2027
  the nodes info API.
2028
2028
 
2029
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-plugins.html>`_
2029
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
2030
2030
 
2031
2031
  :param format: Specifies the format to return the columnar data in, can be set
2032
2032
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2110,7 +2110,7 @@ class CatClient(NamespacedClient):
2110
2110
  line or Kibana console. They are not intended for use by applications. For application
2111
2111
  consumption, use the index recovery API.
2112
2112
 
2113
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-recovery.html>`_
2113
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
2114
2114
 
2115
2115
  :param index: A comma-separated list of data streams, indices, and aliases used
2116
2116
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2202,7 +2202,7 @@ class CatClient(NamespacedClient):
2202
2202
  are not intended for use by applications. For application consumption, use the
2203
2203
  get snapshot repository API.
2204
2204
 
2205
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-repositories.html>`_
2205
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-repositories.html>`_
2206
2206
 
2207
2207
  :param format: Specifies the format to return the columnar data in, can be set
2208
2208
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2281,7 +2281,7 @@ class CatClient(NamespacedClient):
2281
2281
  console. They are not intended for use by applications. For application consumption,
2282
2282
  use the index segments API.
2283
2283
 
2284
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-segments.html>`_
2284
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
2285
2285
 
2286
2286
  :param index: A comma-separated list of data streams, indices, and aliases used
2287
2287
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2370,7 +2370,7 @@ class CatClient(NamespacedClient):
2370
2370
  for human consumption using the command line or Kibana console. They are not
2371
2371
  intended for use by applications.
2372
2372
 
2373
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-shards.html>`_
2373
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-shards.html>`_
2374
2374
 
2375
2375
  :param index: A comma-separated list of data streams, indices, and aliases used
2376
2376
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2458,7 +2458,7 @@ class CatClient(NamespacedClient):
2458
2458
  console. They are not intended for use by applications. For application consumption,
2459
2459
  use the get snapshot API.
2460
2460
 
2461
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-snapshots.html>`_
2461
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
2462
2462
 
2463
2463
  :param repository: A comma-separated list of snapshot repositories used to limit
2464
2464
  the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2549,7 +2549,7 @@ class CatClient(NamespacedClient):
2549
2549
  console. They are not intended for use by applications. For application consumption,
2550
2550
  use the task management API.
2551
2551
 
2552
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/tasks.html>`_
2552
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html>`_
2553
2553
 
2554
2554
  :param actions: The task action names, which are used to limit the response.
2555
2555
  :param detailed: If `true`, the response includes detailed information about
@@ -2639,7 +2639,7 @@ class CatClient(NamespacedClient):
2639
2639
  console. They are not intended for use by applications. For application consumption,
2640
2640
  use the get index template API.
2641
2641
 
2642
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-templates.html>`_
2642
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
2643
2643
 
2644
2644
  :param name: The name of the template to return. Accepts wildcard expressions.
2645
2645
  If omitted, all templates are returned.
@@ -2725,7 +2725,7 @@ class CatClient(NamespacedClient):
2725
2725
  They are not intended for use by applications. For application consumption, use
2726
2726
  the nodes info API.
2727
2727
 
2728
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-thread-pool.html>`_
2728
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
2729
2729
 
2730
2730
  :param thread_pool_patterns: A comma-separated list of thread pool names used
2731
2731
  to limit the request. Accepts wildcard expressions.
@@ -2980,7 +2980,7 @@ class CatClient(NamespacedClient):
2980
2980
  command line. They are not intended for use by applications. For application
2981
2981
  consumption, use the get transform statistics API.
2982
2982
 
2983
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-transforms.html>`_
2983
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-transforms.html>`_
2984
2984
 
2985
2985
  :param transform_id: A transform identifier or a wildcard expression. If you
2986
2986
  do not specify one of these options, the API returns information for all
@@ -36,9 +36,10 @@ class CcrClient(NamespacedClient):
36
36
  pretty: t.Optional[bool] = None,
37
37
  ) -> ObjectApiResponse[t.Any]:
38
38
  """
39
- Deletes auto-follow patterns.
39
+ Delete auto-follow patterns. Delete a collection of cross-cluster replication
40
+ auto-follow patterns.
40
41
 
41
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-delete-auto-follow-pattern.html>`_
42
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-delete-auto-follow-pattern.html>`_
42
43
 
43
44
  :param name: The name of the auto follow pattern.
44
45
  """
@@ -107,9 +108,12 @@ class CcrClient(NamespacedClient):
107
108
  body: t.Optional[t.Dict[str, t.Any]] = None,
108
109
  ) -> ObjectApiResponse[t.Any]:
109
110
  """
110
- Creates a new follower index configured to follow the referenced leader index.
111
+ Create a follower. Create a cross-cluster replication follower index that follows
112
+ a specific leader index. When the API returns, the follower index exists and
113
+ cross-cluster replication starts replicating operations from the leader index
114
+ to the follower index.
111
115
 
112
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-put-follow.html>`_
116
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-put-follow.html>`_
113
117
 
114
118
  :param index: The name of the follower index
115
119
  :param leader_index:
@@ -198,10 +202,12 @@ class CcrClient(NamespacedClient):
198
202
  pretty: t.Optional[bool] = None,
199
203
  ) -> ObjectApiResponse[t.Any]:
200
204
  """
201
- Retrieves information about all follower indices, including parameters and status
202
- for each follower index
205
+ Get follower information. Get information about all cross-cluster replication
206
+ follower indices. For example, the results include follower index names, leader
207
+ index names, replication options, and whether the follower indices are active
208
+ or paused.
203
209
 
204
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-get-follow-info.html>`_
210
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-follow-info.html>`_
205
211
 
206
212
  :param index: A comma-separated list of index patterns; use `_all` to perform
207
213
  the operation on all indices
@@ -240,10 +246,11 @@ class CcrClient(NamespacedClient):
240
246
  pretty: t.Optional[bool] = None,
241
247
  ) -> ObjectApiResponse[t.Any]:
242
248
  """
243
- Retrieves follower stats. return shard-level stats about the following tasks
244
- associated with each shard for the specified indices.
249
+ Get follower stats. Get cross-cluster replication follower stats. The API returns
250
+ shard-level stats about the "following tasks" associated with each shard for
251
+ the specified indices.
245
252
 
246
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-get-follow-stats.html>`_
253
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-follow-stats.html>`_
247
254
 
248
255
  :param index: A comma-separated list of index patterns; use `_all` to perform
249
256
  the operation on all indices
@@ -294,9 +301,25 @@ class CcrClient(NamespacedClient):
294
301
  body: t.Optional[t.Dict[str, t.Any]] = None,
295
302
  ) -> ObjectApiResponse[t.Any]:
296
303
  """
297
- Removes the follower retention leases from the leader.
298
-
299
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-post-forget-follower.html>`_
304
+ Forget a follower. Remove the cross-cluster replication follower retention leases
305
+ from the leader. A following index takes out retention leases on its leader index.
306
+ These leases are used to increase the likelihood that the shards of the leader
307
+ index retain the history of operations that the shards of the following index
308
+ need to run replication. When a follower index is converted to a regular index
309
+ by the unfollow API (either by directly calling the API or by index lifecycle
310
+ management tasks), these leases are removed. However, removal of the leases can
311
+ fail, for example when the remote cluster containing the leader index is unavailable.
312
+ While the leases will eventually expire on their own, their extended existence
313
+ can cause the leader index to hold more history than necessary and prevent index
314
+ lifecycle management from performing some operations on the leader index. This
315
+ API exists to enable manually removing the leases when the unfollow API is unable
316
+ to do so. NOTE: This API does not stop replication by a following index. If you
317
+ use this API with a follower index that is still actively following, the following
318
+ index will add back retention leases on the leader. The only purpose of this
319
+ API is to handle the case of failure to remove the following retention leases
320
+ after the unfollow API is invoked.
321
+
322
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-post-forget-follower.html>`_
300
323
 
301
324
  :param index: the name of the leader index for which specified follower retention
302
325
  leases should be removed
@@ -350,10 +373,9 @@ class CcrClient(NamespacedClient):
350
373
  pretty: t.Optional[bool] = None,
351
374
  ) -> ObjectApiResponse[t.Any]:
352
375
  """
353
- Gets configured auto-follow patterns. Returns the specified auto-follow pattern
354
- collection.
376
+ Get auto-follow patterns. Get cross-cluster replication auto-follow patterns.
355
377
 
356
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-get-auto-follow-pattern.html>`_
378
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-auto-follow-pattern.html>`_
357
379
 
358
380
  :param name: Specifies the auto-follow pattern collection that you want to retrieve.
359
381
  If you do not specify a name, the API returns information for all collections.
@@ -395,9 +417,16 @@ class CcrClient(NamespacedClient):
395
417
  pretty: t.Optional[bool] = None,
396
418
  ) -> ObjectApiResponse[t.Any]:
397
419
  """
398
- Pauses an auto-follow pattern
420
+ Pause an auto-follow pattern. Pause a cross-cluster replication auto-follow pattern.
421
+ When the API returns, the auto-follow pattern is inactive. New indices that are
422
+ created on the remote cluster and match the auto-follow patterns are ignored.
423
+ You can resume auto-following with the resume auto-follow pattern API. When it
424
+ resumes, the auto-follow pattern is active again and automatically configures
425
+ follower indices for newly created indices on the remote cluster that match its
426
+ patterns. Remote indices that were created while the pattern was paused will
427
+ also be followed, unless they have been deleted or closed in the interim.
399
428
 
400
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-pause-auto-follow-pattern.html>`_
429
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-pause-auto-follow-pattern.html>`_
401
430
 
402
431
  :param name: The name of the auto follow pattern that should pause discovering
403
432
  new indices to follow.
@@ -436,10 +465,12 @@ class CcrClient(NamespacedClient):
436
465
  pretty: t.Optional[bool] = None,
437
466
  ) -> ObjectApiResponse[t.Any]:
438
467
  """
439
- Pauses a follower index. The follower index will not fetch any additional operations
440
- from the leader index.
468
+ Pause a follower. Pause a cross-cluster replication follower index. The follower
469
+ index will not fetch any additional operations from the leader index. You can
470
+ resume following with the resume follower API. You can pause and resume a follower
471
+ index to change the configuration of the following task.
441
472
 
442
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-post-pause-follow.html>`_
473
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-post-pause-follow.html>`_
443
474
 
444
475
  :param index: The name of the follower index that should pause following its
445
476
  leader index.
@@ -512,11 +543,16 @@ class CcrClient(NamespacedClient):
512
543
  body: t.Optional[t.Dict[str, t.Any]] = None,
513
544
  ) -> ObjectApiResponse[t.Any]:
514
545
  """
515
- Creates a new named collection of auto-follow patterns against a specified remote
516
- cluster. Newly created indices on the remote cluster matching any of the specified
517
- patterns will be automatically configured as follower indices.
546
+ Create or update auto-follow patterns. Create a collection of cross-cluster replication
547
+ auto-follow patterns for a remote cluster. Newly created indices on the remote
548
+ cluster that match any of the patterns are automatically configured as follower
549
+ indices. Indices on the remote cluster that were created before the auto-follow
550
+ pattern was created will not be auto-followed even if they match the pattern.
551
+ This API can also be used to update auto-follow patterns. NOTE: Follower indices
552
+ that were configured automatically before updating an auto-follow pattern will
553
+ remain unchanged even if they do not match against the new patterns.
518
554
 
519
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-put-auto-follow-pattern.html>`_
555
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-put-auto-follow-pattern.html>`_
520
556
 
521
557
  :param name: The name of the collection of auto-follow patterns.
522
558
  :param remote_cluster: The remote cluster containing the leader indices to match
@@ -638,9 +674,13 @@ class CcrClient(NamespacedClient):
638
674
  pretty: t.Optional[bool] = None,
639
675
  ) -> ObjectApiResponse[t.Any]:
640
676
  """
641
- Resumes an auto-follow pattern that has been paused
677
+ Resume an auto-follow pattern. Resume a cross-cluster replication auto-follow
678
+ pattern that was paused. The auto-follow pattern will resume configuring following
679
+ indices for newly created indices that match its patterns on the remote cluster.
680
+ Remote indices created while the pattern was paused will also be followed unless
681
+ they have been deleted or closed in the interim.
642
682
 
643
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-resume-auto-follow-pattern.html>`_
683
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-resume-auto-follow-pattern.html>`_
644
684
 
645
685
  :param name: The name of the auto follow pattern to resume discovering new indices
646
686
  to follow.
@@ -703,9 +743,13 @@ class CcrClient(NamespacedClient):
703
743
  body: t.Optional[t.Dict[str, t.Any]] = None,
704
744
  ) -> ObjectApiResponse[t.Any]:
705
745
  """
706
- Resumes a follower index that has been paused
746
+ Resume a follower. Resume a cross-cluster replication follower index that was
747
+ paused. The follower index could have been paused with the pause follower API.
748
+ Alternatively it could be paused due to replication that cannot be retried due
749
+ to failures during following tasks. When this API returns, the follower index
750
+ will resume fetching operations from the leader index.
707
751
 
708
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-post-resume-follow.html>`_
752
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-post-resume-follow.html>`_
709
753
 
710
754
  :param index: The name of the follow index to resume following.
711
755
  :param max_outstanding_read_requests:
@@ -785,9 +829,10 @@ class CcrClient(NamespacedClient):
785
829
  pretty: t.Optional[bool] = None,
786
830
  ) -> ObjectApiResponse[t.Any]:
787
831
  """
788
- Gets all stats related to cross-cluster replication.
832
+ Get cross-cluster replication stats. This API returns stats about auto-following
833
+ and the same shard-level stats as the get follower stats API.
789
834
 
790
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-get-stats.html>`_
835
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-stats.html>`_
791
836
  """
792
837
  __path_parts: t.Dict[str, str] = {}
793
838
  __path = "/_ccr/stats"
@@ -821,10 +866,15 @@ class CcrClient(NamespacedClient):
821
866
  pretty: t.Optional[bool] = None,
822
867
  ) -> ObjectApiResponse[t.Any]:
823
868
  """
824
- Stops the following task associated with a follower index and removes index metadata
825
- and settings associated with cross-cluster replication.
826
-
827
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ccr-post-unfollow.html>`_
869
+ Unfollow an index. Convert a cross-cluster replication follower index to a regular
870
+ index. The API stops the following task associated with a follower index and
871
+ removes index metadata and settings associated with cross-cluster replication.
872
+ The follower index must be paused and closed before you call the unfollow API.
873
+ NOTE: Currently cross-cluster replication does not support converting an existing
874
+ regular index to a follower index. Converting a follower index to a regular index
875
+ is an irreversible operation.
876
+
877
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-post-unfollow.html>`_
828
878
 
829
879
  :param index: The name of the follower index that should be turned into a regular
830
880
  index.