Skip to content

Commit

Permalink
Auto-generated code for main (#79)
Browse files Browse the repository at this point in the history
Auto-generated API code
  • Loading branch information
elasticmachine authored Aug 5, 2024
1 parent ceec61a commit 97029b7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
29 changes: 15 additions & 14 deletions elasticsearch_serverless/_async/client/cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ async def aliases(
Get aliases. Retrieves the cluster’s index aliases, including filter and routing
information. The API does not return data stream aliases. 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 /_alias
endpoints.
not intended for use by applications. For application consumption, use the aliases
API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html>`_
Expand Down Expand Up @@ -142,8 +142,8 @@ async def component_templates(
Component templates are building blocks for constructing index templates that
specify index mappings, settings, and aliases. 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 /_component_template
endpoints.
for use by applications. For application consumption, use the get component template
API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
Expand Down Expand Up @@ -227,7 +227,7 @@ async def count(
not deleted documents which have not yet been removed by the merge process. 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 /_count endpoints.
use the count API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
Expand Down Expand Up @@ -402,9 +402,9 @@ async def indices(
shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
uses internally to power indexing and search. As a result, all document counts
include hidden nested documents. To get an accurate count of Elasticsearch documents,
use the /_cat/count or _count endpoints. 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 an index endpoint.
use the cat count or count APIs. 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 an index endpoint.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html>`_
Expand Down Expand Up @@ -606,7 +606,8 @@ async def ml_data_frame_analytics(
Get data frame analytics jobs. Returns configuration and usage information about
data frame analytics jobs. CAT APIs are only intended for human consumption using
the Kibana console or command line. They are not intended for use by applications.
For application consumption, use the /_ml/data_frame/analytics endpoints.
For application consumption, use the get data frame analytics jobs statistics
API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html>`_
Expand Down Expand Up @@ -780,7 +781,7 @@ async def ml_datafeeds(
are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
cluster privileges to use this API. CAT APIs are only intended for human consumption
using the Kibana console or command line. They are not intended for use by applications.
For application consumption, use the /_ml/datafeeds endpoints.
For application consumption, use the get datafeed statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
Expand Down Expand Up @@ -1152,8 +1153,8 @@ async def ml_jobs(
security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
or `manage` cluster privileges to use this API. CAT APIs are only intended for
human consumption using the Kibana console or command line. They are not intended
for use by applications. For application consumption, use the /_ml/anomaly_detectors
endpoints.
for use by applications. For application consumption, use the get anomaly detection
job statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
Expand Down Expand Up @@ -1342,7 +1343,7 @@ async def ml_trained_models(
Get trained models. Returns configuration and usage information about inference
trained models. CAT APIs are only intended for human consumption using the Kibana
console or command line. They are not intended for use by applications. For application
consumption, use the /_ml/trained_models endpoints.
consumption, use the get trained models statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
Expand Down Expand Up @@ -1610,7 +1611,7 @@ async def transforms(
Get transforms. Returns configuration and usage information about transforms.
CAT APIs are only intended for human consumption using the Kibana console or
command line. They are not intended for use by applications. For application
consumption, use the /_transform endpoints.
consumption, use the get transform statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html>`_
Expand Down
1 change: 1 addition & 0 deletions elasticsearch_serverless/_async/client/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


class ConnectorClient(NamespacedClient):

@_rewrite_parameters()
async def check_in(
self,
Expand Down
29 changes: 15 additions & 14 deletions elasticsearch_serverless/_sync/client/cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def aliases(
Get aliases. Retrieves the cluster’s index aliases, including filter and routing
information. The API does not return data stream aliases. 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 /_alias
endpoints.
not intended for use by applications. For application consumption, use the aliases
API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html>`_
Expand Down Expand Up @@ -142,8 +142,8 @@ def component_templates(
Component templates are building blocks for constructing index templates that
specify index mappings, settings, and aliases. 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 /_component_template
endpoints.
for use by applications. For application consumption, use the get component template
API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
Expand Down Expand Up @@ -227,7 +227,7 @@ def count(
not deleted documents which have not yet been removed by the merge process. 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 /_count endpoints.
use the count API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
Expand Down Expand Up @@ -402,9 +402,9 @@ def indices(
shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
uses internally to power indexing and search. As a result, all document counts
include hidden nested documents. To get an accurate count of Elasticsearch documents,
use the /_cat/count or _count endpoints. 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 an index endpoint.
use the cat count or count APIs. 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 an index endpoint.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html>`_
Expand Down Expand Up @@ -606,7 +606,8 @@ def ml_data_frame_analytics(
Get data frame analytics jobs. Returns configuration and usage information about
data frame analytics jobs. CAT APIs are only intended for human consumption using
the Kibana console or command line. They are not intended for use by applications.
For application consumption, use the /_ml/data_frame/analytics endpoints.
For application consumption, use the get data frame analytics jobs statistics
API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html>`_
Expand Down Expand Up @@ -780,7 +781,7 @@ def ml_datafeeds(
are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
cluster privileges to use this API. CAT APIs are only intended for human consumption
using the Kibana console or command line. They are not intended for use by applications.
For application consumption, use the /_ml/datafeeds endpoints.
For application consumption, use the get datafeed statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
Expand Down Expand Up @@ -1152,8 +1153,8 @@ def ml_jobs(
security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
or `manage` cluster privileges to use this API. CAT APIs are only intended for
human consumption using the Kibana console or command line. They are not intended
for use by applications. For application consumption, use the /_ml/anomaly_detectors
endpoints.
for use by applications. For application consumption, use the get anomaly detection
job statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
Expand Down Expand Up @@ -1342,7 +1343,7 @@ def ml_trained_models(
Get trained models. Returns configuration and usage information about inference
trained models. CAT APIs are only intended for human consumption using the Kibana
console or command line. They are not intended for use by applications. For application
consumption, use the /_ml/trained_models endpoints.
consumption, use the get trained models statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
Expand Down Expand Up @@ -1610,7 +1611,7 @@ def transforms(
Get transforms. Returns configuration and usage information about transforms.
CAT APIs are only intended for human consumption using the Kibana console or
command line. They are not intended for use by applications. For application
consumption, use the /_transform endpoints.
consumption, use the get transform statistics API.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html>`_
Expand Down
1 change: 1 addition & 0 deletions elasticsearch_serverless/_sync/client/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


class ConnectorClient(NamespacedClient):

@_rewrite_parameters()
def check_in(
self,
Expand Down

0 comments on commit 97029b7

Please sign in to comment.