elasticsearch9 9.0.4__py3-none-any.whl → 9.1.1__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.
- elasticsearch9/__init__.py +3 -3
- elasticsearch9/_async/client/__init__.py +42 -42
- elasticsearch9/_async/client/async_search.py +4 -4
- elasticsearch9/_async/client/autoscaling.py +4 -4
- elasticsearch9/_async/client/cat.py +26 -26
- elasticsearch9/_async/client/ccr.py +13 -13
- elasticsearch9/_async/client/cluster.py +25 -20
- elasticsearch9/_async/client/connector.py +30 -30
- elasticsearch9/_async/client/dangling_indices.py +3 -3
- elasticsearch9/_async/client/enrich.py +5 -5
- elasticsearch9/_async/client/eql.py +4 -4
- elasticsearch9/_async/client/esql.py +112 -5
- elasticsearch9/_async/client/features.py +2 -2
- elasticsearch9/_async/client/fleet.py +3 -3
- elasticsearch9/_async/client/graph.py +1 -1
- elasticsearch9/_async/client/ilm.py +11 -11
- elasticsearch9/_async/client/indices.py +504 -69
- elasticsearch9/_async/client/inference.py +419 -46
- elasticsearch9/_async/client/ingest.py +9 -9
- elasticsearch9/_async/client/license.py +7 -7
- elasticsearch9/_async/client/logstash.py +3 -3
- elasticsearch9/_async/client/migration.py +3 -3
- elasticsearch9/_async/client/ml.py +72 -73
- elasticsearch9/_async/client/nodes.py +7 -7
- elasticsearch9/_async/client/query_rules.py +8 -8
- elasticsearch9/_async/client/rollup.py +8 -8
- elasticsearch9/_async/client/search_application.py +10 -10
- elasticsearch9/_async/client/searchable_snapshots.py +4 -4
- elasticsearch9/_async/client/security.py +68 -64
- elasticsearch9/_async/client/shutdown.py +3 -3
- elasticsearch9/_async/client/simulate.py +1 -1
- elasticsearch9/_async/client/slm.py +9 -9
- elasticsearch9/_async/client/snapshot.py +58 -21
- elasticsearch9/_async/client/sql.py +6 -6
- elasticsearch9/_async/client/ssl.py +1 -1
- elasticsearch9/_async/client/synonyms.py +25 -7
- elasticsearch9/_async/client/tasks.py +4 -4
- elasticsearch9/_async/client/text_structure.py +4 -4
- elasticsearch9/_async/client/transform.py +11 -11
- elasticsearch9/_async/client/watcher.py +13 -13
- elasticsearch9/_async/client/xpack.py +2 -2
- elasticsearch9/_otel.py +8 -8
- elasticsearch9/_sync/client/__init__.py +42 -42
- elasticsearch9/_sync/client/async_search.py +4 -4
- elasticsearch9/_sync/client/autoscaling.py +4 -4
- elasticsearch9/_sync/client/cat.py +26 -26
- elasticsearch9/_sync/client/ccr.py +13 -13
- elasticsearch9/_sync/client/cluster.py +25 -20
- elasticsearch9/_sync/client/connector.py +30 -30
- elasticsearch9/_sync/client/dangling_indices.py +3 -3
- elasticsearch9/_sync/client/enrich.py +5 -5
- elasticsearch9/_sync/client/eql.py +4 -4
- elasticsearch9/_sync/client/esql.py +112 -5
- elasticsearch9/_sync/client/features.py +2 -2
- elasticsearch9/_sync/client/fleet.py +3 -3
- elasticsearch9/_sync/client/graph.py +1 -1
- elasticsearch9/_sync/client/ilm.py +11 -11
- elasticsearch9/_sync/client/indices.py +504 -69
- elasticsearch9/_sync/client/inference.py +419 -46
- elasticsearch9/_sync/client/ingest.py +9 -9
- elasticsearch9/_sync/client/license.py +7 -7
- elasticsearch9/_sync/client/logstash.py +3 -3
- elasticsearch9/_sync/client/migration.py +3 -3
- elasticsearch9/_sync/client/ml.py +72 -73
- elasticsearch9/_sync/client/nodes.py +7 -7
- elasticsearch9/_sync/client/query_rules.py +8 -8
- elasticsearch9/_sync/client/rollup.py +8 -8
- elasticsearch9/_sync/client/search_application.py +10 -10
- elasticsearch9/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch9/_sync/client/security.py +68 -64
- elasticsearch9/_sync/client/shutdown.py +3 -3
- elasticsearch9/_sync/client/simulate.py +1 -1
- elasticsearch9/_sync/client/slm.py +9 -9
- elasticsearch9/_sync/client/snapshot.py +58 -21
- elasticsearch9/_sync/client/sql.py +6 -6
- elasticsearch9/_sync/client/ssl.py +1 -1
- elasticsearch9/_sync/client/synonyms.py +25 -7
- elasticsearch9/_sync/client/tasks.py +4 -4
- elasticsearch9/_sync/client/text_structure.py +4 -4
- elasticsearch9/_sync/client/transform.py +11 -11
- elasticsearch9/_sync/client/watcher.py +13 -13
- elasticsearch9/_sync/client/xpack.py +2 -2
- elasticsearch9/_version.py +1 -1
- elasticsearch9/dsl/aggs.py +20 -0
- elasticsearch9/dsl/document_base.py +2 -3
- elasticsearch9/dsl/field.py +18 -0
- elasticsearch9/dsl/query.py +1 -1
- elasticsearch9/dsl/response/__init__.py +1 -1
- elasticsearch9/dsl/types.py +163 -5
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/METADATA +3 -4
- elasticsearch9-9.1.1.dist-info/RECORD +163 -0
- elasticsearch9-9.0.4.dist-info/RECORD +0 -163
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/WHEEL +0 -0
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -44,7 +44,7 @@ class IngestClient(NamespacedClient):
|
|
|
44
44
|
<p>Delete one or more IP geolocation database configurations.</p>
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
47
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-delete-geoip-database>`_
|
|
48
48
|
|
|
49
49
|
:param id: A comma-separated list of geoip database configurations to delete
|
|
50
50
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
@@ -98,7 +98,7 @@ class IngestClient(NamespacedClient):
|
|
|
98
98
|
<p>Delete IP geolocation database configurations.</p>
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
101
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-delete-ip-location-database>`_
|
|
102
102
|
|
|
103
103
|
:param id: A comma-separated list of IP location database configurations.
|
|
104
104
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
@@ -155,7 +155,7 @@ class IngestClient(NamespacedClient):
|
|
|
155
155
|
Delete one or more ingest pipelines.</p>
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
158
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-delete-pipeline>`_
|
|
159
159
|
|
|
160
160
|
:param id: Pipeline ID or wildcard expression of pipeline IDs used to limit the
|
|
161
161
|
request. To delete all ingest pipelines in a cluster, use a value of `*`.
|
|
@@ -248,7 +248,7 @@ class IngestClient(NamespacedClient):
|
|
|
248
248
|
<p>Get information about one or more IP geolocation database configurations.</p>
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
251
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-get-geoip-database>`_
|
|
252
252
|
|
|
253
253
|
:param id: A comma-separated list of database configuration IDs to retrieve.
|
|
254
254
|
Wildcard (`*`) expressions are supported. To get all database configurations,
|
|
@@ -296,7 +296,7 @@ class IngestClient(NamespacedClient):
|
|
|
296
296
|
<p>Get IP geolocation database configurations.</p>
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
299
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-get-ip-location-database>`_
|
|
300
300
|
|
|
301
301
|
:param id: Comma-separated list of database configuration IDs to retrieve. Wildcard
|
|
302
302
|
(`*`) expressions are supported. To get all database configurations, omit
|
|
@@ -348,7 +348,7 @@ class IngestClient(NamespacedClient):
|
|
|
348
348
|
This API returns a local reference of the pipeline.</p>
|
|
349
349
|
|
|
350
350
|
|
|
351
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
351
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-get-pipeline>`_
|
|
352
352
|
|
|
353
353
|
:param id: Comma-separated list of pipeline IDs to retrieve. Wildcard (`*`) expressions
|
|
354
354
|
are supported. To get all ingest pipelines, omit this parameter or use `*`.
|
|
@@ -452,7 +452,7 @@ class IngestClient(NamespacedClient):
|
|
|
452
452
|
<p>Refer to the create or update IP geolocation database configuration API.</p>
|
|
453
453
|
|
|
454
454
|
|
|
455
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
455
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-put-geoip-database>`_
|
|
456
456
|
|
|
457
457
|
:param id: ID of the database configuration to create or update.
|
|
458
458
|
:param maxmind: The configuration necessary to identify which IP geolocation
|
|
@@ -527,7 +527,7 @@ class IngestClient(NamespacedClient):
|
|
|
527
527
|
<p>Create or update an IP geolocation database configuration.</p>
|
|
528
528
|
|
|
529
529
|
|
|
530
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
530
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-put-ip-location-database>`_
|
|
531
531
|
|
|
532
532
|
:param id: The database configuration identifier.
|
|
533
533
|
:param configuration:
|
|
@@ -710,7 +710,7 @@ class IngestClient(NamespacedClient):
|
|
|
710
710
|
You can either specify an existing pipeline to use with the provided documents or supply a pipeline definition in the body of the request.</p>
|
|
711
711
|
|
|
712
712
|
|
|
713
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
713
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-simulate>`_
|
|
714
714
|
|
|
715
715
|
:param docs: Sample documents to test in the pipeline.
|
|
716
716
|
:param id: The pipeline to test. If you don't specify a `pipeline` in the request
|
|
@@ -44,7 +44,7 @@ class LicenseClient(NamespacedClient):
|
|
|
44
44
|
<p>If the operator privileges feature is enabled, only operator users can use this API.</p>
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
47
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-delete>`_
|
|
48
48
|
|
|
49
49
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
50
50
|
:param timeout: The period to wait for a response. If no response is received
|
|
@@ -98,7 +98,7 @@ class LicenseClient(NamespacedClient):
|
|
|
98
98
|
</blockquote>
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
101
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-get>`_
|
|
102
102
|
|
|
103
103
|
:param accept_enterprise: If `true`, this parameter returns enterprise for Enterprise
|
|
104
104
|
license types. If `false`, this parameter returns platinum for both platinum
|
|
@@ -147,7 +147,7 @@ class LicenseClient(NamespacedClient):
|
|
|
147
147
|
<p>Get the basic license status.</p>
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
150
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-get-basic-status>`_
|
|
151
151
|
"""
|
|
152
152
|
__path_parts: t.Dict[str, str] = {}
|
|
153
153
|
__path = "/_license/basic_status"
|
|
@@ -185,7 +185,7 @@ class LicenseClient(NamespacedClient):
|
|
|
185
185
|
<p>Get the trial status.</p>
|
|
186
186
|
|
|
187
187
|
|
|
188
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
188
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-get-trial-status>`_
|
|
189
189
|
"""
|
|
190
190
|
__path_parts: t.Dict[str, str] = {}
|
|
191
191
|
__path = "/_license/trial_status"
|
|
@@ -237,7 +237,7 @@ class LicenseClient(NamespacedClient):
|
|
|
237
237
|
If the operator privileges feature is enabled, only operator users can use this API.</p>
|
|
238
238
|
|
|
239
239
|
|
|
240
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
240
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-post>`_
|
|
241
241
|
|
|
242
242
|
:param acknowledge: Specifies whether you acknowledge the license changes.
|
|
243
243
|
:param license:
|
|
@@ -308,7 +308,7 @@ class LicenseClient(NamespacedClient):
|
|
|
308
308
|
<p>To check the status of your basic license, use the get basic license API.</p>
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
311
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-post-start-basic>`_
|
|
312
312
|
|
|
313
313
|
:param acknowledge: whether the user has acknowledged acknowledge messages (default:
|
|
314
314
|
false)
|
|
@@ -365,7 +365,7 @@ class LicenseClient(NamespacedClient):
|
|
|
365
365
|
<p>To check the status of your trial, use the get trial status API.</p>
|
|
366
366
|
|
|
367
367
|
|
|
368
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
368
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-post-start-trial>`_
|
|
369
369
|
|
|
370
370
|
:param acknowledge: whether the user has acknowledged acknowledge messages (default:
|
|
371
371
|
false)
|
|
@@ -43,7 +43,7 @@ class LogstashClient(NamespacedClient):
|
|
|
43
43
|
If the request succeeds, you receive an empty response with an appropriate status code.</p>
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
46
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-logstash-delete-pipeline>`_
|
|
47
47
|
|
|
48
48
|
:param id: An identifier for the pipeline.
|
|
49
49
|
"""
|
|
@@ -87,7 +87,7 @@ class LogstashClient(NamespacedClient):
|
|
|
87
87
|
Get pipelines that are used for Logstash Central Management.</p>
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
90
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-logstash-get-pipeline>`_
|
|
91
91
|
|
|
92
92
|
:param id: A comma-separated list of pipeline identifiers.
|
|
93
93
|
"""
|
|
@@ -139,7 +139,7 @@ class LogstashClient(NamespacedClient):
|
|
|
139
139
|
If the specified pipeline exists, it is replaced.</p>
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
142
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-logstash-put-pipeline>`_
|
|
143
143
|
|
|
144
144
|
:param id: An identifier for the pipeline.
|
|
145
145
|
:param pipeline:
|
|
@@ -44,7 +44,7 @@ class MigrationClient(NamespacedClient):
|
|
|
44
44
|
You are strongly recommended to use the Upgrade Assistant.</p>
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
47
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-migration-deprecations>`_
|
|
48
48
|
|
|
49
49
|
:param index: Comma-separate list of data streams or indices to check. Wildcard
|
|
50
50
|
(*) expressions are supported.
|
|
@@ -94,7 +94,7 @@ class MigrationClient(NamespacedClient):
|
|
|
94
94
|
You are strongly recommended to use the Upgrade Assistant.</p>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
97
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-migration-get-feature-upgrade-status>`_
|
|
98
98
|
"""
|
|
99
99
|
__path_parts: t.Dict[str, str] = {}
|
|
100
100
|
__path = "/_migration/system_features"
|
|
@@ -136,7 +136,7 @@ class MigrationClient(NamespacedClient):
|
|
|
136
136
|
<p>TIP: The API is designed for indirect use by the Upgrade Assistant. We strongly recommend you use the Upgrade Assistant.</p>
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
139
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-migration-get-feature-upgrade-status>`_
|
|
140
140
|
"""
|
|
141
141
|
__path_parts: t.Dict[str, str] = {}
|
|
142
142
|
__path = "/_migration/system_features"
|