diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchStatusRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchStatusRequest.java index eca1c109a..f0151830e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchStatusRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchStatusRequest.java @@ -21,6 +21,7 @@ import co.elastic.clients.elasticsearch._types.ErrorResponse; import co.elastic.clients.elasticsearch._types.RequestBase; +import co.elastic.clients.elasticsearch._types.Time; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; @@ -31,7 +32,6 @@ import co.elastic.clients.util.ObjectBuilder; import jakarta.json.stream.JsonGenerator; import java.lang.String; -import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -70,11 +70,15 @@ public class AsyncSearchStatusRequest extends RequestBase { private final String id; + @Nullable + private final Time keepAlive; + // --------------------------------------------------------------------------------------------- private AsyncSearchStatusRequest(Builder builder) { this.id = ApiTypeHelper.requireNonNull(builder.id, this, "id"); + this.keepAlive = builder.keepAlive; } @@ -91,6 +95,17 @@ public final String id() { return this.id; } + /** + * Specifies how long the async search needs to be available. Ongoing async + * searches and any saved search results are deleted after this period. + *
+ * API name: {@code keep_alive}
+ */
+ @Nullable
+ public final Time keepAlive() {
+ return this.keepAlive;
+ }
+
// ---------------------------------------------------------------------------------------------
/**
@@ -102,6 +117,9 @@ public static class Builder extends RequestBase.AbstractBuilder
@@ -112,6 +130,27 @@ public final Builder id(String value) {
return this;
}
+ /**
+ * Specifies how long the async search needs to be available. Ongoing async
+ * searches and any saved search results are deleted after this period.
+ *
+ * API name: {@code keep_alive}
+ */
+ public final Builder keepAlive(@Nullable Time value) {
+ this.keepAlive = value;
+ return this;
+ }
+
+ /**
+ * Specifies how long the async search needs to be available. Ongoing async
+ * searches and any saved search results are deleted after this period.
+ *
+ * API name: {@code keep_alive}
+ */
+ public final Builder keepAlive(Function
@@ -2587,9 +2557,6 @@ protected static void setupSubmitRequestDeserializer(ObjectDeserializer
@@ -92,6 +111,17 @@ public final String name() {
return this.name;
}
+ /**
+ * Period to wait for a response. If no response is received before the timeout
+ * expires, the request fails and returns an error.
+ *
+ * API name: {@code timeout}
+ */
+ @Nullable
+ public final Time timeout() {
+ return this.timeout;
+ }
+
// ---------------------------------------------------------------------------------------------
/**
@@ -101,8 +131,35 @@ public final String name() {
public static class Builder extends RequestBase.AbstractBuilder
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(@Nullable Time value) {
+ this.masterTimeout = value;
+ return this;
+ }
+
+ /**
+ * Period to wait for a connection to the master node. If no response is
+ * received before the timeout expires, the request fails and returns an error.
+ *
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(Function
@@ -113,6 +170,27 @@ public final Builder name(String value) {
return this;
}
+ /**
+ * Period to wait for a response. If no response is received before the timeout
+ * expires, the request fails and returns an error.
+ *
+ * API name: {@code timeout}
+ */
+ public final Builder timeout(@Nullable Time value) {
+ this.timeout = value;
+ return this;
+ }
+
+ /**
+ * Period to wait for a response. If no response is received before the timeout
+ * expires, the request fails and returns an error.
+ *
+ * API name: {@code timeout}
+ */
+ public final Builder timeout(Function
+ * NOTE: This feature is designed for indirect use by Elasticsearch Service,
+ * Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not
+ * supported.
+ *
+ * This API gets the current autoscaling capacity based on the configured
+ * autoscaling policy. It will return information to size the cluster
+ * appropriately to the current workload.
+ *
+ * The
+ * The operator should verify that the
+ * The response contains decider-specific information you can use to diagnose
+ * how and why autoscaling determined a certain capacity was required. This
+ * information is provided for diagnosis only. Do not use this information to
+ * make autoscaling decisions.
+ *
+ * @param fn
+ * a function that initializes a builder to create the
+ * {@link GetAutoscalingCapacityRequest}
+ * @see Documentation
+ * on elastic.co
+ */
+
+ public final CompletableFuture
+ * NOTE: This feature is designed for indirect use by Elasticsearch Service,
+ * Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not
+ * supported.
+ *
+ * This API gets the current autoscaling capacity based on the configured
+ * autoscaling policy. It will return information to size the cluster
+ * appropriately to the current workload.
+ *
+ * The
+ * The operator should verify that the
+ * The response contains decider-specific information you can use to diagnose
+ * how and why autoscaling determined a certain capacity was required. This
+ * information is provided for diagnosis only. Do not use this information to
+ * make autoscaling decisions.
+ *
+ * @see Documentation
+ * on elastic.co
+ */
+
public CompletableFuture
+ * NOTE: This feature is designed for indirect use by Elasticsearch Service,
+ * Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not
+ * supported.
+ *
+ * This API gets the current autoscaling capacity based on the configured
+ * autoscaling policy. It will return information to size the cluster
+ * appropriately to the current workload.
+ *
+ * The
+ * The operator should verify that the
+ * The response contains decider-specific information you can use to diagnose
+ * how and why autoscaling determined a certain capacity was required. This
+ * information is provided for diagnosis only. Do not use this information to
+ * make autoscaling decisions.
+ *
+ * @param fn
+ * a function that initializes a builder to create the
+ * {@link GetAutoscalingCapacityRequest}
+ * @see Documentation
+ * on elastic.co
+ */
+
+ public final GetAutoscalingCapacityResponse getAutoscalingCapacity(
+ Function
+ * NOTE: This feature is designed for indirect use by Elasticsearch Service,
+ * Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not
+ * supported.
+ *
+ * This API gets the current autoscaling capacity based on the configured
+ * autoscaling policy. It will return information to size the cluster
+ * appropriately to the current workload.
+ *
+ * The
+ * The operator should verify that the
+ * The response contains decider-specific information you can use to diagnose
+ * how and why autoscaling determined a certain capacity was required. This
+ * information is provided for diagnosis only. Do not use this information to
+ * make autoscaling decisions.
+ *
+ * @see Documentation
+ * on elastic.co
+ */
+
public GetAutoscalingCapacityResponse getAutoscalingCapacity() throws IOException, ElasticsearchException {
- return this.transport.performRequest(GetAutoscalingCapacityRequest._INSTANCE,
+ return this.transport.performRequest(new GetAutoscalingCapacityRequest.Builder().build(),
GetAutoscalingCapacityRequest._ENDPOINT, this.transportOptions);
}
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityRequest.java
index 40d0c71a6..96f46db2f 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityRequest.java
@@ -21,6 +21,7 @@
import co.elastic.clients.elasticsearch._types.ErrorResponse;
import co.elastic.clients.elasticsearch._types.RequestBase;
+import co.elastic.clients.elasticsearch._types.Time;
import co.elastic.clients.json.JsonpDeserializable;
import co.elastic.clients.json.JsonpDeserializer;
import co.elastic.clients.json.ObjectBuilderDeserializer;
@@ -30,7 +31,11 @@
import co.elastic.clients.util.ObjectBuilder;
import jakarta.json.stream.JsonGenerator;
import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
import java.util.Objects;
+import java.util.function.Function;
+import javax.annotation.Nullable;
//----------------------------------------------------------------
// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST.
@@ -79,13 +84,82 @@
*/
public class GetAutoscalingCapacityRequest extends RequestBase {
- public GetAutoscalingCapacityRequest() {
+ @Nullable
+ private final Time masterTimeout;
+
+ // ---------------------------------------------------------------------------------------------
+
+ private GetAutoscalingCapacityRequest(Builder builder) {
+
+ this.masterTimeout = builder.masterTimeout;
+
+ }
+
+ public static GetAutoscalingCapacityRequest of(Function
+ * API name: {@code master_timeout}
+ */
+ @Nullable
+ public final Time masterTimeout() {
+ return this.masterTimeout;
}
+ // ---------------------------------------------------------------------------------------------
+
/**
- * Singleton instance for {@link GetAutoscalingCapacityRequest}.
+ * Builder for {@link GetAutoscalingCapacityRequest}.
*/
- public static final GetAutoscalingCapacityRequest _INSTANCE = new GetAutoscalingCapacityRequest();
+
+ public static class Builder extends RequestBase.AbstractBuilder
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(@Nullable Time value) {
+ this.masterTimeout = value;
+ return this;
+ }
+
+ /**
+ * Period to wait for a connection to the master node. If no response is
+ * received before the timeout expires, the request fails and returns an error.
+ *
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(Function
@@ -100,8 +115,32 @@ public final String name() {
public static class Builder extends RequestBase.AbstractBuilder
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(@Nullable Time value) {
+ this.masterTimeout = value;
+ return this;
+ }
+
+ /**
+ * Period to wait for a connection to the master node. If no response is
+ * received before the timeout expires, the request fails and returns an error.
+ *
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(Function
@@ -181,7 +220,11 @@ public GetAutoscalingPolicyRequest build() {
// Request parameters
request -> {
- return Collections.emptyMap();
+ Map
@@ -97,6 +116,17 @@ public final String name() {
return this.name;
}
+ /**
+ * Period to wait for a response. If no response is received before the timeout
+ * expires, the request fails and returns an error.
+ *
+ * API name: {@code timeout}
+ */
+ @Nullable
+ public final Time timeout() {
+ return this.timeout;
+ }
+
/**
* Required - Request body.
*/
@@ -121,10 +151,37 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) {
public static class Builder extends RequestBase.AbstractBuilder
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(@Nullable Time value) {
+ this.masterTimeout = value;
+ return this;
+ }
+
+ /**
+ * Period to wait for a connection to the master node. If no response is
+ * received before the timeout expires, the request fails and returns an error.
+ *
+ * API name: {@code master_timeout}
+ */
+ public final Builder masterTimeout(Function
@@ -135,6 +192,27 @@ public final Builder name(String value) {
return this;
}
+ /**
+ * Period to wait for a response. If no response is received before the timeout
+ * expires, the request fails and returns an error.
+ *
+ * API name: {@code timeout}
+ */
+ public final Builder timeout(@Nullable Time value) {
+ this.timeout = value;
+ return this;
+ }
+
+ /**
+ * Period to wait for a response. If no response is received before the timeout
+ * expires, the request fails and returns an error.
+ *
+ * API name: {@code timeout}
+ */
+ public final Builder timeout(Function
+ * API name: {@code allow_partial_search_results}
+ */
+ @Nullable
+ public final Boolean allowPartialSearchResults() {
+ return this.allowPartialSearchResults;
+ }
+
/**
* Type of index that wildcard patterns can match. If the request can target
* data streams, this argument determines whether wildcard expressions match
@@ -224,6 +241,9 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {
public static class Builder extends RequestBase.AbstractBuilder
+ * API name: {@code allow_partial_search_results}
+ */
+ public final Builder allowPartialSearchResults(@Nullable Boolean value) {
+ this.allowPartialSearchResults = value;
+ return this;
+ }
+
/**
* Type of index that wildcard patterns can match. If the request can target
* data streams, this argument determines whether wildcard expressions match
@@ -462,6 +495,9 @@ protected static void setupOpenPointInTimeRequestDeserializer(
if (request.routing != null) {
params.put("routing", request.routing);
}
+ if (request.allowPartialSearchResults != null) {
+ params.put("allow_partial_search_results", String.valueOf(request.allowPartialSearchResults));
+ }
if (request.ignoreUnavailable != null) {
params.put("ignore_unavailable", String.valueOf(request.ignoreUnavailable));
}
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html
index 9b0e37a18..6de03dc11 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html
@@ -113,7 +113,7 @@
'_global.mtermvectors.Request': '_global/mtermvectors/MultiTermVectorsRequest.ts#L31-L116',
'_global.mtermvectors.Response': '_global/mtermvectors/MultiTermVectorsResponse.ts#L22-L24',
'_global.mtermvectors.TermVectorsResult': '_global/mtermvectors/types.ts#L96-L104',
-'_global.open_point_in_time.Request': '_global/open_point_in_time/OpenPointInTimeRequest.ts#L25-L81',
+'_global.open_point_in_time.Request': '_global/open_point_in_time/OpenPointInTimeRequest.ts#L25-L87',
'_global.open_point_in_time.Response': '_global/open_point_in_time/OpenPointInTimeResponse.ts#L23-L29',
'_global.ping.Request': '_global/ping/PingRequest.ts#L22-L30',
'_global.put_script.Request': '_global/put_script/PutScriptRequest.ts#L25-L66',
@@ -990,24 +990,24 @@
'async_search.delete.Response': 'async_search/delete/AsyncSearchDeleteResponse.ts#L22-L24',
'async_search.get.Request': 'async_search/get/AsyncSearchGetRequest.ts#L24-L57',
'async_search.get.Response': 'async_search/get/AsyncSearchGetResponse.ts#L22-L24',
-'async_search.status.Request': 'async_search/status/AsyncSearchStatusRequest.ts#L23-L39',
+'async_search.status.Request': 'async_search/status/AsyncSearchStatusRequest.ts#L24-L48',
'async_search.status.Response': 'async_search/status/AsyncSearchStatusResponse.ts#L39-L41',
'async_search.status.StatusResponseBase': 'async_search/status/AsyncSearchStatusResponse.ts#L24-L38',
-'async_search.submit.Request': 'async_search/submit/AsyncSearchSubmitRequest.ts#L55-L290',
+'async_search.submit.Request': 'async_search/submit/AsyncSearchSubmitRequest.ts#L55-L291',
'async_search.submit.Response': 'async_search/submit/AsyncSearchSubmitResponse.ts#L22-L24',
'autoscaling._types.AutoscalingPolicy': 'autoscaling/_types/AutoscalingPolicy.ts#L23-L30',
-'autoscaling.delete_autoscaling_policy.Request': 'autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts#L23-L36',
+'autoscaling.delete_autoscaling_policy.Request': 'autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts#L24-L48',
'autoscaling.delete_autoscaling_policy.Response': 'autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyResponse.ts#L22-L24',
'autoscaling.get_autoscaling_capacity.AutoscalingCapacity': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L38-L41',
'autoscaling.get_autoscaling_capacity.AutoscalingDecider': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L52-L56',
'autoscaling.get_autoscaling_capacity.AutoscalingDeciders': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L31-L36',
'autoscaling.get_autoscaling_capacity.AutoscalingNode': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L48-L50',
'autoscaling.get_autoscaling_capacity.AutoscalingResources': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L43-L46',
-'autoscaling.get_autoscaling_capacity.Request': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityRequest.ts#L22-L42',
+'autoscaling.get_autoscaling_capacity.Request': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityRequest.ts#L23-L51',
'autoscaling.get_autoscaling_capacity.Response': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L25-L29',
-'autoscaling.get_autoscaling_policy.Request': 'autoscaling/get_autoscaling_policy/GetAutoscalingPolicyRequest.ts#L23-L36',
+'autoscaling.get_autoscaling_policy.Request': 'autoscaling/get_autoscaling_policy/GetAutoscalingPolicyRequest.ts#L24-L44',
'autoscaling.get_autoscaling_policy.Response': 'autoscaling/get_autoscaling_policy/GetAutoscalingPolicyResponse.ts#L22-L24',
-'autoscaling.put_autoscaling_policy.Request': 'autoscaling/put_autoscaling_policy/PutAutoscalingPolicyRequest.ts#L24-L39',
+'autoscaling.put_autoscaling_policy.Request': 'autoscaling/put_autoscaling_policy/PutAutoscalingPolicyRequest.ts#L25-L51',
'autoscaling.put_autoscaling_policy.Response': 'autoscaling/put_autoscaling_policy/PutAutoscalingPolicyResponse.ts#L22-L24',
'cat._types.CatAnomalyDetectorColumn': 'cat/_types/CatBase.ts#L32-L401',
'cat._types.CatDatafeedColumn': 'cat/_types/CatBase.ts#L405-L471',
@@ -1808,8 +1808,8 @@
'logstash.get_pipeline.Request': 'logstash/get_pipeline/LogstashGetPipelineRequest.ts#L23-L37',
'logstash.get_pipeline.Response': 'logstash/get_pipeline/LogstashGetPipelineResponse.ts#L24-L27',
'logstash.put_pipeline.Request': 'logstash/put_pipeline/LogstashPutPipelineRequest.ts#L24-L39',
-'migration.deprecations.Deprecation': 'migration/deprecations/types.ts#L29-L35',
-'migration.deprecations.DeprecationLevel': 'migration/deprecations/types.ts#L20-L27',
+'migration.deprecations.Deprecation': 'migration/deprecations/types.ts#L32-L40',
+'migration.deprecations.DeprecationLevel': 'migration/deprecations/types.ts#L23-L30',
'migration.deprecations.Request': 'migration/deprecations/DeprecationInfoRequest.ts#L23-L32',
'migration.deprecations.Response': 'migration/deprecations/DeprecationInfoResponse.ts#L23-L30',
'migration.get_feature_upgrade_status.MigrationFeature': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L37-L42',
@@ -2310,7 +2310,7 @@
'query_rules.get_rule.Response': 'query_rules/get_rule/QueryRuleGetResponse.ts#L22-L24',
'query_rules.get_ruleset.Request': 'query_rules/get_ruleset/QueryRulesetGetRequest.ts#L22-L35',
'query_rules.get_ruleset.Response': 'query_rules/get_ruleset/QueryRulesetGetResponse.ts#L22-L24',
-'query_rules.list_rulesets.QueryRulesetListItem': 'query_rules/list_rulesets/types.ts#L23-L37',
+'query_rules.list_rulesets.QueryRulesetListItem': 'query_rules/list_rulesets/types.ts#L23-L42',
'query_rules.list_rulesets.Request': 'query_rules/list_rulesets/QueryRulesetListRequest.ts#L22-L39',
'query_rules.list_rulesets.Response': 'query_rules/list_rulesets/QueryRulesetListResponse.ts#L23-L28',
'query_rules.put_rule.Request': 'query_rules/put_rule/QueryRulePutRequest.ts#L28-L56',
@@ -2388,7 +2388,8 @@
'searchable_snapshots.stats.Request': 'searchable_snapshots/stats/SearchableSnapshotsStatsRequest.ts#L24-L35',
'searchable_snapshots.stats.Response': 'searchable_snapshots/stats/SearchableSnapshotsStatsResponse.ts#L22-L27',
'security._types.Access': 'security/_types/Access.ts#L22-L31',
-'security._types.ApiKey': 'security/_types/ApiKey.ts#L26-L88',
+'security._types.ApiKey': 'security/_types/ApiKey.ts#L27-L113',
+'security._types.ApiKeyType': 'security/_types/ApiKey.ts#L115-L118',
'security._types.ApplicationGlobalUserPrivileges': 'security/_types/Privileges.ts#L372-L374',
'security._types.ApplicationPrivileges': 'security/_types/Privileges.ts#L27-L40',
'security._types.BulkError': 'security/_types/Bulk.ts#L24-L33',
@@ -2424,8 +2425,9 @@
'security._types.UserProfileWithMetadata': 'security/_types/UserProfile.ts#L49-L52',
'security.activate_user_profile.Request': 'security/activate_user_profile/Request.ts#L23-L39',
'security.activate_user_profile.Response': 'security/activate_user_profile/Response.ts#L22-L24',
+'security.authenticate.AuthenticateApiKey': 'security/authenticate/SecurityAuthenticateResponse.ts#L44-L47',
'security.authenticate.Request': 'security/authenticate/SecurityAuthenticateRequest.ts#L22-L33',
-'security.authenticate.Response': 'security/authenticate/SecurityAuthenticateResponse.ts#L25-L43',
+'security.authenticate.Response': 'security/authenticate/SecurityAuthenticateResponse.ts#L24-L42',
'security.authenticate.Token': 'security/authenticate/types.ts#L22-L29',
'security.bulk_delete_role.Request': 'security/bulk_delete_role/SecurityBulkDeleteRoleRequest.ts#L23-L43',
'security.bulk_delete_role.Response': 'security/bulk_delete_role/SecurityBulkDeleteRoleResponse.ts#L22-L37',
@@ -2949,10 +2951,10 @@
if (hash.length > 1) {
hash = hash.substring(1);
}
- window.location = "https://github.com/elastic/elasticsearch-specification/tree/308b35b489962489e65aad8abab48b2aeaffd275/specification/" + (paths[hash] || "");
+ window.location = "https://github.com/elastic/elasticsearch-specification/tree/2679bdf05aecd5df23de52a88d621c7abdba6837/specification/" + (paths[hash] || "");
required_capacity
is calculated as the maximum of the
+ * required_capacity
result of all individual deciders that are
+ * enabled for the policy.
+ * current_nodes
match the
+ * operator’s knowledge of the cluster to avoid making autoscaling decisions
+ * based on stale or incomplete information.
+ * required_capacity
is calculated as the maximum of the
+ * required_capacity
result of all individual deciders that are
+ * enabled for the policy.
+ * current_nodes
match the
+ * operator’s knowledge of the cluster to avoid making autoscaling decisions
+ * based on stale or incomplete information.
+ * required_capacity
is calculated as the maximum of the
+ * required_capacity
result of all individual deciders that are
+ * enabled for the policy.
+ * current_nodes
match the
+ * operator’s knowledge of the cluster to avoid making autoscaling decisions
+ * based on stale or incomplete information.
+ * required_capacity
is calculated as the maximum of the
+ * required_capacity
result of all individual deciders that are
+ * enabled for the policy.
+ * current_nodes
match the
+ * operator’s knowledge of the cluster to avoid making autoscaling decisions
+ * based on stale or incomplete information.
+ * true
, the
+ * point in time will contain all the shards that are available at the time of
+ * the request.
+ * false
, creating a point in time request when a shard is
+ * missing or unavailable will throw an exception. If true
, the
+ * point in time will contain all the shards that are available at the time of
+ * the request.
+ *