elasticsearch 8.18.0__py3-none-any.whl → 9.0.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/_async/client/__init__.py +62 -277
- elasticsearch/_async/client/_base.py +1 -1
- elasticsearch/_async/client/async_search.py +6 -10
- elasticsearch/_async/client/autoscaling.py +4 -4
- elasticsearch/_async/client/cat.py +26 -33
- elasticsearch/_async/client/ccr.py +13 -13
- elasticsearch/_async/client/cluster.py +20 -20
- elasticsearch/_async/client/connector.py +44 -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 +7 -11
- elasticsearch/_async/client/features.py +2 -2
- elasticsearch/_async/client/fleet.py +18 -20
- elasticsearch/_async/client/graph.py +1 -1
- elasticsearch/_async/client/ilm.py +18 -11
- elasticsearch/_async/client/indices.py +75 -163
- elasticsearch/_async/client/inference.py +132 -25
- elasticsearch/_async/client/ingest.py +12 -12
- 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 +80 -85
- elasticsearch/_async/client/monitoring.py +1 -1
- elasticsearch/_async/client/nodes.py +8 -8
- 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 +71 -68
- 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 +280 -130
- elasticsearch/_async/client/sql.py +6 -6
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +7 -7
- elasticsearch/_async/client/tasks.py +3 -3
- elasticsearch/_async/client/text_structure.py +4 -4
- elasticsearch/_async/client/transform.py +11 -11
- elasticsearch/_async/client/watcher.py +14 -14
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_sync/client/__init__.py +62 -277
- elasticsearch/_sync/client/_base.py +1 -1
- elasticsearch/_sync/client/async_search.py +6 -10
- elasticsearch/_sync/client/autoscaling.py +4 -4
- elasticsearch/_sync/client/cat.py +26 -33
- elasticsearch/_sync/client/ccr.py +13 -13
- elasticsearch/_sync/client/cluster.py +20 -20
- elasticsearch/_sync/client/connector.py +44 -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 +7 -11
- elasticsearch/_sync/client/features.py +2 -2
- elasticsearch/_sync/client/fleet.py +18 -20
- elasticsearch/_sync/client/graph.py +1 -1
- elasticsearch/_sync/client/ilm.py +18 -11
- elasticsearch/_sync/client/indices.py +75 -163
- elasticsearch/_sync/client/inference.py +132 -25
- elasticsearch/_sync/client/ingest.py +12 -12
- 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 +80 -85
- elasticsearch/_sync/client/monitoring.py +1 -1
- elasticsearch/_sync/client/nodes.py +8 -8
- 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 +71 -68
- 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 +280 -130
- elasticsearch/_sync/client/sql.py +6 -6
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +7 -7
- elasticsearch/_sync/client/tasks.py +3 -3
- elasticsearch/_sync/client/text_structure.py +4 -4
- elasticsearch/_sync/client/transform.py +11 -11
- elasticsearch/_sync/client/utils.py +0 -37
- elasticsearch/_sync/client/watcher.py +14 -14
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- elasticsearch/dsl/_async/search.py +7 -3
- elasticsearch/dsl/_sync/search.py +7 -3
- elasticsearch/dsl/aggs.py +11 -7
- elasticsearch/dsl/faceted_search_base.py +4 -4
- elasticsearch/dsl/field.py +139 -1
- elasticsearch/dsl/query.py +7 -1
- elasticsearch/dsl/search_base.py +16 -3
- elasticsearch/dsl/types.py +66 -84
- elasticsearch/dsl/wrappers.py +25 -0
- elasticsearch/exceptions.py +2 -0
- elasticsearch/helpers/vectorstore/_async/strategies.py +12 -12
- elasticsearch/helpers/vectorstore/_sync/strategies.py +12 -12
- {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/METADATA +17 -29
- elasticsearch-9.0.1.dist-info/RECORD +162 -0
- elasticsearch-9.0.1.dist-info/licenses/LICENSE.txt +175 -0
- elasticsearch-9.0.1.dist-info/licenses/NOTICE.txt +559 -0
- elasticsearch/transport.py +0 -57
- elasticsearch-8.18.0.dist-info/RECORD +0 -161
- {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/WHEEL +0 -0
- {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.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/
|
|
61
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
127
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
174
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
235
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
303
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
381
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
448
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
494
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
544
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
594
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
646
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
718
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
808
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
883
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
969
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1033
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1096
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1150
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1206
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1268
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1322
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1379
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1432
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1489
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1539
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1580
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1629
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1707
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1752
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1808
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1859
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1912
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
1970
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
2026
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
2102
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
2176
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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
|
|
@@ -2231,7 +2231,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2231
2231
|
To check whether a user has a specific list of privileges, use the has privileges API.</p>
|
|
2232
2232
|
|
|
2233
2233
|
|
|
2234
|
-
`<https://www.elastic.co/
|
|
2234
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-privileges>`_
|
|
2235
2235
|
|
|
2236
2236
|
:param application: The name of the application. Application privileges are always
|
|
2237
2237
|
associated with exactly one application. If you do not specify this parameter,
|
|
@@ -2288,7 +2288,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2288
2288
|
Elastic reserves the right to change or remove this feature in future releases without prior notice.</p>
|
|
2289
2289
|
|
|
2290
2290
|
|
|
2291
|
-
`<https://www.elastic.co/
|
|
2291
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-profile>`_
|
|
2292
2292
|
|
|
2293
2293
|
:param uid: A unique identifier for the user profile.
|
|
2294
2294
|
:param data: A comma-separated list of filters for the `data` field of the profile
|
|
@@ -2372,7 +2372,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2372
2372
|
<p>By default, API keys never expire. You can specify expiration information when you create the API keys.</p>
|
|
2373
2373
|
|
|
2374
2374
|
|
|
2375
|
-
`<https://www.elastic.co/
|
|
2375
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-grant-api-key>`_
|
|
2376
2376
|
|
|
2377
2377
|
:param api_key: The API key.
|
|
2378
2378
|
:param grant_type: The type of grant. Supported grant types are: `access_token`,
|
|
@@ -2519,7 +2519,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2519
2519
|
To check the privileges of other users, you must use the run as feature.</p>
|
|
2520
2520
|
|
|
2521
2521
|
|
|
2522
|
-
`<https://www.elastic.co/
|
|
2522
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges>`_
|
|
2523
2523
|
|
|
2524
2524
|
:param user: Username
|
|
2525
2525
|
:param application:
|
|
@@ -2584,7 +2584,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2584
2584
|
Elastic reserves the right to change or remove this feature in future releases without prior notice.</p>
|
|
2585
2585
|
|
|
2586
2586
|
|
|
2587
|
-
`<https://www.elastic.co/
|
|
2587
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges-user-profile>`_
|
|
2588
2588
|
|
|
2589
2589
|
:param privileges: An object containing all the privileges to be checked.
|
|
2590
2590
|
:param uids: A list of profile IDs. The privileges are checked for associated
|
|
@@ -2658,7 +2658,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2658
2658
|
</ul>
|
|
2659
2659
|
|
|
2660
2660
|
|
|
2661
|
-
`<https://www.elastic.co/
|
|
2661
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key>`_
|
|
2662
2662
|
|
|
2663
2663
|
:param id:
|
|
2664
2664
|
:param ids: A list of API key ids. This parameter cannot be used with any of
|
|
@@ -2742,7 +2742,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2742
2742
|
If none of these two are specified, then <code>realm_name</code> and/or <code>username</code> need to be specified.</p>
|
|
2743
2743
|
|
|
2744
2744
|
|
|
2745
|
-
`<https://www.elastic.co/
|
|
2745
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token>`_
|
|
2746
2746
|
|
|
2747
2747
|
:param realm_name: The name of an authentication realm. This parameter cannot
|
|
2748
2748
|
be used with either `refresh_token` or `token`.
|
|
@@ -2810,7 +2810,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2810
2810
|
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>
|
|
2811
2811
|
|
|
2812
2812
|
|
|
2813
|
-
`<https://www.elastic.co/
|
|
2813
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-authenticate>`_
|
|
2814
2814
|
|
|
2815
2815
|
:param nonce: Associate a client session with an ID token and mitigate replay
|
|
2816
2816
|
attacks. This value needs to be the same as the one that was provided to
|
|
@@ -2890,7 +2890,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2890
2890
|
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>
|
|
2891
2891
|
|
|
2892
2892
|
|
|
2893
|
-
`<https://www.elastic.co/
|
|
2893
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-logout>`_
|
|
2894
2894
|
|
|
2895
2895
|
:param token: The access token to be invalidated.
|
|
2896
2896
|
:param refresh_token: The refresh token to be invalidated.
|
|
@@ -2952,7 +2952,7 @@ class SecurityClient(NamespacedClient):
|
|
|
2952
2952
|
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>
|
|
2953
2953
|
|
|
2954
2954
|
|
|
2955
|
-
`<https://www.elastic.co/
|
|
2955
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication>`_
|
|
2956
2956
|
|
|
2957
2957
|
:param iss: In the case of a third party initiated single sign on, this is the
|
|
2958
2958
|
issuer identifier for the OP that the RP is to send the authentication request
|
|
@@ -3048,7 +3048,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3048
3048
|
<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>
|
|
3049
3049
|
|
|
3050
3050
|
|
|
3051
|
-
`<https://www.elastic.co/
|
|
3051
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges>`_
|
|
3052
3052
|
|
|
3053
3053
|
:param privileges:
|
|
3054
3054
|
:param refresh: If `true` (the default) then refresh the affected shards to make
|
|
@@ -3200,9 +3200,12 @@ class SecurityClient(NamespacedClient):
|
|
|
3200
3200
|
File-based role management is not available in Elastic Serverless.</p>
|
|
3201
3201
|
|
|
3202
3202
|
|
|
3203
|
-
`<https://www.elastic.co/
|
|
3203
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role>`_
|
|
3204
3204
|
|
|
3205
|
-
:param name: The name of the role.
|
|
3205
|
+
:param name: The name of the role that is being created or updated. On Elasticsearch
|
|
3206
|
+
Serverless, the role name must begin with a letter or digit and can only
|
|
3207
|
+
contain letters, digits and the characters '_', '-', and '.'. Each role must
|
|
3208
|
+
have a unique name, as this will serve as the identifier for that role.
|
|
3206
3209
|
:param applications: A list of application privilege entries.
|
|
3207
3210
|
:param cluster: A list of cluster privileges. These privileges define the cluster-level
|
|
3208
3211
|
actions for users with this role.
|
|
@@ -3332,7 +3335,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3332
3335
|
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>
|
|
3333
3336
|
|
|
3334
3337
|
|
|
3335
|
-
`<https://www.elastic.co/
|
|
3338
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role-mapping>`_
|
|
3336
3339
|
|
|
3337
3340
|
:param name: The distinct name that identifies the role mapping. The name is
|
|
3338
3341
|
used solely as an identifier to facilitate interaction via the API; it does
|
|
@@ -3434,7 +3437,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3434
3437
|
To change a user's password without updating any other fields, use the change password API.</p>
|
|
3435
3438
|
|
|
3436
3439
|
|
|
3437
|
-
`<https://www.elastic.co/
|
|
3440
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-user>`_
|
|
3438
3441
|
|
|
3439
3442
|
:param username: An identifier for the user. NOTE: Usernames must be at least
|
|
3440
3443
|
1 and no more than 507 characters. They can contain alphanumeric characters
|
|
@@ -3528,7 +3531,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3528
3531
|
pretty: t.Optional[bool] = None,
|
|
3529
3532
|
query: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
3530
3533
|
search_after: t.Optional[
|
|
3531
|
-
t.Sequence[t.Union[None, bool, float, int, str
|
|
3534
|
+
t.Sequence[t.Union[None, bool, float, int, str]]
|
|
3532
3535
|
] = None,
|
|
3533
3536
|
size: t.Optional[int] = None,
|
|
3534
3537
|
sort: t.Optional[
|
|
@@ -3553,7 +3556,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3553
3556
|
If you have the <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>
|
|
3554
3557
|
|
|
3555
3558
|
|
|
3556
|
-
`<https://www.elastic.co/
|
|
3559
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys>`_
|
|
3557
3560
|
|
|
3558
3561
|
:param aggregations: Any aggregations to run over the corpus of returned API
|
|
3559
3562
|
keys. Aggregations and queries work together. Aggregations are computed only
|
|
@@ -3674,7 +3677,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3674
3677
|
pretty: t.Optional[bool] = None,
|
|
3675
3678
|
query: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
3676
3679
|
search_after: t.Optional[
|
|
3677
|
-
t.Sequence[t.Union[None, bool, float, int, str
|
|
3680
|
+
t.Sequence[t.Union[None, bool, float, int, str]]
|
|
3678
3681
|
] = None,
|
|
3679
3682
|
size: t.Optional[int] = None,
|
|
3680
3683
|
sort: t.Optional[
|
|
@@ -3696,7 +3699,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3696
3699
|
Also, the results can be paginated and sorted.</p>
|
|
3697
3700
|
|
|
3698
3701
|
|
|
3699
|
-
`<https://www.elastic.co/
|
|
3702
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role>`_
|
|
3700
3703
|
|
|
3701
3704
|
:param from_: The starting document offset. It must not be negative. By default,
|
|
3702
3705
|
you cannot page through more than 10,000 hits using the `from` and `size`
|
|
@@ -3767,7 +3770,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3767
3770
|
pretty: t.Optional[bool] = None,
|
|
3768
3771
|
query: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
3769
3772
|
search_after: t.Optional[
|
|
3770
|
-
t.Sequence[t.Union[None, bool, float, int, str
|
|
3773
|
+
t.Sequence[t.Union[None, bool, float, int, str]]
|
|
3771
3774
|
] = None,
|
|
3772
3775
|
size: t.Optional[int] = None,
|
|
3773
3776
|
sort: t.Optional[
|
|
@@ -3789,7 +3792,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3789
3792
|
This API is only for native users.</p>
|
|
3790
3793
|
|
|
3791
3794
|
|
|
3792
|
-
`<https://www.elastic.co/
|
|
3795
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user>`_
|
|
3793
3796
|
|
|
3794
3797
|
:param from_: The starting document offset. It must not be negative. By default,
|
|
3795
3798
|
you cannot page through more than 10,000 hits using the `from` and `size`
|
|
@@ -3882,7 +3885,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3882
3885
|
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>
|
|
3883
3886
|
|
|
3884
3887
|
|
|
3885
|
-
`<https://www.elastic.co/
|
|
3888
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-authenticate>`_
|
|
3886
3889
|
|
|
3887
3890
|
:param content: The SAML response as it was sent by the user's browser, usually
|
|
3888
3891
|
a Base64 encoded XML document.
|
|
@@ -3955,7 +3958,7 @@ class SecurityClient(NamespacedClient):
|
|
|
3955
3958
|
The caller of this API must prepare the request accordingly so that this API can handle either of them.</p>
|
|
3956
3959
|
|
|
3957
3960
|
|
|
3958
|
-
`<https://www.elastic.co/
|
|
3961
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-complete-logout>`_
|
|
3959
3962
|
|
|
3960
3963
|
:param ids: A JSON array with all the valid SAML Request Ids that the caller
|
|
3961
3964
|
of the API has for the current user.
|
|
@@ -4031,7 +4034,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4031
4034
|
Thus the user can be redirected back to their IdP.</p>
|
|
4032
4035
|
|
|
4033
4036
|
|
|
4034
|
-
`<https://www.elastic.co/
|
|
4037
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-invalidate>`_
|
|
4035
4038
|
|
|
4036
4039
|
:param query_string: The query part of the URL that the user was redirected to
|
|
4037
4040
|
by the SAML IdP to initiate the Single Logout. This query should include
|
|
@@ -4106,7 +4109,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4106
4109
|
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>
|
|
4107
4110
|
|
|
4108
4111
|
|
|
4109
|
-
`<https://www.elastic.co/
|
|
4112
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-logout>`_
|
|
4110
4113
|
|
|
4111
4114
|
:param token: The access token that was returned as a response to calling the
|
|
4112
4115
|
SAML authenticate API. Alternatively, the most recent token that was received
|
|
@@ -4176,7 +4179,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4176
4179
|
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>
|
|
4177
4180
|
|
|
4178
4181
|
|
|
4179
|
-
`<https://www.elastic.co/
|
|
4182
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication>`_
|
|
4180
4183
|
|
|
4181
4184
|
:param acs: The Assertion Consumer Service URL that matches the one of the SAML
|
|
4182
4185
|
realms in Elasticsearch. The realm is used to generate the authentication
|
|
@@ -4237,7 +4240,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4237
4240
|
This API generates Service Provider metadata based on the configuration of a SAML realm in Elasticsearch.</p>
|
|
4238
4241
|
|
|
4239
4242
|
|
|
4240
|
-
`<https://www.elastic.co/
|
|
4243
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-service-provider-metadata>`_
|
|
4241
4244
|
|
|
4242
4245
|
:param realm_name: The name of the SAML realm in Elasticsearch.
|
|
4243
4246
|
"""
|
|
@@ -4290,7 +4293,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4290
4293
|
Elastic reserves the right to change or remove this feature in future releases without prior notice.</p>
|
|
4291
4294
|
|
|
4292
4295
|
|
|
4293
|
-
`<https://www.elastic.co/
|
|
4296
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles>`_
|
|
4294
4297
|
|
|
4295
4298
|
:param data: A comma-separated list of filters for the `data` field of the profile
|
|
4296
4299
|
document. To return all content use `data=*`. To return a subset of content,
|
|
@@ -4377,7 +4380,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4377
4380
|
This change can occur if the owner user's permissions have changed since the API key was created or last modified.</p>
|
|
4378
4381
|
|
|
4379
4382
|
|
|
4380
|
-
`<https://www.elastic.co/
|
|
4383
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-api-key>`_
|
|
4381
4384
|
|
|
4382
4385
|
:param id: The ID of the API key to update.
|
|
4383
4386
|
:param expiration: The expiration time for the API key. By default, API keys
|
|
@@ -4465,7 +4468,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4465
4468
|
<p>NOTE: This API cannot update REST API keys, which should be updated by either the update API key or bulk update API keys API.</p>
|
|
4466
4469
|
|
|
4467
4470
|
|
|
4468
|
-
`<https://www.elastic.co/
|
|
4471
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-cross-cluster-api-key>`_
|
|
4469
4472
|
|
|
4470
4473
|
:param id: The ID of the cross-cluster API key to update.
|
|
4471
4474
|
:param access: The access to be granted to this API key. The access is composed
|
|
@@ -4544,7 +4547,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4544
4547
|
This API does not yet support configuring the settings for indices before they are in use.</p>
|
|
4545
4548
|
|
|
4546
4549
|
|
|
4547
|
-
`<https://www.elastic.co/
|
|
4550
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings>`_
|
|
4548
4551
|
|
|
4549
4552
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
4550
4553
|
If no response is received before the timeout expires, the request fails
|
|
@@ -4629,7 +4632,7 @@ class SecurityClient(NamespacedClient):
|
|
|
4629
4632
|
The <code>update_profile_data</code> global privilege grants privileges for updating only the allowed namespaces.</p>
|
|
4630
4633
|
|
|
4631
4634
|
|
|
4632
|
-
`<https://www.elastic.co/
|
|
4635
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-user-profile-data>`_
|
|
4633
4636
|
|
|
4634
4637
|
:param uid: A unique identifier for the user profile.
|
|
4635
4638
|
: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/
|
|
56
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
115
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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/
|
|
190
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v9/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
|