Skip to content

Commit c087261

Browse files
Auto-generated API code
1 parent ceec61a commit c087261

File tree

4 files changed

+32
-28
lines changed

4 files changed

+32
-28
lines changed

elasticsearch_serverless/_async/client/cat.py

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ async def aliases(
5454
Get aliases. Retrieves the cluster’s index aliases, including filter and routing
5555
information. The API does not return data stream aliases. CAT APIs are only intended
5656
for human consumption using the command line or the Kibana console. They are
57-
not intended for use by applications. For application consumption, use the /_alias
58-
endpoints.
57+
not intended for use by applications. For application consumption, use the aliases
58+
API.
5959
6060
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html>`_
6161
@@ -142,8 +142,8 @@ async def component_templates(
142142
Component templates are building blocks for constructing index templates that
143143
specify index mappings, settings, and aliases. CAT APIs are only intended for
144144
human consumption using the command line or Kibana console. They are not intended
145-
for use by applications. For application consumption, use the /_component_template
146-
endpoints.
145+
for use by applications. For application consumption, use the get component template
146+
API.
147147
148148
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
149149
@@ -227,7 +227,7 @@ async def count(
227227
not deleted documents which have not yet been removed by the merge process. CAT
228228
APIs are only intended for human consumption using the command line or Kibana
229229
console. They are not intended for use by applications. For application consumption,
230-
use /_count endpoints.
230+
use the count API.
231231
232232
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
233233
@@ -402,9 +402,9 @@ async def indices(
402402
shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
403403
uses internally to power indexing and search. As a result, all document counts
404404
include hidden nested documents. To get an accurate count of Elasticsearch documents,
405-
use the /_cat/count or _count endpoints. CAT APIs are only intended for human
406-
consumption using the command line or Kibana console. They are not intended for
407-
use by applications. For application consumption, use an index endpoint.
405+
use the cat count or count APIs. CAT APIs are only intended for human consumption
406+
using the command line or Kibana console. They are not intended for use by applications.
407+
For application consumption, use an index endpoint.
408408
409409
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html>`_
410410
@@ -606,7 +606,8 @@ async def ml_data_frame_analytics(
606606
Get data frame analytics jobs. Returns configuration and usage information about
607607
data frame analytics jobs. CAT APIs are only intended for human consumption using
608608
the Kibana console or command line. They are not intended for use by applications.
609-
For application consumption, use the /_ml/data_frame/analytics endpoints.
609+
For application consumption, use the get data frame analytics jobs statistics
610+
API.
610611
611612
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html>`_
612613
@@ -780,7 +781,7 @@ async def ml_datafeeds(
780781
are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
781782
cluster privileges to use this API. CAT APIs are only intended for human consumption
782783
using the Kibana console or command line. They are not intended for use by applications.
783-
For application consumption, use the /_ml/datafeeds endpoints.
784+
For application consumption, use the get datafeed statistics API.
784785
785786
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
786787
@@ -1152,8 +1153,8 @@ async def ml_jobs(
11521153
security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
11531154
or `manage` cluster privileges to use this API. CAT APIs are only intended for
11541155
human consumption using the Kibana console or command line. They are not intended
1155-
for use by applications. For application consumption, use the /_ml/anomaly_detectors
1156-
endpoints.
1156+
for use by applications. For application consumption, use the get anomaly detection
1157+
job statistics API.
11571158
11581159
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
11591160
@@ -1342,7 +1343,7 @@ async def ml_trained_models(
13421343
Get trained models. Returns configuration and usage information about inference
13431344
trained models. CAT APIs are only intended for human consumption using the Kibana
13441345
console or command line. They are not intended for use by applications. For application
1345-
consumption, use the /_ml/trained_models endpoints.
1346+
consumption, use the get trained models statistics API.
13461347
13471348
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
13481349
@@ -1610,7 +1611,7 @@ async def transforms(
16101611
Get transforms. Returns configuration and usage information about transforms.
16111612
CAT APIs are only intended for human consumption using the Kibana console or
16121613
command line. They are not intended for use by applications. For application
1613-
consumption, use the /_transform endpoints.
1614+
consumption, use the get transform statistics API.
16141615
16151616
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html>`_
16161617

elasticsearch_serverless/_async/client/connector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525

2626
class ConnectorClient(NamespacedClient):
27+
2728
@_rewrite_parameters()
2829
async def check_in(
2930
self,

elasticsearch_serverless/_sync/client/cat.py

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def aliases(
5454
Get aliases. Retrieves the cluster’s index aliases, including filter and routing
5555
information. The API does not return data stream aliases. CAT APIs are only intended
5656
for human consumption using the command line or the Kibana console. They are
57-
not intended for use by applications. For application consumption, use the /_alias
58-
endpoints.
57+
not intended for use by applications. For application consumption, use the aliases
58+
API.
5959
6060
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html>`_
6161
@@ -142,8 +142,8 @@ def component_templates(
142142
Component templates are building blocks for constructing index templates that
143143
specify index mappings, settings, and aliases. CAT APIs are only intended for
144144
human consumption using the command line or Kibana console. They are not intended
145-
for use by applications. For application consumption, use the /_component_template
146-
endpoints.
145+
for use by applications. For application consumption, use the get component template
146+
API.
147147
148148
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
149149
@@ -227,7 +227,7 @@ def count(
227227
not deleted documents which have not yet been removed by the merge process. CAT
228228
APIs are only intended for human consumption using the command line or Kibana
229229
console. They are not intended for use by applications. For application consumption,
230-
use /_count endpoints.
230+
use the count API.
231231
232232
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
233233
@@ -402,9 +402,9 @@ def indices(
402402
shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
403403
uses internally to power indexing and search. As a result, all document counts
404404
include hidden nested documents. To get an accurate count of Elasticsearch documents,
405-
use the /_cat/count or _count endpoints. CAT APIs are only intended for human
406-
consumption using the command line or Kibana console. They are not intended for
407-
use by applications. For application consumption, use an index endpoint.
405+
use the cat count or count APIs. CAT APIs are only intended for human consumption
406+
using the command line or Kibana console. They are not intended for use by applications.
407+
For application consumption, use an index endpoint.
408408
409409
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html>`_
410410
@@ -606,7 +606,8 @@ def ml_data_frame_analytics(
606606
Get data frame analytics jobs. Returns configuration and usage information about
607607
data frame analytics jobs. CAT APIs are only intended for human consumption using
608608
the Kibana console or command line. They are not intended for use by applications.
609-
For application consumption, use the /_ml/data_frame/analytics endpoints.
609+
For application consumption, use the get data frame analytics jobs statistics
610+
API.
610611
611612
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html>`_
612613
@@ -780,7 +781,7 @@ def ml_datafeeds(
780781
are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
781782
cluster privileges to use this API. CAT APIs are only intended for human consumption
782783
using the Kibana console or command line. They are not intended for use by applications.
783-
For application consumption, use the /_ml/datafeeds endpoints.
784+
For application consumption, use the get datafeed statistics API.
784785
785786
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
786787
@@ -1152,8 +1153,8 @@ def ml_jobs(
11521153
security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
11531154
or `manage` cluster privileges to use this API. CAT APIs are only intended for
11541155
human consumption using the Kibana console or command line. They are not intended
1155-
for use by applications. For application consumption, use the /_ml/anomaly_detectors
1156-
endpoints.
1156+
for use by applications. For application consumption, use the get anomaly detection
1157+
job statistics API.
11571158
11581159
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
11591160
@@ -1342,7 +1343,7 @@ def ml_trained_models(
13421343
Get trained models. Returns configuration and usage information about inference
13431344
trained models. CAT APIs are only intended for human consumption using the Kibana
13441345
console or command line. They are not intended for use by applications. For application
1345-
consumption, use the /_ml/trained_models endpoints.
1346+
consumption, use the get trained models statistics API.
13461347
13471348
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
13481349
@@ -1610,7 +1611,7 @@ def transforms(
16101611
Get transforms. Returns configuration and usage information about transforms.
16111612
CAT APIs are only intended for human consumption using the Kibana console or
16121613
command line. They are not intended for use by applications. For application
1613-
consumption, use the /_transform endpoints.
1614+
consumption, use the get transform statistics API.
16141615
16151616
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html>`_
16161617

elasticsearch_serverless/_sync/client/connector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525

2626
class ConnectorClient(NamespacedClient):
27+
2728
@_rewrite_parameters()
2829
def check_in(
2930
self,

0 commit comments

Comments
 (0)