elasticsearch 8.17.1__py3-none-any.whl → 9.0.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 (142) hide show
  1. elasticsearch/__init__.py +2 -2
  2. elasticsearch/_async/client/__init__.py +2125 -1053
  3. elasticsearch/_async/client/_base.py +1 -2
  4. elasticsearch/_async/client/async_search.py +46 -35
  5. elasticsearch/_async/client/autoscaling.py +32 -26
  6. elasticsearch/_async/client/cat.py +244 -176
  7. elasticsearch/_async/client/ccr.py +268 -128
  8. elasticsearch/_async/client/cluster.py +191 -164
  9. elasticsearch/_async/client/connector.py +226 -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 +351 -7
  14. elasticsearch/_async/client/features.py +37 -27
  15. elasticsearch/_async/client/fleet.py +32 -22
  16. elasticsearch/_async/client/graph.py +10 -9
  17. elasticsearch/_async/client/ilm.py +115 -77
  18. elasticsearch/_async/client/indices.py +1119 -772
  19. elasticsearch/_async/client/inference.py +1933 -84
  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 +646 -374
  25. elasticsearch/_async/client/monitoring.py +6 -3
  26. elasticsearch/_async/client/nodes.py +52 -54
  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 +903 -562
  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 +454 -327
  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 +117 -73
  43. elasticsearch/_async/client/xpack.py +18 -9
  44. elasticsearch/_async/helpers.py +1 -2
  45. elasticsearch/_sync/client/__init__.py +2125 -1053
  46. elasticsearch/_sync/client/_base.py +1 -2
  47. elasticsearch/_sync/client/async_search.py +46 -35
  48. elasticsearch/_sync/client/autoscaling.py +32 -26
  49. elasticsearch/_sync/client/cat.py +244 -176
  50. elasticsearch/_sync/client/ccr.py +268 -128
  51. elasticsearch/_sync/client/cluster.py +191 -164
  52. elasticsearch/_sync/client/connector.py +226 -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 +351 -7
  57. elasticsearch/_sync/client/features.py +37 -27
  58. elasticsearch/_sync/client/fleet.py +32 -22
  59. elasticsearch/_sync/client/graph.py +10 -9
  60. elasticsearch/_sync/client/ilm.py +115 -77
  61. elasticsearch/_sync/client/indices.py +1119 -772
  62. elasticsearch/_sync/client/inference.py +1933 -84
  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 +646 -374
  68. elasticsearch/_sync/client/monitoring.py +6 -3
  69. elasticsearch/_sync/client/nodes.py +52 -54
  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 +903 -562
  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 +454 -327
  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 -41
  86. elasticsearch/_sync/client/watcher.py +117 -73
  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 +237 -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 +230 -0
  104. elasticsearch/dsl/_sync/update_by_query.py +45 -0
  105. elasticsearch/dsl/aggs.py +3734 -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 +4392 -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 +2822 -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 +1053 -0
  126. elasticsearch/dsl/serializer.py +34 -0
  127. elasticsearch/dsl/types.py +6453 -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 +144 -0
  132. elasticsearch/helpers/actions.py +1 -1
  133. elasticsearch/helpers/vectorstore/_async/strategies.py +12 -12
  134. elasticsearch/helpers/vectorstore/_sync/strategies.py +12 -12
  135. elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
  136. {elasticsearch-8.17.1.dist-info → elasticsearch-9.0.0.dist-info}/METADATA +12 -15
  137. elasticsearch-9.0.0.dist-info/RECORD +160 -0
  138. elasticsearch/transport.py +0 -57
  139. elasticsearch-8.17.1.dist-info/RECORD +0 -119
  140. {elasticsearch-8.17.1.dist-info → elasticsearch-9.0.0.dist-info}/WHEEL +0 -0
  141. {elasticsearch-8.17.1.dist-info → elasticsearch-9.0.0.dist-info}/licenses/LICENSE +0 -0
  142. {elasticsearch-8.17.1.dist-info → elasticsearch-9.0.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
- Delete a lifecycle policy. You cannot delete policies that are currently in use.
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
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-delete-lifecycle.html>`_
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/docs/api/doc/elasticsearch/v9/operation/operation-ilm-delete-lifecycle>`_
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
- Explain the lifecycle state. Get the current lifecycle status for one or more
97
- indices. For data streams, the API retrieves the current lifecycle status for
98
- the stream's backing indices. The response indicates when the index entered each
99
- lifecycle state, provides the definition of the running phase, and information
100
- about any failures.
97
+ .. raw:: html
101
98
 
102
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-explain-lifecycle.html>`_
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
+
104
+
105
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-explain-lifecycle>`_
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 await 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
- Get lifecycle policies.
161
+ .. raw:: html
162
+
163
+ <p>Get lifecycle policies.</p>
164
+
163
165
 
164
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-get-lifecycle.html>`_
166
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-get-lifecycle>`_
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
- Get the ILM status. Get the current index lifecycle management status.
215
+ .. raw:: html
214
216
 
215
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-get-status.html>`_
217
+ <p>Get the ILM status.</p>
218
+ <p>Get the current index lifecycle management status.</p>
219
+
220
+
221
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-get-status>`_
216
222
  """
217
223
  __path_parts: t.Dict[str, str] = {}
218
224
  __path = "/_ilm/status"
@@ -246,30 +252,39 @@ class IlmClient(NamespacedClient):
246
252
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
247
253
  human: t.Optional[bool] = None,
248
254
  legacy_template_to_delete: t.Optional[str] = None,
255
+ master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
249
256
  node_attribute: t.Optional[str] = None,
250
257
  pretty: t.Optional[bool] = None,
251
258
  body: t.Optional[t.Dict[str, t.Any]] = None,
252
259
  ) -> ObjectApiResponse[t.Any]:
253
260
  """
254
- Migrate to data tiers routing. Switch the indices, ILM policies, and legacy,
255
- composable, and component templates from using custom node attributes and attribute-based
256
- allocation filters to using data tiers. Optionally, delete one legacy index template.
257
- Using node roles enables ILM to automatically move the indices between data tiers.
258
- Migrating away from custom node attributes routing can be manually performed.
259
- This API provides an automated way of performing three out of the four manual
260
- steps listed in the migration guide: 1. Stop setting the custom hot attribute
261
- on new indices. 1. Remove custom allocation settings from existing ILM policies.
262
- 1. Replace custom allocation settings from existing indices with the corresponding
263
- tier preference. ILM must be stopped before performing the migration. Use the
264
- stop ILM and get ILM status APIs to wait until the reported operation mode is
265
- `STOPPED`.
266
-
267
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-migrate-to-data-tiers.html>`_
261
+ .. raw:: html
262
+
263
+ <p>Migrate to data tiers routing.
264
+ 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.
265
+ Optionally, delete one legacy index template.
266
+ Using node roles enables ILM to automatically move the indices between data tiers.</p>
267
+ <p>Migrating away from custom node attributes routing can be manually performed.
268
+ This API provides an automated way of performing three out of the four manual steps listed in the migration guide:</p>
269
+ <ol>
270
+ <li>Stop setting the custom hot attribute on new indices.</li>
271
+ <li>Remove custom allocation settings from existing ILM policies.</li>
272
+ <li>Replace custom allocation settings from existing indices with the corresponding tier preference.</li>
273
+ </ol>
274
+ <p>ILM must be stopped before performing the migration.
275
+ Use the stop ILM and get ILM status APIs to wait until the reported operation mode is <code>STOPPED</code>.</p>
276
+
277
+
278
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-migrate-to-data-tiers>`_
268
279
 
269
280
  :param dry_run: If true, simulates the migration from node attributes based allocation
270
281
  filters to data tiers, but does not perform the migration. This provides
271
282
  a way to retrieve the indices and ILM policies that need to be migrated.
272
283
  :param legacy_template_to_delete:
284
+ :param master_timeout: The period to wait for a connection to the master node.
285
+ If no response is received before the timeout expires, the request fails
286
+ and returns an error. It can also be set to `-1` to indicate that the request
287
+ should never timeout.
273
288
  :param node_attribute:
274
289
  """
275
290
  __path_parts: t.Dict[str, str] = {}
@@ -284,6 +299,8 @@ class IlmClient(NamespacedClient):
284
299
  __query["filter_path"] = filter_path
285
300
  if human is not None:
286
301
  __query["human"] = human
302
+ if master_timeout is not None:
303
+ __query["master_timeout"] = master_timeout
287
304
  if pretty is not None:
288
305
  __query["pretty"] = pretty
289
306
  if not __body:
@@ -322,23 +339,22 @@ class IlmClient(NamespacedClient):
322
339
  body: t.Optional[t.Dict[str, t.Any]] = None,
323
340
  ) -> ObjectApiResponse[t.Any]:
324
341
  """
325
- Move to a lifecycle step. Manually move an index into a specific step in the
326
- lifecycle policy and run that step. WARNING: This operation can result in the
327
- loss of data. Manually moving an index into a specific step runs that step even
328
- if it has already been performed. This is a potentially destructive action and
329
- this should be considered an expert level API. You must specify both the current
330
- step and the step to be executed in the body of the request. The request will
331
- fail if the current step does not match the step currently running for the index
332
- This is to prevent the index from being moved from an unexpected step into the
333
- next step. When specifying the target (`next_step`) to which the index will be
334
- moved, either the name or both the action and name fields are optional. If only
335
- the phase is specified, the index will move to the first step of the first action
336
- in the target phase. If the phase and action are specified, the index will move
337
- to the first step of the specified action in the specified phase. Only actions
338
- specified in the ILM policy are considered valid. An index cannot move to a step
339
- that is not part of its policy.
340
-
341
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-move-to-step.html>`_
342
+ .. raw:: html
343
+
344
+ <p>Move to a lifecycle step.
345
+ Manually move an index into a specific step in the lifecycle policy and run that step.</p>
346
+ <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>
347
+ <p>You must specify both the current step and the step to be executed in the body of the request.
348
+ The request will fail if the current step does not match the step currently running for the index
349
+ This is to prevent the index from being moved from an unexpected step into the next step.</p>
350
+ <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.
351
+ If only the phase is specified, the index will move to the first step of the first action in the target phase.
352
+ If the phase and action are specified, the index will move to the first step of the specified action in the specified phase.
353
+ Only actions specified in the ILM policy are considered valid.
354
+ An index cannot move to a step that is not part of its policy.</p>
355
+
356
+
357
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-move-to-step>`_
342
358
 
343
359
  :param index: The name of the index whose lifecycle step is to change
344
360
  :param current_step: The step that the index is expected to be in.
@@ -399,11 +415,14 @@ class IlmClient(NamespacedClient):
399
415
  body: t.Optional[t.Dict[str, t.Any]] = None,
400
416
  ) -> ObjectApiResponse[t.Any]:
