elasticsearch 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.
- elasticsearch/__init__.py +3 -3
- elasticsearch/_async/client/__init__.py +42 -42
- elasticsearch/_async/client/async_search.py +4 -4
- elasticsearch/_async/client/autoscaling.py +4 -4
- elasticsearch/_async/client/cat.py +26 -26
- elasticsearch/_async/client/ccr.py +13 -13
- elasticsearch/_async/client/cluster.py +25 -20
- elasticsearch/_async/client/connector.py +30 -30
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/enrich.py +5 -5
- elasticsearch/_async/client/eql.py +4 -4
- elasticsearch/_async/client/esql.py +112 -5
- elasticsearch/_async/client/features.py +2 -2
- elasticsearch/_async/client/fleet.py +3 -3
- elasticsearch/_async/client/graph.py +1 -1
- elasticsearch/_async/client/ilm.py +11 -11
- elasticsearch/_async/client/indices.py +504 -69
- elasticsearch/_async/client/inference.py +419 -46
- elasticsearch/_async/client/ingest.py +9 -9
- elasticsearch/_async/client/license.py +7 -7
- elasticsearch/_async/client/logstash.py +3 -3
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +72 -73
- elasticsearch/_async/client/nodes.py +7 -7
- elasticsearch/_async/client/query_rules.py +8 -8
- elasticsearch/_async/client/rollup.py +8 -8
- elasticsearch/_async/client/search_application.py +10 -10
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +68 -64
- elasticsearch/_async/client/shutdown.py +3 -3
- elasticsearch/_async/client/simulate.py +1 -1
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +58 -21
- elasticsearch/_async/client/sql.py +6 -6
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +25 -7
- elasticsearch/_async/client/tasks.py +4 -4
- elasticsearch/_async/client/text_structure.py +4 -4
- elasticsearch/_async/client/transform.py +11 -11
- elasticsearch/_async/client/watcher.py +13 -13
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_otel.py +8 -8
- elasticsearch/_sync/client/__init__.py +42 -42
- elasticsearch/_sync/client/async_search.py +4 -4
- elasticsearch/_sync/client/autoscaling.py +4 -4
- elasticsearch/_sync/client/cat.py +26 -26
- elasticsearch/_sync/client/ccr.py +13 -13
- elasticsearch/_sync/client/cluster.py +25 -20
- elasticsearch/_sync/client/connector.py +30 -30
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/enrich.py +5 -5
- elasticsearch/_sync/client/eql.py +4 -4
- elasticsearch/_sync/client/esql.py +112 -5
- elasticsearch/_sync/client/features.py +2 -2
- elasticsearch/_sync/client/fleet.py +3 -3
- elasticsearch/_sync/client/graph.py +1 -1
- elasticsearch/_sync/client/ilm.py +11 -11
- elasticsearch/_sync/client/indices.py +504 -69
- elasticsearch/_sync/client/inference.py +419 -46
- elasticsearch/_sync/client/ingest.py +9 -9
- elasticsearch/_sync/client/license.py +7 -7
- elasticsearch/_sync/client/logstash.py +3 -3
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +72 -73
- elasticsearch/_sync/client/nodes.py +7 -7
- elasticsearch/_sync/client/query_rules.py +8 -8
- elasticsearch/_sync/client/rollup.py +8 -8
- elasticsearch/_sync/client/search_application.py +10 -10
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +68 -64
- elasticsearch/_sync/client/shutdown.py +3 -3
- elasticsearch/_sync/client/simulate.py +1 -1
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +58 -21
- elasticsearch/_sync/client/sql.py +6 -6
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +25 -7
- elasticsearch/_sync/client/tasks.py +4 -4
- elasticsearch/_sync/client/text_structure.py +4 -4
- elasticsearch/_sync/client/transform.py +11 -11
- elasticsearch/_sync/client/watcher.py +13 -13
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- elasticsearch/dsl/aggs.py +20 -0
- elasticsearch/dsl/document_base.py +2 -3
- elasticsearch/dsl/field.py +18 -0
- elasticsearch/dsl/query.py +1 -1
- elasticsearch/dsl/response/__init__.py +1 -1
- elasticsearch/dsl/types.py +163 -5
- {elasticsearch-9.0.4.dist-info → elasticsearch-9.1.1.dist-info}/METADATA +3 -4
- elasticsearch-9.1.1.dist-info/RECORD +163 -0
- elasticsearch-9.0.4.dist-info/RECORD +0 -163
- {elasticsearch-9.0.4.dist-info → elasticsearch-9.1.1.dist-info}/WHEEL +0 -0
- {elasticsearch-9.0.4.dist-info → elasticsearch-9.1.1.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-9.0.4.dist-info → elasticsearch-9.1.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -58,7 +58,7 @@ class SecurityClient(NamespacedClient):
|
|
|
58
58
|
Any updates do not change existing content for either the <code>labels</code> or <code>data</code> fields.</p>
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
61
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-activate-user-profile>`_
|
|
62
62
|
|
|
63
63
|
:param grant_type: The type of grant.
|
|
64
64
|
:param access_token: The user's Elasticsearch access token or JWT. Both `access`
|
|
@@ -124,7 +124,7 @@ class SecurityClient(NamespacedClient):
|
|
|
124
124
|
If the user cannot be authenticated, this API returns a 401 status code.</p>
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
127
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-authenticate>`_
|
|
128
128
|
"""
|
|
129
129
|
__path_parts: t.Dict[str, str] = {}
|
|
130
130
|
__path = "/_security/_authenticate"
|
|
@@ -171,7 +171,7 @@ class SecurityClient(NamespacedClient):
|
|
|
171
171
|
The bulk delete roles API cannot delete roles that are defined in roles files.</p>
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
174
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-bulk-delete-role>`_
|
|
175
175
|
|
|
176
176
|
:param names: An array of role names to delete
|
|
177
177
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -232,7 +232,7 @@ class SecurityClient(NamespacedClient):
|
|
|
232
232
|
The bulk create or update roles API cannot update roles that are defined in roles files.</p>
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
235
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-bulk-put-role>`_
|
|
236
236
|
|
|
237
237
|
:param roles: A dictionary of role name to RoleDescriptor objects to add or update
|
|
238
238
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -300,7 +300,7 @@ class SecurityClient(NamespacedClient):
|
|
|
300
300
|
<p>A successful request returns a JSON structure that contains the IDs of all updated API keys, the IDs of API keys that already had the requested changes and did not require an update, and error details for any failed update.</p>
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
303
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-bulk-update-api-keys>`_
|
|
304
304
|
|
|
305
305
|
:param ids: The API key identifiers.
|
|
306
306
|
:param expiration: Expiration time for the API keys. By default, API keys never
|
|
@@ -378,7 +378,7 @@ class SecurityClient(NamespacedClient):
|
|
|
378
378
|
<p>Change the passwords of users in the native realm and built-in users.</p>
|
|
379
379
|
|
|
380
380
|
|
|
381
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
381
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-change-password>`_
|
|
382
382
|
|
|
383
383
|
:param username: The user whose password you want to change. If you do not specify
|
|
384
384
|
this parameter, the password is changed for the current user.
|
|
@@ -445,7 +445,7 @@ class SecurityClient(NamespacedClient):
|
|
|
445
445
|
The cache is also automatically cleared on state changes of the security index.</p>
|
|
446
446
|
|
|
447
447
|
|
|
448
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
448
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-clear-api-key-cache>`_
|
|
449
449
|
|
|
450
450
|
:param ids: Comma-separated list of API key IDs to evict from the API key cache.
|
|
451
451
|
To evict all API keys, use `*`. Does not support other wildcard patterns.
|
|
@@ -491,7 +491,7 @@ class SecurityClient(NamespacedClient):
|
|
|
491
491
|
The cache is also automatically cleared for applications that have their privileges updated.</p>
|
|
492
492
|
|
|
493
493
|
|
|
494
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
494
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-clear-cached-privileges>`_
|
|
495
495
|
|
|
496
496
|
:param application: A comma-separated list of applications. To clear all applications,
|
|
497
497
|
use an asterism (`*`). It does not support other wildcard patterns.
|
|
@@ -541,7 +541,7 @@ class SecurityClient(NamespacedClient):
|
|
|
541
541
|
For more information, refer to the documentation about controlling the user cache.</p>
|
|
542
542
|
|
|
543
543
|
|
|
544
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
544
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-clear-cached-realms>`_
|
|
545
545
|
|
|
546
546
|
:param realms: A comma-separated list of realms. To clear all realms, use an
|
|
547
547
|
asterisk (`*`). It does not support other wildcard patterns.
|
|
@@ -591,7 +591,7 @@ class SecurityClient(NamespacedClient):
|
|
|
591
591
|
<p>Evict roles from the native role cache.</p>
|
|
592
592
|
|
|
593
593
|
|
|
594
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
594
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-clear-cached-roles>`_
|
|
595
595
|
|
|
596
596
|
:param name: A comma-separated list of roles to evict from the role cache. To
|
|
597
597
|
evict all roles, use an asterisk (`*`). It does not support other wildcard
|
|
@@ -643,7 +643,7 @@ class SecurityClient(NamespacedClient):
|
|
|
643
643
|
The cache for tokens backed by the <code>service_tokens</code> file is cleared automatically on file changes.</p>
|
|
644
644
|
|
|
645
645
|
|
|
646
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
646
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-clear-cached-service-tokens>`_
|
|
647
647
|
|
|
648
648
|
:param namespace: The namespace, which is a top-level grouping of service accounts.
|
|
649
649
|
:param service: The name of the service, which must be unique within its namespace.
|
|
@@ -715,7 +715,7 @@ class SecurityClient(NamespacedClient):
|
|
|
715
715
|
To configure or turn off the API key service, refer to API key service setting documentation.</p>
|
|
716
716
|
|
|
717
717
|
|
|
718
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
718
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-create-api-key>`_
|
|
719
719
|
|
|
720
720
|
:param expiration: The expiration time for the API key. By default, API keys
|
|
721
721
|
never expire.
|
|
@@ -805,7 +805,7 @@ class SecurityClient(NamespacedClient):
|
|
|
805
805
|
Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error.</p>
|
|
806
806
|
|
|
807
807
|
|
|
808
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
808
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-create-cross-cluster-api-key>`_
|
|
809
809
|
|
|
810
810
|
:param access: The access to be granted to this API key. The access is composed
|
|
811
811
|
of permissions for cross-cluster search and cross-cluster replication. At
|
|
@@ -880,7 +880,7 @@ class SecurityClient(NamespacedClient):
|
|
|
880
880
|
You must actively delete them if they are no longer needed.</p>
|
|
881
881
|
|
|
882
882
|
|
|
883
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
883
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-create-service-token>`_
|
|
884
884
|
|
|
885
885
|
:param namespace: The name of the namespace, which is a top-level grouping of
|
|
886
886
|
service accounts.
|
|
@@ -966,7 +966,7 @@ class SecurityClient(NamespacedClient):
|
|
|
966
966
|
The proxy is trusted to have performed the TLS authentication and this API translates that authentication into an Elasticsearch access token.</p>
|
|
967
967
|
|
|
968
968
|
|
|
969
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
969
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-delegate-pki>`_
|
|
970
970
|
|
|
971
971
|
:param x509_certificate_chain: The X509Certificate chain, which is represented
|
|
972
972
|
as an ordered string array. Each string in the array is a base64-encoded
|
|
@@ -1030,7 +1030,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1030
1030
|
</ul>
|
|
1031
1031
|
|
|
1032
1032
|
|
|
1033
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1033
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-delete-privileges>`_
|
|
1034
1034
|
|
|
1035
1035
|
:param application: The name of the application. Application privileges are always
|
|
1036
1036
|
associated with exactly one application.
|
|
@@ -1093,7 +1093,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1093
1093
|
The delete roles API cannot remove roles that are defined in roles files.</p>
|
|
1094
1094
|
|
|
1095
1095
|
|
|
1096
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1096
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-delete-role>`_
|
|
1097
1097
|
|
|
1098
1098
|
:param name: The name of the role.
|
|
1099
1099
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -1147,7 +1147,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1147
1147
|
The delete role mappings API cannot remove role mappings that are defined in role mapping files.</p>
|
|
1148
1148
|
|
|
1149
1149
|
|
|
1150
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1150
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-delete-role-mapping>`_
|
|
1151
1151
|
|
|
1152
1152
|
:param name: The distinct name that identifies the role mapping. The name is
|
|
1153
1153
|
used solely as an identifier to facilitate interaction via the API; it does
|
|
@@ -1203,7 +1203,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1203
1203
|
<p>Delete service account tokens for a service in a specified namespace.</p>
|
|
1204
1204
|
|
|
1205
1205
|
|
|
1206
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1206
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-delete-service-token>`_
|
|
1207
1207
|
|
|
1208
1208
|
:param namespace: The namespace, which is a top-level grouping of service accounts.
|
|
1209
1209
|
:param service: The service name.
|
|
@@ -1265,7 +1265,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1265
1265
|
<p>Delete users from the native realm.</p>
|
|
1266
1266
|
|
|
1267
1267
|
|
|
1268
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1268
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-delete-user>`_
|
|
1269
1269
|
|
|
1270
1270
|
:param username: An identifier for the user.
|
|
1271
1271
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -1319,7 +1319,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1319
1319
|
You can use this API to revoke a user's access to Elasticsearch.</p>
|
|
1320
1320
|
|
|
1321
1321
|
|
|
1322
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1322
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-disable-user>`_
|
|
1323
1323
|
|
|
1324
1324
|
:param username: An identifier for the user.
|
|
1325
1325
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -1376,7 +1376,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1376
1376
|
To re-enable a disabled user profile, use the enable user profile API .</p>
|
|
1377
1377
|
|
|
1378
1378
|
|
|
1379
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1379
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-disable-user-profile>`_
|
|
1380
1380
|
|
|
1381
1381
|
:param uid: Unique identifier for the user profile.
|
|
1382
1382
|
:param refresh: If 'true', Elasticsearch refreshes the affected shards to make
|
|
@@ -1429,7 +1429,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1429
1429
|
By default, when you create users, they are enabled.</p>
|
|
1430
1430
|
|
|
1431
1431
|
|
|
1432
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1432
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-enable-user>`_
|
|
1433
1433
|
|
|
1434
1434
|
:param username: An identifier for the user.
|
|
1435
1435
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -1486,7 +1486,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1486
1486
|
If you later disable the user profile, you can use the enable user profile API to make the profile visible in these searches again.</p>
|
|
1487
1487
|
|
|
1488
1488
|
|
|
1489
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1489
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-enable-user-profile>`_
|
|
1490
1490
|
|
|
1491
1491
|
:param uid: A unique identifier for the user profile.
|
|
1492
1492
|
:param refresh: If 'true', Elasticsearch refreshes the affected shards to make
|
|
@@ -1536,7 +1536,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1536
1536
|
Kibana uses this API internally to configure itself for communications with an Elasticsearch cluster that already has security features enabled.</p>
|
|
1537
1537
|
|
|
1538
1538
|
|
|
1539
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1539
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-enroll-kibana>`_
|
|
1540
1540
|
"""
|
|
1541
1541
|
__path_parts: t.Dict[str, str] = {}
|
|
1542
1542
|
__path = "/_security/enroll/kibana"
|
|
@@ -1577,7 +1577,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1577
1577
|
The response contains key and certificate material that allows the caller to generate valid signed certificates for the HTTP layer of all nodes in the cluster.</p>
|
|
1578
1578
|
|
|
1579
1579
|
|
|
1580
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1580
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-enroll-node>`_
|
|
1581
1581
|
"""
|
|
1582
1582
|
__path_parts: t.Dict[str, str] = {}
|
|
1583
1583
|
__path = "/_security/enroll/node"
|
|
@@ -1626,7 +1626,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1626
1626
|
If you have <code>read_security</code>, <code>manage_api_key</code> or greater privileges (including <code>manage_security</code>), this API returns all API keys regardless of ownership.</p>
|
|
1627
1627
|
|
|
1628
1628
|
|
|
1629
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1629
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-api-key>`_
|
|
1630
1630
|
|
|
1631
1631
|
:param active_only: A boolean flag that can be used to query API keys that are
|
|
1632
1632
|
currently active. An API key is considered active if it is neither invalidated,
|
|
@@ -1704,7 +1704,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1704
1704
|
<p>Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.</p>
|
|
1705
1705
|
|
|
1706
1706
|
|
|
1707
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1707
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-builtin-privileges>`_
|
|
1708
1708
|
"""
|
|
1709
1709
|
__path_parts: t.Dict[str, str] = {}
|
|
1710
1710
|
__path = "/_security/privilege/_builtin"
|
|
@@ -1749,7 +1749,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1749
1749
|
</ul>
|
|
1750
1750
|
|
|
1751
1751
|
|
|
1752
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1752
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-privileges>`_
|
|
1753
1753
|
|
|
1754
1754
|
:param application: The name of the application. Application privileges are always
|
|
1755
1755
|
associated with exactly one application. If you do not specify this parameter,
|
|
@@ -1805,7 +1805,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1805
1805
|
The get roles API cannot retrieve roles that are defined in roles files.</p>
|
|
1806
1806
|
|
|
1807
1807
|
|
|
1808
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1808
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-role>`_
|
|
1809
1809
|
|
|
1810
1810
|
:param name: The name of the role. You can specify multiple roles as a comma-separated
|
|
1811
1811
|
list. If you do not specify this parameter, the API returns information about
|
|
@@ -1856,7 +1856,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1856
1856
|
The get role mappings API cannot retrieve role mappings that are defined in role mapping files.</p>
|
|
1857
1857
|
|
|
1858
1858
|
|
|
1859
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1859
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-role-mapping>`_
|
|
1860
1860
|
|
|
1861
1861
|
:param name: The distinct name that identifies the role mapping. The name is
|
|
1862
1862
|
used solely as an identifier to facilitate interaction via the API; it does
|
|
@@ -1909,7 +1909,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1909
1909
|
<p>NOTE: Currently, only the <code>elastic/fleet-server</code> service account is available.</p>
|
|
1910
1910
|
|
|
1911
1911
|
|
|
1912
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1912
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-service-accounts>`_
|
|
1913
1913
|
|
|
1914
1914
|
:param namespace: The name of the namespace. Omit this parameter to retrieve
|
|
1915
1915
|
information about all service accounts. If you omit this parameter, you must
|
|
@@ -1967,7 +1967,7 @@ class SecurityClient(NamespacedClient):
|
|
|
1967
1967
|
Tokens with the same name from different nodes are assumed to be the same token and are only counted once towards the total number of service tokens.</p>
|
|
1968
1968
|
|
|
1969
1969
|
|
|
1970
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
1970
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-service-credentials>`_
|
|
1971
1971
|
|
|
1972
1972
|
:param namespace: The name of the namespace.
|
|
1973
1973
|
:param service: The service name.
|
|
@@ -2023,7 +2023,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2023
2023
|
</ul>
|
|
2024
2024
|
|
|
2025
2025
|
|
|
2026
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2026
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-settings>`_
|
|
2027
2027
|
|
|
2028
2028
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
2029
2029
|
no response is received before the timeout expires, the request fails and
|
|
@@ -2099,7 +2099,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2099
2099
|
If you want to invalidate a token immediately, you can do so by using the invalidate token API.</p>
|
|
2100
2100
|
|
|
2101
2101
|
|
|
2102
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2102
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-token>`_
|
|
2103
2103
|
|
|
2104
2104
|
:param grant_type: The type of grant. Supported grant types are: `password`,
|
|
2105
2105
|
`_kerberos`, `client_credentials`, and `refresh_token`.
|
|
@@ -2173,7 +2173,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2173
2173
|
<p>Get information about users in the native realm and built-in users.</p>
|
|
2174
2174
|
|
|
2175
2175
|
|
|
2176
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2176
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-user>`_
|
|
2177
2177
|
|
|
2178
2178
|
:param username: An identifier for the user. You can specify multiple usernames
|
|
2179
2179
|
as a comma-separated list. If you omit this parameter, the API retrieves
|
|
@@ -2228,7 +2228,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2228
2228
|
To check whether a user has a specific list of privileges, use the has privileges API.</p>
|
|
2229
2229
|
|
|
2230
2230
|
|
|
2231
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2231
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-user-privileges>`_
|
|
2232
2232
|
"""
|
|
2233
2233
|
__path_parts: t.Dict[str, str] = {}
|
|
2234
2234
|
__path = "/_security/user/_privileges"
|
|
@@ -2272,7 +2272,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2272
2272
|
Elastic reserves the right to change or remove this feature in future releases without prior notice.</p>
|
|
2273
2273
|
|
|
2274
2274
|
|
|
2275
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2275
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-user-profile>`_
|
|
2276
2276
|
|
|
2277
2277
|
:param uid: A unique identifier for the user profile.
|
|
2278
2278
|
:param data: A comma-separated list of filters for the `data` field of the profile
|
|
@@ -2359,7 +2359,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2359
2359
|
<p>By default, API keys never expire. You can specify expiration information when you create the API keys.</p>
|
|
2360
2360
|
|
|
2361
2361
|
|
|
2362
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2362
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-grant-api-key>`_
|
|
2363
2363
|
|
|
2364
2364
|
:param api_key: The API key.
|
|
2365
2365
|
:param grant_type: The type of grant. Supported grant types are: `access_token`,
|
|
@@ -2447,6 +2447,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2447
2447
|
"manage_data_frame_transforms",
|
|
2448
2448
|
"manage_data_stream_global_retention",
|
|
2449
2449
|
"manage_enrich",
|
|
2450
|
+
"manage_esql",
|
|
2450
2451
|
"manage_ilm",
|
|
2451
2452
|
"manage_index_templates",
|
|
2452
2453
|
"manage_inference",
|
|
@@ -2472,6 +2473,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2472
2473
|
"monitor_data_frame_transforms",
|
|
2473
2474
|
"monitor_data_stream_global_retention",
|
|
2474
2475
|
"monitor_enrich",
|
|
2476
|
+
"monitor_esql",
|
|
2475
2477
|
"monitor_inference",
|
|
2476
2478
|
"monitor_ml",
|
|
2477
2479
|
"monitor_rollup",
|
|
@@ -2511,7 +2513,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2511
2513
|
To check the privileges of other users, you must use the run as feature.</p>
|
|
2512
2514
|
|
|
2513
2515
|
|
|
2514
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2516
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-has-privileges>`_
|
|
2515
2517
|
|
|
2516
2518
|
:param user: Username
|
|
2517
2519
|
:param application:
|
|
@@ -2576,7 +2578,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2576
2578
|
Elastic reserves the right to change or remove this feature in future releases without prior notice.</p>
|
|
2577
2579
|
|
|
2578
2580
|
|
|
2579
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2581
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-has-privileges-user-profile>`_
|
|
2580
2582
|
|
|
2581
2583
|
:param privileges: An object containing all the privileges to be checked.
|
|
2582
2584
|
:param uids: A list of profile IDs. The privileges are checked for associated
|
|
@@ -2650,7 +2652,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2650
2652
|
</ul>
|
|
2651
2653
|
|
|
2652
2654
|
|
|
2653
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2655
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-invalidate-api-key>`_
|
|
2654
2656
|
|
|
2655
2657
|
:param id:
|
|
2656
2658
|
:param ids: A list of API key ids. This parameter cannot be used with any of
|
|
@@ -2734,7 +2736,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2734
2736
|
If none of these two are specified, then <code>realm_name</code> and/or <code>username</code> need to be specified.</p>
|
|
2735
2737
|
|
|
2736
2738
|
|
|
2737
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2739
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-invalidate-token>`_
|
|
2738
2740
|
|
|
2739
2741
|
:param realm_name: The name of an authentication realm. This parameter cannot
|
|
2740
2742
|
be used with either `refresh_token` or `token`.
|
|
@@ -2802,7 +2804,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2802
2804
|
These APIs are used internally by Kibana in order to provide OpenID Connect based authentication, but can also be used by other, custom web applications or other clients.</p>
|
|
2803
2805
|
|
|
2804
2806
|
|
|
2805
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2807
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-oidc-authenticate>`_
|
|
2806
2808
|
|
|
2807
2809
|
:param nonce: Associate a client session with an ID token and mitigate replay
|
|
2808
2810
|
attacks. This value needs to be the same as the one that was provided to
|
|
@@ -2882,7 +2884,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2882
2884
|
These APIs are used internally by Kibana in order to provide OpenID Connect based authentication, but can also be used by other, custom web applications or other clients.</p>
|
|
2883
2885
|
|
|
2884
2886
|
|
|
2885
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2887
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-oidc-logout>`_
|
|
2886
2888
|
|
|
2887
2889
|
:param token: The access token to be invalidated.
|
|
2888
2890
|
:param refresh_token: The refresh token to be invalidated.
|
|
@@ -2944,7 +2946,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2944
2946
|
These APIs are used internally by Kibana in order to provide OpenID Connect based authentication, but can also be used by other, custom web applications or other clients.</p>
|
|
2945
2947
|
|
|
2946
2948
|
|
|
2947
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
2949
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-oidc-prepare-authentication>`_
|
|
2948
2950
|
|
|
2949
2951
|
:param iss: In the case of a third party initiated single sign on, this is the
|
|
2950
2952
|
issuer identifier for the OP that the RP is to send the authentication request
|
|
@@ -3040,7 +3042,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3040
3042
|
<p>Action names can contain any number of printable ASCII characters and must contain at least one of the following characters: <code>/</code>, <code>*</code>, <code>:</code>.</p>
|
|
3041
3043
|
|
|
3042
3044
|
|
|
3043
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3045
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-put-privileges>`_
|
|
3044
3046
|
|
|
3045
3047
|
:param privileges:
|
|
3046
3048
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -3118,6 +3120,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3118
3120
|
"manage_data_frame_transforms",
|
|
3119
3121
|
"manage_data_stream_global_retention",
|
|
3120
3122
|
"manage_enrich",
|
|
3123
|
+
"manage_esql",
|
|
3121
3124
|
"manage_ilm",
|
|
3122
3125
|
"manage_index_templates",
|
|
3123
3126
|
"manage_inference",
|
|
@@ -3143,6 +3146,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3143
3146
|
"monitor_data_frame_transforms",
|
|
3144
3147
|
"monitor_data_stream_global_retention",
|
|
3145
3148
|
"monitor_enrich",
|
|
3149
|
+
"monitor_esql",
|
|
3146
3150
|
"monitor_inference",
|
|
3147
3151
|
"monitor_ml",
|
|
3148
3152
|
"monitor_rollup",
|
|
@@ -3192,7 +3196,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3192
3196
|
File-based role management is not available in Elastic Serverless.</p>
|
|
3193
3197
|
|
|
3194
3198
|
|
|
3195
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3199
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-put-role>`_
|
|
3196
3200
|
|
|
3197
3201
|
:param name: The name of the role that is being created or updated. On Elasticsearch
|
|
3198
3202
|
Serverless, the role name must begin with a letter or digit and can only
|
|
@@ -3327,7 +3331,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3327
3331
|
If the format of the template is set to "json" then the template is expected to produce a JSON string or an array of JSON strings for the role names.</p>
|
|
3328
3332
|
|
|
3329
3333
|
|
|
3330
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3334
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-put-role-mapping>`_
|
|
3331
3335
|
|
|
3332
3336
|
:param name: The distinct name that identifies the role mapping. The name is
|
|
3333
3337
|
used solely as an identifier to facilitate interaction via the API; it does
|
|
@@ -3429,7 +3433,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3429
3433
|
To change a user's password without updating any other fields, use the change password API.</p>
|
|
3430
3434
|
|
|
3431
3435
|
|
|
3432
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3436
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-put-user>`_
|
|
3433
3437
|
|
|
3434
3438
|
:param username: An identifier for the user. NOTE: Usernames must be at least
|
|
3435
3439
|
1 and no more than 507 characters. They can contain alphanumeric characters
|
|
@@ -3549,7 +3553,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3549
3553
|
Refer to the linked documentation for examples of how to find API keys:</p>
|
|
3550
3554
|
|
|
3551
3555
|
|
|
3552
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3556
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-query-api-keys>`_
|
|
3553
3557
|
|
|
3554
3558
|
:param aggregations: Any aggregations to run over the corpus of returned API
|
|
3555
3559
|
keys. Aggregations and queries work together. Aggregations are computed only
|
|
@@ -3692,7 +3696,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3692
3696
|
Also, the results can be paginated and sorted.</p>
|
|
3693
3697
|
|
|
3694
3698
|
|
|
3695
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3699
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-query-role>`_
|
|
3696
3700
|
|
|
3697
3701
|
:param from_: The starting document offset. It must not be negative. By default,
|
|
3698
3702
|
you cannot page through more than 10,000 hits using the `from` and `size`
|
|
@@ -3785,7 +3789,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3785
3789
|
This API is only for native users.</p>
|
|
3786
3790
|
|
|
3787
3791
|
|
|
3788
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3792
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-query-user>`_
|
|
3789
3793
|
|
|
3790
3794
|
:param from_: The starting document offset. It must not be negative. By default,
|
|
3791
3795
|
you cannot page through more than 10,000 hits using the `from` and `size`
|
|
@@ -3878,7 +3882,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3878
3882
|
This API endpoint essentially exchanges SAML responses that indicate successful authentication in the IdP for Elasticsearch access and refresh tokens, which can be used for authentication against Elasticsearch.</p>
|
|
3879
3883
|
|
|
3880
3884
|
|
|
3881
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3885
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-authenticate>`_
|
|
3882
3886
|
|
|
3883
3887
|
:param content: The SAML response as it was sent by the user's browser, usually
|
|
3884
3888
|
a Base64 encoded XML document.
|
|
@@ -3951,7 +3955,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3951
3955
|
The caller of this API must prepare the request accordingly so that this API can handle either of them.</p>
|
|
3952
3956
|
|
|
3953
3957
|
|
|
3954
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
3958
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-complete-logout>`_
|
|
3955
3959
|
|
|
3956
3960
|
:param ids: A JSON array with all the valid SAML Request Ids that the caller
|
|
3957
3961
|
of the API has for the current user.
|
|
@@ -4027,7 +4031,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4027
4031
|
Thus the user can be redirected back to their IdP.</p>
|
|
4028
4032
|
|
|
4029
4033
|
|
|
4030
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4034
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-invalidate>`_
|
|
4031
4035
|
|
|
4032
4036
|
:param query_string: The query part of the URL that the user was redirected to
|
|
4033
4037
|
by the SAML IdP to initiate the Single Logout. This query should include
|
|
@@ -4102,7 +4106,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4102
4106
|
If the SAML realm in Elasticsearch is configured accordingly and the SAML IdP supports this, the Elasticsearch response contains a URL to redirect the user to the IdP that contains a SAML logout request (starting an SP-initiated SAML Single Logout).</p>
|
|
4103
4107
|
|
|
4104
4108
|
|
|
4105
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4109
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-logout>`_
|
|
4106
4110
|
|
|
4107
4111
|
:param token: The access token that was returned as a response to calling the
|
|
4108
4112
|
SAML authenticate API. Alternatively, the most recent token that was received
|
|
@@ -4172,7 +4176,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4172
4176
|
The caller of this API needs to store this identifier as it needs to be used in a following step of the authentication process.</p>
|
|
4173
4177
|
|
|
4174
4178
|
|
|
4175
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4179
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-prepare-authentication>`_
|
|
4176
4180
|
|
|
4177
4181
|
:param acs: The Assertion Consumer Service URL that matches the one of the SAML
|
|
4178
4182
|
realms in Elasticsearch. The realm is used to generate the authentication
|
|
@@ -4233,7 +4237,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4233
4237
|
This API generates Service Provider metadata based on the configuration of a SAML realm in Elasticsearch.</p>
|
|
4234
4238
|
|
|
4235
4239
|
|
|
4236
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4240
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-saml-service-provider-metadata>`_
|
|
4237
4241
|
|
|
4238
4242
|
:param realm_name: The name of the SAML realm in Elasticsearch.
|
|
4239
4243
|
"""
|
|
@@ -4286,7 +4290,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4286
4290
|
Elastic reserves the right to change or remove this feature in future releases without prior notice.</p>
|
|
4287
4291
|
|
|
4288
4292
|
|
|
4289
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4293
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-suggest-user-profiles>`_
|
|
4290
4294
|
|
|
4291
4295
|
:param data: A comma-separated list of filters for the `data` field of the profile
|
|
4292
4296
|
document. To return all content use `data=*`. To return a subset of content,
|
|
@@ -4373,7 +4377,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4373
4377
|
This change can occur if the owner user's permissions have changed since the API key was created or last modified.</p>
|
|
4374
4378
|
|
|
4375
4379
|
|
|
4376
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4380
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-update-api-key>`_
|
|
4377
4381
|
|
|
4378
4382
|
:param id: The ID of the API key to update.
|
|
4379
4383
|
:param expiration: The expiration time for the API key. By default, API keys
|
|
@@ -4462,7 +4466,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4462
4466
|
<p>To learn more about how to use this API, refer to the <a href="https://www.elastic.co/docs/reference/elasticsearch/rest-apis/update-cc-api-key-examples">Update cross cluter API key API examples page</a>.</p>
|
|
4463
4467
|
|
|
4464
4468
|
|
|
4465
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4469
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-update-cross-cluster-api-key>`_
|
|
4466
4470
|
|
|
4467
4471
|
:param id: The ID of the cross-cluster API key to update.
|
|
4468
4472
|
:param access: The access to be granted to this API key. The access is composed
|
|
@@ -4541,7 +4545,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4541
4545
|
This API does not yet support configuring the settings for indices before they are in use.</p>
|
|
4542
4546
|
|
|
4543
4547
|
|
|
4544
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4548
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-update-settings>`_
|
|
4545
4549
|
|
|
4546
4550
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
4547
4551
|
If no response is received before the timeout expires, the request fails
|
|
@@ -4626,7 +4630,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4626
4630
|
The <code>update_profile_data</code> global privilege grants privileges for updating only the allowed namespaces.</p>
|
|
4627
4631
|
|
|
4628
4632
|
|
|
4629
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
4633
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-update-user-profile-data>`_
|
|
4630
4634
|
|
|
4631
4635
|
:param uid: A unique identifier for the user profile.
|
|
4632
4636
|
:param data: Non-searchable data that you want to associate with the user profile.
|
|
@@ -53,7 +53,7 @@ class ShutdownClient(NamespacedClient):
|
|
|
53
53
|
<p>If the operator privileges feature is enabled, you must be an operator to use this API.</p>
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
56
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-shutdown-delete-node>`_
|
|
57
57
|
|
|
58
58
|
:param node_id: The node id of node to be removed from the shutdown state
|
|
59
59
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -112,7 +112,7 @@ class ShutdownClient(NamespacedClient):
|
|
|
112
112
|
<p>If the operator privileges feature is enabled, you must be an operator to use this API.</p>
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
115
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-shutdown-get-node>`_
|
|
116
116
|
|
|
117
117
|
:param node_id: Which node for which to retrieve the shutdown status
|
|
118
118
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -187,7 +187,7 @@ class ShutdownClient(NamespacedClient):
|
|
|
187
187
|
Monitor the node shutdown status to determine when it is safe to stop Elasticsearch.</p>
|
|
188
188
|
|
|
189
189
|
|
|
190
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
190
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-shutdown-put-node>`_
|
|
191
191
|
|
|
192
192
|
:param node_id: The node identifier. This parameter is not validated against
|
|
193
193
|
the cluster's active nodes. This enables you to register a node for shut
|
|
@@ -81,7 +81,7 @@ class SimulateClient(NamespacedClient):
|
|
|
81
81
|
These will be used in place of the pipeline definitions that are already in the system. This can be used to replace existing pipeline definitions or to create new ones. The pipeline substitutions are used only within this request.</p>
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
84
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-simulate-ingest>`_
|
|
85
85
|
|
|
86
86
|
:param docs: Sample documents to test in the pipeline.
|
|
87
87
|
:param index: The index to simulate ingesting into. This value can be overridden
|