Skip to content

Commit 79522fb

Browse files
Auto-generated API code
1 parent 7310c34 commit 79522fb

File tree

6 files changed

+1628
-458
lines changed

6 files changed

+1628
-458
lines changed

elasticsearch_serverless/_async/client/__init__.py

Lines changed: 805 additions & 226 deletions
Large diffs are not rendered by default.

elasticsearch_serverless/_async/client/indices.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,8 @@ async def get_alias(
10121012
"""
10131013
Get aliases. Retrieves information for one or more data stream or index aliases.
10141014
1015+
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-alias.html>`_
1016+
10151017
:param index: Comma-separated list of data streams or indices used to limit the
10161018
request. Supports wildcards (`*`). To target all data streams and indices,
10171019
omit this parameter or use `*` or `_all`.

elasticsearch_serverless/_async/client/tasks.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,16 @@ async def get(
4646
) -> ObjectApiResponse[t.Any]:
4747
"""
4848
Get task information. Get information about a task currently running in the cluster.
49+
WARNING: The task management API is new and should still be considered a beta
50+
feature. The API may change in ways that are not backwards compatible. If the
51+
task identifier is not found, a 404 response code indicates that there are no
52+
resources that match the request.
4953
5054
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html>`_
5155
52-
:param task_id: ID of the task.
53-
:param timeout: Period to wait for a response. If no response is received before
54-
the timeout expires, the request fails and returns an error.
56+
:param task_id: The task identifier.
57+
:param timeout: The period to wait for a response. If no response is received
58+
before the timeout expires, the request fails and returns an error.
5559
:param wait_for_completion: If `true`, the request blocks until the task has
5660
completed.
5761
"""

0 commit comments

Comments
 (0)