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
@@ -36,10 +36,10 @@ class EqlClient(NamespacedClient):
36
36
  pretty: t.Optional[bool] = None,
37
37
  ) -> ObjectApiResponse[t.Any]:
38
38
  """
39
- Deletes an async EQL search or a stored synchronous EQL search. The API also
40
- deletes results for the search.
39
+ Delete an async EQL search. Delete an async EQL search or a stored synchronous
40
+ EQL search. The API also deletes results for the search.
41
41
 
42
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/eql-search-api.html>`_
42
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/eql-search-api.html>`_
43
43
 
44
44
  :param id: Identifier for the search to delete. A search ID is provided in the
45
45
  EQL search API's response for an async search. A search ID is also provided
@@ -83,10 +83,10 @@ class EqlClient(NamespacedClient):
83
83
  ] = None,
84
84
  ) -> ObjectApiResponse[t.Any]:
85
85
  """
86
- Returns the current status and available results for an async EQL search or a
87
- stored synchronous EQL search.
86
+ Get async EQL search results. Get the current status and available results for
87
+ an async EQL search or a stored synchronous EQL search.
88
88
 
89
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-async-eql-search-api.html>`_
89
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-async-eql-search-api.html>`_
90
90
 
91
91
  :param id: Identifier for the search.
92
92
  :param keep_alive: Period for which the search and its results are stored on
@@ -134,10 +134,10 @@ class EqlClient(NamespacedClient):
134
134
  pretty: t.Optional[bool] = None,
135
135
  ) -> ObjectApiResponse[t.Any]:
136
136
  """
137
- Returns the current status for an async EQL search or a stored synchronous EQL
138
- search without returning results.
137
+ Get the async EQL status. Get the current status for an async EQL search or a
138
+ stored synchronous EQL search without returning results.
139
139
 
140
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-async-eql-status-api.html>`_
140
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-async-eql-status-api.html>`_
141
141
 
142
142
  :param id: Identifier for the search.
143
143
  """
@@ -223,9 +223,11 @@ class EqlClient(NamespacedClient):
223
223
  body: t.Optional[t.Dict[str, t.Any]] = None,
224
224
  ) -> ObjectApiResponse[t.Any]:
225
225
  """
226
- Returns results matching a query expressed in Event Query Language (EQL)
226
+ Get EQL search results. Returns search results for an Event Query Language (EQL)
227
+ query. EQL assumes each document in a data stream or index corresponds to an
228
+ event.
227
229
 
228
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/eql-search-api.html>`_
230
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/eql-search-api.html>`_
229
231
 
230
232
  :param index: The name of the index to scope the operation
231
233
  :param query: EQL query you wish to run.
@@ -68,9 +68,10 @@ class EsqlClient(NamespacedClient):
68
68
  body: t.Optional[t.Dict[str, t.Any]] = None,
69
69
  ) -> ObjectApiResponse[t.Any]:
70
70
  """
71
- Executes an ES|QL request
71
+ Run an ES|QL query. Get search results for an ES|QL (Elasticsearch query language)
72
+ query.
72
73
 
73
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/esql-rest.html>`_
74
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/esql-rest.html>`_
74
75
 
75
76
  :param query: The ES|QL query API accepts an ES|QL query string in the query
76
77
  parameter, runs it, and returns the results.
@@ -35,10 +35,19 @@ class FeaturesClient(NamespacedClient):
35
35
  pretty: t.Optional[bool] = None,
36
36
  ) -> ObjectApiResponse[t.Any]:
37
37
  """
38
- Gets a list of features which can be included in snapshots using the feature_states
39
- field when creating a snapshot
38
+ Get the features. Get a list of features that can be included in snapshots using
39
+ the `feature_states` field when creating a snapshot. You can use this API to
40
+ determine which feature states to include when taking a snapshot. By default,
41
+ all feature states are included in a snapshot if that snapshot includes the global
42
+ state, or none if it does not. A feature state includes one or more system indices
43
+ necessary for a given feature to function. In order to ensure data integrity,
44
+ all system indices that comprise a feature state are snapshotted and restored
45
+ together. The features listed by this API are a combination of built-in features
46
+ and features defined by plugins. In order for a feature state to be listed in
47
+ this API and recognized as a valid feature state by the create snapshot API,
48
+ the plugin that defines that feature must be installed on the master node.
40
49
 
41
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-features-api.html>`_
50
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-features-api.html>`_
42
51
  """
