Skip to content

Commit 0972800

Browse files
committed
Update APIs to 7.14-SNAPSHOT
1 parent 92ecef8 commit 0972800

Some content is hidden

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

72 files changed

+1209
-737
lines changed

elasticsearch/_async/client/__init__.py

Lines changed: 39 additions & 39 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
@@ -25,7 +25,7 @@ async def delete(self, id, params=None, headers=None):
2525
Deletes an async search by ID. If the search is still running, the search
2626
request will be cancelled. Otherwise, the saved search results are deleted.
2727
28-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/async-search.html>`_
28+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/async-search.html>`_
2929
3030
:arg id: The async search ID
3131
"""
@@ -42,7 +42,7 @@ async def get(self, id, params=None, headers=None):
4242
Retrieves the results of a previously submitted async search request given its
4343
ID.
4444
45-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/async-search.html>`_
45+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/async-search.html>`_
4646
4747
:arg id: The async search ID
4848
:arg keep_alive: Specify the time interval in which the results
@@ -106,7 +106,7 @@ async def submit(self, body=None, index=None, params=None, headers=None):
106106
"""
107107
Executes a search request asynchronously.
108108
109-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/async-search.html>`_
109+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/async-search.html>`_
110110
111111
:arg body: The search definition using the Query DSL
112112
:arg index: A comma-separated list of index names to search; use
@@ -212,7 +212,7 @@ async def status(self, id, params=None, headers=None):
212212
Retrieves the status of a previously submitted async search request given its
213213
ID.
214214
215-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/async-search.html>`_
215+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/async-search.html>`_
216216
217217
:arg id: The async search ID
218218
"""

elasticsearch/_async/client/autoscaling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async def delete_autoscaling_policy(self, name, params=None, headers=None):
2525
Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
2626
Direct use is not supported.
2727
28-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-delete-autoscaling-policy.html>`_
28+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/autoscaling-delete-autoscaling-policy.html>`_
2929
3030
:arg name: the name of the autoscaling policy
3131
"""
@@ -45,7 +45,7 @@ async def get_autoscaling_policy(self, name, params=None, headers=None):
4545
Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
4646
Direct use is not supported.
4747
48-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-get-autoscaling-policy.html>`_
48+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/autoscaling-get-autoscaling-policy.html>`_
4949
5050
:arg name: the name of the autoscaling policy
5151
"""
@@ -65,7 +65,7 @@ async def put_autoscaling_policy(self, name, body, params=None, headers=None):
6565
Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
6666
Direct use is not supported.
6767
68-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-put-autoscaling-policy.html>`_
68+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/autoscaling-put-autoscaling-policy.html>`_
6969
7070
:arg name: the name of the autoscaling policy
7171
:arg body: the specification of the autoscaling policy
@@ -89,7 +89,7 @@ async def get_autoscaling_capacity(self, params=None, headers=None):
8989
policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not
9090
supported.
9191
92-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-get-autoscaling-capacity.html>`_
92+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/autoscaling-get-autoscaling-capacity.html>`_
9393
"""
9494
return await self.transport.perform_request(
9595
"GET", "/_autoscaling/capacity", params=params, headers=headers

elasticsearch/_async/client/cat.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async def aliases(self, name=None, params=None, headers=None):
2525
Shows information about currently configured aliases to indices including
2626
filter and routing infos.
2727
28-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-alias.html>`_
28+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-alias.html>`_
2929
3030
:arg name: A comma-separated list of alias names to return
3131
:arg expand_wildcards: Whether to expand wildcard expression to
@@ -51,7 +51,7 @@ async def allocation(self, node_id=None, params=None, headers=None):
5151
Provides a snapshot of how many shards are allocated to each data node and how
5252
much disk space they are using.
5353
54-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-allocation.html>`_
54+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-allocation.html>`_
5555
5656
:arg node_id: A comma-separated list of node IDs or names to
5757
limit the returned information
@@ -82,7 +82,7 @@ async def count(self, index=None, params=None, headers=None):
8282
Provides quick access to the document count of the entire cluster, or
8383
individual indices.
8484
85-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-count.html>`_
85+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-count.html>`_
8686
8787
:arg index: A comma-separated list of index names to limit the
8888
returned information
@@ -103,7 +103,7 @@ async def health(self, params=None, headers=None):
103103
"""
104104
Returns a concise representation of the cluster health.
105105
106-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-health.html>`_
106+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-health.html>`_
107107
108108
:arg format: a short version of the Accept header, e.g. json,
109109
yaml
@@ -125,7 +125,7 @@ async def help(self, params=None, headers=None):
125125
"""
126126
Returns help for the Cat APIs.
127127
128-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat.html>`_
128+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat.html>`_
129129
130130
:arg help: Return help information
131131
:arg s: Comma-separated list of column names or column aliases
@@ -155,7 +155,7 @@ async def indices(self, index=None, params=None, headers=None):
155155
Returns information about indices: number of primaries and replicas, document
156156
counts, disk size, ...
157157
158-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-indices.html>`_
158+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-indices.html>`_
159159
160160
:arg index: A comma-separated list of index names to limit the
161161
returned information
@@ -194,7 +194,7 @@ async def master(self, params=None, headers=None):
194194
"""
195195
Returns information about the master node.
196196
197-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-master.html>`_
197+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-master.html>`_
198198
199199
:arg format: a short version of the Accept header, e.g. json,
200200
yaml
@@ -229,7 +229,7 @@ async def nodes(self, params=None, headers=None):
229229
"""
230230
Returns basic statistics about performance of cluster nodes.
231231
232-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-nodes.html>`_
232+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-nodes.html>`_
233233
234234
:arg bytes: The unit in which to display byte values Valid
235235
choices: b, k, kb, m, mb, g, gb, t, tb, p, pb
@@ -263,7 +263,7 @@ async def recovery(self, index=None, params=None, headers=None):
263263
"""
264264
Returns information about index shard recoveries, both on-going completed.
265265
266-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-recovery.html>`_
266+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-recovery.html>`_
267267
268268
:arg index: Comma-separated list or wildcard expression of index
269269
names to limit the returned information
@@ -294,7 +294,7 @@ async def shards(self, index=None, params=None, headers=None):
294294
"""
295295
Provides a detailed view of shard allocation on nodes.
296296
297-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-shards.html>`_
297+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-shards.html>`_
298298
299299
:arg index: A comma-separated list of index names to limit the
300300
returned information
@@ -323,7 +323,7 @@ async def segments(self, index=None, params=None, headers=None):
323323
"""
324324
Provides low-level information about the segments in the shards of an index.
325325
326-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-segments.html>`_
326+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-segments.html>`_
327327
328328
:arg index: A comma-separated list of index names to limit the
329329
returned information
@@ -346,7 +346,7 @@ async def pending_tasks(self, params=None, headers=None):
346346
"""
347347
Returns a concise representation of the cluster pending tasks.
348348
349-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-pending-tasks.html>`_
349+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-pending-tasks.html>`_
350350
351351
:arg format: a short version of the Accept header, e.g. json,
352352
yaml
@@ -372,7 +372,7 @@ async def thread_pool(self, thread_pool_patterns=None, params=None, headers=None
372372
Returns cluster-wide thread pool statistics per node. By default the active,
373373
queue and rejected statistics are returned for all thread pools.
374374
375-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-thread-pool.html>`_
375+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-thread-pool.html>`_
376376
377377
:arg thread_pool_patterns: A comma-separated list of regular-
378378
expressions to filter the thread pools in the output
@@ -403,7 +403,7 @@ async def fielddata(self, fields=None, params=None, headers=None):
403403
Shows how much heap memory is currently being used by fielddata on every data
404404
node in the cluster.
405405
406-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-fielddata.html>`_
406+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-fielddata.html>`_
407407
408408
:arg fields: A comma-separated list of fields to return in the
409409
output
@@ -431,7 +431,7 @@ async def plugins(self, params=None, headers=None):
431431
"""
432432
Returns information about installed plugins across nodes node.
433433
434-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-plugins.html>`_
434+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-plugins.html>`_
435435
436436
:arg format: a short version of the Accept header, e.g. json,
437437
yaml
@@ -456,7 +456,7 @@ async def nodeattrs(self, params=None, headers=None):
456456
"""
457457
Returns information about custom node attributes.
458458
459-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-nodeattrs.html>`_
459+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-nodeattrs.html>`_
460460
461461
:arg format: a short version of the Accept header, e.g. json,
462462
yaml
@@ -479,7 +479,7 @@ async def repositories(self, params=None, headers=None):
479479
"""
480480
Returns information about snapshot repositories registered in the cluster.
481481
482-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-repositories.html>`_
482+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-repositories.html>`_
483483
484484
:arg format: a short version of the Accept header, e.g. json,
485485
yaml
@@ -504,7 +504,7 @@ async def snapshots(self, repository=None, params=None, headers=None):
504504
"""
505505
Returns all snapshots in a specific repository.
506506
507-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-snapshots.html>`_
507+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-snapshots.html>`_
508508
509509
:arg repository: Name of repository from which to fetch the
510510
snapshot information
@@ -546,7 +546,7 @@ async def tasks(self, params=None, headers=None):
546546
Returns information about the tasks currently executing on one or more nodes in
547547
the cluster.
548548
549-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/tasks.html>`_
549+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/tasks.html>`_
550550
551551
:arg actions: A comma-separated list of actions that should be
552552
returned. Leave empty to return all.
@@ -575,7 +575,7 @@ async def templates(self, name=None, params=None, headers=None):
575575
"""
576576
Returns information about existing templates.
577577
578-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-templates.html>`_
578+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-templates.html>`_
579579
580580
:arg name: A pattern that returned template names must match
581581
:arg format: a short version of the Accept header, e.g. json,
@@ -599,7 +599,7 @@ async def ml_data_frame_analytics(self, id=None, params=None, headers=None):
599599
"""
600600
Gets configuration and usage information about data frame analytics jobs.
601601
602-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-dfanalytics.html>`_
602+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-dfanalytics.html>`_
603603
604604
:arg id: The ID of the data frame analytics to fetch
605605
:arg allow_no_match: Whether to ignore if a wildcard expression
@@ -631,7 +631,7 @@ async def ml_datafeeds(self, datafeed_id=None, params=None, headers=None):
631631
"""
632632
Gets configuration and usage information about datafeeds.
633633
634-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-datafeeds.html>`_
634+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-datafeeds.html>`_
635635
636636
:arg datafeed_id: The ID of the datafeeds stats to fetch
637637
:arg allow_no_datafeeds: Whether to ignore if a wildcard
@@ -672,7 +672,7 @@ async def ml_jobs(self, job_id=None, params=None, headers=None):
672672
"""
673673
Gets configuration and usage information about anomaly detection jobs.
674674
675-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-anomaly-detectors.html>`_
675+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-anomaly-detectors.html>`_
676676
677677
:arg job_id: The ID of the jobs stats to fetch
678678
:arg allow_no_jobs: Whether to ignore if a wildcard expression
@@ -716,7 +716,7 @@ async def ml_trained_models(self, model_id=None, params=None, headers=None):
716716
"""
717717
Gets configuration and usage information about inference trained models.
718718
719-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-trained-model.html>`_
719+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-trained-model.html>`_
720720
721721
:arg model_id: The ID of the trained models stats to fetch
722722
:arg allow_no_match: Whether to ignore if a wildcard expression
@@ -755,7 +755,7 @@ async def transforms(self, transform_id=None, params=None, headers=None):
755755
"""
756756
Gets configuration and usage information about transforms.
757757
758-
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-transforms.html>`_
758+
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.14/cat-transforms.html>`_
759759
760760
:arg transform_id: The id of the transform for which to get
761761
stats. '_all' or '*' implies all transforms

0 commit comments

Comments
 (0)