401
417
  """
402
- Create or update a lifecycle policy. If the specified policy exists, it is replaced
403
- and the policy version is incremented. NOTE: Only the latest version of the policy
404
- is stored, you cannot revert to previous versions.
418
+ .. raw:: html
419
+
420
+ <p>Create or update a lifecycle policy.
421
+ If the specified policy exists, it is replaced and the policy version is incremented.</p>
422
+ <p>NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.</p>
423
+
405
424
 
406
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-put-lifecycle.html>`_
425
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-put-lifecycle>`_
407
426
 
408
427
  :param name: Identifier for the policy.
409
428
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -460,10 +479,14 @@ class IlmClient(NamespacedClient):
460
479
  pretty: t.Optional[bool] = None,
461
480
  ) -> ObjectApiResponse[t.Any]:
462
481
  """
463
- Remove policies from an index. Remove the assigned lifecycle policies from an
464
- index or a data stream's backing indices. It also stops managing the indices.
482
+ .. raw:: html
465
483
 
466
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-remove-policy.html>`_
484
+ <p>Remove policies from an index.
485
+ Remove the assigned lifecycle policies from an index or a data stream's backing indices.
486
+ It also stops managing the indices.</p>
487
+
488
+
489
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-remove-policy>`_
467
490
 
468
491
  :param index: The name of the index to remove policy on
