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.
- elasticsearch/__init__.py +2 -2
- elasticsearch/_async/client/__init__.py +2146 -859
- elasticsearch/_async/client/_base.py +0 -1
- elasticsearch/_async/client/async_search.py +44 -29
- elasticsearch/_async/client/autoscaling.py +32 -26
- elasticsearch/_async/client/cat.py +244 -169
- elasticsearch/_async/client/ccr.py +268 -128
- elasticsearch/_async/client/cluster.py +191 -164
- elasticsearch/_async/client/connector.py +212 -116
- elasticsearch/_async/client/dangling_indices.py +22 -16
- elasticsearch/_async/client/enrich.py +51 -11
- elasticsearch/_async/client/eql.py +54 -13
- elasticsearch/_async/client/esql.py +352 -4
- elasticsearch/_async/client/features.py +37 -27
- elasticsearch/_async/client/fleet.py +22 -10
- elasticsearch/_async/client/graph.py +10 -9
- elasticsearch/_async/client/ilm.py +108 -77
- elasticsearch/_async/client/indices.py +1112 -677
- elasticsearch/_async/client/inference.py +1875 -133
- elasticsearch/_async/client/ingest.py +83 -50
- elasticsearch/_async/client/license.py +90 -38
- elasticsearch/_async/client/logstash.py +20 -9
- elasticsearch/_async/client/migration.py +26 -17
- elasticsearch/_async/client/ml.py +642 -365
- elasticsearch/_async/client/monitoring.py +6 -3
- elasticsearch/_async/client/nodes.py +51 -53
- elasticsearch/_async/client/query_rules.py +59 -33
- elasticsearch/_async/client/rollup.py +124 -86
- elasticsearch/_async/client/search_application.py +60 -32
- elasticsearch/_async/client/searchable_snapshots.py +25 -12
- elasticsearch/_async/client/security.py +896 -558
- elasticsearch/_async/client/shutdown.py +34 -36
- elasticsearch/_async/client/simulate.py +22 -28
- elasticsearch/_async/client/slm.py +65 -40
- elasticsearch/_async/client/snapshot.py +190 -213
- elasticsearch/_async/client/sql.py +43 -22
- elasticsearch/_async/client/ssl.py +17 -18
- elasticsearch/_async/client/synonyms.py +58 -37
- elasticsearch/_async/client/tasks.py +77 -48
- elasticsearch/_async/client/text_structure.py +65 -56
- elasticsearch/_async/client/transform.py +124 -93
- elasticsearch/_async/client/watcher.py +116 -72
- elasticsearch/_async/client/xpack.py +18 -9
- elasticsearch/_async/helpers.py +1 -2
- elasticsearch/_sync/client/__init__.py +2146 -859
- elasticsearch/_sync/client/_base.py +0 -1
- elasticsearch/_sync/client/async_search.py +44 -29
- elasticsearch/_sync/client/autoscaling.py +32 -26
- elasticsearch/_sync/client/cat.py +244 -169
- elasticsearch/_sync/client/ccr.py +268 -128
- elasticsearch/_sync/client/cluster.py +191 -164
- elasticsearch/_sync/client/connector.py +212 -116
- elasticsearch/_sync/client/dangling_indices.py +22 -16
- elasticsearch/_sync/client/enrich.py +51 -11
- elasticsearch/_sync/client/eql.py +54 -13
- elasticsearch/_sync/client/esql.py +352 -4
- elasticsearch/_sync/client/features.py +37 -27
- elasticsearch/_sync/client/fleet.py +22 -10
- elasticsearch/_sync/client/graph.py +10 -9
- elasticsearch/_sync/client/ilm.py +108 -77
- elasticsearch/_sync/client/indices.py +1112 -677
- elasticsearch/_sync/client/inference.py +1875 -133
- elasticsearch/_sync/client/ingest.py +83 -50
- elasticsearch/_sync/client/license.py +90 -38
- elasticsearch/_sync/client/logstash.py +20 -9
- elasticsearch/_sync/client/migration.py +26 -17
- elasticsearch/_sync/client/ml.py +642 -365
- elasticsearch/_sync/client/monitoring.py +6 -3
- elasticsearch/_sync/client/nodes.py +51 -53
- elasticsearch/_sync/client/query_rules.py +59 -33
- elasticsearch/_sync/client/rollup.py +124 -86
- elasticsearch/_sync/client/search_application.py +60 -32
- elasticsearch/_sync/client/searchable_snapshots.py +25 -12
- elasticsearch/_sync/client/security.py +896 -558
- elasticsearch/_sync/client/shutdown.py +34 -36
- elasticsearch/_sync/client/simulate.py +22 -28
- elasticsearch/_sync/client/slm.py +65 -40
- elasticsearch/_sync/client/snapshot.py +190 -213
- elasticsearch/_sync/client/sql.py +43 -22
- elasticsearch/_sync/client/ssl.py +17 -18
- elasticsearch/_sync/client/synonyms.py +58 -37
- elasticsearch/_sync/client/tasks.py +77 -48
- elasticsearch/_sync/client/text_structure.py +65 -56
- elasticsearch/_sync/client/transform.py +124 -93
- elasticsearch/_sync/client/utils.py +1 -4
- elasticsearch/_sync/client/watcher.py +116 -72
- elasticsearch/_sync/client/xpack.py +18 -9
- elasticsearch/_version.py +1 -1
- elasticsearch/client.py +2 -0
- elasticsearch/dsl/__init__.py +203 -0
- elasticsearch/dsl/_async/__init__.py +16 -0
- elasticsearch/dsl/_async/document.py +522 -0
- elasticsearch/dsl/_async/faceted_search.py +50 -0
- elasticsearch/dsl/_async/index.py +639 -0
- elasticsearch/dsl/_async/mapping.py +49 -0
- elasticsearch/dsl/_async/search.py +233 -0
- elasticsearch/dsl/_async/update_by_query.py +47 -0
- elasticsearch/dsl/_sync/__init__.py +16 -0
- elasticsearch/dsl/_sync/document.py +514 -0
- elasticsearch/dsl/_sync/faceted_search.py +50 -0
- elasticsearch/dsl/_sync/index.py +597 -0
- elasticsearch/dsl/_sync/mapping.py +49 -0
- elasticsearch/dsl/_sync/search.py +226 -0
- elasticsearch/dsl/_sync/update_by_query.py +45 -0
- elasticsearch/dsl/aggs.py +3730 -0
- elasticsearch/dsl/analysis.py +341 -0
- elasticsearch/dsl/async_connections.py +37 -0
- elasticsearch/dsl/connections.py +142 -0
- elasticsearch/dsl/document.py +20 -0
- elasticsearch/dsl/document_base.py +444 -0
- elasticsearch/dsl/exceptions.py +32 -0
- elasticsearch/dsl/faceted_search.py +28 -0
- elasticsearch/dsl/faceted_search_base.py +489 -0
- elasticsearch/dsl/field.py +4254 -0
- elasticsearch/dsl/function.py +180 -0
- elasticsearch/dsl/index.py +23 -0
- elasticsearch/dsl/index_base.py +178 -0
- elasticsearch/dsl/mapping.py +19 -0
- elasticsearch/dsl/mapping_base.py +219 -0
- elasticsearch/dsl/query.py +2816 -0
- elasticsearch/dsl/response/__init__.py +388 -0
- elasticsearch/dsl/response/aggs.py +100 -0
- elasticsearch/dsl/response/hit.py +53 -0
- elasticsearch/dsl/search.py +20 -0
- elasticsearch/dsl/search_base.py +1040 -0
- elasticsearch/dsl/serializer.py +34 -0
- elasticsearch/dsl/types.py +6471 -0
- elasticsearch/dsl/update_by_query.py +19 -0
- elasticsearch/dsl/update_by_query_base.py +149 -0
- elasticsearch/dsl/utils.py +687 -0
- elasticsearch/dsl/wrappers.py +119 -0
- elasticsearch/helpers/actions.py +1 -1
- elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/METADATA +12 -2
- elasticsearch-8.18.0.dist-info/RECORD +161 -0
- elasticsearch-8.17.1.dist-info/RECORD +0 -119
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/WHEEL +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -38,11 +38,13 @@ class IlmClient(NamespacedClient):
|
|
|
38
38
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
39
39
|
) -> ObjectApiResponse[t.Any]:
|
|
40
40
|
"""
|
|
41
|
-
|
|
42
|
-
If the policy is being used to manage any indices, the request fails and returns
|
|
43
|
-
an error.
|
|
41
|
+
.. raw:: html
|
|
44
42
|
|
|
45
|
-
|
|
43
|
+
<p>Delete a lifecycle policy.
|
|
44
|
+
You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.</p>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-delete-lifecycle.html>`_
|
|
46
48
|
|
|
47
49
|
:param name: Identifier for the policy.
|
|
48
50
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -90,16 +92,17 @@ class IlmClient(NamespacedClient):
|
|
|
90
92
|
only_errors: t.Optional[bool] = None,
|
|
91
93
|
only_managed: t.Optional[bool] = None,
|
|
92
94
|
pretty: t.Optional[bool] = None,
|
|
93
|
-
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
94
95
|
) -> ObjectApiResponse[t.Any]:
|
|
95
96
|
"""
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
.. raw:: html
|
|
98
|
+
|
|
99
|
+
<p>Explain the lifecycle state.
|
|
100
|
+
Get the current lifecycle status for one or more indices.
|
|
101
|
+
For data streams, the API retrieves the current lifecycle status for the stream's backing indices.</p>
|
|
102
|
+
<p>The response indicates when the index entered each lifecycle state, provides the definition of the running phase, and information about any failures.</p>
|
|
103
|
+
|
|
101
104
|
|
|
102
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
105
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-explain-lifecycle.html>`_
|
|
103
106
|
|
|
104
107
|
:param index: Comma-separated list of data streams, indices, and aliases to target.
|
|
105
108
|
Supports wildcards (`*`). To target all data streams and indices, use `*`
|
|
@@ -112,8 +115,6 @@ class IlmClient(NamespacedClient):
|
|
|
112
115
|
while executing the policy, or attempting to use a policy that does not exist.
|
|
113
116
|
:param only_managed: Filters the returned indices to only indices that are managed
|
|
114
117
|
by ILM.
|
|
115
|
-
:param timeout: Period to wait for a response. If no response is received before
|
|
116
|
-
the timeout expires, the request fails and returns an error.
|
|
117
118
|
"""
|
|
118
119
|
if index in SKIP_IN_PATH:
|
|
119
120
|
raise ValueError("Empty value passed for parameter 'index'")
|
|
@@ -134,8 +135,6 @@ class IlmClient(NamespacedClient):
|
|
|
134
135
|
__query["only_managed"] = only_managed
|
|
135
136
|
if pretty is not None:
|
|
136
137
|
__query["pretty"] = pretty
|
|
137
|
-
if timeout is not None:
|
|
138
|
-
__query["timeout"] = timeout
|
|
139
138
|
__headers = {"accept": "application/json"}
|
|
140
139
|
return self.perform_request( # type: ignore[return-value]
|
|
141
140
|
"GET",
|
|
@@ -159,9 +158,12 @@ class IlmClient(NamespacedClient):
|
|
|
159
158
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
160
159
|
) -> ObjectApiResponse[t.Any]:
|
|
161
160
|
"""
|
|
162
|
-
|
|
161
|
+
.. raw:: html
|
|
162
|
+
|
|
163
|
+
<p>Get lifecycle policies.</p>
|
|
163
164
|
|
|
164
|
-
|
|
165
|
+
|
|
166
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-get-lifecycle.html>`_
|
|
165
167
|
|
|
166
168
|
:param name: Identifier for the policy.
|
|
167
169
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -210,9 +212,13 @@ class IlmClient(NamespacedClient):
|
|
|
210
212
|
pretty: t.Optional[bool] = None,
|
|
211
213
|
) -> ObjectApiResponse[t.Any]:
|
|
212
214
|
"""
|
|
213
|
-
|
|
215
|
+
.. raw:: html
|
|
216
|
+
|
|
217
|
+
<p>Get the ILM status.</p>
|
|
218
|
+
<p>Get the current index lifecycle management status.</p>
|
|
219
|
+
|
|
214
220
|
|
|
215
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
221
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-get-status.html>`_
|
|
216
222
|
"""
|
|
217
223
|
__path_parts: t.Dict[str, str] = {}
|
|
218
224
|
__path = "/_ilm/status"
|
|
@@ -251,20 +257,24 @@ class IlmClient(NamespacedClient):
|
|
|
251
257
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
252
258
|
) -> ObjectApiResponse[t.Any]:
|
|
253
259
|
"""
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
.. raw:: html
|
|
261
|
+
|
|
262
|
+
<p>Migrate to data tiers routing.
|
|
263
|
+
Switch the indices, ILM policies, and legacy, composable, and component templates from using custom node attributes and attribute-based allocation filters to using data tiers.
|
|
264
|
+
Optionally, delete one legacy index template.
|
|
265
|
+
Using node roles enables ILM to automatically move the indices between data tiers.</p>
|
|
266
|
+
<p>Migrating away from custom node attributes routing can be manually performed.
|
|
267
|
+
This API provides an automated way of performing three out of the four manual steps listed in the migration guide:</p>
|
|
268
|
+
<ol>
|
|
269
|
+
<li>Stop setting the custom hot attribute on new indices.</li>
|
|
270
|
+
<li>Remove custom allocation settings from existing ILM policies.</li>
|
|
271
|
+
<li>Replace custom allocation settings from existing indices with the corresponding tier preference.</li>
|
|
272
|
+
</ol>
|
|
273
|
+
<p>ILM must be stopped before performing the migration.
|
|
274
|
+
Use the stop ILM and get ILM status APIs to wait until the reported operation mode is <code>STOPPED</code>.</p>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-migrate-to-data-tiers.html>`_
|
|
268
278
|
|
|
269
279
|
:param dry_run: If true, simulates the migration from node attributes based allocation
|
|
270
280
|
filters to data tiers, but does not perform the migration. This provides
|
|
@@ -322,23 +332,22 @@ class IlmClient(NamespacedClient):
|
|
|
322
332
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
323
333
|
) -> ObjectApiResponse[t.Any]:
|
|
324
334
|
"""
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-move-to-step.html>`_
|
|
335
|
+
.. raw:: html
|
|
336
|
+
|
|
337
|
+
<p>Move to a lifecycle step.
|
|
338
|
+
Manually move an index into a specific step in the lifecycle policy and run that step.</p>
|
|
339
|
+
<p>WARNING: This operation can result in the loss of data. Manually moving an index into a specific step runs that step even if it has already been performed. This is a potentially destructive action and this should be considered an expert level API.</p>
|
|
340
|
+
<p>You must specify both the current step and the step to be executed in the body of the request.
|
|
341
|
+
The request will fail if the current step does not match the step currently running for the index
|
|
342
|
+
This is to prevent the index from being moved from an unexpected step into the next step.</p>
|
|
343
|
+
<p>When specifying the target (<code>next_step</code>) to which the index will be moved, either the name or both the action and name fields are optional.
|
|
344
|
+
If only the phase is specified, the index will move to the first step of the first action in the target phase.
|
|
345
|
+
If the phase and action are specified, the index will move to the first step of the specified action in the specified phase.
|
|
346
|
+
Only actions specified in the ILM policy are considered valid.
|
|
347
|
+
An index cannot move to a step that is not part of its policy.</p>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-move-to-step.html>`_
|
|
342
351
|
|
|
343
352
|
:param index: The name of the index whose lifecycle step is to change
|
|
344
353
|
:param current_step: The step that the index is expected to be in.
|
|
@@ -399,11 +408,14 @@ class IlmClient(NamespacedClient):
|
|
|
399
408
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
400
409
|
) -> ObjectApiResponse[t.Any]:
|
|
401
410
|
"""
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
411
|
+
.. raw:: html
|
|
412
|
+
|
|
413
|
+
<p>Create or update a lifecycle policy.
|
|
414
|
+
If the specified policy exists, it is replaced and the policy version is incremented.</p>
|
|
415
|
+
<p>NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.</p>
|
|
405
416
|
|
|
406
|
-
|
|
417
|
+
|
|
418
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-put-lifecycle.html>`_
|
|
407
419
|
|
|
408
420
|
:param name: Identifier for the policy.
|
|
409
421
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -460,10 +472,14 @@ class IlmClient(NamespacedClient):
|
|
|
460
472
|
pretty: t.Optional[bool] = None,
|
|
461
473
|
) -> ObjectApiResponse[t.Any]:
|
|
462
474
|
"""
|
|
463
|
-
|
|
464
|
-
|
|
475
|
+
.. raw:: html
|
|
476
|
+
|
|
477
|
+
<p>Remove policies from an index.
|
|
478
|
+
Remove the assigned lifecycle policies from an index or a data stream's backing indices.
|
|
479
|
+
It also stops managing the indices.</p>
|
|
480
|
+
|
|
465
481
|
|
|
466
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
482
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-remove-policy.html>`_
|
|
467
483
|
|
|
468
484
|
:param index: The name of the index to remove policy on
|
|
469
485
|
"""
|
|
@@ -501,12 +517,15 @@ class IlmClient(NamespacedClient):
|
|
|
501
517
|
pretty: t.Optional[bool] = None,
|
|
502
518
|
) -> ObjectApiResponse[t.Any]:
|
|
503
519
|
"""
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
520
|
+
.. raw:: html
|
|
521
|
+
|
|
522
|
+
<p>Retry a policy.
|
|
523
|
+
Retry running the lifecycle policy for an index that is in the ERROR step.
|
|
524
|
+
The API sets the policy back to the step where the error occurred and runs the step.
|
|
525
|
+
Use the explain lifecycle state API to determine whether an index is in the ERROR step.</p>
|
|
526
|
+
|
|
508
527
|
|
|
509
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
528
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-retry-policy.html>`_
|
|
510
529
|
|
|
511
530
|
:param index: The name of the indices (comma-separated) whose failed lifecycle
|
|
512
531
|
step is to be retry
|
|
@@ -546,14 +565,21 @@ class IlmClient(NamespacedClient):
|
|
|
546
565
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
547
566
|
) -> ObjectApiResponse[t.Any]:
|
|
548
567
|
"""
|
|
549
|
-
|
|
550
|
-
stopped. ILM is started automatically when the cluster is formed. Restarting
|
|
551
|
-
ILM is necessary only when it has been stopped using the stop ILM API.
|
|
568
|
+
.. raw:: html
|
|
552
569
|
|
|
553
|
-
|
|
570
|
+
<p>Start the ILM plugin.
|
|
571
|
+
Start the index lifecycle management plugin if it is currently stopped.
|
|
572
|
+
ILM is started automatically when the cluster is formed.
|
|
573
|
+
Restarting ILM is necessary only when it has been stopped using the stop ILM API.</p>
|
|
554
574
|
|
|
555
|
-
|
|
556
|
-
|
|
575
|
+
|
|
576
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-start.html>`_
|
|
577
|
+
|
|
578
|
+
:param master_timeout: Period to wait for a connection to the master node. If
|
|
579
|
+
no response is received before the timeout expires, the request fails and
|
|
580
|
+
returns an error.
|
|
581
|
+
:param timeout: Period to wait for a response. If no response is received before
|
|
582
|
+
the timeout expires, the request fails and returns an error.
|
|
557
583
|
"""
|
|
558
584
|
__path_parts: t.Dict[str, str] = {}
|
|
559
585
|
__path = "/_ilm/start"
|
|
@@ -592,17 +618,22 @@ class IlmClient(NamespacedClient):
|
|
|
592
618
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
593
619
|
) -> ObjectApiResponse[t.Any]:
|
|
594
620
|
"""
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
621
|
+
.. raw:: html
|
|
622
|
+
|
|
623
|
+
<p>Stop the ILM plugin.
|
|
624
|
+
Halt all lifecycle management operations and stop the index lifecycle management plugin.
|
|
625
|
+
This is useful when you are performing maintenance on the cluster and need to prevent ILM from performing any actions on your indices.</p>
|
|
626
|
+
<p>The API returns as soon as the stop request has been acknowledged, but the plugin might continue to run until in-progress operations complete and the plugin can be safely stopped.
|
|
627
|
+
Use the get ILM status API to check whether ILM is running.</p>
|
|
601
628
|
|
|
602
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-stop.html>`_
|
|
603
629
|
|
|
604
|
-
|
|
605
|
-
|
|
630
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-stop.html>`_
|
|
631
|
+
|
|
632
|
+
:param master_timeout: Period to wait for a connection to the master node. If
|
|
633
|
+
no response is received before the timeout expires, the request fails and
|
|
634
|
+
returns an error.
|
|
635
|
+
:param timeout: Period to wait for a response. If no response is received before
|
|
636
|
+
the timeout expires, the request fails and returns an error.
|
|
606
637
|
"""
|
|
607
638
|
__path_parts: t.Dict[str, str] = {}
|
|
608
639
|
__path = "/_ilm/stop"
|