Skip to content

Commit 6dbc74b

Browse files
Auto-generated API code
1 parent 82c9d98 commit 6dbc74b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1049
-1007
lines changed

elasticsearch/_async/client/__init__.py

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

elasticsearch/_async/client/async_search.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def delete(
4444
If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the <code>cancel_task</code> cluster privilege.</p>
4545
4646
47-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
47+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
4848
4949
:param id: A unique identifier for the async search.
5050
"""
@@ -94,7 +94,7 @@ async def get(
9494
If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.</p>
9595
9696
97-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
97+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
9898
9999
:param id: A unique identifier for the async search.
100100
:param keep_alive: The length of time that the async search should be available
@@ -164,7 +164,7 @@ async def status(
164164
</ul>
165165
166166
167-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
167+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
168168
169169
:param id: A unique identifier for the async search.
170170
:param keep_alive: The length of time that the async search needs to be available.
@@ -346,7 +346,7 @@ async def submit(
346346
The maximum allowed size for a stored async search response can be set by changing the <code>search.max_async_search_response_size</code> cluster level setting.</p>
347347
348348
349-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
349+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
350350
351351
:param index: A comma-separated list of index names to search; use `_all` or
352352
empty string to perform the operation on all indices

elasticsearch/_async/client/autoscaling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def delete_autoscaling_policy(
4444
<p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
4545
4646
47-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-delete-autoscaling-policy.html>`_
47+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-delete-autoscaling-policy.html>`_
4848
4949
:param name: the name of the autoscaling policy
5050
:param master_timeout: Period to wait for a connection to the master node. If
@@ -104,7 +104,7 @@ async def get_autoscaling_capacity(
104104
Do not use this information to make autoscaling decisions.</p>
105105
106106
107-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
107+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-get-autoscaling-capacity.html>`_
108108
109109
:param master_timeout: Period to wait for a connection to the master node. If
110110
no response is received before the timeout expires, the request fails and
@@ -151,7 +151,7 @@ async def get_autoscaling_policy(
151151
<p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
152152
153153
154-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
154+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-get-autoscaling-capacity.html>`_
155155
156156
:param name: the name of the autoscaling policy
157157
:param master_timeout: Period to wait for a connection to the master node. If
@@ -206,7 +206,7 @@ async def put_autoscaling_policy(
206206
<p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
207207
208208
209-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-put-autoscaling-policy.html>`_
209+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-put-autoscaling-policy.html>`_
210210
211211
:param name: the name of the autoscaling policy
212212
:param policy:

elasticsearch/_async/client/cat.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async def aliases(
6565
<p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.</p>
6666
6767
68-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
68+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-alias.html>`_
6969
7070
:param name: A comma-separated list of aliases to retrieve. Supports wildcards
7171
(`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
@@ -161,7 +161,7 @@ async def allocation(
161161
<p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
162162
163163
164-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
164+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-allocation.html>`_
165165
166166
:param node_id: A comma-separated list of node identifiers or names used to limit
167167
the returned information.
@@ -250,7 +250,7 @@ async def component_templates(
250250
They are not intended for use by applications. For application consumption, use the get component template API.</p>
251251
252252
253-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-component-templates.html>`_
253+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-component-templates.html>`_
254254
255255
:param name: The name of the component template. It accepts wildcard expressions.
256256
If it is omitted, all component templates are returned.
@@ -334,7 +334,7 @@ async def count(
334334
They are not intended for use by applications. For application consumption, use the count API.</p>
335335
336336
337-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
337+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-count.html>`_
338338
339339
:param index: A comma-separated list of data streams, indices, and aliases used
340340
to limit the request. It supports wildcards (`*`). To target all data streams
@@ -412,7 +412,7 @@ async def fielddata(
412412
They are not intended for use by applications. For application consumption, use the nodes stats API.</p>
413413
414414
415-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
415+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-fielddata.html>`_
416416
417417
:param fields: Comma-separated list of fields used to limit returned information.
418418
To retrieve all fields, omit this parameter.
@@ -498,7 +498,7 @@ async def health(
498498
You also can use the API to track the recovery of a large cluster over a longer period of time.</p>
499499
500500
501-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
501+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-health.html>`_
502502
503503
:param format: Specifies the format to return the columnar data in, can be set
504504
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -556,7 +556,7 @@ async def help(self) -> TextApiResponse:
556556
<p>Get help for the CAT APIs.</p>
557557
558558
559-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
559+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat.html>`_
560560
"""
561561
__path_parts: t.Dict[str, str] = {}
562562
__path = "/_cat"
@@ -623,7 +623,7 @@ async def indices(
623623
They are not intended for use by applications. For application consumption, use an index endpoint.</p>
624624
625625
626-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
626+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-indices.html>`_
627627
628628
:param index: Comma-separated list of data streams, indices, and aliases used
629629
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -721,7 +721,7 @@ async def master(
721721
<p>IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
722722
723723
724-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
724+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-master.html>`_
725725
726726
:param format: Specifies the format to return the columnar data in, can be set
727727
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -899,7 +899,7 @@ async def ml_data_frame_analytics(
899899
application consumption, use the get data frame analytics jobs statistics API.</p>
900900
901901
902-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
902+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-dfanalytics.html>`_
903903
904904
:param id: The ID of the data frame analytics to fetch
905905
:param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -1067,7 +1067,7 @@ async def ml_datafeeds(
10671067
application consumption, use the get datafeed statistics API.</p>
10681068
10691069
1070-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
1070+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-datafeeds.html>`_
10711071
10721072
:param datafeed_id: A numerical character string that uniquely identifies the
10731073
datafeed.
@@ -1433,7 +1433,7 @@ async def ml_jobs(
14331433
application consumption, use the get anomaly detection job statistics API.</p>
14341434
14351435
1436-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-anomaly-detectors.html>`_
1436+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-anomaly-detectors.html>`_
14371437
14381438
:param job_id: Identifier for the anomaly detection job.
14391439
:param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1618,7 +1618,7 @@ async def ml_trained_models(
16181618
application consumption, use the get trained models statistics API.</p>
16191619
16201620
1621-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
1621+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-trained-model.html>`_
16221622
16231623
:param model_id: A unique identifier for the trained model.
16241624
:param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1711,7 +1711,7 @@ async def nodeattrs(
17111711
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
17121712
17131713
1714-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodeattrs.html>`_
1714+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-nodeattrs.html>`_
17151715
17161716
:param format: Specifies the format to return the columnar data in, can be set
17171717
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1794,7 +1794,7 @@ async def nodes(
17941794
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
17951795
17961796
1797-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
1797+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-nodes.html>`_
17981798
17991799
:param bytes: The unit used to display byte values.
18001800
:param format: Specifies the format to return the columnar data in, can be set
@@ -1881,7 +1881,7 @@ async def pending_tasks(
18811881
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.</p>
18821882
18831883
1884-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
1884+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-pending-tasks.html>`_
18851885
18861886
:param format: Specifies the format to return the columnar data in, can be set
18871887
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1961,7 +1961,7 @@ async def plugins(
19611961
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
19621962
19631963
1964-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
1964+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-plugins.html>`_
19651965
19661966
:param format: Specifies the format to return the columnar data in, can be set
19671967
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2049,7 +2049,7 @@ async def recovery(
20492049
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.</p>
20502050
20512051
2052-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
2052+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-recovery.html>`_
20532053
20542054
:param index: A comma-separated list of data streams, indices, and aliases used
20552055
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2137,7 +2137,7 @@ async def repositories(
21372137
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.</p>
21382138
21392139
2140-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-repositories.html>`_
2140+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-repositories.html>`_
21412141
21422142
:param format: Specifies the format to return the columnar data in, can be set
21432143
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2218,7 +2218,7 @@ async def segments(
22182218
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.</p>
22192219
22202220
2221-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
2221+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-segments.html>`_
22222222
22232223
:param index: A comma-separated list of data streams, indices, and aliases used
22242224
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2312,7 +2312,7 @@ async def shards(
23122312
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
23132313
23142314
2315-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-shards.html>`_
2315+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-shards.html>`_
23162316
23172317
:param index: A comma-separated list of data streams, indices, and aliases used
23182318
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2401,7 +2401,7 @@ async def snapshots(
24012401
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.</p>
24022402
24032403
2404-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
2404+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-snapshots.html>`_
24052405
24062406
:param repository: A comma-separated list of snapshot repositories used to limit
24072407
the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2494,7 +2494,7 @@ async def tasks(
24942494
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.</p>
24952495
24962496
2497-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-tasks.html>`_
2497+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-tasks.html>`_
24982498
24992499
:param actions: The task action names, which are used to limit the response.
25002500
:param detailed: If `true`, the response includes detailed information about
@@ -2588,7 +2588,7 @@ async def templates(
25882588
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.</p>
25892589
25902590
2591-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
2591+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-templates.html>`_
25922592
25932593
:param name: The name of the template to return. Accepts wildcard expressions.
25942594
If omitted, all templates are returned.
@@ -2676,7 +2676,7 @@ async def thread_pool(
26762676
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
26772677
26782678
2679-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
2679+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-thread-pool.html>`_
26802680
26812681
:param thread_pool_patterns: A comma-separated list of thread pool names used
26822682
to limit the request. Accepts wildcard expressions.
@@ -2933,7 +2933,7 @@ async def transforms(
29332933
application consumption, use the get transform statistics API.</p>
29342934
29352935
2936-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-transforms.html>`_
2936+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-transforms.html>`_
29372937
29382938
:param transform_id: A transform identifier or a wildcard expression. If you
29392939
do not specify one of these options, the API returns information for all

0 commit comments

Comments
 (0)