469
492
  """
@@ -501,12 +524,15 @@ class IlmClient(NamespacedClient):
501
524
  pretty: t.Optional[bool] = None,
502
525
  ) -> ObjectApiResponse[t.Any]:
503
526
  """
504
- Retry a policy. Retry running the lifecycle policy for an index that is in the
505
- ERROR step. The API sets the policy back to the step where the error occurred
506
- and runs the step. Use the explain lifecycle state API to determine whether an
507
- index is in the ERROR step.
527
+ .. raw:: html
528
+
529
+ <p>Retry a policy.
530
+ Retry running the lifecycle policy for an index that is in the ERROR step.
531
+ The API sets the policy back to the step where the error occurred and runs the step.
532
+ Use the explain lifecycle state API to determine whether an index is in the ERROR step.</p>
508
533
 
509
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-retry-policy.html>`_
534
+
535
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-retry>`_
510
536
 
511
537
  :param index: The name of the indices (comma-separated) whose failed lifecycle
512
538
  step is to be retry
@@ -546,14 +572,21 @@ class IlmClient(NamespacedClient):
546
572
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
547
573
  ) -> ObjectApiResponse[t.Any]:
548
574
  """
549
- Start the ILM plugin. Start the index lifecycle management plugin if it is currently
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.
575
+ .. raw:: html
576
+
577
+ <p>Start the ILM plugin.
578
+ Start the index lifecycle management plugin if it is currently stopped.
579
+ ILM is started automatically when the cluster is formed.
580
+ Restarting ILM is necessary only when it has been stopped using the stop ILM API.</p>
581
+
552
582
 
553
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-start.html>`_
583
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-start>`_
554
584
 
555
- :param master_timeout: Explicit operation timeout for connection to master node
556
- :param timeout: Explicit operation timeout
585
+ :param master_timeout: Period to wait for a connection to the master node. If
586
+ no response is received before the timeout expires, the request fails and
587
+ returns an error.
588
+ :param timeout: Period to wait for a response. If no response is received before
589
+ the timeout expires, the request fails and returns an error.
557
590
  """
558
591
  __path_parts: t.Dict[str, str] = {}
559
592
  __path = "/_ilm/start"
@@ -592,17 +625,22 @@ class IlmClient(NamespacedClient):
592
625
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
593
626
  ) -> ObjectApiResponse[t.Any]:
594
627
  """
595
- Stop the ILM plugin. Halt all lifecycle management operations and stop the index
596
- lifecycle management plugin. This is useful when you are performing maintenance
597
- on the cluster and need to prevent ILM from performing any actions on your indices.
598
- The API returns as soon as the stop request has been acknowledged, but the plugin
599
- might continue to run until in-progress operations complete and the plugin can
600
- be safely stopped. Use the get ILM status API to check whether ILM is running.
628
+ .. raw:: html
629
+
630
+ <p>Stop the ILM plugin.
631
+ Halt all lifecycle management operations and stop the index lifecycle management plugin.
632
+ This is useful when you are performing maintenance on the cluster and need to prevent ILM from performing any actions on your indices.</p>
633
+ <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.
634
+ Use the get ILM status API to check whether ILM is running.</p>
635
+
601
636
 
602
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-stop.html>`_
637
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-stop>`_
603
638
 
604
- :param master_timeout: Explicit operation timeout for connection to master node
605
- :param timeout: Explicit operation timeout
639
+ :param master_timeout: Period to wait for a connection to the master node. If
640
+ no response is received before the timeout expires, the request fails and
641
+ returns an error.
642
+ :param timeout: Period to wait for a response. If no response is received before
643
+ the timeout expires, the request fails and returns an error.
606
644
  """
607
645
  __path_parts: t.Dict[str, str] = {}
608
646
  __path = "/_ilm/stop"