Skip to content

Commit 79754d0

Browse files
committed
[codegen] updated to latest api spec
1 parent 23ac082 commit 79754d0

Some content is hidden

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

41 files changed

+2956
-908
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesRequest.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,11 @@
5959
/**
6060
* Get aliases. Retrieves the cluster’s index aliases, including filter and
6161
* routing information. The API does not return data stream aliases.
62-
* <blockquote>
6362
* <p>
64-
* info CAT APIs are only intended for human consumption using the command line
65-
* or the Kibana console. They are not intended for use by applications. For
66-
* application consumption, use <a href="#endpoint-alias">the /_alias
67-
* endpoints</a>.
68-
* </p>
69-
* </blockquote>
70-
*
63+
* CAT APIs are only intended for human consumption using the command line or
64+
* the Kibana console. They are not intended for use by applications. For
65+
* application consumption, use the /_alias endpoints.
66+
*
7167
* @see <a href="../doc-files/api-spec.html#cat.aliases.Request">API
7268
* specification</a>
7369
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ComponentTemplatesRequest.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,12 @@
5555
/**
5656
* Get component templates. Returns information about component templates in a
5757
* cluster. Component templates are building blocks for constructing index
58-
* templates that specify index mappings, settings, and aliases. <blockquote>
58+
* templates that specify index mappings, settings, and aliases.
5959
* <p>
60-
* info CAT APIs are only intended for human consumption using the command line
61-
* or Kibana console. They are not intended for use by applications. For
62-
* application consumption, use <a href="#endpoint-component-template">the
63-
* /_component_template endpoints</a>.
64-
* </p>
65-
* </blockquote>
66-
*
60+
* CAT APIs are only intended for human consumption using the command line or
61+
* Kibana console. They are not intended for use by applications. For
62+
* application consumption, use the /_component_template endpoints.
63+
*
6764
* @see <a href="../doc-files/api-spec.html#cat.component_templates.Request">API
6865
* specification</a>
6966
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountRequest.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,12 @@
5959
* Get a document count. Provides quick access to a document count for a data
6060
* stream, an index, or an entire cluster.n/ The document count only includes
6161
* live documents, not deleted documents which have not yet been removed by the
62-
* merge process. <blockquote>
62+
* merge process.
6363
* <p>
64-
* info CAT APIs are only intended for human consumption using the command line
65-
* or Kibana console. They are not intended for use by applications. For
66-
* application consumption, use <a href="#endpoint-count">the /_count
67-
* endpoints</a>.
68-
* </p>
69-
* </blockquote>
70-
*
64+
* CAT APIs are only intended for human consumption using the command line or
65+
* Kibana console. They are not intended for use by applications. For
66+
* application consumption, use /_count endpoints.
67+
*
7168
* @see <a href="../doc-files/api-spec.html#cat.count.Request">API
7269
* specification</a>
7370
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java

Lines changed: 132 additions & 219 deletions
Large diffs are not rendered by default.

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java

Lines changed: 132 additions & 219 deletions
Large diffs are not rendered by default.

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/IndicesRequest.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,7 @@
6262

6363
/**
6464
* Get index information. Returns high-level information about indices in a
65-
* cluster, including backing indices for data streams. <blockquote>
66-
* <p>
67-
* info CAT APIs are only intended for human consumption using the command line
68-
* or Kibana console. They are not intended for use by applications. For
69-
* application consumption, use an index endpoint.
70-
* </p>
71-
* </blockquote>
65+
* cluster, including backing indices for data streams.
7266
* <p>
7367
* Use this request to get the following information for each index in a
7468
* cluster:
@@ -83,8 +77,11 @@
8377
* These metrics are retrieved directly from Lucene, which Elasticsearch uses
8478
* internally to power indexing and search. As a result, all document counts
8579
* include hidden nested documents. To get an accurate count of Elasticsearch
86-
* documents, use the <a href="#operation-cat-count">/_cat/count</a> or
87-
* <a href="#endpoint-count">count</a> endpoints.
80+
* documents, use the /_cat/count or _count endpoints.
81+
* <p>
82+
* CAT APIs are only intended for human consumption using the command line or
83+
* Kibana console. They are not intended for use by applications. For
84+
* application consumption, use an index endpoint.
8885
*
8986
* @see <a href="../doc-files/api-spec.html#cat.indices.Request">API
9087
* specification</a>

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsRequest.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,12 @@
6060

6161
/**
6262
* Get data frame analytics jobs. Returns configuration and usage information
63-
* about data frame analytics jobs. <blockquote>
63+
* about data frame analytics jobs.
6464
* <p>
65-
* info CAT APIs are only intended for human consumption using the Kibana
66-
* console or command line. They are not intended for use by applications. For
67-
* application consumption, use <a href="#endpoint-ml">the
68-
* /_ml/data_frame/analytics endpoints</a>.
69-
* </p>
70-
* </blockquote>
71-
*
65+
* CAT APIs are only intended for human consumption using the Kibana console or
66+
* command line. They are not intended for use by applications. For application
67+
* consumption, use the /_ml/data_frame/analytics endpoints.
68+
*
7269
* @see <a href=
7370
* "../doc-files/api-spec.html#cat.ml_data_frame_analytics.Request">API
7471
* specification</a>

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsRequest.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,12 @@
6262
* This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security
6363
* features are enabled, you must have <code>monitor_ml</code>,
6464
* <code>monitor</code>, <code>manage_ml</code>, or <code>manage</code> cluster
65-
* privileges to use this API. <blockquote>
65+
* privileges to use this API.
6666
* <p>
67-
* info CAT APIs are only intended for human consumption using the Kibana
68-
* console or command line. They are not intended for use by applications. For
69-
* application consumption, use <a href="#endpoint-ml">the /_ml/datafeeds
70-
* endpoints</a>.
71-
* </p>
72-
* </blockquote>
73-
*
67+
* CAT APIs are only intended for human consumption using the Kibana console or
68+
* command line. They are not intended for use by applications. For application
69+
* consumption, use the /_ml/datafeeds endpoints.
70+
*
7471
* @see <a href="../doc-files/api-spec.html#cat.ml_datafeeds.Request">API
7572
* specification</a>
7673
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsRequest.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,12 @@
6363
* anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the
6464
* Elasticsearch security features are enabled, you must have
6565
* <code>monitor_ml</code>, <code>monitor</code>, <code>manage_ml</code>, or
66-
* <code>manage</code> cluster privileges to use this API. <blockquote>
66+
* <code>manage</code> cluster privileges to use this API.
6767
* <p>
68-
* info CAT APIs are only intended for human consumption using the Kibana
69-
* console or command line. They are not intended for use by applications. For
70-
* application consumption, use <a href="#endpoint-ml">the
71-
* /_ml/anomaly_detectors endpoints</a>.
72-
* </p>
73-
* </blockquote>
74-
*
68+
* CAT APIs are only intended for human consumption using the Kibana console or
69+
* command line. They are not intended for use by applications. For application
70+
* consumption, use the /_ml/anomaly_detectors endpoints.
71+
*
7572
* @see <a href="../doc-files/api-spec.html#cat.ml_jobs.Request">API
7673
* specification</a>
7774
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsRequest.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,12 @@
6060

6161
/**
6262
* Get trained models. Returns configuration and usage information about
63-
* inference trained models. <blockquote>
63+
* inference trained models.
6464
* <p>
65-
* info CAT APIs are only intended for human consumption using the Kibana
66-
* console or command line. They are not intended for use by applications. For
67-
* application consumption, use <a href="#endpoint-ml">the /_ml/trained_models
68-
* endpoints</a>.
69-
* </p>
70-
* </blockquote>
71-
*
65+
* CAT APIs are only intended for human consumption using the Kibana console or
66+
* command line. They are not intended for use by applications. For application
67+
* consumption, use the /_ml/trained_models endpoints.
68+
*
7269
* @see <a href="../doc-files/api-spec.html#cat.ml_trained_models.Request">API
7370
* specification</a>
7471
*/

0 commit comments

Comments
 (0)