elasticsearch 8.17.1__py3-none-any.whl → 8.17.2__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 (95) hide show
  1. elasticsearch/__init__.py +2 -2
  2. elasticsearch/_async/client/__init__.py +1971 -779
  3. elasticsearch/_async/client/async_search.py +33 -22
  4. elasticsearch/_async/client/autoscaling.py +27 -21
  5. elasticsearch/_async/client/cat.py +216 -141
  6. elasticsearch/_async/client/ccr.py +96 -70
  7. elasticsearch/_async/client/cluster.py +150 -142
  8. elasticsearch/_async/client/connector.py +182 -86
  9. elasticsearch/_async/client/dangling_indices.py +19 -13
  10. elasticsearch/_async/client/enrich.py +25 -6
  11. elasticsearch/_async/client/eql.py +22 -9
  12. elasticsearch/_async/client/esql.py +295 -3
  13. elasticsearch/_async/client/features.py +25 -25
  14. elasticsearch/_async/client/fleet.py +15 -9
  15. elasticsearch/_async/client/graph.py +9 -8
  16. elasticsearch/_async/client/ilm.py +85 -55
  17. elasticsearch/_async/client/indices.py +692 -549
  18. elasticsearch/_async/client/inference.py +32 -28
  19. elasticsearch/_async/client/ingest.py +61 -22
  20. elasticsearch/_async/client/license.py +48 -31
  21. elasticsearch/_async/client/logstash.py +17 -6
  22. elasticsearch/_async/client/migration.py +23 -14
  23. elasticsearch/_async/client/ml.py +532 -284
  24. elasticsearch/_async/client/monitoring.py +5 -2
  25. elasticsearch/_async/client/nodes.py +43 -27
  26. elasticsearch/_async/client/query_rules.py +51 -25
  27. elasticsearch/_async/client/rollup.py +111 -73
  28. elasticsearch/_async/client/search_application.py +49 -21
  29. elasticsearch/_async/client/searchable_snapshots.py +21 -8
  30. elasticsearch/_async/client/security.py +810 -472
  31. elasticsearch/_async/client/shutdown.py +31 -26
  32. elasticsearch/_async/client/simulate.py +16 -22
  33. elasticsearch/_async/client/slm.py +55 -30
  34. elasticsearch/_async/client/snapshot.py +173 -192
  35. elasticsearch/_async/client/sql.py +37 -16
  36. elasticsearch/_async/client/ssl.py +16 -17
  37. elasticsearch/_async/client/synonyms.py +50 -29
  38. elasticsearch/_async/client/tasks.py +74 -39
  39. elasticsearch/_async/client/text_structure.py +61 -52
  40. elasticsearch/_async/client/transform.py +108 -79
  41. elasticsearch/_async/client/watcher.py +93 -57
  42. elasticsearch/_async/client/xpack.py +16 -7
  43. elasticsearch/_async/helpers.py +1 -1
  44. elasticsearch/_sync/client/__init__.py +1971 -779
  45. elasticsearch/_sync/client/async_search.py +33 -22
  46. elasticsearch/_sync/client/autoscaling.py +27 -21
  47. elasticsearch/_sync/client/cat.py +216 -141
  48. elasticsearch/_sync/client/ccr.py +96 -70
  49. elasticsearch/_sync/client/cluster.py +150 -142
  50. elasticsearch/_sync/client/connector.py +182 -86
  51. elasticsearch/_sync/client/dangling_indices.py +19 -13
  52. elasticsearch/_sync/client/enrich.py +25 -6
  53. elasticsearch/_sync/client/eql.py +22 -9
  54. elasticsearch/_sync/client/esql.py +295 -3
  55. elasticsearch/_sync/client/features.py +25 -25
  56. elasticsearch/_sync/client/fleet.py +15 -9
  57. elasticsearch/_sync/client/graph.py +9 -8
  58. elasticsearch/_sync/client/ilm.py +85 -55
  59. elasticsearch/_sync/client/indices.py +692 -549
  60. elasticsearch/_sync/client/inference.py +32 -28
  61. elasticsearch/_sync/client/ingest.py +61 -22
  62. elasticsearch/_sync/client/license.py +48 -31
  63. elasticsearch/_sync/client/logstash.py +17 -6
  64. elasticsearch/_sync/client/migration.py +23 -14
  65. elasticsearch/_sync/client/ml.py +532 -284
  66. elasticsearch/_sync/client/monitoring.py +5 -2
  67. elasticsearch/_sync/client/nodes.py +43 -27
  68. elasticsearch/_sync/client/query_rules.py +51 -25
  69. elasticsearch/_sync/client/rollup.py +111 -73
  70. elasticsearch/_sync/client/search_application.py +49 -21
  71. elasticsearch/_sync/client/searchable_snapshots.py +21 -8
  72. elasticsearch/_sync/client/security.py +810 -472
  73. elasticsearch/_sync/client/shutdown.py +31 -26
  74. elasticsearch/_sync/client/simulate.py +16 -22
  75. elasticsearch/_sync/client/slm.py +55 -30
  76. elasticsearch/_sync/client/snapshot.py +173 -192
  77. elasticsearch/_sync/client/sql.py +37 -16
  78. elasticsearch/_sync/client/ssl.py +16 -17
  79. elasticsearch/_sync/client/synonyms.py +50 -29
  80. elasticsearch/_sync/client/tasks.py +74 -39
  81. elasticsearch/_sync/client/text_structure.py +61 -52
  82. elasticsearch/_sync/client/transform.py +108 -79
  83. elasticsearch/_sync/client/utils.py +1 -1
  84. elasticsearch/_sync/client/watcher.py +93 -57
  85. elasticsearch/_sync/client/xpack.py +16 -7
  86. elasticsearch/_version.py +1 -1
  87. elasticsearch/client.py +2 -0
  88. elasticsearch/helpers/actions.py +1 -1
  89. elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
  90. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/METADATA +1 -1
  91. elasticsearch-8.17.2.dist-info/RECORD +119 -0
  92. elasticsearch-8.17.1.dist-info/RECORD +0 -119
  93. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/WHEEL +0 -0
  94. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/LICENSE +0 -0
  95. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/NOTICE +0 -0