43
52
  __path_parts: t.Dict[str, str] = {}
44
53
  __path = "/_features"
@@ -72,9 +81,22 @@ class FeaturesClient(NamespacedClient):
72
81
  pretty: t.Optional[bool] = None,
73
82
  ) -> ObjectApiResponse[t.Any]:
74
83
  """
75
- Resets the internal state of features, usually by deleting system indices
84
+ Reset the features. Clear all of the state information stored in system indices
85
+ by Elasticsearch features, including the security and machine learning indices.
86
+ WARNING: Intended for development and testing use only. Do not reset features
87
+ on a production cluster. Return a cluster to the same state as a new installation
88
+ by resetting the feature state for all Elasticsearch features. This deletes all
89
+ state information stored in system indices. The response code is HTTP 200 if
90
+ the state is successfully reset for all features. It is HTTP 500 if the reset
91
+ operation failed for any feature. Note that select features might provide a way
92
+ to reset particular system indices. Using this API resets all features, both
93
+ those that are built-in and implemented as plugins. To list the features that
94
+ will be affected, use the get features API. IMPORTANT: The features installed
95
+ on the node you submit this request to are the features that will be reset. Run
96
+ on the master node if you have any doubts about which plugins are installed on
97
+ individual nodes.
76
98
 
77
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/modules-snapshots.html>`_
99
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/modules-snapshots.html>`_
78
100
  """
79
101
  __path_parts: t.Dict[str, str] = {}
80
102
  __path = "/_features/_reset"
@@ -49,7 +49,7 @@ class FleetClient(NamespacedClient):
49
49
  Returns the current global checkpoints for an index. This API is design for internal
50
50
  use by the fleet server project.
51
51
 
52
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-global-checkpoints.html>`_
52
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-global-checkpoints.html>`_
53
53
 
54
54
  :param index: A single index or index alias that resolves to a single index.
55
55
  :param checkpoints: A comma separated list of previous global checkpoints. When
@@ -45,10 +45,16 @@ class GraphClient(NamespacedClient):
45
45
  body: t.Optional[t.Dict[str, t.Any]] = None,
46
46
  ) -> ObjectApiResponse[t.Any]:
47
47
  """
48
- Extracts and summarizes information about the documents and terms in an Elasticsearch
49
- data stream or index.
48
+ Explore graph analytics. Extract and summarize information about the documents
49
+ and terms in an Elasticsearch data stream or index. The easiest way to understand
50
+ the behavior of this API is to use the Graph UI to explore connections. An initial
51
+ request to the `_explore` API contains a seed query that identifies the documents
52
+ of interest and specifies the fields that define the vertices and connections
53
+ you want to include in the graph. Subsequent requests enable you to spider out
54
+ from one more vertices of interest. You can exclude vertices that have already
55
+ been returned.
50
56
 
51
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/graph-explore-api.html>`_
57
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/graph-explore-api.html>`_
52
58
 
53
59
  :param index: Name of the index.
54
60
  :param connections: Specifies or more fields from which you want to extract terms
@@ -38,11 +38,11 @@ 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
- Deletes the specified lifecycle policy definition. You cannot delete policies
42
- that are currently in use. If the policy is being used to manage any indices,
43
- the request fails and returns an error.
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.
44
44
 
45
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-delete-lifecycle.html>`_
45
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-delete-lifecycle.html>`_
46
46
 
47
47
  :param name: Identifier for the policy.
48
48
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -93,11 +93,13 @@ class IlmClient(NamespacedClient):
93
93
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
94
94
  ) -> ObjectApiResponse[t.Any]:
95
95
  """
96
- Retrieves information about the index’s current lifecycle state, such as the
97
- currently executing phase, action, and step. Shows when the index entered each
98
- one, the definition of the running phase, and information about any failures.
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.
99
101
 
100
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-explain-lifecycle.html>`_
102
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-explain-lifecycle.html>`_
101
103
 
102
104
  :param index: Comma-separated list of data streams, indices, and aliases to target.
103
105
  Supports wildcards (`*`). To target all data streams and indices, use `*`
@@ -157,9 +159,9 @@ class IlmClient(NamespacedClient):
157
159
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
158
160
  ) -> ObjectApiResponse[t.Any]:
159
161
  """
160
- Retrieves a lifecycle policy.
162
+ Get lifecycle policies.
161
163
 
162
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-get-lifecycle.html>`_
164
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-get-lifecycle.html>`_
163
165
 
164
166
  :param name: Identifier for the policy.
165
167
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -208,9 +210,9 @@ class IlmClient(NamespacedClient):
208
210
  pretty: t.Optional[bool] = None,
209
211
  ) -> ObjectApiResponse[t.Any]:
210
212
  """
211
- Retrieves the current index lifecycle management (ILM) status.
213
+ Get the ILM status. Get the current index lifecycle management status.
212
214
 
213
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-get-status.html>`_
215
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-get-status.html>`_
214
216
  """
215
217
  __path_parts: t.Dict[str, str] = {}
216
218
  __path = "/_ilm/status"
@@ -249,12 +251,20 @@ class IlmClient(NamespacedClient):
249
251
  body: t.Optional[t.Dict[str, t.Any]] = None,
250
252
  ) -> ObjectApiResponse[t.Any]:
251
253
  """
252
- Switches the indices, ILM policies, and legacy, composable and component templates
253
- from using custom node attributes and attribute-based allocation filters to using
254
- data tiers, and optionally deletes one legacy index template.+ Using node roles
255
- enables ILM to automatically move the indices between data tiers.
256
-
257
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-migrate-to-data-tiers.html>`_
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>`_
258
268
 
259
269
  :param dry_run: If true, simulates the migration from node attributes based allocation
260
270
  filters to data tiers, but does not perform the migration. This provides
@@ -312,9 +322,23 @@ class IlmClient(NamespacedClient):
312
322
  body: t.Optional[t.Dict[str, t.Any]] = None,
313
323
  ) -> ObjectApiResponse[t.Any]:
314
324
  """
315
- Manually moves an index into the specified step and executes that step.
316
-
317
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-move-to-step.html>`_
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>`_
318
342
 
319
343
  :param index: The name of the index whose lifecycle step is to change
320
344
  :param current_step:
@@ -375,10 +399,11 @@ class IlmClient(NamespacedClient):
375
399
  body: t.Optional[t.Dict[str, t.Any]] = None,
376
400
  ) -> ObjectApiResponse[t.Any]:
377
401
  """
378
- Creates a lifecycle policy. If the specified policy exists, the policy is replaced
379
- and the policy version is incremented.
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.
380
405
 
381
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-put-lifecycle.html>`_
406
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-put-lifecycle.html>`_
382
407
 
383
408
  :param name: Identifier for the policy.
384
409
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -435,9 +460,10 @@ class IlmClient(NamespacedClient):
435
460
  pretty: t.Optional[bool] = None,
436
461
  ) -> ObjectApiResponse[t.Any]:
437
462
  """
438
- Removes the assigned lifecycle policy and stops managing the specified index
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.
439
465
 
440
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-remove-policy.html>`_
466
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-remove-policy.html>`_
441
467
 
442
468
  :param index: The name of the index to remove policy on
443
469
  """
@@ -475,9 +501,12 @@ class IlmClient(NamespacedClient):
475
501
  pretty: t.Optional[bool] = None,
476
502
  ) -> ObjectApiResponse[t.Any]:
477
503
  """
478
- Retries executing the policy for an index that is in the ERROR step.
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.
479
508
 
480
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-retry-policy.html>`_
509
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-retry-policy.html>`_
481
510
 
482
511
  :param index: The name of the indices (comma-separated) whose failed lifecycle
483
512
  step is to be retry
@@ -517,9 +546,11 @@ class IlmClient(NamespacedClient):
517
546
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
518
547
  ) -> ObjectApiResponse[t.Any]:
519
548
  """
520
- Start the index lifecycle management (ILM) plugin.
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.
521
552
 
522
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-start.html>`_
553
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-start.html>`_
523
554
 
524
555
  :param master_timeout:
525
556
  :param timeout:
@@ -561,10 +592,14 @@ class IlmClient(NamespacedClient):
561
592
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
562
593
  ) -> ObjectApiResponse[t.Any]:
563
594
  """
564
- Halts all lifecycle management operations and stops the index lifecycle management
565
- (ILM) plugin
566
-
567
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ilm-stop.html>`_
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.
601
+
602
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-stop.html>`_
568
603
 
569
604
  :param master_timeout:
570
605
  :param timeout: