@@ -56,8 +56,8 @@ async def aliases(
56
56
v : t .Optional [bool ] = None ,
57
57
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
58
58
"""
59
- Get aliases. Retrieves the cluster’ s index aliases, including filter and routing
60
- information. The API does not return data stream aliases. CAT APIs are only intended
59
+ Get aliases. Get the cluster' s index aliases, including filter and routing information.
60
+ This API does not return data stream aliases. IMPORTANT: CAT APIs are only intended
61
61
for human consumption using the command line or the Kibana console. They are
62
62
not intended for use by applications. For application consumption, use the aliases
63
63
API.
@@ -66,14 +66,19 @@ async def aliases(
66
66
67
67
:param name: A comma-separated list of aliases to retrieve. Supports wildcards
68
68
(`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
69
- :param expand_wildcards: Whether to expand wildcard expression to concrete indices
70
- that are open, closed or both.
69
+ :param expand_wildcards: The type of index that wildcard patterns can match.
70
+ If the request can target data streams, this argument determines whether
71
+ wildcard expressions match hidden data streams. It supports comma-separated
72
+ values, such as `open,hidden`.
71
73
:param format: Specifies the format to return the columnar data in, can be set
72
74
to `text`, `json`, `cbor`, `yaml`, or `smile`.
73
75
:param h: List of columns to appear in the response. Supports simple wildcards.
74
76
:param help: When set to `true` will output available columns. This option can't
75
77
be combined with any other query string option.
76
- :param master_timeout: Period to wait for a connection to the master node.
78
+ :param master_timeout: The period to wait for a connection to the master node.
79
+ If the master node is not available before the timeout expires, the request
80
+ fails and returns an error. To indicated that the request should never timeout,
81
+ you can set it to `-1`.
77
82
:param s: List of columns that determine how the table should be sorted. Sorting
78
83
defaults to ascending and can be changed by setting `:asc` or `:desc` as
79
84
a suffix to the column name.
@@ -141,13 +146,13 @@ async def allocation(
141
146
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
142
147
"""
143
148
Get shard allocation information. Get a snapshot of the number of shards allocated
144
- to each data node and their disk space. IMPORTANT: cat APIs are only intended
149
+ to each data node and their disk space. IMPORTANT: CAT APIs are only intended
145
150
for human consumption using the command line or Kibana console. They are not
146
151
intended for use by applications.
147
152
148
153
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html>`_
149
154
150
- :param node_id: Comma -separated list of node identifiers or names used to limit
155
+ :param node_id: A comma -separated list of node identifiers or names used to limit
151
156
the returned information.
152
157
:param bytes: The unit used to display byte values.
153
158
:param format: Specifies the format to return the columnar data in, can be set
@@ -225,17 +230,17 @@ async def component_templates(
225
230
v : t .Optional [bool ] = None ,
226
231
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
227
232
"""
228
- Get component templates. Returns information about component templates in a cluster.
233
+ Get component templates. Get information about component templates in a cluster.
229
234
Component templates are building blocks for constructing index templates that
230
- specify index mappings, settings, and aliases. CAT APIs are only intended for
231
- human consumption using the command line or Kibana console. They are not intended
232
- for use by applications. For application consumption, use the get component template
233
- API.
235
+ specify index mappings, settings, and aliases. IMPORTANT: CAT APIs are only intended
236
+ for human consumption using the command line or Kibana console. They are not
237
+ intended for use by applications. For application consumption, use the get component
238
+ template API.
234
239
235
240
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
236
241
237
- :param name: The name of the component template. Accepts wildcard expressions.
238
- If omitted, all component templates are returned.
242
+ :param name: The name of the component template. It accepts wildcard expressions.
243
+ If it is omitted, all component templates are returned.
239
244
:param format: Specifies the format to return the columnar data in, can be set
240
245
to `text`, `json`, `cbor`, `yaml`, or `smile`.
241
246
:param h: List of columns to appear in the response. Supports simple wildcards.
@@ -245,7 +250,7 @@ async def component_templates(
245
250
the local cluster state. If `false` the list of selected nodes are computed
246
251
from the cluster state of the master node. In both cases the coordinating
247
252
node will send requests for further information to each selected node.
248
- :param master_timeout: Period to wait for a connection to the master node.
253
+ :param master_timeout: The period to wait for a connection to the master node.
249
254
:param s: List of columns that determine how the table should be sorted. Sorting
250
255
defaults to ascending and can be changed by setting `:asc` or `:desc` as
251
256
a suffix to the column name.
@@ -307,17 +312,17 @@ async def count(
307
312
v : t .Optional [bool ] = None ,
308
313
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
309
314
"""
310
- Get a document count. Provides quick access to a document count for a data stream,
315
+ Get a document count. Get quick access to a document count for a data stream,
311
316
an index, or an entire cluster. The document count only includes live documents,
312
- not deleted documents which have not yet been removed by the merge process. CAT
313
- APIs are only intended for human consumption using the command line or Kibana
317
+ not deleted documents which have not yet been removed by the merge process. IMPORTANT:
318
+ CAT APIs are only intended for human consumption using the command line or Kibana
314
319
console. They are not intended for use by applications. For application consumption,
315
320
use the count API.
316
321
317
322
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
318
323
319
- :param index: Comma -separated list of data streams, indices, and aliases used
320
- to limit the request. Supports wildcards (`*`). To target all data streams
324
+ :param index: A comma -separated list of data streams, indices, and aliases used
325
+ to limit the request. It supports wildcards (`*`). To target all data streams
321
326
and indices, omit this parameter or use `*` or `_all`.
322
327
:param format: Specifies the format to return the columnar data in, can be set
323
328
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -462,7 +467,7 @@ async def health(
462
467
v : t .Optional [bool ] = None ,
463
468
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
464
469
"""
465
- Get the cluster health status. IMPORTANT: cat APIs are only intended for human
470
+ Get the cluster health status. IMPORTANT: CAT APIs are only intended for human
466
471
consumption using the command line or Kibana console. They are not intended for
467
472
use by applications. For application consumption, use the cluster health API.
468
473
This API is often used to check malfunctioning clusters. To help you track cluster
@@ -526,7 +531,7 @@ async def health(
526
531
@_rewrite_parameters ()
527
532
async def help (self ) -> TextApiResponse :
528
533
"""
529
- Get CAT help. Returns help for the CAT APIs.
534
+ Get CAT help. Get help for the CAT APIs.
530
535
531
536
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html>`_
532
537
"""
@@ -577,7 +582,7 @@ async def indices(
577
582
v : t .Optional [bool ] = None ,
578
583
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
579
584
"""
580
- Get index information. Returns high-level information about indices in a cluster,
585
+ Get index information. Get high-level information about indices in a cluster,
581
586
including backing indices for data streams. Use this request to get the following
582
587
information for each index in a cluster: - shard count - document count - deleted
583
588
document count - primary store size - total store size of all shards, including
@@ -853,9 +858,9 @@ async def ml_data_frame_analytics(
853
858
v : t .Optional [bool ] = None ,
854
859
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
855
860
"""
856
- Get data frame analytics jobs. Returns configuration and usage information about
857
- data frame analytics jobs. CAT APIs are only intended for human consumption using
858
- the Kibana console or command line. They are not intended for use by applications.
861
+ Get data frame analytics jobs. Get configuration and usage information about
862
+ data frame analytics jobs. IMPORTANT: CAT APIs are only intended for human consumption
863
+ using the Kibana console or command line. They are not intended for use by applications.
859
864
For application consumption, use the get data frame analytics jobs statistics
860
865
API.
861
866
@@ -1015,12 +1020,13 @@ async def ml_datafeeds(
1015
1020
v : t .Optional [bool ] = None ,
1016
1021
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
1017
1022
"""
1018
- Get datafeeds. Returns configuration and usage information about datafeeds. This
1023
+ Get datafeeds. Get configuration and usage information about datafeeds. This
1019
1024
API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features
1020
1025
are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
1021
- cluster privileges to use this API. CAT APIs are only intended for human consumption
1022
- using the Kibana console or command line. They are not intended for use by applications.
1023
- For application consumption, use the get datafeed statistics API.
1026
+ cluster privileges to use this API. IMPORTANT: CAT APIs are only intended for
1027
+ human consumption using the Kibana console or command line. They are not intended
1028
+ for use by applications. For application consumption, use the get datafeed statistics
1029
+ API.
1024
1030
1025
1031
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
1026
1032
@@ -1376,13 +1382,13 @@ async def ml_jobs(
1376
1382
v : t .Optional [bool ] = None ,
1377
1383
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
1378
1384
"""
1379
- Get anomaly detection jobs. Returns configuration and usage information for anomaly
1385
+ Get anomaly detection jobs. Get configuration and usage information for anomaly
1380
1386
detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch
1381
1387
security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
1382
- or `manage` cluster privileges to use this API. CAT APIs are only intended for
1383
- human consumption using the Kibana console or command line. They are not intended
1384
- for use by applications. For application consumption, use the get anomaly detection
1385
- job statistics API.
1388
+ or `manage` cluster privileges to use this API. IMPORTANT: CAT APIs are only
1389
+ intended for human consumption using the Kibana console or command line. They
1390
+ are not intended for use by applications. For application consumption, use the
1391
+ get anomaly detection job statistics API.
1386
1392
1387
1393
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
1388
1394
@@ -1560,10 +1566,10 @@ async def ml_trained_models(
1560
1566
v : t .Optional [bool ] = None ,
1561
1567
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
1562
1568
"""
1563
- Get trained models. Returns configuration and usage information about inference
1564
- trained models. CAT APIs are only intended for human consumption using the Kibana
1565
- console or command line. They are not intended for use by applications. For application
1566
- consumption, use the get trained models statistics API.
1569
+ Get trained models. Get configuration and usage information about inference trained
1570
+ models. IMPORTANT: CAT APIs are only intended for human consumption using the
1571
+ Kibana console or command line. They are not intended for use by applications.
1572
+ For application consumption, use the get trained models statistics API.
1567
1573
1568
1574
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
1569
1575
@@ -2325,7 +2331,7 @@ async def snapshots(
2325
2331
v : t .Optional [bool ] = None ,
2326
2332
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
2327
2333
"""
2328
- Get snapshot information Get information about the snapshots stored in one or
2334
+ Get snapshot information. Get information about the snapshots stored in one or
2329
2335
more repositories. A snapshot is a backup of an index or running Elasticsearch
2330
2336
cluster. IMPORTANT: cat APIs are only intended for human consumption using the
2331
2337
command line or Kibana console. They are not intended for use by applications.
0 commit comments