@@ -43,8 +43,11 @@ class SearchApplicationClient(NamespacedClient):
43
43
  pretty: t.Optional[bool] = None,
44
44
  ) -> ObjectApiResponse[t.Any]:
45
45
  """
46
- Delete a search application. Remove a search application and its associated alias.
47
- Indices attached to the search application are not removed.
46
+ .. raw:: html
47
+
48
+ <p>Delete a search application.
49
+ Remove a search application and its associated alias. Indices attached to the search application are not removed.</p>
50
+
48
51
 
49
52
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-search-application.html>`_
50
53
 
@@ -85,8 +88,11 @@ class SearchApplicationClient(NamespacedClient):
85
88
  pretty: t.Optional[bool] = None,
86
89
  ) -> ObjectApiResponse[t.Any]:
87
90
  """
88
- Delete a behavioral analytics collection. The associated data stream is also
89
- deleted.
91
+ .. raw:: html
92
+
93
+ <p>Delete a behavioral analytics collection.
94
+ The associated data stream is also deleted.</p>
95
+
90
96
 
91
97
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-analytics-collection.html>`_
92
98
 
@@ -127,7 +133,10 @@ class SearchApplicationClient(NamespacedClient):
127
133
  pretty: t.Optional[bool] = None,
128
134
  ) -> ObjectApiResponse[t.Any]:
129
135
  """
130
- Get search application details.
136
+ .. raw:: html
137
+
138
+ <p>Get search application details.</p>
139
+
131
140
 
132
141
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-search-application.html>`_
133
142
 
@@ -168,7 +177,10 @@ class SearchApplicationClient(NamespacedClient):
168
177
  pretty: t.Optional[bool] = None,
169
178
  ) -> ObjectApiResponse[t.Any]:
170
179
  """
171
- Get behavioral analytics collections.
180
+ .. raw:: html
181
+
182
+ <p>Get behavioral analytics collections.</p>
183
+
172
184
 
173
185
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-analytics-collection.html>`_
174
186
 
@@ -216,7 +228,11 @@ class SearchApplicationClient(NamespacedClient):
216
228
  size: t.Optional[int] = None,
217
229
  ) -> ObjectApiResponse[t.Any]:
218
230
  """
219
- Get search applications. Get information about search applications.
231
+ .. raw:: html
232
+
233
+ <p>Get search applications.
234
+ Get information about search applications.</p>
235
+
220
236
 
221
237
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-search-applications.html>`_
222
238
 
@@ -269,7 +285,10 @@ class SearchApplicationClient(NamespacedClient):
269
285
  pretty: t.Optional[bool] = None,
270
286
  ) -> ObjectApiResponse[t.Any]:
271
287
  """
272
- Create a behavioral analytics collection event.
288
+ .. raw:: html
289
+
290
+ <p>Create a behavioral analytics collection event.</p>
291
+
273
292
 
274
293
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/post-analytics-collection-event.html>`_
275
294
 
@@ -333,7 +352,10 @@ class SearchApplicationClient(NamespacedClient):
333
352
  pretty: t.Optional[bool] = None,
334
353
  ) -> ObjectApiResponse[t.Any]:
335
354
  """
336
- Create or update a search application.
355
+ .. raw:: html
356
+
357
+ <p>Create or update a search application.</p>
358
+
337
359
 
338
360
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-search-application.html>`_
339
361
 
@@ -387,7 +409,10 @@ class SearchApplicationClient(NamespacedClient):
387
409
  pretty: t.Optional[bool] = None,
388
410
  ) -> ObjectApiResponse[t.Any]:
389
411
  """
390
- Create a behavioral analytics collection.
412
+ .. raw:: html
413
+
414
+ <p>Create a behavioral analytics collection.</p>
415
+
391
416
 
392
417
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-analytics-collection.html>`_
393
418
 
@@ -433,13 +458,14 @@ class SearchApplicationClient(NamespacedClient):
433
458
  body: t.Optional[t.Dict[str, t.Any]] = None,
434
459
  ) -> ObjectApiResponse[t.Any]:
435
460
  """
436
- Render a search application query. Generate an Elasticsearch query using the
437
- specified query parameters and the search template associated with the search
438
- application or a default template if none is specified. If a parameter used in
439
- the search template is not specified in `params`, the parameter's default value
440
- will be used. The API returns the specific Elasticsearch query that would be
441
- generated and run by calling the search application search API. You must have
442
- `read` privileges on the backing alias of the search application.
461
+ .. raw:: html
462
+
463
+ <p>Render a search application query.
464
+ Generate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified.
465
+ If a parameter used in the search template is not specified in <code>params</code>, the parameter's default value will be used.
466
+ The API returns the specific Elasticsearch query that would be generated and run by calling the search application search API.</p>
467
+ <p>You must have <code>read</code> privileges on the backing alias of the search application.</p>
468
+
443
469
 
444
470
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/search-application-render-query.html>`_
445
471
 
@@ -498,10 +524,12 @@ class SearchApplicationClient(NamespacedClient):
498
524
  body: t.Optional[t.Dict[str, t.Any]] = None,
499
525
  ) -> ObjectApiResponse[t.Any]:
500
526
  """
501
- Run a search application search. Generate and run an Elasticsearch query that
502
- uses the specified query parameteter and the search template associated with
503
- the search application or default template. Unspecified template parameters are
504
- assigned their default values if applicable.
527
+ .. raw:: html
528
+
529
+ <p>Run a search application search.
530
+ Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template.
531
+ Unspecified template parameters are assigned their default values if applicable.</p>
532
+
505
533
 
506
534
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/search-application-search.html>`_
507
535
 
@@ -44,8 +44,11 @@ class SearchableSnapshotsClient(NamespacedClient):
44
44
  pretty: t.Optional[bool] = None,
45
45
  ) -> ObjectApiResponse[t.Any]:
46
46
  """
47
- Get cache statistics. Get statistics about the shared cache for partially mounted
48
- indices.
47
+ .. raw:: html
48
+
49
+ <p>Get cache statistics.
50
+ Get statistics about the shared cache for partially mounted indices.</p>
51
+
49
52
 
50
53
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-cache-stats.html>`_
51
54
 
@@ -102,8 +105,11 @@ class SearchableSnapshotsClient(NamespacedClient):
102
105
  pretty: t.Optional[bool] = None,
103
106
  ) -> ObjectApiResponse[t.Any]:
104
107
  """
105
- Clear the cache. Clear indices and data streams from the shared cache for partially
106
- mounted indices.
108
+ .. raw:: html
109
+
110
+ <p>Clear the cache.
111
+ Clear indices and data streams from the shared cache for partially mounted indices.</p>
112
+
107
113
 
108
114
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-clear-cache.html>`_
109
115
 
@@ -176,9 +182,13 @@ class SearchableSnapshotsClient(NamespacedClient):
176
182
  body: t.Optional[t.Dict[str, t.Any]] = None,
177
183
  ) -> ObjectApiResponse[t.Any]:
178
184
  """
179
- Mount a snapshot. Mount a snapshot as a searchable snapshot index. Do not use
180
- this API for snapshots managed by index lifecycle management (ILM). Manually
181
- mounting ILM-managed snapshots can interfere with ILM processes.
185
+ .. raw:: html
186
+
187
+ <p>Mount a snapshot.
188
+ Mount a snapshot as a searchable snapshot index.
189
+ Do not use this API for snapshots managed by index lifecycle management (ILM).
190
+ Manually mounting ILM-managed snapshots can interfere with ILM processes.</p>
191
+
182
192
 
183
193
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-mount-snapshot.html>`_
184
194
 
@@ -263,7 +273,10 @@ class SearchableSnapshotsClient(NamespacedClient):
263
273
  pretty: t.Optional[bool] = None,
264
274
  ) -> ObjectApiResponse[t.Any]:
265
275
  """
266
- Get searchable snapshot statistics.
276
+ .. raw:: html
277
+
278
+ <p>Get searchable snapshot statistics.</p>
279
+
267
280
 
268
281
  `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-stats.html>`_
269
282