diff --git a/elasticsearch_serverless/_async/client/cat.py b/elasticsearch_serverless/_async/client/cat.py index 5694390..849a45c 100644 --- a/elasticsearch_serverless/_async/client/cat.py +++ b/elasticsearch_serverless/_async/client/cat.py @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ diff --git a/elasticsearch_serverless/_async/client/connector.py b/elasticsearch_serverless/_async/client/connector.py index 5f6267c..9164776 100644 --- a/elasticsearch_serverless/_async/client/connector.py +++ b/elasticsearch_serverless/_async/client/connector.py @@ -24,6 +24,7 @@ class ConnectorClient(NamespacedClient): + @_rewrite_parameters() async def check_in( self, diff --git a/elasticsearch_serverless/_sync/client/cat.py b/elasticsearch_serverless/_sync/client/cat.py index be3c1a3..f5ae4bf 100644 --- a/elasticsearch_serverless/_sync/client/cat.py +++ b/elasticsearch_serverless/_sync/client/cat.py @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ @@ -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. ``_ diff --git a/elasticsearch_serverless/_sync/client/connector.py b/elasticsearch_serverless/_sync/client/connector.py index 8e185a7..fa78997 100644 --- a/elasticsearch_serverless/_sync/client/connector.py +++ b/elasticsearch_serverless/_sync/client/connector.py @@ -24,6 +24,7 @@ class ConnectorClient(NamespacedClient): + @_rewrite_parameters() def check_in( self,