Skip to content

Commit f60b79f

Browse files
committed
[codegen] update to latest spec
1 parent 61d01cc commit f60b79f

File tree

193 files changed

+10786
-2350
lines changed

Some content is hidden

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

193 files changed

+10786
-2350
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java

Lines changed: 85 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,34 @@ public final <TDocument> CompletableFuture<GetSourceResponse<TDocument>> getSour
11511151
// ----- Endpoint: health_report
11521152

11531153
/**
1154-
* Returns the health of the cluster.
1154+
* Get the cluster health. Get a report with the health status of an
1155+
* Elasticsearch cluster. The report contains a list of indicators that compose
1156+
* Elasticsearch functionality.
1157+
* <p>
1158+
* Each indicator has a health status of: green, unknown, yellow or red. The
1159+
* indicator will provide an explanation and metadata describing the reason for
1160+
* its current health status.
1161+
* <p>
1162+
* The cluster’s status is controlled by the worst indicator status.
1163+
* <p>
1164+
* In the event that an indicator’s status is non-green, a list of impacts may
1165+
* be present in the indicator result which detail the functionalities that are
1166+
* negatively affected by the health issue. Each impact carries with it a
1167+
* severity level, an area of the system that is affected, and a simple
1168+
* description of the impact on the system.
1169+
* <p>
1170+
* Some health indicators can determine the root cause of a health problem and
1171+
* prescribe a set of steps that can be performed in order to improve the health
1172+
* of the system. The root cause and remediation steps are encapsulated in a
1173+
* diagnosis. A diagnosis contains a cause detailing a root cause analysis, an
1174+
* action containing a brief description of the steps to take to fix the
1175+
* problem, the list of affected resources (if applicable), and a detailed
1176+
* step-by-step troubleshooting guide to fix the diagnosed problem.
1177+
* <p>
1178+
* NOTE: The health indicators perform root cause analysis of non-green health
1179+
* statuses. This can be computationally expensive when called frequently. When
1180+
* setting up automated polling of the API for health status, set verbose to
1181+
* false to disable the more expensive analysis logic.
11551182
*
11561183
* @see <a href=
11571184
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html">Documentation
@@ -1166,7 +1193,34 @@ public CompletableFuture<HealthReportResponse> healthReport(HealthReportRequest
11661193
}
11671194

11681195
/**
1169-
* Returns the health of the cluster.
1196+
* Get the cluster health. Get a report with the health status of an
1197+
* Elasticsearch cluster. The report contains a list of indicators that compose
1198+
* Elasticsearch functionality.
1199+
* <p>
1200+
* Each indicator has a health status of: green, unknown, yellow or red. The
1201+
* indicator will provide an explanation and metadata describing the reason for
1202+
* its current health status.
1203+
* <p>
1204+
* The cluster’s status is controlled by the worst indicator status.
1205+
* <p>
1206+
* In the event that an indicator’s status is non-green, a list of impacts may
1207+
* be present in the indicator result which detail the functionalities that are
1208+
* negatively affected by the health issue. Each impact carries with it a
1209+
* severity level, an area of the system that is affected, and a simple
1210+
* description of the impact on the system.
1211+
* <p>
1212+
* Some health indicators can determine the root cause of a health problem and
1213+
* prescribe a set of steps that can be performed in order to improve the health
1214+
* of the system. The root cause and remediation steps are encapsulated in a
1215+
* diagnosis. A diagnosis contains a cause detailing a root cause analysis, an
1216+
* action containing a brief description of the steps to take to fix the
1217+
* problem, the list of affected resources (if applicable), and a detailed
1218+
* step-by-step troubleshooting guide to fix the diagnosed problem.
1219+
* <p>
1220+
* NOTE: The health indicators perform root cause analysis of non-green health
1221+
* statuses. This can be computationally expensive when called frequently. When
1222+
* setting up automated polling of the API for health status, set verbose to
1223+
* false to disable the more expensive analysis logic.
11701224
*
11711225
* @param fn
11721226
* a function that initializes a builder to create the
@@ -1182,7 +1236,34 @@ public final CompletableFuture<HealthReportResponse> healthReport(
11821236
}
11831237

11841238
/**
1185-
* Returns the health of the cluster.
1239+
* Get the cluster health. Get a report with the health status of an
1240+
* Elasticsearch cluster. The report contains a list of indicators that compose
1241+
* Elasticsearch functionality.
1242+
* <p>
1243+
* Each indicator has a health status of: green, unknown, yellow or red. The
1244+
* indicator will provide an explanation and metadata describing the reason for
1245+
* its current health status.
1246+
* <p>
1247+
* The cluster’s status is controlled by the worst indicator status.
1248+
* <p>
1249+
* In the event that an indicator’s status is non-green, a list of impacts may
1250+
* be present in the indicator result which detail the functionalities that are
1251+
* negatively affected by the health issue. Each impact carries with it a
1252+
* severity level, an area of the system that is affected, and a simple
1253+
* description of the impact on the system.
1254+
* <p>
1255+
* Some health indicators can determine the root cause of a health problem and
1256+
* prescribe a set of steps that can be performed in order to improve the health
1257+
* of the system. The root cause and remediation steps are encapsulated in a
1258+
* diagnosis. A diagnosis contains a cause detailing a root cause analysis, an
1259+
* action containing a brief description of the steps to take to fix the
1260+
* problem, the list of affected resources (if applicable), and a detailed
1261+
* step-by-step troubleshooting guide to fix the diagnosed problem.
1262+
* <p>
1263+
* NOTE: The health indicators perform root cause analysis of non-green health
1264+
* statuses. This can be computationally expensive when called frequently. When
1265+
* setting up automated polling of the API for health status, set verbose to
1266+
* false to disable the more expensive analysis logic.
11861267
*
11871268
* @see <a href=
11881269
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html">Documentation
@@ -1814,7 +1895,7 @@ public final CompletableFuture<OpenPointInTimeResponse> openPointInTime(
18141895
// ----- Endpoint: ping
18151896

18161897
/**
1817-
* Ping the cluster. Returns whether the cluster is running.
1898+
* Ping the cluster. Get information about whether the cluster is running.
18181899
*
18191900
* @see <a href=
18201901
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html">Documentation

java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java

Lines changed: 85 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,34 @@ public final <TDocument> GetSourceResponse<TDocument> getSource(
11681168
// ----- Endpoint: health_report
11691169

11701170
/**
1171-
* Returns the health of the cluster.
1171+
* Get the cluster health. Get a report with the health status of an
1172+
* Elasticsearch cluster. The report contains a list of indicators that compose
1173+
* Elasticsearch functionality.
1174+
* <p>
1175+
* Each indicator has a health status of: green, unknown, yellow or red. The
1176+
* indicator will provide an explanation and metadata describing the reason for
1177+
* its current health status.
1178+
* <p>
1179+
* The cluster’s status is controlled by the worst indicator status.
1180+
* <p>
1181+
* In the event that an indicator’s status is non-green, a list of impacts may
1182+
* be present in the indicator result which detail the functionalities that are
1183+
* negatively affected by the health issue. Each impact carries with it a
1184+
* severity level, an area of the system that is affected, and a simple
1185+
* description of the impact on the system.
1186+
* <p>
1187+
* Some health indicators can determine the root cause of a health problem and
1188+
* prescribe a set of steps that can be performed in order to improve the health
1189+
* of the system. The root cause and remediation steps are encapsulated in a
1190+
* diagnosis. A diagnosis contains a cause detailing a root cause analysis, an
1191+
* action containing a brief description of the steps to take to fix the
1192+
* problem, the list of affected resources (if applicable), and a detailed
1193+
* step-by-step troubleshooting guide to fix the diagnosed problem.
1194+
* <p>
1195+
* NOTE: The health indicators perform root cause analysis of non-green health
1196+
* statuses. This can be computationally expensive when called frequently. When
1197+
* setting up automated polling of the API for health status, set verbose to
1198+
* false to disable the more expensive analysis logic.
11721199
*
11731200
* @see <a href=
11741201
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html">Documentation
@@ -1183,7 +1210,34 @@ public HealthReportResponse healthReport(HealthReportRequest request) throws IOE
11831210
}
11841211

11851212
/**
1186-
* Returns the health of the cluster.
1213+
* Get the cluster health. Get a report with the health status of an
1214+
* Elasticsearch cluster. The report contains a list of indicators that compose
1215+
* Elasticsearch functionality.
1216+
* <p>
1217+
* Each indicator has a health status of: green, unknown, yellow or red. The
1218+
* indicator will provide an explanation and metadata describing the reason for
1219+
* its current health status.
1220+
* <p>
1221+
* The cluster’s status is controlled by the worst indicator status.
1222+
* <p>
1223+
* In the event that an indicator’s status is non-green, a list of impacts may
1224+
* be present in the indicator result which detail the functionalities that are
1225+
* negatively affected by the health issue. Each impact carries with it a
1226+
* severity level, an area of the system that is affected, and a simple
1227+
* description of the impact on the system.
1228+
* <p>
1229+
* Some health indicators can determine the root cause of a health problem and
1230+
* prescribe a set of steps that can be performed in order to improve the health
1231+
* of the system. The root cause and remediation steps are encapsulated in a
1232+
* diagnosis. A diagnosis contains a cause detailing a root cause analysis, an
1233+
* action containing a brief description of the steps to take to fix the
1234+
* problem, the list of affected resources (if applicable), and a detailed
1235+
* step-by-step troubleshooting guide to fix the diagnosed problem.
1236+
* <p>
1237+
* NOTE: The health indicators perform root cause analysis of non-green health
1238+
* statuses. This can be computationally expensive when called frequently. When
1239+
* setting up automated polling of the API for health status, set verbose to
1240+
* false to disable the more expensive analysis logic.
11871241
*
11881242
* @param fn
11891243
* a function that initializes a builder to create the
@@ -1200,7 +1254,34 @@ public final HealthReportResponse healthReport(
12001254
}
12011255

12021256
/**
1203-
* Returns the health of the cluster.
1257+
* Get the cluster health. Get a report with the health status of an
1258+
* Elasticsearch cluster. The report contains a list of indicators that compose
1259+
* Elasticsearch functionality.
1260+
* <p>
1261+
* Each indicator has a health status of: green, unknown, yellow or red. The
1262+
* indicator will provide an explanation and metadata describing the reason for
1263+
* its current health status.
1264+
* <p>
1265+
* The cluster’s status is controlled by the worst indicator status.
1266+
* <p>
1267+
* In the event that an indicator’s status is non-green, a list of impacts may
1268+
* be present in the indicator result which detail the functionalities that are
1269+
* negatively affected by the health issue. Each impact carries with it a
1270+
* severity level, an area of the system that is affected, and a simple
1271+
* description of the impact on the system.
1272+
* <p>
1273+
* Some health indicators can determine the root cause of a health problem and
1274+
* prescribe a set of steps that can be performed in order to improve the health
1275+
* of the system. The root cause and remediation steps are encapsulated in a
1276+
* diagnosis. A diagnosis contains a cause detailing a root cause analysis, an
1277+
* action containing a brief description of the steps to take to fix the
1278+
* problem, the list of affected resources (if applicable), and a detailed
1279+
* step-by-step troubleshooting guide to fix the diagnosed problem.
1280+
* <p>
1281+
* NOTE: The health indicators perform root cause analysis of non-green health
1282+
* statuses. This can be computationally expensive when called frequently. When
1283+
* setting up automated polling of the API for health status, set verbose to
1284+
* false to disable the more expensive analysis logic.
12041285
*
12051286
* @see <a href=
12061287
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html">Documentation
@@ -1842,7 +1923,7 @@ public final OpenPointInTimeResponse openPointInTime(
18421923
// ----- Endpoint: ping
18431924

18441925
/**
1845-
* Ping the cluster. Returns whether the cluster is running.
1926+
* Ping the cluster. Get information about whether the cluster is running.
18461927
*
18471928
* @see <a href=
18481929
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html">Documentation

java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/CcrStatsRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
// typedef: ccr.stats.Request
5151

5252
/**
53-
* Gets all stats related to cross-cluster replication.
53+
* Get cross-cluster replication stats. This API returns stats about
54+
* auto-following and the same shard-level stats as the get follower stats API.
5455
*
5556
* @see <a href="../doc-files/api-spec.html#ccr.stats.Request">API
5657
* specification</a>

java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/DeleteAutoFollowPatternRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
// typedef: ccr.delete_auto_follow_pattern.Request
5757

5858
/**
59-
* Deletes auto-follow patterns.
59+
* Delete auto-follow patterns. Delete a collection of cross-cluster replication
60+
* auto-follow patterns.
6061
*
6162
* @see <a href=
6263
* "../doc-files/api-spec.html#ccr.delete_auto_follow_pattern.Request">API

0 commit comments

Comments
 (0)