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
*/

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

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

6161
/**
6262
* Get transforms. Returns configuration and usage information about transforms.
63-
* <blockquote>
6463
* <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-transform">the /_transform
68-
* endpoints</a>.
69-
* </p>
70-
* </blockquote>
71-
*
64+
* CAT APIs are only intended for human consumption using the Kibana console or
65+
* command line. They are not intended for use by applications. For application
66+
* consumption, use the /_transform endpoints.
67+
*
7268
* @see <a href="../doc-files/api-spec.html#cat.transforms.Request">API
7369
* specification</a>
7470
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -986,15 +986,15 @@
986986
'cat.master.Request': 'cat/master/CatMasterRequest.ts#L22-L31',
987987
'cat.master.Response': 'cat/master/CatMasterResponse.ts#L22-L24',
988988
'cat.ml_data_frame_analytics.DataFrameAnalyticsRecord': 'cat/ml_data_frame_analytics/types.ts#L22-L102',
989-
'cat.ml_data_frame_analytics.Request': 'cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts#L24-L60',
989+
'cat.ml_data_frame_analytics.Request': 'cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts#L24-L59',
990990
'cat.ml_data_frame_analytics.Response': 'cat/ml_data_frame_analytics/CatDataFrameAnalyticsResponse.ts#L22-L24',
991991
'cat.ml_datafeeds.DatafeedsRecord': 'cat/ml_datafeeds/types.ts#L22-L87',
992-
'cat.ml_datafeeds.Request': 'cat/ml_datafeeds/CatDatafeedsRequest.ts#L24-L75',
992+
'cat.ml_datafeeds.Request': 'cat/ml_datafeeds/CatDatafeedsRequest.ts#L24-L74',
993993
'cat.ml_datafeeds.Response': 'cat/ml_datafeeds/CatDatafeedsResponse.ts#L22-L24',
994994
'cat.ml_jobs.JobsRecord': 'cat/ml_jobs/types.ts#L24-L347',
995-
'cat.ml_jobs.Request': 'cat/ml_jobs/CatJobsRequest.ts#L24-L79',
995+
'cat.ml_jobs.Request': 'cat/ml_jobs/CatJobsRequest.ts#L24-L78',
996996
'cat.ml_jobs.Response': 'cat/ml_jobs/CatJobsResponse.ts#L22-L24',
997-
'cat.ml_trained_models.Request': 'cat/ml_trained_models/CatTrainedModelsRequest.ts#L24-L65',
997+
'cat.ml_trained_models.Request': 'cat/ml_trained_models/CatTrainedModelsRequest.ts#L24-L64',
998998
'cat.ml_trained_models.Response': 'cat/ml_trained_models/CatTrainedModelsResponse.ts#L22-L24',
999999
'cat.ml_trained_models.TrainedModelsRecord': 'cat/ml_trained_models/types.ts#L23-L115',
10001000
'cat.nodeattrs.NodeAttributesRecord': 'cat/nodeattrs/types.ts#L20-L55',
@@ -1033,7 +1033,7 @@
10331033
'cat.thread_pool.Request': 'cat/thread_pool/CatThreadPoolRequest.ts#L24-L48',
10341034
'cat.thread_pool.Response': 'cat/thread_pool/CatThreadPoolResponse.ts#L22-L24',
10351035
'cat.thread_pool.ThreadPoolRecord': 'cat/thread_pool/types.ts#L22-L124',
1036-
'cat.transforms.Request': 'cat/transforms/CatTransformsRequest.ts#L25-L79',
1036+
'cat.transforms.Request': 'cat/transforms/CatTransformsRequest.ts#L25-L78',
10371037
'cat.transforms.Response': 'cat/transforms/CatTransformsResponse.ts#L22-L24',
10381038
'cat.transforms.TransformsRecord': 'cat/transforms/types.ts#L22-L197',
10391039
'ccr._types.FollowIndexStats': 'ccr/_types/FollowIndexStats.ts#L30-L33',
@@ -1303,12 +1303,20 @@
13031303
'graph._types.VertexInclude': 'graph/_types/Vertex.ts#L61-L64',
13041304
'graph.explore.Request': 'graph/explore/GraphExploreRequest.ts#L28-L72',
13051305
'graph.explore.Response': 'graph/explore/GraphExploreResponse.ts#L25-L33',
1306-
'ilm._types.Configurations': 'ilm/_types/Phase.ts#L50-L54',
1307-
'ilm._types.ForceMergeConfiguration': 'ilm/_types/Phase.ts#L56-L58',
1308-
'ilm._types.Phase': 'ilm/_types/Phase.ts#L25-L36',
1309-
'ilm._types.Phases': 'ilm/_types/Phase.ts#L38-L44',
1306+
'ilm._types.Actions': 'ilm/_types/Phase.ts#L42-L91',
1307+
'ilm._types.AllocateAction': 'ilm/_types/Phase.ts#L131-L137',
1308+
'ilm._types.DeleteAction': 'ilm/_types/Phase.ts#L147-L149',
1309+
'ilm._types.DownsampleAction': 'ilm/_types/Phase.ts#L110-L113',
1310+
'ilm._types.ForceMergeAction': 'ilm/_types/Phase.ts#L121-L124',
1311+
'ilm._types.MigrateAction': 'ilm/_types/Phase.ts#L139-L141',
1312+
'ilm._types.Phase': 'ilm/_types/Phase.ts#L26-L32',
1313+
'ilm._types.Phases': 'ilm/_types/Phase.ts#L34-L40',
13101314
'ilm._types.Policy': 'ilm/_types/Policy.ts#L23-L26',
1311-
'ilm._types.ShrinkConfiguration': 'ilm/_types/Phase.ts#L60-L62',
1315+
'ilm._types.RolloverAction': 'ilm/_types/Phase.ts#L97-L108',
1316+
'ilm._types.SearchableSnapshotAction': 'ilm/_types/Phase.ts#L126-L129',
1317+
'ilm._types.SetPriorityAction': 'ilm/_types/Phase.ts#L93-L95',
1318+
'ilm._types.ShrinkAction': 'ilm/_types/Phase.ts#L115-L119',
1319+
'ilm._types.WaitForSnapshotAction': 'ilm/_types/Phase.ts#L143-L145',
13121320
'ilm.delete_lifecycle.Request': 'ilm/delete_lifecycle/DeleteLifecycleRequest.ts#L24-L51',
13131321
'ilm.delete_lifecycle.Response': 'ilm/delete_lifecycle/DeleteLifecycleResponse.ts#L22-L24',
13141322
'ilm.explain_lifecycle.LifecycleExplain': 'ilm/explain_lifecycle/types.ts#L59-L62',
@@ -1890,11 +1898,11 @@
18901898
'ml._types.Vocabulary': 'ml/_types/inference.ts#L233-L235',
18911899
'ml._types.ZeroShotClassificationInferenceOptions': 'ml/_types/inference.ts#L201-L222',
18921900
'ml._types.ZeroShotClassificationInferenceUpdateOptions': 'ml/_types/inference.ts#L374-L383',
1893-
'ml.clear_trained_model_deployment_cache.Request': 'ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheRequest.ts#L25-L42',
1901+
'ml.clear_trained_model_deployment_cache.Request': 'ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheRequest.ts#L25-L43',
18941902
'ml.clear_trained_model_deployment_cache.Response': 'ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheResponse.ts#L20-L24',
18951903
'ml.close_job.Request': 'ml/close_job/MlCloseJobRequest.ts#L24-L77',
18961904
'ml.close_job.Response': 'ml/close_job/MlCloseJobResponse.ts#L20-L22',
1897-
'ml.delete_calendar.Request': 'ml/delete_calendar/MlDeleteCalendarRequest.ts#L23-L36',
1905+
'ml.delete_calendar.Request': 'ml/delete_calendar/MlDeleteCalendarRequest.ts#L23-L37',
18981906
'ml.delete_calendar.Response': 'ml/delete_calendar/MlDeleteCalendarResponse.ts#L22-L24',
18991907
'ml.delete_calendar_event.Request': 'ml/delete_calendar_event/MlDeleteCalendarEventRequest.ts#L23-L42',
19001908
'ml.delete_calendar_event.Response': 'ml/delete_calendar_event/MlDeleteCalendarEventResponse.ts#L22-L24',
@@ -1918,7 +1926,7 @@
19181926
'ml.delete_trained_model.Response': 'ml/delete_trained_model/MlDeleteTrainedModelResponse.ts#L22-L24',
19191927
'ml.delete_trained_model_alias.Request': 'ml/delete_trained_model_alias/MlDeleteTrainedModelAliasRequest.ts#L23-L44',
19201928
'ml.delete_trained_model_alias.Response': 'ml/delete_trained_model_alias/MlDeleteTrainedModelAliasResponse.ts#L22-L24',
1921-
'ml.estimate_model_memory.Request': 'ml/estimate_model_memory/MlEstimateModelMemoryRequest.ts#L26-L61',
1929+
'ml.estimate_model_memory.Request': 'ml/estimate_model_memory/MlEstimateModelMemoryRequest.ts#L26-L62',
19221930
'ml.estimate_model_memory.Response': 'ml/estimate_model_memory/MlEstimateModelMemoryResponse.ts#L20-L24',
19231931
'ml.evaluate_data_frame.ConfusionMatrixItem': 'ml/evaluate_data_frame/types.ts#L125-L130',
19241932
'ml.evaluate_data_frame.ConfusionMatrixPrediction': 'ml/evaluate_data_frame/types.ts#L132-L135',
@@ -2836,10 +2844,10 @@
28362844
if (hash.length > 1) {
28372845
hash = hash.substring(1);
28382846
}
2839-
window.location = "https://github.com/elastic/elasticsearch-specification/tree/75481439fa126fbe9699e1d46e90cd9d1b27014e/specification/" + (paths[hash] || "");
2847+
window.location = "https://github.com/elastic/elasticsearch-specification/tree/8c1229882b27bb8a9d61460d518c8aeb827e06ff/specification/" + (paths[hash] || "");
28402848
</script>
28412849
</head>
28422850
<body>
2843-
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/75481439fa126fbe9699e1d46e90cd9d1b27014e/specification/">Elasticsearch API specification</a>.
2851+
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/8c1229882b27bb8a9d61460d518c8aeb827e06ff/specification/">Elasticsearch API specification</a>.
28442852
</body>
28452853
</html>

0 commit comments

Comments
 (0)