Skip to content

Commit 113fc4c

Browse files
Auto-generated code for 8.15 (#2609)
1 parent 058abd3 commit 113fc4c

Some content is hidden

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

76 files changed

+904
-896
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
@@ -42,7 +42,7 @@ async def delete(
4242
search is restricted to: the authenticated user that submitted the original search
4343
request; users that have the `cancel_task` cluster privilege.
4444
45-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/async-search.html>`_
45+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html>`_
4646
4747
:param id: A unique identifier for the async search.
4848
"""
@@ -90,7 +90,7 @@ async def get(
9090
results of a specific async search is restricted to the user or API key that
9191
submitted it.
9292
93-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/async-search.html>`_
93+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html>`_
9494
9595
:param id: A unique identifier for the async search.
9696
:param keep_alive: Specifies how long the async search should be available in
@@ -153,7 +153,7 @@ async def status(
153153
Elasticsearch security features are enabled, use of this API is restricted to
154154
the `monitoring_user` role.
155155
156-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/async-search.html>`_
156+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html>`_
157157
158158
:param id: A unique identifier for the async search.
159159
"""
@@ -333,7 +333,7 @@ async def submit(
333333
response can be set by changing the `search.max_async_search_response_size` cluster
334334
level setting.
335335
336-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/async-search.html>`_
336+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html>`_
337337
338338
:param index: A comma-separated list of index names to search; use `_all` or
339339
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
@@ -39,7 +39,7 @@ async def delete_autoscaling_policy(
3939
Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
4040
Direct use is not supported.
4141
42-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/autoscaling-delete-autoscaling-policy.html>`_
42+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-delete-autoscaling-policy.html>`_
4343
4444
:param name: the name of the autoscaling policy
4545
"""
@@ -79,7 +79,7 @@ async def get_autoscaling_capacity(
7979
Gets the current autoscaling capacity based on the configured autoscaling policy.
8080
Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
8181
82-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/autoscaling-get-autoscaling-capacity.html>`_
82+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-get-autoscaling-capacity.html>`_
8383
"""
8484
__path_parts: t.Dict[str, str] = {}
8585
__path = "/_autoscaling/capacity"
@@ -116,7 +116,7 @@ async def get_autoscaling_policy(
116116
Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
117117
Direct use is not supported.
118118
119-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/autoscaling-get-autoscaling-capacity.html>`_
119+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-get-autoscaling-capacity.html>`_
120120
121121
:param name: the name of the autoscaling policy
122122
"""
@@ -161,7 +161,7 @@ async def put_autoscaling_policy(
161161
Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
162162
Direct use is not supported.
163163
164-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/autoscaling-put-autoscaling-policy.html>`_
164+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-put-autoscaling-policy.html>`_
165165
166166
:param name: the name of the autoscaling policy
167167
:param policy:

elasticsearch/_async/client/cat.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def aliases(
5959
not intended for use by applications. For application consumption, use the aliases
6060
API.
6161
62-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html>`_
62+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-alias.html>`_
6363
6464
:param name: A comma-separated list of aliases to retrieve. Supports wildcards
6565
(`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
@@ -149,7 +149,7 @@ async def allocation(
149149
disk space. IMPORTANT: cat APIs are only intended for human consumption using
150150
the command line or Kibana console. They are not intended for use by applications.
151151
152-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html>`_
152+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-allocation.html>`_
153153
154154
:param node_id: Comma-separated list of node identifiers or names used to limit
155155
the returned information.
@@ -237,7 +237,7 @@ async def component_templates(
237237
using the command line or Kibana console. They are not intended for use by applications.
238238
For application consumption, use the get component template API.
239239
240-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
240+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-component-templates.html>`_
241241
242242
:param name: The name of the component template. Accepts wildcard expressions.
243243
If omitted, all component templates are returned.
@@ -323,7 +323,7 @@ async def count(
323323
console. They are not intended for use by applications. For application consumption,
324324
use the count API.
325325
326-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
326+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-count.html>`_
327327
328328
:param index: Comma-separated list of data streams, indices, and aliases used
329329
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -411,7 +411,7 @@ async def fielddata(
411411
using the command line or Kibana console. They are not intended for use by applications.
412412
For application consumption, use the nodes stats API.
413413
414-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html>`_
414+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-fielddata.html>`_
415415
416416
:param fields: Comma-separated list of fields used to limit returned information.
417417
To retrieve all fields, omit this parameter.
@@ -508,7 +508,7 @@ async def health(
508508
across multiple nodes. You also can use the API to track the recovery of a large
509509
cluster over a longer period of time.
510510
511-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html>`_
511+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-health.html>`_
512512
513513
:param format: Specifies the format to return the columnar data in, can be set
514514
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -587,7 +587,7 @@ async def help(
587587
"""
588588
Returns help for the Cat APIs.
589589
590-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html>`_
590+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat.html>`_
591591
592592
:param format: Specifies the format to return the columnar data in, can be set
593593
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -687,7 +687,7 @@ async def indices(
687687
document counts include hidden nested documents. To get an accurate count of
688688
Elasticsearch documents, use the cat count or count APIs.
689689
690-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html>`_
690+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-indices.html>`_
691691
692692
:param index: Comma-separated list of data streams, indices, and aliases used
693693
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -791,7 +791,7 @@ async def master(
791791
command line or Kibana console. They are not intended for use by applications.
792792
For application consumption, use the nodes info API.
793793
794-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html>`_
794+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-master.html>`_
795795
796796
:param format: Specifies the format to return the columnar data in, can be set
797797
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -899,7 +899,7 @@ async def ml_data_frame_analytics(
899899
console or command line. They are not intended for use by applications. For application
900900
consumption, use the get data frame analytics jobs statistics API.
901901
902-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html>`_
902+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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
@@ -1023,7 +1023,7 @@ async def ml_datafeeds(
10231023
using the Kibana console or command line. They are not intended for use by applications.
10241024
For application consumption, use the get datafeed statistics API.
10251025
1026-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
1026+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-datafeeds.html>`_
10271027
10281028
:param datafeed_id: A numerical character string that uniquely identifies the
10291029
datafeed.
@@ -1154,7 +1154,7 @@ async def ml_jobs(
11541154
for use by applications. For application consumption, use the get anomaly detection
11551155
job statistics API.
11561156
1157-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
1157+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-anomaly-detectors.html>`_
11581158
11591159
:param job_id: Identifier for the anomaly detection job.
11601160
:param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1285,7 +1285,7 @@ async def ml_trained_models(
12851285
command line. They are not intended for use by applications. For application
12861286
consumption, use the get trained models statistics API.
12871287
1288-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
1288+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-trained-model.html>`_
12891289
12901290
:param model_id: A unique identifier for the trained model.
12911291
:param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1384,7 +1384,7 @@ async def nodeattrs(
13841384
are not intended for use by applications. For application consumption, use the
13851385
nodes info API.
13861386
1387-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html>`_
1387+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-nodeattrs.html>`_
13881388
13891389
:param format: Specifies the format to return the columnar data in, can be set
13901390
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1465,7 +1465,7 @@ async def nodes(
14651465
are not intended for use by applications. For application consumption, use the
14661466
nodes info API.
14671467
1468-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html>`_
1468+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-nodes.html>`_
14691469
14701470
:param bytes: The unit used to display byte values.
14711471
:param format: Specifies the format to return the columnar data in, can be set
@@ -1552,7 +1552,7 @@ async def pending_tasks(
15521552
console. They are not intended for use by applications. For application consumption,
15531553
use the pending cluster tasks API.
15541554
1555-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html>`_
1555+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-pending-tasks.html>`_
15561556
15571557
:param format: Specifies the format to return the columnar data in, can be set
15581558
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1628,7 +1628,7 @@ async def plugins(
16281628
They are not intended for use by applications. For application consumption, use
16291629
the nodes info API.
16301630
1631-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html>`_
1631+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-plugins.html>`_
16321632
16331633
:param format: Specifies the format to return the columnar data in, can be set
16341634
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1714,7 +1714,7 @@ async def recovery(
17141714
line or Kibana console. They are not intended for use by applications. For application
17151715
consumption, use the index recovery API.
17161716
1717-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html>`_
1717+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-recovery.html>`_
17181718
17191719
:param index: A comma-separated list of data streams, indices, and aliases used
17201720
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -1808,7 +1808,7 @@ async def repositories(
18081808
are not intended for use by applications. For application consumption, use the
18091809
get snapshot repository API.
18101810
1811-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html>`_
1811+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-repositories.html>`_
18121812
18131813
:param format: Specifies the format to return the columnar data in, can be set
18141814
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1889,7 +1889,7 @@ async def segments(
18891889
console. They are not intended for use by applications. For application consumption,
18901890
use the index segments API.
18911891
1892-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html>`_
1892+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-segments.html>`_
18931893
18941894
:param index: A comma-separated list of data streams, indices, and aliases used
18951895
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -1980,7 +1980,7 @@ async def shards(
19801980
for human consumption using the command line or Kibana console. They are not
19811981
intended for use by applications.
19821982
1983-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html>`_
1983+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-shards.html>`_
19841984
19851985
:param index: A comma-separated list of data streams, indices, and aliases used
19861986
to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2070,7 +2070,7 @@ async def snapshots(
20702070
console. They are not intended for use by applications. For application consumption,
20712071
use the get snapshot API.
20722072
2073-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html>`_
2073+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-snapshots.html>`_
20742074
20752075
:param repository: A comma-separated list of snapshot repositories used to limit
20762076
the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2162,7 +2162,7 @@ async def tasks(
21622162
console. They are not intended for use by applications. For application consumption,
21632163
use the task management API.
21642164
2165-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html>`_
2165+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html>`_
21662166
21672167
:param actions: The task action names, which are used to limit the response.
21682168
:param detailed: If `true`, the response includes detailed information about
@@ -2254,7 +2254,7 @@ async def templates(
22542254
console. They are not intended for use by applications. For application consumption,
22552255
use the get index template API.
22562256
2257-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html>`_
2257+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-templates.html>`_
22582258
22592259
:param name: The name of the template to return. Accepts wildcard expressions.
22602260
If omitted, all templates are returned.
@@ -2342,7 +2342,7 @@ async def thread_pool(
23422342
They are not intended for use by applications. For application consumption, use
23432343
the nodes info API.
23442344
2345-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html>`_
2345+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-thread-pool.html>`_
23462346
23472347
:param thread_pool_patterns: A comma-separated list of thread pool names used
23482348
to limit the request. Accepts wildcard expressions.
@@ -2463,7 +2463,7 @@ async def transforms(
24632463
line. They are not intended for use by applications. For application consumption,
24642464
use the get transform statistics API.
24652465
2466-
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html>`_
2466+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/cat-transforms.html>`_
24672467
24682468
:param transform_id: A transform identifier or a wildcard expression. If you
24692469
do not specify one of these options, the API returns information for all

0 commit comments

Comments
 (0)