diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java index d067c514c5..fcd2578bc1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java @@ -67,8 +67,6 @@ import co.elastic.clients.elasticsearch.core.IndexResponse; import co.elastic.clients.elasticsearch.core.InfoRequest; import co.elastic.clients.elasticsearch.core.InfoResponse; -import co.elastic.clients.elasticsearch.core.KnnSearchRequest; -import co.elastic.clients.elasticsearch.core.KnnSearchResponse; import co.elastic.clients.elasticsearch.core.MgetRequest; import co.elastic.clients.elasticsearch.core.MgetResponse; import co.elastic.clients.elasticsearch.core.MsearchRequest; @@ -3282,207 +3280,6 @@ public CompletableFuture info() { return this.transport.performRequestAsync(InfoRequest._INSTANCE, InfoRequest._ENDPOINT, this.transportOptions); } - // ----- Endpoint: knn_search - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

- * - * @see Documentation - * on elastic.co - */ - - public CompletableFuture> knnSearch(KnnSearchRequest request, - Class tDocumentClass) { - @SuppressWarnings("unchecked") - JsonEndpoint, ErrorResponse> endpoint = (JsonEndpoint, ErrorResponse>) KnnSearchRequest._ENDPOINT; - endpoint = new EndpointWithResponseMapperAttr<>(endpoint, - "co.elastic.clients:Deserializer:_global.knn_search.Response.TDocument", - getDeserializer(tDocumentClass)); - - return this.transport.performRequestAsync(request, endpoint, this.transportOptions); - } - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @param fn - * a function that initializes a builder to create the - * {@link KnnSearchRequest} - * @see Documentation - * on elastic.co - */ - - public final CompletableFuture> knnSearch( - Function> fn, Class tDocumentClass) { - return knnSearch(fn.apply(new KnnSearchRequest.Builder()).build(), tDocumentClass); - } - - /** - * Overload of {@link #knnSearch(KnnSearchRequest, Class)}, where Class is - * defined as Void, meaning the documents will not be deserialized. - */ - - public CompletableFuture> knnSearch(KnnSearchRequest request) { - @SuppressWarnings("unchecked") - JsonEndpoint, ErrorResponse> endpoint = (JsonEndpoint, ErrorResponse>) KnnSearchRequest._ENDPOINT; - return this.transport.performRequestAsync(request, endpoint, this.transportOptions); - } - - /** - * Overload of {@link #knnSearch(Function, Class)}, where Class is defined as - * Void, meaning the documents will not be deserialized. - */ - - public final CompletableFuture> knnSearch( - Function> fn) { - return knnSearch(fn.apply(new KnnSearchRequest.Builder()).build(), Void.class); - } - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @see Documentation - * on elastic.co - */ - - public CompletableFuture> knnSearch(KnnSearchRequest request, - Type tDocumentType) { - @SuppressWarnings("unchecked") - JsonEndpoint, ErrorResponse> endpoint = (JsonEndpoint, ErrorResponse>) KnnSearchRequest._ENDPOINT; - endpoint = new EndpointWithResponseMapperAttr<>(endpoint, - "co.elastic.clients:Deserializer:_global.knn_search.Response.TDocument", - getDeserializer(tDocumentType)); - - return this.transport.performRequestAsync(request, endpoint, this.transportOptions); - } - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @param fn - * a function that initializes a builder to create the - * {@link KnnSearchRequest} - * @see Documentation - * on elastic.co - */ - - public final CompletableFuture> knnSearch( - Function> fn, Type tDocumentType) { - return knnSearch(fn.apply(new KnnSearchRequest.Builder()).build(), tDocumentType); - } - // ----- Endpoint: mget /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java index 81d1c5d589..f84f5b9dc3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java @@ -68,8 +68,6 @@ import co.elastic.clients.elasticsearch.core.IndexResponse; import co.elastic.clients.elasticsearch.core.InfoRequest; import co.elastic.clients.elasticsearch.core.InfoResponse; -import co.elastic.clients.elasticsearch.core.KnnSearchRequest; -import co.elastic.clients.elasticsearch.core.KnnSearchResponse; import co.elastic.clients.elasticsearch.core.MgetRequest; import co.elastic.clients.elasticsearch.core.MgetResponse; import co.elastic.clients.elasticsearch.core.MsearchRequest; @@ -3303,210 +3301,6 @@ public InfoResponse info() throws IOException, ElasticsearchException { return this.transport.performRequest(InfoRequest._INSTANCE, InfoRequest._ENDPOINT, this.transportOptions); } - // ----- Endpoint: knn_search - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @see Documentation - * on elastic.co - */ - - public KnnSearchResponse knnSearch(KnnSearchRequest request, Class tDocumentClass) - throws IOException, ElasticsearchException { - @SuppressWarnings("unchecked") - JsonEndpoint, ErrorResponse> endpoint = (JsonEndpoint, ErrorResponse>) KnnSearchRequest._ENDPOINT; - endpoint = new EndpointWithResponseMapperAttr<>(endpoint, - "co.elastic.clients:Deserializer:_global.knn_search.Response.TDocument", - getDeserializer(tDocumentClass)); - - return this.transport.performRequest(request, endpoint, this.transportOptions); - } - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @param fn - * a function that initializes a builder to create the - * {@link KnnSearchRequest} - * @see Documentation - * on elastic.co - */ - - public final KnnSearchResponse knnSearch( - Function> fn, Class tDocumentClass) - throws IOException, ElasticsearchException { - return knnSearch(fn.apply(new KnnSearchRequest.Builder()).build(), tDocumentClass); - } - - /** - * Overload of {@link #knnSearch(KnnSearchRequest, Class)}, where Class is - * defined as Void, meaning the documents will not be deserialized. - */ - - public KnnSearchResponse knnSearch(KnnSearchRequest request) throws IOException, ElasticsearchException { - @SuppressWarnings("unchecked") - JsonEndpoint, ErrorResponse> endpoint = (JsonEndpoint, ErrorResponse>) KnnSearchRequest._ENDPOINT; - return this.transport.performRequest(request, endpoint, this.transportOptions); - } - - /** - * Overload of {@link #knnSearch(Function, Class)}, where Class is defined as - * Void, meaning the documents will not be deserialized. - */ - - public final KnnSearchResponse knnSearch( - Function> fn) - throws IOException, ElasticsearchException { - return knnSearch(fn.apply(new KnnSearchRequest.Builder()).build(), Void.class); - } - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @see Documentation - * on elastic.co - */ - - public KnnSearchResponse knnSearch(KnnSearchRequest request, Type tDocumentType) - throws IOException, ElasticsearchException { - @SuppressWarnings("unchecked") - JsonEndpoint, ErrorResponse> endpoint = (JsonEndpoint, ErrorResponse>) KnnSearchRequest._ENDPOINT; - endpoint = new EndpointWithResponseMapperAttr<>(endpoint, - "co.elastic.clients:Deserializer:_global.knn_search.Response.TDocument", - getDeserializer(tDocumentType)); - - return this.transport.performRequest(request, endpoint, this.transportOptions); - } - - /** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @param fn - * a function that initializes a builder to create the - * {@link KnnSearchRequest} - * @see Documentation - * on elastic.co - */ - - public final KnnSearchResponse knnSearch( - Function> fn, Type tDocumentType) - throws IOException, ElasticsearchException { - return knnSearch(fn.apply(new KnnSearchRequest.Builder()).build(), tDocumentType); - } - // ----- Endpoint: mget /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java index c5dcd0069f..227469d14b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java @@ -362,8 +362,7 @@ public final Boolean allowPartialSearchResults() { } /** - * Specify whether wildcard and prefix queries should be analyzed (default: - * false) + * Specify whether wildcard and prefix queries should be analyzed *

* API name: {@code analyze_wildcard} */ @@ -446,7 +445,7 @@ public final List docvalueFields() { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

* API name: {@code expand_wildcards} */ @@ -630,8 +629,7 @@ public final Query postFilter() { } /** - * Specify the node or shard the operation should be performed on (default: - * random) + * Specify the node or shard the operation should be performed on *

* API name: {@code preference} */ @@ -1378,8 +1376,7 @@ public final Builder allowPartialSearchResults(@Nullable Boolean value) { } /** - * Specify whether wildcard and prefix queries should be analyzed (default: - * false) + * Specify whether wildcard and prefix queries should be analyzed *

* API name: {@code analyze_wildcard} */ @@ -1497,7 +1494,7 @@ public final Builder docvalueFields(Function * API name: {@code expand_wildcards} *

@@ -1510,7 +1507,7 @@ public final Builder expandWildcards(List list) { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

* API name: {@code expand_wildcards} *

@@ -1840,8 +1837,7 @@ public final Builder postFilter(QueryVariant value) { } /** - * Specify the node or shard the operation should be performed on (default: - * random) + * Specify the node or shard the operation should be performed on *

* API name: {@code preference} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/DeleteAutoscalingPolicyRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/DeleteAutoscalingPolicyRequest.java index a86727e9fc..5c619bda82 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/DeleteAutoscalingPolicyRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/DeleteAutoscalingPolicyRequest.java @@ -103,7 +103,7 @@ public final Time masterTimeout() { } /** - * Required - the name of the autoscaling policy + * Required - Name of the autoscaling policy *

* API name: {@code name} */ @@ -161,7 +161,7 @@ public final Builder masterTimeout(Function> f } /** - * Required - the name of the autoscaling policy + * Required - Name of the autoscaling policy *

* API name: {@code name} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingPolicyRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingPolicyRequest.java index 4faccea7f0..f3f7cac7be 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingPolicyRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingPolicyRequest.java @@ -98,7 +98,7 @@ public final Time masterTimeout() { } /** - * Required - the name of the autoscaling policy + * Required - Name of the autoscaling policy *

* API name: {@code name} */ @@ -142,7 +142,7 @@ public final Builder masterTimeout(Function> f } /** - * Required - the name of the autoscaling policy + * Required - Name of the autoscaling policy *

* API name: {@code name} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/PutAutoscalingPolicyRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/PutAutoscalingPolicyRequest.java index 66e553363a..8633a26f6c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/PutAutoscalingPolicyRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/PutAutoscalingPolicyRequest.java @@ -108,7 +108,7 @@ public final Time masterTimeout() { } /** - * Required - the name of the autoscaling policy + * Required - Name of the autoscaling policy *

* API name: {@code name} */ @@ -183,7 +183,7 @@ public final Builder masterTimeout(Function> f } /** - * Required - the name of the autoscaling policy + * Required - Name of the autoscaling policy *

* API name: {@code name} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerRequest.java index 0881761e6d..d2eb44bbf1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerRequest.java @@ -144,8 +144,8 @@ public final String followerIndexUuid() { } /** - * Required - the name of the leader index for which specified follower - * retention leases should be removed + * Required - Name of the leader index for which specified follower retention + * leases should be removed *

* API name: {@code index} */ @@ -257,8 +257,8 @@ public final Builder followerIndexUuid(@Nullable String value) { } /** - * Required - the name of the leader index for which specified follower - * retention leases should be removed + * Required - Name of the leader index for which specified follower retention + * leases should be removed *

* API name: {@code index} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ResumeFollowRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ResumeFollowRequest.java index 587e9efb82..5a9f6a2f19 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ResumeFollowRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ResumeFollowRequest.java @@ -129,7 +129,7 @@ public static ResumeFollowRequest of(Function * API name: {@code index} */ @@ -336,7 +336,7 @@ public static class Builder extends RequestBase.AbstractBuilder private Time readPollTimeout; /** - * Required - The name of the follow index to resume following. + * Required - Name of the follow index to resume following *

* API name: {@code index} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java index e9ab92f61e..047a99518f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java @@ -22,6 +22,7 @@ import co.elastic.clients.elasticsearch._types.mapping.TypeMapping; import co.elastic.clients.elasticsearch.indices.AliasDefinition; import co.elastic.clients.elasticsearch.indices.DataStreamLifecycleWithRollover; +import co.elastic.clients.elasticsearch.indices.DataStreamOptionsTemplate; import co.elastic.clients.elasticsearch.indices.IndexSettings; import co.elastic.clients.json.JsonData; import co.elastic.clients.json.JsonpDeserializable; @@ -82,6 +83,9 @@ public class ComponentTemplateSummary implements JsonpSerializable { @Nullable private final DataStreamLifecycleWithRollover lifecycle; + @Nullable + private final DataStreamOptionsTemplate dataStreamOptions; + // --------------------------------------------------------------------------------------------- private ComponentTemplateSummary(Builder builder) { @@ -92,6 +96,7 @@ private ComponentTemplateSummary(Builder builder) { this.mappings = builder.mappings; this.aliases = ApiTypeHelper.unmodifiable(builder.aliases); this.lifecycle = builder.lifecycle; + this.dataStreamOptions = builder.dataStreamOptions; } @@ -144,6 +149,14 @@ public final DataStreamLifecycleWithRollover lifecycle() { return this.lifecycle; } + /** + * API name: {@code data_stream_options} + */ + @Nullable + public final DataStreamOptionsTemplate dataStreamOptions() { + return this.dataStreamOptions; + } + /** * Serialize this object to JSON. */ @@ -203,6 +216,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { this.lifecycle.serialize(generator, mapper); } + if (this.dataStreamOptions != null) { + generator.writeKey("data_stream_options"); + this.dataStreamOptions.serialize(generator, mapper); + + } } @@ -238,6 +256,9 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private DataStreamLifecycleWithRollover lifecycle; + @Nullable + private DataStreamOptionsTemplate dataStreamOptions; + /** * API name: {@code _meta} *

@@ -355,6 +376,22 @@ public final Builder lifecycle( return this.lifecycle(fn.apply(new DataStreamLifecycleWithRollover.Builder()).build()); } + /** + * API name: {@code data_stream_options} + */ + public final Builder dataStreamOptions(@Nullable DataStreamOptionsTemplate value) { + this.dataStreamOptions = value; + return this; + } + + /** + * API name: {@code data_stream_options} + */ + public final Builder dataStreamOptions( + Function> fn) { + return this.dataStreamOptions(fn.apply(new DataStreamOptionsTemplate.Builder()).build()); + } + @Override protected Builder self() { return this; @@ -390,6 +427,7 @@ protected static void setupComponentTemplateSummaryDeserializer( op.add(Builder::mappings, TypeMapping._DESERIALIZER, "mappings"); op.add(Builder::aliases, JsonpDeserializer.stringMapDeserializer(AliasDefinition._DESERIALIZER), "aliases"); op.add(Builder::lifecycle, DataStreamLifecycleWithRollover._DESERIALIZER, "lifecycle"); + op.add(Builder::dataStreamOptions, DataStreamOptionsTemplate._DESERIALIZER, "data_stream_options"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateRequest.java index e0674420e2..9c8579b504 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateRequest.java @@ -112,7 +112,7 @@ public final Boolean flatSettings() { } /** - * Return all default configurations for the component template (default: false) + * Return all default configurations for the component template *

* API name: {@code include_defaults} */ @@ -206,7 +206,7 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * Return all default configurations for the component template (default: false) + * Return all default configurations for the component template *

* API name: {@code include_defaults} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsRequest.java index b733b6714b..95d4a49cd0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsRequest.java @@ -126,7 +126,7 @@ public static PutClusterSettingsRequest of(Function * API name: {@code flat_settings} */ @@ -136,7 +136,7 @@ public final Boolean flatSettings() { } /** - * Explicit operation timeout for connection to master node + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -155,7 +155,7 @@ public final Map persistent() { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -234,7 +234,7 @@ public static class Builder extends RequestBase.AbstractBuilder private Map transient_; /** - * Return settings in flat format (default: false) + * Return settings in flat format *

* API name: {@code flat_settings} */ @@ -244,7 +244,7 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * Explicit operation timeout for connection to master node + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -254,7 +254,7 @@ public final Builder masterTimeout(@Nullable Time value) { } /** - * Explicit operation timeout for connection to master node + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -287,7 +287,7 @@ public final Builder persistent(String key, JsonData value) { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -297,7 +297,7 @@ public final Builder timeout(@Nullable Time value) { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java index 1398dcd978..2d0eaebaf8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java @@ -159,7 +159,7 @@ public final Boolean allowNoIndices() { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

* API name: {@code expand_wildcards} */ @@ -168,7 +168,7 @@ public final List expandWildcards() { } /** - * Return settings in flat format (default: false) + * Return settings in flat format *

* API name: {@code flat_settings} */ @@ -200,7 +200,6 @@ public final List index() { /** * Return local information, do not retrieve the state from master node - * (default: false) *

* API name: {@code local} * @@ -224,7 +223,7 @@ public final Time masterTimeout() { } /** - * Limit the information returned to the specified metrics + * Limit the information returned to the specified metrics. *

* API name: {@code metric} */ @@ -304,7 +303,7 @@ public final Builder allowNoIndices(@Nullable Boolean value) { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

* API name: {@code expand_wildcards} *

@@ -317,7 +316,7 @@ public final Builder expandWildcards(List list) { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

* API name: {@code expand_wildcards} *

@@ -329,7 +328,7 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * Return settings in flat format (default: false) + * Return settings in flat format *

* API name: {@code flat_settings} */ @@ -377,7 +376,6 @@ public final Builder index(String value, String... values) { /** * Return local information, do not retrieve the state from master node - * (default: false) *

* API name: {@code local} * @@ -410,7 +408,7 @@ public final Builder masterTimeout(Function> f } /** - * Limit the information returned to the specified metrics + * Limit the information returned to the specified metrics. *

* API name: {@code metric} *

@@ -422,7 +420,7 @@ public final Builder metric(List list) { } /** - * Limit the information returned to the specified metrics + * Limit the information returned to the specified metrics. *

* API name: {@code metric} *

diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchRequest.java deleted file mode 100644 index 86f3b79576..0000000000 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchRequest.java +++ /dev/null @@ -1,673 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package co.elastic.clients.elasticsearch.core; - -import co.elastic.clients.elasticsearch._types.ErrorResponse; -import co.elastic.clients.elasticsearch._types.RequestBase; -import co.elastic.clients.elasticsearch._types.query_dsl.FieldAndFormat; -import co.elastic.clients.elasticsearch._types.query_dsl.Query; -import co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant; -import co.elastic.clients.elasticsearch.core.knn_search.KnnSearchQuery; -import co.elastic.clients.elasticsearch.core.search.SourceConfig; -import co.elastic.clients.json.JsonpDeserializable; -import co.elastic.clients.json.JsonpDeserializer; -import co.elastic.clients.json.JsonpMapper; -import co.elastic.clients.json.JsonpSerializable; -import co.elastic.clients.json.ObjectBuilderDeserializer; -import co.elastic.clients.json.ObjectDeserializer; -import co.elastic.clients.transport.Endpoint; -import co.elastic.clients.transport.endpoints.SimpleEndpoint; -import co.elastic.clients.util.ApiTypeHelper; -import co.elastic.clients.util.ObjectBuilder; -import jakarta.json.stream.JsonGenerator; -import java.lang.String; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.function.Function; -import java.util.stream.Collectors; -import javax.annotation.Nullable; - -//---------------------------------------------------------------- -// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. -//---------------------------------------------------------------- -// -// This code is generated from the Elasticsearch API specification -// at https://github.com/elastic/elasticsearch-specification -// -// Manual updates to this file will be lost when the code is -// re-generated. -// -// If you find a property that is missing or wrongly typed, please -// open an issue or a PR on the API specification repository. -// -//---------------------------------------------------------------- - -// typedef: _global.knn_search.Request - -/** - * Run a knn search. - *

- * NOTE: The kNN search API has been replaced by the knn option in - * the search API. - *

- * Perform a k-nearest neighbor (kNN) search on a dense_vector field and return - * the matching documents. Given a query vector, the API finds the k closest - * vectors and returns those documents as search hits. - *

- * Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like - * most kNN algorithms, HNSW is an approximate method that sacrifices result - * accuracy for improved search speed. This means the results returned are not - * always the true k closest neighbors. - *

- * The kNN search API supports restricting the search using a filter. The search - * will return the top k documents that also match the filter query. - *

- * A kNN search response has the exact same structure as a search API response. - * However, certain sections have a meaning specific to kNN search: - *

    - *
  • The document _score is determined by the similarity between - * the query and document vector.
  • - *
  • The hits.total object contains the total number of nearest - * neighbor candidates considered, which is - * num_candidates * num_shards. The - * hits.total.relation will always be eq, indicating - * an exact value.
  • - *
- * - * @see API - * specification - * @deprecated 8.4.0 The kNN search API has been replaced by the - * knn option in the search API. - */ -@Deprecated -@JsonpDeserializable -public class KnnSearchRequest extends RequestBase implements JsonpSerializable { - @Nullable - private final SourceConfig source; - - private final List docvalueFields; - - private final List fields; - - private final List filter; - - private final List index; - - private final KnnSearchQuery knn; - - @Nullable - private final String routing; - - private final List storedFields; - - // --------------------------------------------------------------------------------------------- - - private KnnSearchRequest(Builder builder) { - - this.source = builder.source; - this.docvalueFields = ApiTypeHelper.unmodifiable(builder.docvalueFields); - this.fields = ApiTypeHelper.unmodifiable(builder.fields); - this.filter = ApiTypeHelper.unmodifiable(builder.filter); - this.index = ApiTypeHelper.unmodifiableRequired(builder.index, this, "index"); - this.knn = ApiTypeHelper.requireNonNull(builder.knn, this, "knn"); - this.routing = builder.routing; - this.storedFields = ApiTypeHelper.unmodifiable(builder.storedFields); - - } - - public static KnnSearchRequest of(Function> fn) { - return fn.apply(new Builder()).build(); - } - - /** - * Indicates which source fields are returned for matching documents. These - * fields are returned in the hits._source property of the search - * response. - *

- * API name: {@code _source} - */ - @Nullable - public final SourceConfig source() { - return this.source; - } - - /** - * The request returns doc values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code docvalue_fields} - */ - public final List docvalueFields() { - return this.docvalueFields; - } - - /** - * The request returns values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code fields} - */ - public final List fields() { - return this.fields; - } - - /** - * A query to filter the documents that can match. The kNN search will return - * the top k documents that also match this filter. The value can - * be a single query or a list of queries. If filter isn't - * provided, all documents are allowed to match. - *

- * API name: {@code filter} - */ - public final List filter() { - return this.filter; - } - - /** - * Required - A comma-separated list of index names to search; use - * _all or to perform the operation on all indices. - *

- * API name: {@code index} - */ - public final List index() { - return this.index; - } - - /** - * Required - The kNN query to run. - *

- * API name: {@code knn} - */ - public final KnnSearchQuery knn() { - return this.knn; - } - - /** - * A comma-separated list of specific routing values. - *

- * API name: {@code routing} - */ - @Nullable - public final String routing() { - return this.routing; - } - - /** - * A list of stored fields to return as part of a hit. If no fields are - * specified, no stored fields are included in the response. If this field is - * specified, the _source parameter defaults to false. - * You can pass _source: true to return both source fields and - * stored fields in the search response. - *

- * API name: {@code stored_fields} - */ - public final List storedFields() { - return this.storedFields; - } - - /** - * Serialize this object to JSON. - */ - public void serialize(JsonGenerator generator, JsonpMapper mapper) { - generator.writeStartObject(); - serializeInternal(generator, mapper); - generator.writeEnd(); - } - - protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - - if (this.source != null) { - generator.writeKey("_source"); - this.source.serialize(generator, mapper); - - } - if (ApiTypeHelper.isDefined(this.docvalueFields)) { - generator.writeKey("docvalue_fields"); - generator.writeStartArray(); - for (FieldAndFormat item0 : this.docvalueFields) { - item0.serialize(generator, mapper); - - } - generator.writeEnd(); - - } - if (ApiTypeHelper.isDefined(this.fields)) { - generator.writeKey("fields"); - generator.writeStartArray(); - for (String item0 : this.fields) { - generator.write(item0); - - } - generator.writeEnd(); - - } - if (ApiTypeHelper.isDefined(this.filter)) { - generator.writeKey("filter"); - generator.writeStartArray(); - for (Query item0 : this.filter) { - item0.serialize(generator, mapper); - - } - generator.writeEnd(); - - } - generator.writeKey("knn"); - this.knn.serialize(generator, mapper); - - if (ApiTypeHelper.isDefined(this.storedFields)) { - generator.writeKey("stored_fields"); - if (this.storedFields.size() == 1) { - String singleItem = this.storedFields.get(0); - generator.write(singleItem); - - } else { - generator.writeStartArray(); - for (String item0 : this.storedFields) { - generator.write(item0); - - } - generator.writeEnd(); - } - - } - - } - - // --------------------------------------------------------------------------------------------- - - /** - * Builder for {@link KnnSearchRequest}. - */ - @Deprecated - public static class Builder extends RequestBase.AbstractBuilder - implements - ObjectBuilder { - @Nullable - private SourceConfig source; - - @Nullable - private List docvalueFields; - - @Nullable - private List fields; - - @Nullable - private List filter; - - private List index; - - private KnnSearchQuery knn; - - @Nullable - private String routing; - - @Nullable - private List storedFields; - - /** - * Indicates which source fields are returned for matching documents. These - * fields are returned in the hits._source property of the search - * response. - *

- * API name: {@code _source} - */ - public final Builder source(@Nullable SourceConfig value) { - this.source = value; - return this; - } - - /** - * Indicates which source fields are returned for matching documents. These - * fields are returned in the hits._source property of the search - * response. - *

- * API name: {@code _source} - */ - public final Builder source(Function> fn) { - return this.source(fn.apply(new SourceConfig.Builder()).build()); - } - - /** - * The request returns doc values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code docvalue_fields} - *

- * Adds all elements of list to docvalueFields. - */ - public final Builder docvalueFields(List list) { - this.docvalueFields = _listAddAll(this.docvalueFields, list); - return this; - } - - /** - * The request returns doc values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code docvalue_fields} - *

- * Adds one or more values to docvalueFields. - */ - public final Builder docvalueFields(FieldAndFormat value, FieldAndFormat... values) { - this.docvalueFields = _listAdd(this.docvalueFields, value, values); - return this; - } - - /** - * The request returns doc values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code docvalue_fields} - *

- * Adds a value to docvalueFields using a builder lambda. - */ - public final Builder docvalueFields(Function> fn) { - return docvalueFields(fn.apply(new FieldAndFormat.Builder()).build()); - } - - /** - * The request returns values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code fields} - *

- * Adds all elements of list to fields. - */ - public final Builder fields(List list) { - this.fields = _listAddAll(this.fields, list); - return this; - } - - /** - * The request returns values for field names matching these patterns in the - * hits.fields property of the response. It accepts wildcard - * (*) patterns. - *

- * API name: {@code fields} - *

- * Adds one or more values to fields. - */ - public final Builder fields(String value, String... values) { - this.fields = _listAdd(this.fields, value, values); - return this; - } - - /** - * A query to filter the documents that can match. The kNN search will return - * the top k documents that also match this filter. The value can - * be a single query or a list of queries. If filter isn't - * provided, all documents are allowed to match. - *

- * API name: {@code filter} - *

- * Adds all elements of list to filter. - */ - public final Builder filter(List list) { - this.filter = _listAddAll(this.filter, list); - return this; - } - - /** - * A query to filter the documents that can match. The kNN search will return - * the top k documents that also match this filter. The value can - * be a single query or a list of queries. If filter isn't - * provided, all documents are allowed to match. - *

- * API name: {@code filter} - *

- * Adds one or more values to filter. - */ - public final Builder filter(Query value, Query... values) { - this.filter = _listAdd(this.filter, value, values); - return this; - } - - /** - * A query to filter the documents that can match. The kNN search will return - * the top k documents that also match this filter. The value can - * be a single query or a list of queries. If filter isn't - * provided, all documents are allowed to match. - *

- * API name: {@code filter} - *

- * Adds one or more values to filter. - */ - public final Builder filter(QueryVariant value, QueryVariant... values) { - this.filter = _listAdd(this.filter, value._toQuery()); - for (QueryVariant v : values) { - _listAdd(this.filter, v._toQuery()); - } - return this; - } - - /** - * A query to filter the documents that can match. The kNN search will return - * the top k documents that also match this filter. The value can - * be a single query or a list of queries. If filter isn't - * provided, all documents are allowed to match. - *

- * API name: {@code filter} - *

- * Adds a value to filter using a builder lambda. - */ - public final Builder filter(Function> fn) { - return filter(fn.apply(new Query.Builder()).build()); - } - - /** - * Required - A comma-separated list of index names to search; use - * _all or to perform the operation on all indices. - *

- * API name: {@code index} - *

- * Adds all elements of list to index. - */ - public final Builder index(List list) { - this.index = _listAddAll(this.index, list); - return this; - } - - /** - * Required - A comma-separated list of index names to search; use - * _all or to perform the operation on all indices. - *

- * API name: {@code index} - *

- * Adds one or more values to index. - */ - public final Builder index(String value, String... values) { - this.index = _listAdd(this.index, value, values); - return this; - } - - /** - * Required - The kNN query to run. - *

- * API name: {@code knn} - */ - public final Builder knn(KnnSearchQuery value) { - this.knn = value; - return this; - } - - /** - * Required - The kNN query to run. - *

- * API name: {@code knn} - */ - public final Builder knn(Function> fn) { - return this.knn(fn.apply(new KnnSearchQuery.Builder()).build()); - } - - /** - * A comma-separated list of specific routing values. - *

- * API name: {@code routing} - */ - public final Builder routing(@Nullable String value) { - this.routing = value; - return this; - } - - /** - * A list of stored fields to return as part of a hit. If no fields are - * specified, no stored fields are included in the response. If this field is - * specified, the _source parameter defaults to false. - * You can pass _source: true to return both source fields and - * stored fields in the search response. - *

- * API name: {@code stored_fields} - *

- * Adds all elements of list to storedFields. - */ - public final Builder storedFields(List list) { - this.storedFields = _listAddAll(this.storedFields, list); - return this; - } - - /** - * A list of stored fields to return as part of a hit. If no fields are - * specified, no stored fields are included in the response. If this field is - * specified, the _source parameter defaults to false. - * You can pass _source: true to return both source fields and - * stored fields in the search response. - *

- * API name: {@code stored_fields} - *

- * Adds one or more values to storedFields. - */ - public final Builder storedFields(String value, String... values) { - this.storedFields = _listAdd(this.storedFields, value, values); - return this; - } - - @Override - protected Builder self() { - return this; - } - - /** - * Builds a {@link KnnSearchRequest}. - * - * @throws NullPointerException - * if some of the required fields are null. - */ - public KnnSearchRequest build() { - _checkSingleUse(); - - return new KnnSearchRequest(this); - } - } - - // --------------------------------------------------------------------------------------------- - - /** - * Json deserializer for {@link KnnSearchRequest} - */ - public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer.lazy(Builder::new, - KnnSearchRequest::setupKnnSearchRequestDeserializer); - - protected static void setupKnnSearchRequestDeserializer(ObjectDeserializer op) { - - op.add(Builder::source, SourceConfig._DESERIALIZER, "_source"); - op.add(Builder::docvalueFields, JsonpDeserializer.arrayDeserializer(FieldAndFormat._DESERIALIZER), - "docvalue_fields"); - op.add(Builder::fields, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer()), "fields"); - op.add(Builder::filter, JsonpDeserializer.arrayDeserializer(Query._DESERIALIZER), "filter"); - op.add(Builder::knn, KnnSearchQuery._DESERIALIZER, "knn"); - op.add(Builder::storedFields, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer()), - "stored_fields"); - - } - - // --------------------------------------------------------------------------------------------- - - /** - * Endpoint "{@code knn_search}". - */ - public static final SimpleEndpoint _ENDPOINT = new SimpleEndpoint<>("es/knn_search", - - // Request method - request -> { - return "POST"; - - }, - - // Request path - request -> { - final int _index = 1 << 0; - - int propsSet = 0; - - propsSet |= _index; - - if (propsSet == (_index)) { - StringBuilder buf = new StringBuilder(); - buf.append("/"); - SimpleEndpoint.pathEncode(request.index.stream().map(v -> v).collect(Collectors.joining(",")), buf); - buf.append("/_knn_search"); - return buf.toString(); - } - throw SimpleEndpoint.noPathTemplateFound("path"); - - }, - - // Path parameters - request -> { - Map params = new HashMap<>(); - final int _index = 1 << 0; - - int propsSet = 0; - - propsSet |= _index; - - if (propsSet == (_index)) { - params.put("index", request.index.stream().map(v -> v).collect(Collectors.joining(","))); - } - return params; - }, - - // Request parameters - request -> { - Map params = new HashMap<>(); - if (request.routing != null) { - params.put("routing", request.routing); - } - return params; - - }, SimpleEndpoint.emptyMap(), true, KnnSearchResponse._DESERIALIZER); - - /** - * Create an "{@code knn_search}" endpoint. - */ - public static Endpoint, ErrorResponse> createKnnSearchEndpoint( - JsonpDeserializer tDocumentDeserializer) { - return _ENDPOINT - .withResponseDeserializer(KnnSearchResponse.createKnnSearchResponseDeserializer(tDocumentDeserializer)); - } -} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java deleted file mode 100644 index 58af76f936..0000000000 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package co.elastic.clients.elasticsearch.core; - -import co.elastic.clients.elasticsearch._types.ShardStatistics; -import co.elastic.clients.elasticsearch.core.search.HitsMetadata; -import co.elastic.clients.json.JsonData; -import co.elastic.clients.json.JsonpDeserializable; -import co.elastic.clients.json.JsonpDeserializer; -import co.elastic.clients.json.JsonpMapper; -import co.elastic.clients.json.JsonpSerializable; -import co.elastic.clients.json.JsonpSerializer; -import co.elastic.clients.json.JsonpUtils; -import co.elastic.clients.json.NamedDeserializer; -import co.elastic.clients.json.ObjectBuilderDeserializer; -import co.elastic.clients.json.ObjectDeserializer; -import co.elastic.clients.util.ApiTypeHelper; -import co.elastic.clients.util.ObjectBuilder; -import co.elastic.clients.util.WithJsonObjectBuilderBase; -import jakarta.json.stream.JsonGenerator; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.Long; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.function.Function; -import java.util.function.Supplier; -import javax.annotation.Nullable; - -//---------------------------------------------------------------- -// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. -//---------------------------------------------------------------- -// -// This code is generated from the Elasticsearch API specification -// at https://github.com/elastic/elasticsearch-specification -// -// Manual updates to this file will be lost when the code is -// re-generated. -// -// If you find a property that is missing or wrongly typed, please -// open an issue or a PR on the API specification repository. -// -//---------------------------------------------------------------- - -// typedef: _global.knn_search.Response - -/** - * - * @see API - * specification - */ -@JsonpDeserializable -public class KnnSearchResponse implements JsonpSerializable { - private final long took; - - private final boolean timedOut; - - private final ShardStatistics shards; - - private final HitsMetadata hits; - - private final Map fields; - - @Nullable - private final Double maxScore; - - @Nullable - private final JsonpSerializer tDocumentSerializer; - - // --------------------------------------------------------------------------------------------- - - private KnnSearchResponse(Builder builder) { - - this.took = ApiTypeHelper.requireNonNull(builder.took, this, "took", 0); - this.timedOut = ApiTypeHelper.requireNonNull(builder.timedOut, this, "timedOut", false); - this.shards = ApiTypeHelper.requireNonNull(builder.shards, this, "shards"); - this.hits = ApiTypeHelper.requireNonNull(builder.hits, this, "hits"); - this.fields = ApiTypeHelper.unmodifiable(builder.fields); - this.maxScore = builder.maxScore; - this.tDocumentSerializer = builder.tDocumentSerializer; - - } - - public static KnnSearchResponse of( - Function, ObjectBuilder>> fn) { - return fn.apply(new Builder<>()).build(); - } - - /** - * Required - The milliseconds it took Elasticsearch to run the request. - *

- * API name: {@code took} - */ - public final long took() { - return this.took; - } - - /** - * Required - If true, the request timed out before completion; returned results - * may be partial or empty. - *

- * API name: {@code timed_out} - */ - public final boolean timedOut() { - return this.timedOut; - } - - /** - * Required - A count of shards used for the request. - *

- * API name: {@code _shards} - */ - public final ShardStatistics shards() { - return this.shards; - } - - /** - * Required - The returned documents and metadata. - *

- * API name: {@code hits} - */ - public final HitsMetadata hits() { - return this.hits; - } - - /** - * The field values for the documents. These fields must be specified in the - * request using the fields parameter. - *

- * API name: {@code fields} - */ - public final Map fields() { - return this.fields; - } - - /** - * The highest returned document score. This value is null for requests that do - * not sort by score. - *

- * API name: {@code max_score} - */ - @Nullable - public final Double maxScore() { - return this.maxScore; - } - - /** - * Serialize this object to JSON. - */ - public void serialize(JsonGenerator generator, JsonpMapper mapper) { - generator.writeStartObject(); - serializeInternal(generator, mapper); - generator.writeEnd(); - } - - protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - - generator.writeKey("took"); - generator.write(this.took); - - generator.writeKey("timed_out"); - generator.write(this.timedOut); - - generator.writeKey("_shards"); - this.shards.serialize(generator, mapper); - - generator.writeKey("hits"); - this.hits.serialize(generator, mapper); - - if (ApiTypeHelper.isDefined(this.fields)) { - generator.writeKey("fields"); - generator.writeStartObject(); - for (Map.Entry item0 : this.fields.entrySet()) { - generator.writeKey(item0.getKey()); - item0.getValue().serialize(generator, mapper); - - } - generator.writeEnd(); - - } - if (this.maxScore != null) { - generator.writeKey("max_score"); - generator.write(this.maxScore); - - } - - } - - @Override - public String toString() { - return JsonpUtils.toString(this); - } - - // --------------------------------------------------------------------------------------------- - - /** - * Builder for {@link KnnSearchResponse}. - */ - - public static class Builder extends WithJsonObjectBuilderBase> - implements - ObjectBuilder> { - private Long took; - - private Boolean timedOut; - - private ShardStatistics shards; - - private HitsMetadata hits; - - @Nullable - private Map fields; - - @Nullable - private Double maxScore; - - @Nullable - private JsonpSerializer tDocumentSerializer; - - /** - * Required - The milliseconds it took Elasticsearch to run the request. - *

- * API name: {@code took} - */ - public final Builder took(long value) { - this.took = value; - return this; - } - - /** - * Required - If true, the request timed out before completion; returned results - * may be partial or empty. - *

- * API name: {@code timed_out} - */ - public final Builder timedOut(boolean value) { - this.timedOut = value; - return this; - } - - /** - * Required - A count of shards used for the request. - *

- * API name: {@code _shards} - */ - public final Builder shards(ShardStatistics value) { - this.shards = value; - return this; - } - - /** - * Required - A count of shards used for the request. - *

- * API name: {@code _shards} - */ - public final Builder shards(Function> fn) { - return this.shards(fn.apply(new ShardStatistics.Builder()).build()); - } - - /** - * Required - The returned documents and metadata. - *

- * API name: {@code hits} - */ - public final Builder hits(HitsMetadata value) { - this.hits = value; - return this; - } - - /** - * Required - The returned documents and metadata. - *

- * API name: {@code hits} - */ - public final Builder hits( - Function, ObjectBuilder>> fn) { - return this.hits(fn.apply(new HitsMetadata.Builder()).build()); - } - - /** - * The field values for the documents. These fields must be specified in the - * request using the fields parameter. - *

- * API name: {@code fields} - *

- * Adds all entries of map to fields. - */ - public final Builder fields(Map map) { - this.fields = _mapPutAll(this.fields, map); - return this; - } - - /** - * The field values for the documents. These fields must be specified in the - * request using the fields parameter. - *

- * API name: {@code fields} - *

- * Adds an entry to fields. - */ - public final Builder fields(String key, JsonData value) { - this.fields = _mapPut(this.fields, key, value); - return this; - } - - /** - * The highest returned document score. This value is null for requests that do - * not sort by score. - *

- * API name: {@code max_score} - */ - public final Builder maxScore(@Nullable Double value) { - this.maxScore = value; - return this; - } - - /** - * Serializer for TDocument. If not set, an attempt will be made to find a - * serializer from the JSON context. - */ - public final Builder tDocumentSerializer(@Nullable JsonpSerializer value) { - this.tDocumentSerializer = value; - return this; - } - - @Override - protected Builder self() { - return this; - } - - /** - * Builds a {@link KnnSearchResponse}. - * - * @throws NullPointerException - * if some of the required fields are null. - */ - public KnnSearchResponse build() { - _checkSingleUse(); - - return new KnnSearchResponse(this); - } - } - - // --------------------------------------------------------------------------------------------- - - /** - * Create a JSON deserializer for KnnSearchResponse - */ - public static JsonpDeserializer> createKnnSearchResponseDeserializer( - JsonpDeserializer tDocumentDeserializer) { - return ObjectBuilderDeserializer.createForObject((Supplier>) Builder::new, - op -> KnnSearchResponse.setupKnnSearchResponseDeserializer(op, tDocumentDeserializer)); - }; - - /** - * Json deserializer for {@link KnnSearchResponse} based on named deserializers - * provided by the calling {@code JsonMapper}. - */ - public static final JsonpDeserializer> _DESERIALIZER = JsonpDeserializer - .lazy(() -> createKnnSearchResponseDeserializer( - new NamedDeserializer<>("co.elastic.clients:Deserializer:_global.knn_search.Response.TDocument"))); - - protected static void setupKnnSearchResponseDeserializer( - ObjectDeserializer> op, - JsonpDeserializer tDocumentDeserializer) { - - op.add(Builder::took, JsonpDeserializer.longDeserializer(), "took"); - op.add(Builder::timedOut, JsonpDeserializer.booleanDeserializer(), "timed_out"); - op.add(Builder::shards, ShardStatistics._DESERIALIZER, "_shards"); - op.add(Builder::hits, HitsMetadata.createHitsMetadataDeserializer(tDocumentDeserializer), "hits"); - op.add(Builder::fields, JsonpDeserializer.stringMapDeserializer(JsonData._DESERIALIZER), "fields"); - op.add(Builder::maxScore, JsonpDeserializer.doubleDeserializer(), "max_score"); - - } - -} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchMvtRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchMvtRequest.java index 2a6f73f1ee..a1d3cfe20f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchMvtRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchMvtRequest.java @@ -582,7 +582,14 @@ public final Integer extent() { } /** - * Required - Field containing geospatial data to return + * Required - A field that contains the geospatial data to return. It must be a + * geo_point or geo_shape field. The field must have + * doc values enabled. It cannot be a nested field. + *

+ * NOTE: Vector tiles do not natively support geometry collections. For + * geometrycollection values in a geo_shape field, the + * API returns a hits layer feature for each element of the collection. This + * behavior may change in a future release. *

* API name: {@code field} */ @@ -638,8 +645,10 @@ public final GridType gridType() { } /** - * Required - Comma-separated list of data streams, indices, or aliases to - * search + * Required - A list of indices, data streams, or aliases to search. It supports + * wildcards (*). To search all data streams and indices, omit this + * parameter or use * or _all. To search a remote + * cluster, use the <cluster>:<target> syntax. *

* API name: {@code index} */ @@ -729,7 +738,7 @@ public final Boolean withLabels() { } /** - * Required - X coordinate for the vector tile to search + * Required - The X coordinate for the vector tile to search. *

* API name: {@code x} */ @@ -738,7 +747,7 @@ public final int x() { } /** - * Required - Y coordinate for the vector tile to search + * Required - The Y coordinate for the vector tile to search. *

* API name: {@code y} */ @@ -747,7 +756,8 @@ public final int y() { } /** - * Required - Zoom level for the vector tile to search + * Required - The zoom level of the vector tile to search. It accepts + * 0 to 29. *

* API name: {@code zoom} */ @@ -1083,7 +1093,14 @@ public final Builder extent(@Nullable Integer value) { } /** - * Required - Field containing geospatial data to return + * Required - A field that contains the geospatial data to return. It must be a + * geo_point or geo_shape field. The field must have + * doc values enabled. It cannot be a nested field. + *

+ * NOTE: Vector tiles do not natively support geometry collections. For + * geometrycollection values in a geo_shape field, the + * API returns a hits layer feature for each element of the collection. This + * behavior may change in a future release. *

* API name: {@code field} */ @@ -1157,8 +1174,10 @@ public final Builder gridType(@Nullable GridType value) { } /** - * Required - Comma-separated list of data streams, indices, or aliases to - * search + * Required - A list of indices, data streams, or aliases to search. It supports + * wildcards (*). To search all data streams and indices, omit this + * parameter or use * or _all. To search a remote + * cluster, use the <cluster>:<target> syntax. *

* API name: {@code index} *

@@ -1170,8 +1189,10 @@ public final Builder index(List list) { } /** - * Required - Comma-separated list of data streams, indices, or aliases to - * search + * Required - A list of indices, data streams, or aliases to search. It supports + * wildcards (*). To search all data streams and indices, omit this + * parameter or use * or _all. To search a remote + * cluster, use the <cluster>:<target> syntax. *

* API name: {@code index} *

@@ -1354,7 +1375,7 @@ public final Builder withLabels(@Nullable Boolean value) { } /** - * Required - X coordinate for the vector tile to search + * Required - The X coordinate for the vector tile to search. *

* API name: {@code x} */ @@ -1364,7 +1385,7 @@ public final Builder x(int value) { } /** - * Required - Y coordinate for the vector tile to search + * Required - The Y coordinate for the vector tile to search. *

* API name: {@code y} */ @@ -1374,7 +1395,8 @@ public final Builder y(int value) { } /** - * Required - Zoom level for the vector tile to search + * Required - The zoom level of the vector tile to search. It accepts + * 0 to 29. *

* API name: {@code zoom} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java deleted file mode 100644 index 0761a9c30d..0000000000 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java +++ /dev/null @@ -1,267 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package co.elastic.clients.elasticsearch.core.knn_search; - -import co.elastic.clients.json.JsonpDeserializable; -import co.elastic.clients.json.JsonpDeserializer; -import co.elastic.clients.json.JsonpMapper; -import co.elastic.clients.json.JsonpSerializable; -import co.elastic.clients.json.JsonpUtils; -import co.elastic.clients.json.ObjectBuilderDeserializer; -import co.elastic.clients.json.ObjectDeserializer; -import co.elastic.clients.util.ApiTypeHelper; -import co.elastic.clients.util.ObjectBuilder; -import co.elastic.clients.util.WithJsonObjectBuilderBase; -import jakarta.json.stream.JsonGenerator; -import java.lang.Float; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.function.Function; -import javax.annotation.Nullable; - -//---------------------------------------------------------------- -// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. -//---------------------------------------------------------------- -// -// This code is generated from the Elasticsearch API specification -// at https://github.com/elastic/elasticsearch-specification -// -// Manual updates to this file will be lost when the code is -// re-generated. -// -// If you find a property that is missing or wrongly typed, please -// open an issue or a PR on the API specification repository. -// -//---------------------------------------------------------------- - -// typedef: _global.knn_search._types.Query - -/** - * - * @see API - * specification - */ -@JsonpDeserializable -public class KnnSearchQuery implements JsonpSerializable { - private final String field; - - private final List queryVector; - - private final int k; - - private final int numCandidates; - - // --------------------------------------------------------------------------------------------- - - private KnnSearchQuery(Builder builder) { - - this.field = ApiTypeHelper.requireNonNull(builder.field, this, "field"); - this.queryVector = ApiTypeHelper.unmodifiableRequired(builder.queryVector, this, "queryVector"); - this.k = ApiTypeHelper.requireNonNull(builder.k, this, "k", 0); - this.numCandidates = ApiTypeHelper.requireNonNull(builder.numCandidates, this, "numCandidates", 0); - - } - - public static KnnSearchQuery of(Function> fn) { - return fn.apply(new Builder()).build(); - } - - /** - * Required - The name of the vector field to search against - *

- * API name: {@code field} - */ - public final String field() { - return this.field; - } - - /** - * Required - The query vector - *

- * API name: {@code query_vector} - */ - public final List queryVector() { - return this.queryVector; - } - - /** - * Required - The final number of nearest neighbors to return as top hits - *

- * API name: {@code k} - */ - public final int k() { - return this.k; - } - - /** - * Required - The number of nearest neighbor candidates to consider per shard - *

- * API name: {@code num_candidates} - */ - public final int numCandidates() { - return this.numCandidates; - } - - /** - * Serialize this object to JSON. - */ - public void serialize(JsonGenerator generator, JsonpMapper mapper) { - generator.writeStartObject(); - serializeInternal(generator, mapper); - generator.writeEnd(); - } - - protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - - generator.writeKey("field"); - generator.write(this.field); - - if (ApiTypeHelper.isDefined(this.queryVector)) { - generator.writeKey("query_vector"); - generator.writeStartArray(); - for (Float item0 : this.queryVector) { - generator.write(item0); - - } - generator.writeEnd(); - - } - generator.writeKey("k"); - generator.write(this.k); - - generator.writeKey("num_candidates"); - generator.write(this.numCandidates); - - } - - @Override - public String toString() { - return JsonpUtils.toString(this); - } - - // --------------------------------------------------------------------------------------------- - - /** - * Builder for {@link KnnSearchQuery}. - */ - - public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { - private String field; - - private List queryVector; - - private Integer k; - - private Integer numCandidates; - - /** - * Required - The name of the vector field to search against - *

- * API name: {@code field} - */ - public final Builder field(String value) { - this.field = value; - return this; - } - - /** - * Required - The query vector - *

- * API name: {@code query_vector} - *

- * Adds all elements of list to queryVector. - */ - public final Builder queryVector(List list) { - this.queryVector = _listAddAll(this.queryVector, list); - return this; - } - - /** - * Required - The query vector - *

- * API name: {@code query_vector} - *

- * Adds one or more values to queryVector. - */ - public final Builder queryVector(Float value, Float... values) { - this.queryVector = _listAdd(this.queryVector, value, values); - return this; - } - - /** - * Required - The final number of nearest neighbors to return as top hits - *

- * API name: {@code k} - */ - public final Builder k(int value) { - this.k = value; - return this; - } - - /** - * Required - The number of nearest neighbor candidates to consider per shard - *

- * API name: {@code num_candidates} - */ - public final Builder numCandidates(int value) { - this.numCandidates = value; - return this; - } - - @Override - protected Builder self() { - return this; - } - - /** - * Builds a {@link KnnSearchQuery}. - * - * @throws NullPointerException - * if some of the required fields are null. - */ - public KnnSearchQuery build() { - _checkSingleUse(); - - return new KnnSearchQuery(this); - } - } - - // --------------------------------------------------------------------------------------------- - - /** - * Json deserializer for {@link KnnSearchQuery} - */ - public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer.lazy(Builder::new, - KnnSearchQuery::setupKnnSearchQueryDeserializer); - - protected static void setupKnnSearchQueryDeserializer(ObjectDeserializer op) { - - op.add(Builder::field, JsonpDeserializer.stringDeserializer(), "field"); - op.add(Builder::queryVector, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.floatDeserializer()), - "query_vector"); - op.add(Builder::k, JsonpDeserializer.integerDeserializer(), "k"); - op.add(Builder::numCandidates, JsonpDeserializer.integerDeserializer(), "num_candidates"); - - } - -} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/DeleteDanglingIndexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/DeleteDanglingIndexRequest.java index a623fce13f..b89671299a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/DeleteDanglingIndexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/DeleteDanglingIndexRequest.java @@ -117,7 +117,7 @@ public final String indexUuid() { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -127,7 +127,7 @@ public final Time masterTimeout() { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -179,7 +179,7 @@ public final Builder indexUuid(String value) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -189,7 +189,7 @@ public final Builder masterTimeout(@Nullable Time value) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -198,7 +198,7 @@ public final Builder masterTimeout(Function> f } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -208,7 +208,7 @@ public final Builder timeout(@Nullable Time value) { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ImportDanglingIndexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ImportDanglingIndexRequest.java index 8866cd94f0..9e0bdb3dea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ImportDanglingIndexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ImportDanglingIndexRequest.java @@ -122,7 +122,7 @@ public final String indexUuid() { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -132,7 +132,7 @@ public final Time masterTimeout() { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -187,7 +187,7 @@ public final Builder indexUuid(String value) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -197,7 +197,7 @@ public final Builder masterTimeout(@Nullable Time value) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -206,7 +206,7 @@ public final Builder masterTimeout(Function> f } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -216,7 +216,7 @@ public final Builder timeout(@Nullable Time value) { } /** - * Explicit operation timeout + * The period to wait for a response. *

* API name: {@code timeout} */ 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 f6b1ed1a42..7fa10c82aa 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 @@ -11,51 +11,51 @@ '_global.bulk.OperationBase': '_global/bulk/types.ts#L100-L117', '_global.bulk.OperationContainer': '_global/bulk/types.ts#L158-L180', '_global.bulk.OperationType': '_global/bulk/types.ts#L93-L98', -'_global.bulk.Request': '_global/bulk/BulkRequest.ts#L32-L249', +'_global.bulk.Request': '_global/bulk/BulkRequest.ts#L33-L252', '_global.bulk.Response': '_global/bulk/BulkResponse.ts#L24-L45', '_global.bulk.ResponseItem': '_global/bulk/types.ts#L37-L84', '_global.bulk.UpdateAction': '_global/bulk/types.ts#L182-L217', '_global.bulk.UpdateOperation': '_global/bulk/types.ts#L146-L156', '_global.bulk.WriteOperation': '_global/bulk/types.ts#L119-L138', -'_global.clear_scroll.Request': '_global/clear_scroll/ClearScrollRequest.ts#L23-L61', +'_global.clear_scroll.Request': '_global/clear_scroll/ClearScrollRequest.ts#L23-L63', '_global.clear_scroll.Response': '_global/clear_scroll/ClearScrollResponse.ts#L22-L43', -'_global.close_point_in_time.Request': '_global/close_point_in_time/ClosePointInTimeRequest.ts#L23-L48', +'_global.close_point_in_time.Request': '_global/close_point_in_time/ClosePointInTimeRequest.ts#L23-L50', '_global.close_point_in_time.Response': '_global/close_point_in_time/ClosePointInTimeResponse.ts#L22-L42', -'_global.count.Request': '_global/count/CountRequest.ts#L26-L154', +'_global.count.Request': '_global/count/CountRequest.ts#L26-L156', '_global.count.Response': '_global/count/CountResponse.ts#L23-L25', -'_global.create.Request': '_global/create/CreateRequest.ts#L32-L199', +'_global.create.Request': '_global/create/CreateRequest.ts#L33-L202', '_global.create.Response': '_global/create/CreateResponse.ts#L22-L24', -'_global.delete.Request': '_global/delete/DeleteRequest.ts#L34-L146', +'_global.delete.Request': '_global/delete/DeleteRequest.ts#L35-L148', '_global.delete.Response': '_global/delete/DeleteResponse.ts#L22-L34', -'_global.delete_by_query.Request': '_global/delete_by_query/DeleteByQueryRequest.ts#L37-L320', +'_global.delete_by_query.Request': '_global/delete_by_query/DeleteByQueryRequest.ts#L38-L323', '_global.delete_by_query.Response': '_global/delete_by_query/DeleteByQueryResponse.ts#L26-L88', -'_global.delete_by_query_rethrottle.Request': '_global/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts#L24-L55', +'_global.delete_by_query_rethrottle.Request': '_global/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts#L24-L56', '_global.delete_by_query_rethrottle.Response': '_global/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts#L22-L24', -'_global.delete_script.Request': '_global/delete_script/DeleteScriptRequest.ts#L24-L63', +'_global.delete_script.Request': '_global/delete_script/DeleteScriptRequest.ts#L24-L64', '_global.delete_script.Response': '_global/delete_script/DeleteScriptResponse.ts#L22-L24', -'_global.exists.Request': '_global/exists/DocumentExistsRequest.ts#L31-L136', -'_global.exists_source.Request': '_global/exists_source/SourceExistsRequest.ts#L31-L113', +'_global.exists.Request': '_global/exists/DocumentExistsRequest.ts#L32-L138', +'_global.exists_source.Request': '_global/exists_source/SourceExistsRequest.ts#L32-L115', '_global.explain.Explanation': '_global/explain/types.ts#L22-L26', '_global.explain.ExplanationDetail': '_global/explain/types.ts#L28-L32', -'_global.explain.Request': '_global/explain/ExplainRequest.ts#L26-L125', +'_global.explain.Request': '_global/explain/ExplainRequest.ts#L26-L127', '_global.explain.Response': '_global/explain/ExplainResponse.ts#L23-L31', '_global.field_caps.FieldCapability': '_global/field_caps/types.ts#L23-L81', -'_global.field_caps.Request': '_global/field_caps/FieldCapabilitiesRequest.ts#L25-L130', +'_global.field_caps.Request': '_global/field_caps/FieldCapabilitiesRequest.ts#L25-L132', '_global.field_caps.Response': '_global/field_caps/FieldCapabilitiesResponse.ts#L24-L38', '_global.get.GetResult': '_global/get/types.ts#L25-L67', -'_global.get.Request': '_global/get/GetRequest.ts#L31-L180', +'_global.get.Request': '_global/get/GetRequest.ts#L32-L182', '_global.get.Response': '_global/get/GetResponse.ts#L23-L34', -'_global.get_script.Request': '_global/get_script/GetScriptRequest.ts#L24-L56', +'_global.get_script.Request': '_global/get_script/GetScriptRequest.ts#L24-L57', '_global.get_script.Response': '_global/get_script/GetScriptResponse.ts#L23-L29', '_global.get_script_context.Context': '_global/get_script_context/types.ts#L22-L25', '_global.get_script_context.ContextMethod': '_global/get_script_context/types.ts#L27-L31', '_global.get_script_context.ContextMethodParam': '_global/get_script_context/types.ts#L33-L36', -'_global.get_script_context.Request': '_global/get_script_context/GetScriptContextRequest.ts#L22-L39', +'_global.get_script_context.Request': '_global/get_script_context/GetScriptContextRequest.ts#L23-L41', '_global.get_script_context.Response': '_global/get_script_context/GetScriptContextResponse.ts#L22-L26', '_global.get_script_languages.LanguageContext': '_global/get_script_languages/types.ts#L22-L25', -'_global.get_script_languages.Request': '_global/get_script_languages/GetScriptLanguagesRequest.ts#L22-L39', +'_global.get_script_languages.Request': '_global/get_script_languages/GetScriptLanguagesRequest.ts#L23-L41', '_global.get_script_languages.Response': '_global/get_script_languages/GetScriptLanguagesResponse.ts#L22-L27', -'_global.get_source.Request': '_global/get_source/SourceRequest.ts#L31-L112', +'_global.get_source.Request': '_global/get_source/SourceRequest.ts#L32-L114', '_global.get_source.Response': '_global/get_source/SourceResponse.ts#L20-L23', '_global.health_report.BaseIndicator': '_global/health_report/types.ts#L44-L49', '_global.health_report.DataStreamLifecycleDetails': '_global/health_report/types.ts#L153-L157', @@ -77,7 +77,7 @@ '_global.health_report.MasterIsStableIndicatorExceptionFetchingHistory': '_global/health_report/types.ts#L96-L99', '_global.health_report.RepositoryIntegrityIndicator': '_global/health_report/types.ts#L137-L141', '_global.health_report.RepositoryIntegrityIndicatorDetails': '_global/health_report/types.ts#L142-L146', -'_global.health_report.Request': '_global/health_report/Request.ts#L24-L81', +'_global.health_report.Request': '_global/health_report/Request.ts#L25-L83', '_global.health_report.Response': '_global/health_report/Response.ts#L22-L28', '_global.health_report.ShardsAvailabilityIndicator': '_global/health_report/types.ts#L106-L110', '_global.health_report.ShardsAvailabilityIndicatorDetails': '_global/health_report/types.ts#L111-L122', @@ -88,36 +88,33 @@ '_global.health_report.SlmIndicatorDetails': '_global/health_report/types.ts#L180-L184', '_global.health_report.SlmIndicatorUnhealthyPolicies': '_global/health_report/types.ts#L186-L189', '_global.health_report.StagnatingBackingIndices': '_global/health_report/types.ts#L158-L162', -'_global.index.Request': '_global/index/IndexRequest.ts#L35-L273', +'_global.index.Request': '_global/index/IndexRequest.ts#L36-L276', '_global.index.Response': '_global/index/IndexResponse.ts#L22-L24', -'_global.info.Request': '_global/info/RootNodeInfoRequest.ts#L22-L40', +'_global.info.Request': '_global/info/RootNodeInfoRequest.ts#L23-L42', '_global.info.Response': '_global/info/RootNodeInfoResponse.ts#L23-L40', -'_global.knn_search.Request': '_global/knn_search/KnnSearchRequest.ts#L26-L112', -'_global.knn_search.Response': '_global/knn_search/KnnSearchResponse.ts#L26-L54', -'_global.knn_search._types.Query': '_global/knn_search/_types/Knn.ts#L24-L33', '_global.mget.MultiGetError': '_global/mget/types.ts#L62-L66', '_global.mget.Operation': '_global/mget/types.ts#L32-L55', -'_global.mget.Request': '_global/mget/MultiGetRequest.ts#L25-L127', +'_global.mget.Request': '_global/mget/MultiGetRequest.ts#L25-L129', '_global.mget.Response': '_global/mget/MultiGetResponse.ts#L22-L31', '_global.mget.ResponseItem': '_global/mget/types.ts#L57-L60', '_global.msearch.MultiSearchItem': '_global/msearch/types.ts#L216-L219', '_global.msearch.MultiSearchResult': '_global/msearch/types.ts#L206-L209', '_global.msearch.MultisearchBody': '_global/msearch/types.ts#L70-L204', '_global.msearch.MultisearchHeader': '_global/msearch/types.ts#L52-L67', -'_global.msearch.Request': '_global/msearch/MultiSearchRequest.ts#L25-L141', +'_global.msearch.Request': '_global/msearch/MultiSearchRequest.ts#L31-L149', '_global.msearch.Response': '_global/msearch/MultiSearchResponse.ts#L25-L27', '_global.msearch.ResponseItem': '_global/msearch/types.ts#L211-L214', -'_global.msearch_template.Request': '_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L116', +'_global.msearch_template.Request': '_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L118', '_global.msearch_template.Response': '_global/msearch_template/MultiSearchTemplateResponse.ts#L22-L31', '_global.msearch_template.TemplateConfig': '_global/msearch_template/types.ts#L28-L54', '_global.mtermvectors.Operation': '_global/mtermvectors/types.ts#L35-L94', -'_global.mtermvectors.Request': '_global/mtermvectors/MultiTermVectorsRequest.ts#L31-L134', +'_global.mtermvectors.Request': '_global/mtermvectors/MultiTermVectorsRequest.ts#L32-L140', '_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#L26-L127', +'_global.open_point_in_time.Request': '_global/open_point_in_time/OpenPointInTimeRequest.ts#L26-L132', '_global.open_point_in_time.Response': '_global/open_point_in_time/OpenPointInTimeResponse.ts#L23-L29', -'_global.ping.Request': '_global/ping/PingRequest.ts#L22-L38', -'_global.put_script.Request': '_global/put_script/PutScriptRequest.ts#L25-L87', +'_global.ping.Request': '_global/ping/PingRequest.ts#L23-L40', +'_global.put_script.Request': '_global/put_script/PutScriptRequest.ts#L25-L89', '_global.put_script.Response': '_global/put_script/PutScriptResponse.ts#L22-L24', '_global.rank_eval.DocumentRating': '_global/rank_eval/types.ts#L119-L126', '_global.rank_eval.RankEvalHit': '_global/rank_eval/types.ts#L144-L148', @@ -133,28 +130,28 @@ '_global.rank_eval.RankEvalMetricRecall': '_global/rank_eval/types.ts#L54-L58', '_global.rank_eval.RankEvalQuery': '_global/rank_eval/types.ts#L111-L117', '_global.rank_eval.RankEvalRequestItem': '_global/rank_eval/types.ts#L98-L109', -'_global.rank_eval.Request': '_global/rank_eval/RankEvalRequest.ts#L24-L79', +'_global.rank_eval.Request': '_global/rank_eval/RankEvalRequest.ts#L24-L85', '_global.rank_eval.Response': '_global/rank_eval/RankEvalResponse.ts#L26-L34', '_global.rank_eval.UnratedDocument': '_global/rank_eval/types.ts#L150-L153', '_global.reindex.Destination': '_global/reindex/types.ts#L39-L67', '_global.reindex.RemoteSource': '_global/reindex/types.ts#L112-L140', -'_global.reindex.Request': '_global/reindex/ReindexRequest.ts#L27-L317', +'_global.reindex.Request': '_global/reindex/ReindexRequest.ts#L32-L324', '_global.reindex.Response': '_global/reindex/ReindexResponse.ts#L26-L92', '_global.reindex.Source': '_global/reindex/types.ts#L69-L110', '_global.reindex_rethrottle.ReindexNode': '_global/reindex_rethrottle/types.ts#L33-L35', '_global.reindex_rethrottle.ReindexStatus': '_global/reindex_rethrottle/types.ts#L37-L85', '_global.reindex_rethrottle.ReindexTask': '_global/reindex_rethrottle/types.ts#L87-L98', -'_global.reindex_rethrottle.Request': '_global/reindex_rethrottle/ReindexRethrottleRequest.ts#L24-L63', +'_global.reindex_rethrottle.Request': '_global/reindex_rethrottle/ReindexRethrottleRequest.ts#L24-L64', '_global.reindex_rethrottle.Response': '_global/reindex_rethrottle/ReindexRethrottleResponse.ts#L23-L25', -'_global.render_search_template.Request': '_global/render_search_template/RenderSearchTemplateRequest.ts#L25-L76', +'_global.render_search_template.Request': '_global/render_search_template/RenderSearchTemplateRequest.ts#L25-L78', '_global.render_search_template.Response': '_global/render_search_template/RenderSearchTemplateResponse.ts#L23-L25', '_global.scripts_painless_execute.PainlessContext': '_global/scripts_painless_execute/types.ts#L57-L80', '_global.scripts_painless_execute.PainlessContextSetup': '_global/scripts_painless_execute/types.ts#L27-L46', -'_global.scripts_painless_execute.Request': '_global/scripts_painless_execute/ExecutePainlessScriptRequest.ts#L24-L64', +'_global.scripts_painless_execute.Request': '_global/scripts_painless_execute/ExecutePainlessScriptRequest.ts#L25-L67', '_global.scripts_painless_execute.Response': '_global/scripts_painless_execute/ExecutePainlessScriptResponse.ts#L20-L24', -'_global.scroll.Request': '_global/scroll/ScrollRequest.ts#L24-L88', +'_global.scroll.Request': '_global/scroll/ScrollRequest.ts#L24-L96', '_global.scroll.Response': '_global/scroll/ScrollResponse.ts#L22-L24', -'_global.search.Request': '_global/search/SearchRequest.ts#L54-L590', +'_global.search.Request': '_global/search/SearchRequest.ts#L55-L593', '_global.search.Response': '_global/search/SearchResponse.ts#L34-L36', '_global.search.ResponseBody': '_global/search/SearchResponse.ts#L38-L84', '_global.search._types.AggregationBreakdown': '_global/search/_types/profile.ts#L26-L39', @@ -231,31 +228,31 @@ '_global.search._types.TotalHits': '_global/search/_types/hits.ts#L96-L99', '_global.search._types.TotalHitsRelation': '_global/search/_types/hits.ts#L101-L106', '_global.search._types.TrackHits': '_global/search/_types/hits.ts#L144-L152', -'_global.search_mvt.Request': '_global/search_mvt/SearchMvtRequest.ts#L33-L382', +'_global.search_mvt.Request': '_global/search_mvt/SearchMvtRequest.ts#L33-L384', '_global.search_mvt.Response': '_global/search_mvt/SearchMvtResponse.ts#L22-L25', '_global.search_mvt._types.GridAggregationType': '_global/search_mvt/_types/GridType.ts#L30-L33', '_global.search_mvt._types.GridType': '_global/search_mvt/_types/GridType.ts#L20-L28', -'_global.search_shards.Request': '_global/search_shards/SearchShardsRequest.ts#L24-L99', +'_global.search_shards.Request': '_global/search_shards/SearchShardsRequest.ts#L24-L100', '_global.search_shards.Response': '_global/search_shards/SearchShardsResponse.ts#L34-L40', '_global.search_shards.SearchShardsNodeAttributes': '_global/search_shards/SearchShardsResponse.ts#L42-L60', '_global.search_shards.ShardStoreIndex': '_global/search_shards/SearchShardsResponse.ts#L62-L65', -'_global.search_template.Request': '_global/search_template/SearchTemplateRequest.ts#L32-L153', +'_global.search_template.Request': '_global/search_template/SearchTemplateRequest.ts#L33-L156', '_global.search_template.Response': '_global/search_template/SearchTemplateResponse.ts#L30-L48', -'_global.terms_enum.Request': '_global/terms_enum/TermsEnumRequest.ts#L26-L93', +'_global.terms_enum.Request': '_global/terms_enum/TermsEnumRequest.ts#L26-L95', '_global.terms_enum.Response': '_global/terms_enum/TermsEnumResponse.ts#L22-L32', '_global.termvectors.FieldStatistics': '_global/termvectors/types.ts#L28-L32', '_global.termvectors.Filter': '_global/termvectors/types.ts#L49-L86', -'_global.termvectors.Request': '_global/termvectors/TermVectorsRequest.ts#L33-L239', +'_global.termvectors.Request': '_global/termvectors/TermVectorsRequest.ts#L34-L242', '_global.termvectors.Response': '_global/termvectors/TermVectorsResponse.ts#L25-L34', '_global.termvectors.Term': '_global/termvectors/types.ts#L34-L40', '_global.termvectors.TermVector': '_global/termvectors/types.ts#L23-L26', '_global.termvectors.Token': '_global/termvectors/types.ts#L42-L47', -'_global.update.Request': '_global/update/UpdateRequest.ts#L38-L194', +'_global.update.Request': '_global/update/UpdateRequest.ts#L39-L197', '_global.update.Response': '_global/update/UpdateResponse.ts#L27-L29', '_global.update.UpdateWriteResponseBase': '_global/update/UpdateResponse.ts#L23-L25', -'_global.update_by_query.Request': '_global/update_by_query/UpdateByQueryRequest.ts#L37-L340', +'_global.update_by_query.Request': '_global/update_by_query/UpdateByQueryRequest.ts#L38-L346', '_global.update_by_query.Response': '_global/update_by_query/UpdateByQueryResponse.ts#L26-L67', -'_global.update_by_query_rethrottle.Request': '_global/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts#L24-L55', +'_global.update_by_query_rethrottle.Request': '_global/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts#L24-L56', '_global.update_by_query_rethrottle.Response': '_global/update_by_query_rethrottle/UpdateByQueryRethrottleResponse.ts#L23-L25', '_global.update_by_query_rethrottle.UpdateByQueryRethrottleNode': '_global/update_by_query_rethrottle/UpdateByQueryRethrottleNode.ts#L25-L27', '_spec_utils.BaseNode': '_spec_utils/BaseNode.ts#L25-L32', @@ -265,7 +262,7 @@ '_types.Bytes': '_types/common.ts#L169-L181', '_types.CartesianPoint': '_types/Geo.ts#L125-L128', '_types.ClusterDetails': '_types/Stats.ts#L45-L52', -'_types.ClusterInfoTarget': '_types/common.ts#L383-L389', +'_types.ClusterInfoTarget': '_types/common.ts#L396-L402', '_types.ClusterSearchStatus': '_types/Stats.ts#L37-L43', '_types.ClusterStatistics': '_types/Stats.ts#L27-L35', '_types.CompletionStats': '_types/Stats.ts#L83-L93', @@ -303,15 +300,15 @@ '_types.IBDistribution': '_types/Similarity.ts#L42-L45', '_types.IBLambda': '_types/Similarity.ts#L47-L50', '_types.IndexingStats': '_types/Stats.ts#L168-L184', -'_types.IndicesOptions': '_types/common.ts#L337-L364', +'_types.IndicesOptions': '_types/common.ts#L350-L377', '_types.IndicesResponseBase': '_types/Base.ts#L146-L148', -'_types.InlineGet': '_types/common.ts#L322-L335', +'_types.InlineGet': '_types/common.ts#L335-L348', '_types.InnerRetriever': '_types/Retriever.ts#L85-L89', '_types.KnnQuery': '_types/Knn.ts#L64-L87', '_types.KnnRetriever': '_types/Retriever.ts#L115-L133', '_types.KnnSearch': '_types/Knn.ts#L35-L62', '_types.LatLonGeoLocation': '_types/Geo.ts#L114-L123', -'_types.Level': '_types/common.ts#L251-L255', +'_types.Level': '_types/common.ts#L264-L268', '_types.LifecycleOperationMode': '_types/Lifecycle.ts#L20-L24', '_types.LinearRetriever': '_types/Retriever.ts#L68-L75', '_types.MergesStats': '_types/Stats.ts#L186-L203', @@ -321,7 +318,7 @@ '_types.NodeShard': '_types/Node.ts#L54-L65', '_types.NodeStatistics': '_types/Node.ts#L28-L39', '_types.Normalization': '_types/Similarity.ts#L52-L58', -'_types.OpType': '_types/common.ts#L257-L266', +'_types.OpType': '_types/common.ts#L270-L279', '_types.PinnedRetriever': '_types/Retriever.ts#L77-L83', '_types.PluginStats': '_types/Stats.ts#L205-L215', '_types.QueryCacheStats': '_types/Stats.ts#L217-L251', @@ -330,7 +327,7 @@ '_types.RankBase': '_types/Rank.ts#L30-L30', '_types.RankContainer': '_types/Rank.ts#L22-L28', '_types.RecoveryStats': '_types/Stats.ts#L253-L258', -'_types.Refresh': '_types/common.ts#L268-L275', +'_types.Refresh': '_types/common.ts#L281-L288', '_types.RefreshStats': '_types/Stats.ts#L260-L267', '_types.RelocationFailureInfo': '_types/Node.ts#L67-L69', '_types.RequestBase': '_types/Base.ts#L35-L35', @@ -353,14 +350,14 @@ '_types.ScriptTransform': '_types/Transform.ts#L36-L44', '_types.SearchStats': '_types/Stats.ts#L277-L296', '_types.SearchTransform': '_types/Transform.ts#L46-L49', -'_types.SearchType': '_types/common.ts#L277-L282', +'_types.SearchType': '_types/common.ts#L290-L295', '_types.SegmentsStats': '_types/Stats.ts#L298-L393', '_types.ShardFailure': '_types/Errors.ts#L52-L62', '_types.ShardStatistics': '_types/Stats.ts#L54-L69', '_types.ShardsOperationResponseBase': '_types/Base.ts#L150-L153', '_types.SlicedScroll': '_types/SlicedScroll.ts#L23-L27', -'_types.Slices': '_types/common.ts#L366-L371', -'_types.SlicesCalculation': '_types/common.ts#L373-L381', +'_types.Slices': '_types/common.ts#L379-L384', +'_types.SlicesCalculation': '_types/common.ts#L386-L394', '_types.SortMode': '_types/sort.ts#L108-L117', '_types.SortOptions': '_types/sort.ts#L86-L96', '_types.SortOrder': '_types/sort.ts#L119-L128', @@ -368,11 +365,11 @@ '_types.StandardRetriever': '_types/Retriever.ts#L102-L113', '_types.StoreStats': '_types/Stats.ts#L395-L422', '_types.StoredScript': '_types/Scripting.ts#L47-L59', -'_types.SuggestMode': '_types/common.ts#L284-L297', +'_types.SuggestMode': '_types/common.ts#L297-L310', '_types.TaskFailure': '_types/Errors.ts#L71-L76', '_types.TextEmbedding': '_types/Knn.ts#L94-L103', '_types.TextSimilarityReranker': '_types/Retriever.ts#L146-L157', -'_types.ThreadType': '_types/common.ts#L299-L305', +'_types.ThreadType': '_types/common.ts#L312-L318', '_types.TimeUnit': '_types/Time.ts#L70-L78', '_types.TokenPruningConfig': '_types/TokenPruningConfig.ts#L22-L35', '_types.TopLeftBottomRightGeoBounds': '_types/Geo.ts#L160-L163', @@ -380,9 +377,9 @@ '_types.TransformContainer': '_types/Transform.ts#L27-L34', '_types.TranslogStats': '_types/Stats.ts#L424-L432', '_types.VersionType': '_types/common.ts#L107-L122', -'_types.WaitForActiveShardOptions': '_types/common.ts#L307-L311', +'_types.WaitForActiveShardOptions': '_types/common.ts#L320-L324', '_types.WaitForActiveShards': '_types/common.ts#L142-L143', -'_types.WaitForEvents': '_types/common.ts#L313-L320', +'_types.WaitForEvents': '_types/common.ts#L326-L333', '_types.WarmerStats': '_types/Stats.ts#L434-L439', '_types.WktGeoBounds': '_types/Geo.ts#L149-L151', '_types.WriteResponseBase': '_types/Base.ts#L37-L72', @@ -1063,28 +1060,28 @@ 'async_search._types.AsyncSearch': 'async_search/_types/AsyncSearch.ts#L30-L56', 'async_search._types.AsyncSearchDocumentResponseBase': 'async_search/_types/AsyncSearchResponseBase.ts#L54-L58', 'async_search._types.AsyncSearchResponseBase': 'async_search/_types/AsyncSearchResponseBase.ts#L25-L53', -'async_search.delete.Request': 'async_search/delete/AsyncSearchDeleteRequest.ts#L23-L46', +'async_search.delete.Request': 'async_search/delete/AsyncSearchDeleteRequest.ts#L23-L47', 'async_search.delete.Response': 'async_search/delete/AsyncSearchDeleteResponse.ts#L22-L24', -'async_search.get.Request': 'async_search/get/AsyncSearchGetRequest.ts#L24-L63', +'async_search.get.Request': 'async_search/get/AsyncSearchGetRequest.ts#L24-L67', 'async_search.get.Response': 'async_search/get/AsyncSearchGetResponse.ts#L25-L33', -'async_search.status.Request': 'async_search/status/AsyncSearchStatusRequest.ts#L24-L58', +'async_search.status.Request': 'async_search/status/AsyncSearchStatusRequest.ts#L24-L59', '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#L54-L312', +'async_search.submit.Request': 'async_search/submit/AsyncSearchSubmitRequest.ts#L55-L419', 'async_search.submit.Response': 'async_search/submit/AsyncSearchSubmitResponse.ts#L25-L33', 'autoscaling._types.AutoscalingPolicy': 'autoscaling/_types/AutoscalingPolicy.ts#L23-L30', -'autoscaling.delete_autoscaling_policy.Request': 'autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts#L24-L54', +'autoscaling.delete_autoscaling_policy.Request': 'autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts#L24-L56', '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#L23-L57', +'autoscaling.get_autoscaling_capacity.Request': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityRequest.ts#L24-L59', 'autoscaling.get_autoscaling_capacity.Response': 'autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L25-L29', -'autoscaling.get_autoscaling_policy.Request': 'autoscaling/get_autoscaling_policy/GetAutoscalingPolicyRequest.ts#L24-L50', +'autoscaling.get_autoscaling_policy.Request': 'autoscaling/get_autoscaling_policy/GetAutoscalingPolicyRequest.ts#L24-L52', 'autoscaling.get_autoscaling_policy.Response': 'autoscaling/get_autoscaling_policy/GetAutoscalingPolicyResponse.ts#L22-L24', -'autoscaling.put_autoscaling_policy.Request': 'autoscaling/put_autoscaling_policy/PutAutoscalingPolicyRequest.ts#L25-L57', +'autoscaling.put_autoscaling_policy.Request': 'autoscaling/put_autoscaling_policy/PutAutoscalingPolicyRequest.ts#L25-L60', 'autoscaling.put_autoscaling_policy.Response': 'autoscaling/put_autoscaling_policy/PutAutoscalingPolicyResponse.ts#L22-L24', 'cat._types.CatAliasesColumn': 'cat/_types/CatBase.ts#L1283-L1315', 'cat._types.CatAllocationColumn': 'cat/_types/CatBase.ts#L1317-L1382', @@ -1104,122 +1101,122 @@ 'cat._types.CatTrainedModelsColumn': 'cat/_types/CatBase.ts#L1486-L1560', 'cat._types.CatTransformColumn': 'cat/_types/CatBase.ts#L1565-L1769', 'cat.aliases.AliasesRecord': 'cat/aliases/types.ts#L22-L53', -'cat.aliases.Request': 'cat/aliases/CatAliasesRequest.ts#L23-L78', +'cat.aliases.Request': 'cat/aliases/CatAliasesRequest.ts#L23-L79', 'cat.aliases.Response': 'cat/aliases/CatAliasesResponse.ts#L22-L24', 'cat.allocation.AllocationRecord': 'cat/allocation/types.ts#L25-L99', -'cat.allocation.Request': 'cat/allocation/CatAllocationRequest.ts#L24-L76', +'cat.allocation.Request': 'cat/allocation/CatAllocationRequest.ts#L24-L77', 'cat.allocation.Response': 'cat/allocation/CatAllocationResponse.ts#L22-L24', 'cat.component_templates.ComponentTemplate': 'cat/component_templates/types.ts#L20-L28', -'cat.component_templates.Request': 'cat/component_templates/CatComponentTemplatesRequest.ts#L24-L81', +'cat.component_templates.Request': 'cat/component_templates/CatComponentTemplatesRequest.ts#L24-L82', 'cat.component_templates.Response': 'cat/component_templates/CatComponentTemplatesResponse.ts#L22-L24', 'cat.count.CountRecord': 'cat/count/types.ts#L23-L39', -'cat.count.Request': 'cat/count/CatCountRequest.ts#L23-L68', +'cat.count.Request': 'cat/count/CatCountRequest.ts#L23-L69', 'cat.count.Response': 'cat/count/CatCountResponse.ts#L22-L24', 'cat.fielddata.FielddataRecord': 'cat/fielddata/types.ts#L20-L48', -'cat.fielddata.Request': 'cat/fielddata/CatFielddataRequest.ts#L23-L68', +'cat.fielddata.Request': 'cat/fielddata/CatFielddataRequest.ts#L23-L69', 'cat.fielddata.Response': 'cat/fielddata/CatFielddataResponse.ts#L22-L24', 'cat.health.HealthRecord': 'cat/health/types.ts#L23-L99', -'cat.health.Request': 'cat/health/CatHealthRequest.ts#L23-L65', +'cat.health.Request': 'cat/health/CatHealthRequest.ts#L23-L66', 'cat.health.Response': 'cat/health/CatHealthResponse.ts#L22-L24', -'cat.help.Request': 'cat/help/CatHelpRequest.ts#L20-L36', +'cat.help.Request': 'cat/help/CatHelpRequest.ts#L22-L39', 'cat.help.Response': 'cat/help/CatHelpResponse.ts#L20-L25', 'cat.indices.IndicesRecord': 'cat/indices/types.ts#L20-L808', -'cat.indices.Request': 'cat/indices/CatIndicesRequest.ts#L24-L100', +'cat.indices.Request': 'cat/indices/CatIndicesRequest.ts#L30-L107', 'cat.indices.Response': 'cat/indices/CatIndicesResponse.ts#L22-L24', 'cat.master.MasterRecord': 'cat/master/types.ts#L20-L39', -'cat.master.Request': 'cat/master/CatMasterRequest.ts#L24-L68', +'cat.master.Request': 'cat/master/CatMasterRequest.ts#L24-L69', 'cat.master.Response': 'cat/master/CatMasterResponse.ts#L22-L24', 'cat.ml_data_frame_analytics.DataFrameAnalyticsRecord': 'cat/ml_data_frame_analytics/types.ts#L22-L102', -'cat.ml_data_frame_analytics.Request': 'cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts#L23-L69', +'cat.ml_data_frame_analytics.Request': 'cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts#L23-L71', 'cat.ml_data_frame_analytics.Response': 'cat/ml_data_frame_analytics/CatDataFrameAnalyticsResponse.ts#L22-L24', 'cat.ml_datafeeds.DatafeedsRecord': 'cat/ml_datafeeds/types.ts#L22-L87', -'cat.ml_datafeeds.Request': 'cat/ml_datafeeds/CatDatafeedsRequest.ts#L23-L80', +'cat.ml_datafeeds.Request': 'cat/ml_datafeeds/CatDatafeedsRequest.ts#L23-L81', 'cat.ml_datafeeds.Response': 'cat/ml_datafeeds/CatDatafeedsResponse.ts#L22-L24', 'cat.ml_jobs.JobsRecord': 'cat/ml_jobs/types.ts#L24-L347', -'cat.ml_jobs.Request': 'cat/ml_jobs/CatJobsRequest.ts#L23-L80', +'cat.ml_jobs.Request': 'cat/ml_jobs/CatJobsRequest.ts#L23-L81', 'cat.ml_jobs.Response': 'cat/ml_jobs/CatJobsResponse.ts#L22-L24', -'cat.ml_trained_models.Request': 'cat/ml_trained_models/CatTrainedModelsRequest.ts#L24-L79', +'cat.ml_trained_models.Request': 'cat/ml_trained_models/CatTrainedModelsRequest.ts#L24-L80', 'cat.ml_trained_models.Response': 'cat/ml_trained_models/CatTrainedModelsResponse.ts#L22-L24', 'cat.ml_trained_models.TrainedModelsRecord': 'cat/ml_trained_models/types.ts#L23-L115', 'cat.nodeattrs.NodeAttributesRecord': 'cat/nodeattrs/types.ts#L20-L55', -'cat.nodeattrs.Request': 'cat/nodeattrs/CatNodeAttributesRequest.ts#L24-L67', +'cat.nodeattrs.Request': 'cat/nodeattrs/CatNodeAttributesRequest.ts#L24-L68', 'cat.nodeattrs.Response': 'cat/nodeattrs/CatNodeAttributesResponse.ts#L22-L24', 'cat.nodes.NodesRecord': 'cat/nodes/types.ts#L23-L542', -'cat.nodes.Request': 'cat/nodes/CatNodesRequest.ts#L24-L71', +'cat.nodes.Request': 'cat/nodes/CatNodesRequest.ts#L24-L72', 'cat.nodes.Response': 'cat/nodes/CatNodesResponse.ts#L22-L24', 'cat.pending_tasks.PendingTasksRecord': 'cat/pending_tasks/types.ts#L20-L41', -'cat.pending_tasks.Request': 'cat/pending_tasks/CatPendingTasksRequest.ts#L24-L67', +'cat.pending_tasks.Request': 'cat/pending_tasks/CatPendingTasksRequest.ts#L24-L68', 'cat.pending_tasks.Response': 'cat/pending_tasks/CatPendingTasksResponse.ts#L22-L24', 'cat.plugins.PluginsRecord': 'cat/plugins/types.ts#L22-L52', -'cat.plugins.Request': 'cat/plugins/CatPluginsRequest.ts#L24-L72', +'cat.plugins.Request': 'cat/plugins/CatPluginsRequest.ts#L24-L73', 'cat.plugins.Response': 'cat/plugins/CatPluginsResponse.ts#L22-L24', 'cat.recovery.RecoveryRecord': 'cat/recovery/types.ts#L24-L155', -'cat.recovery.Request': 'cat/recovery/CatRecoveryRequest.ts#L23-L83', +'cat.recovery.Request': 'cat/recovery/CatRecoveryRequest.ts#L23-L84', 'cat.recovery.Response': 'cat/recovery/CatRecoveryResponse.ts#L22-L24', 'cat.repositories.RepositoriesRecord': 'cat/repositories/types.ts#L20-L31', -'cat.repositories.Request': 'cat/repositories/CatRepositoriesRequest.ts#L24-L67', +'cat.repositories.Request': 'cat/repositories/CatRepositoriesRequest.ts#L24-L68', 'cat.repositories.Response': 'cat/repositories/CatRepositoriesResponse.ts#L22-L24', -'cat.segments.Request': 'cat/segments/CatSegmentsRequest.ts#L24-L113', +'cat.segments.Request': 'cat/segments/CatSegmentsRequest.ts#L24-L114', 'cat.segments.Response': 'cat/segments/CatSegmentsResponse.ts#L22-L24', 'cat.segments.SegmentsRecord': 'cat/segments/types.ts#L22-L107', -'cat.shards.Request': 'cat/shards/CatShardsRequest.ts#L24-L73', +'cat.shards.Request': 'cat/shards/CatShardsRequest.ts#L24-L74', 'cat.shards.Response': 'cat/shards/CatShardsResponse.ts#L22-L24', 'cat.shards.ShardsRecord': 'cat/shards/types.ts#L20-L427', -'cat.snapshots.Request': 'cat/snapshots/CatSnapshotsRequest.ts#L24-L80', +'cat.snapshots.Request': 'cat/snapshots/CatSnapshotsRequest.ts#L24-L81', 'cat.snapshots.Response': 'cat/snapshots/CatSnapshotsResponse.ts#L22-L24', 'cat.snapshots.SnapshotsRecord': 'cat/snapshots/types.ts#L24-L96', -'cat.tasks.Request': 'cat/tasks/CatTasksRequest.ts#L24-L78', +'cat.tasks.Request': 'cat/tasks/CatTasksRequest.ts#L24-L79', 'cat.tasks.Response': 'cat/tasks/CatTasksResponse.ts#L22-L24', 'cat.tasks.TasksRecord': 'cat/tasks/types.ts#L22-L101', -'cat.templates.Request': 'cat/templates/CatTemplatesRequest.ts#L24-L79', +'cat.templates.Request': 'cat/templates/CatTemplatesRequest.ts#L24-L80', 'cat.templates.Response': 'cat/templates/CatTemplatesResponse.ts#L22-L24', 'cat.templates.TemplatesRecord': 'cat/templates/types.ts#L22-L48', -'cat.thread_pool.Request': 'cat/thread_pool/CatThreadPoolRequest.ts#L24-L79', +'cat.thread_pool.Request': 'cat/thread_pool/CatThreadPoolRequest.ts#L24-L80', 'cat.thread_pool.Response': 'cat/thread_pool/CatThreadPoolResponse.ts#L22-L24', 'cat.thread_pool.ThreadPoolRecord': 'cat/thread_pool/types.ts#L22-L124', -'cat.transforms.Request': 'cat/transforms/CatTransformsRequest.ts#L24-L84', +'cat.transforms.Request': 'cat/transforms/CatTransformsRequest.ts#L24-L85', 'cat.transforms.Response': 'cat/transforms/CatTransformsResponse.ts#L22-L24', 'cat.transforms.TransformsRecord': 'cat/transforms/types.ts#L22-L197', 'ccr._types.FollowIndexStats': 'ccr/_types/FollowIndexStats.ts#L30-L35', 'ccr._types.ReadException': 'ccr/_types/FollowIndexStats.ts#L111-L118', 'ccr._types.ShardStats': 'ccr/_types/FollowIndexStats.ts#L37-L109', -'ccr.delete_auto_follow_pattern.Request': 'ccr/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts#L24-L54', +'ccr.delete_auto_follow_pattern.Request': 'ccr/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts#L24-L55', 'ccr.delete_auto_follow_pattern.Response': 'ccr/delete_auto_follow_pattern/DeleteAutoFollowPatternResponse.ts#L22-L24', -'ccr.follow.Request': 'ccr/follow/CreateFollowIndexRequest.ts#L26-L125', +'ccr.follow.Request': 'ccr/follow/CreateFollowIndexRequest.ts#L31-L132', 'ccr.follow.Response': 'ccr/follow/CreateFollowIndexResponse.ts#L20-L26', 'ccr.follow_info.FollowerIndex': 'ccr/follow_info/types.ts#L24-L35', 'ccr.follow_info.FollowerIndexParameters': 'ccr/follow_info/types.ts#L42-L88', 'ccr.follow_info.FollowerIndexStatus': 'ccr/follow_info/types.ts#L37-L40', -'ccr.follow_info.Request': 'ccr/follow_info/FollowInfoRequest.ts#L24-L55', +'ccr.follow_info.Request': 'ccr/follow_info/FollowInfoRequest.ts#L24-L56', 'ccr.follow_info.Response': 'ccr/follow_info/FollowInfoResponse.ts#L22-L24', -'ccr.follow_stats.Request': 'ccr/follow_stats/FollowIndexStatsRequest.ts#L24-L54', +'ccr.follow_stats.Request': 'ccr/follow_stats/FollowIndexStatsRequest.ts#L24-L55', 'ccr.follow_stats.Response': 'ccr/follow_stats/FollowIndexStatsResponse.ts#L22-L27', -'ccr.forget_follower.Request': 'ccr/forget_follower/ForgetFollowerIndexRequest.ts#L24-L65', +'ccr.forget_follower.Request': 'ccr/forget_follower/ForgetFollowerIndexRequest.ts#L24-L68', 'ccr.forget_follower.Response': 'ccr/forget_follower/ForgetFollowerIndexResponse.ts#L22-L24', 'ccr.get_auto_follow_pattern.AutoFollowPattern': 'ccr/get_auto_follow_pattern/types.ts#L23-L26', 'ccr.get_auto_follow_pattern.AutoFollowPatternSummary': 'ccr/get_auto_follow_pattern/types.ts#L28-L52', -'ccr.get_auto_follow_pattern.Request': 'ccr/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts#L24-L60', +'ccr.get_auto_follow_pattern.Request': 'ccr/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts#L24-L61', 'ccr.get_auto_follow_pattern.Response': 'ccr/get_auto_follow_pattern/GetAutoFollowPatternResponse.ts#L22-L24', -'ccr.pause_auto_follow_pattern.Request': 'ccr/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts#L24-L60', +'ccr.pause_auto_follow_pattern.Request': 'ccr/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts#L24-L61', 'ccr.pause_auto_follow_pattern.Response': 'ccr/pause_auto_follow_pattern/PauseAutoFollowPatternResponse.ts#L22-L24', -'ccr.pause_follow.Request': 'ccr/pause_follow/PauseFollowIndexRequest.ts#L24-L56', +'ccr.pause_follow.Request': 'ccr/pause_follow/PauseFollowIndexRequest.ts#L24-L57', 'ccr.pause_follow.Response': 'ccr/pause_follow/PauseFollowIndexResponse.ts#L22-L24', -'ccr.put_auto_follow_pattern.Request': 'ccr/put_auto_follow_pattern/PutAutoFollowPatternRequest.ts#L27-L133', +'ccr.put_auto_follow_pattern.Request': 'ccr/put_auto_follow_pattern/PutAutoFollowPatternRequest.ts#L33-L141', 'ccr.put_auto_follow_pattern.Response': 'ccr/put_auto_follow_pattern/PutAutoFollowPatternResponse.ts#L22-L24', -'ccr.resume_auto_follow_pattern.Request': 'ccr/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts#L24-L56', +'ccr.resume_auto_follow_pattern.Request': 'ccr/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts#L24-L57', 'ccr.resume_auto_follow_pattern.Response': 'ccr/resume_auto_follow_pattern/ResumeAutoFollowPatternResponse.ts#L22-L24', -'ccr.resume_follow.Request': 'ccr/resume_follow/ResumeFollowIndexRequest.ts#L25-L65', +'ccr.resume_follow.Request': 'ccr/resume_follow/ResumeFollowIndexRequest.ts#L25-L68', 'ccr.resume_follow.Response': 'ccr/resume_follow/ResumeFollowIndexResponse.ts#L22-L24', 'ccr.stats.AutoFollowStats': 'ccr/stats/types.ts.ts#L32-L47', 'ccr.stats.AutoFollowedCluster': 'ccr/stats/types.ts.ts#L26-L30', 'ccr.stats.FollowStats': 'ccr/stats/types.ts.ts#L49-L51', -'ccr.stats.Request': 'ccr/stats/CcrStatsRequest.ts#L23-L53', +'ccr.stats.Request': 'ccr/stats/CcrStatsRequest.ts#L24-L55', 'ccr.stats.Response': 'ccr/stats/CcrStatsResponse.ts#L22-L29', -'ccr.unfollow.Request': 'ccr/unfollow/UnfollowIndexRequest.ts#L24-L59', +'ccr.unfollow.Request': 'ccr/unfollow/UnfollowIndexRequest.ts#L24-L60', 'ccr.unfollow.Response': 'ccr/unfollow/UnfollowIndexResponse.ts#L22-L24', -'cluster._types.ComponentTemplate': 'cluster/_types/ComponentTemplate.ts#L27-L30', -'cluster._types.ComponentTemplateNode': 'cluster/_types/ComponentTemplate.ts#L32-L41', -'cluster._types.ComponentTemplateSummary': 'cluster/_types/ComponentTemplate.ts#L43-L55', +'cluster._types.ComponentTemplate': 'cluster/_types/ComponentTemplate.ts#L28-L31', +'cluster._types.ComponentTemplateNode': 'cluster/_types/ComponentTemplate.ts#L33-L42', +'cluster._types.ComponentTemplateSummary': 'cluster/_types/ComponentTemplate.ts#L44-L61', 'cluster.allocation_explain.AllocationDecision': 'cluster/allocation_explain/types.ts#L27-L31', 'cluster.allocation_explain.AllocationExplainDecision': 'cluster/allocation_explain/types.ts#L33-L38', 'cluster.allocation_explain.AllocationStore': 'cluster/allocation_explain/types.ts#L40-L47', @@ -1229,50 +1226,50 @@ 'cluster.allocation_explain.DiskUsage': 'cluster/allocation_explain/types.ts#L63-L70', 'cluster.allocation_explain.NodeAllocationExplanation': 'cluster/allocation_explain/types.ts#L103-L117', 'cluster.allocation_explain.NodeDiskUsage': 'cluster/allocation_explain/types.ts#L57-L61', -'cluster.allocation_explain.Request': 'cluster/allocation_explain/ClusterAllocationExplainRequest.ts#L25-L79', +'cluster.allocation_explain.Request': 'cluster/allocation_explain/ClusterAllocationExplainRequest.ts#L25-L81', 'cluster.allocation_explain.ReservedSize': 'cluster/allocation_explain/types.ts#L72-L77', 'cluster.allocation_explain.Response': 'cluster/allocation_explain/ClusterAllocationExplainResponse.ts#L32-L64', 'cluster.allocation_explain.UnassignedInformation': 'cluster/allocation_explain/types.ts#L128-L136', 'cluster.allocation_explain.UnassignedInformationReason': 'cluster/allocation_explain/types.ts#L138-L157', -'cluster.delete_component_template.Request': 'cluster/delete_component_template/ClusterDeleteComponentTemplateRequest.ts#L24-L61', +'cluster.delete_component_template.Request': 'cluster/delete_component_template/ClusterDeleteComponentTemplateRequest.ts#L24-L62', 'cluster.delete_component_template.Response': 'cluster/delete_component_template/ClusterDeleteComponentTemplateResponse.ts#L22-L24', -'cluster.delete_voting_config_exclusions.Request': 'cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsRequest.ts#L23-L55', -'cluster.exists_component_template.Request': 'cluster/exists_component_template/ClusterComponentTemplateExistsRequest.ts#L24-L63', -'cluster.get_component_template.Request': 'cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L82', +'cluster.delete_voting_config_exclusions.Request': 'cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsRequest.ts#L24-L57', +'cluster.exists_component_template.Request': 'cluster/exists_component_template/ClusterComponentTemplateExistsRequest.ts#L24-L64', +'cluster.get_component_template.Request': 'cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L84', 'cluster.get_component_template.Response': 'cluster/get_component_template/ClusterGetComponentTemplateResponse.ts#L22-L24', -'cluster.get_settings.Request': 'cluster/get_settings/ClusterGetSettingsRequest.ts#L23-L69', +'cluster.get_settings.Request': 'cluster/get_settings/ClusterGetSettingsRequest.ts#L24-L71', 'cluster.get_settings.Response': 'cluster/get_settings/ClusterGetSettingsResponse.ts#L23-L32', 'cluster.health.HealthResponseBody': 'cluster/health/ClusterHealthResponse.ts#L39-L76', 'cluster.health.IndexHealthStats': 'cluster/health/types.ts#L24-L35', -'cluster.health.Request': 'cluster/health/ClusterHealthRequest.ts#L32-L121', +'cluster.health.Request': 'cluster/health/ClusterHealthRequest.ts#L33-L124', 'cluster.health.Response': 'cluster/health/ClusterHealthResponse.ts#L26-L37', 'cluster.health.ShardHealthStats': 'cluster/health/types.ts#L37-L45', -'cluster.info.Request': 'cluster/info/ClusterInfoRequest.ts#L23-L42', +'cluster.info.Request': 'cluster/info/ClusterInfoRequest.ts#L23-L43', 'cluster.info.Response': 'cluster/info/ClusterInfoResponse.ts#L26-L34', 'cluster.pending_tasks.PendingTask': 'cluster/pending_tasks/types.ts#L23-L47', -'cluster.pending_tasks.Request': 'cluster/pending_tasks/ClusterPendingTasksRequest.ts#L23-L56', +'cluster.pending_tasks.Request': 'cluster/pending_tasks/ClusterPendingTasksRequest.ts#L24-L58', 'cluster.pending_tasks.Response': 'cluster/pending_tasks/ClusterPendingTasksResponse.ts#L22-L24', -'cluster.post_voting_config_exclusions.Request': 'cluster/post_voting_config_exclusions/ClusterPostVotingConfigExclusionsRequest.ts#L24-L80', -'cluster.put_component_template.Request': 'cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L25-L110', +'cluster.post_voting_config_exclusions.Request': 'cluster/post_voting_config_exclusions/ClusterPostVotingConfigExclusionsRequest.ts#L24-L81', +'cluster.put_component_template.Request': 'cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L25-L112', 'cluster.put_component_template.Response': 'cluster/put_component_template/ClusterPutComponentTemplateResponse.ts#L22-L24', -'cluster.put_settings.Request': 'cluster/put_settings/ClusterPutSettingsRequest.ts#L25-L71', +'cluster.put_settings.Request': 'cluster/put_settings/ClusterPutSettingsRequest.ts#L26-L84', 'cluster.put_settings.Response': 'cluster/put_settings/ClusterPutSettingsResponse.ts#L23-L29', 'cluster.remote_info.ClusterRemoteInfo': 'cluster/remote_info/ClusterRemoteInfoResponse.ts#L29-L30', 'cluster.remote_info.ClusterRemoteProxyInfo': 'cluster/remote_info/ClusterRemoteInfoResponse.ts#L58-L83', 'cluster.remote_info.ClusterRemoteSniffInfo': 'cluster/remote_info/ClusterRemoteInfoResponse.ts#L32-L56', -'cluster.remote_info.Request': 'cluster/remote_info/ClusterRemoteInfoRequest.ts#L22-L46', +'cluster.remote_info.Request': 'cluster/remote_info/ClusterRemoteInfoRequest.ts#L23-L48', 'cluster.remote_info.Response': 'cluster/remote_info/ClusterRemoteInfoResponse.ts#L24-L27', 'cluster.reroute.Command': 'cluster/reroute/types.ts#L22-L43', 'cluster.reroute.CommandAllocatePrimaryAction': 'cluster/reroute/types.ts#L78-L84', 'cluster.reroute.CommandAllocateReplicaAction': 'cluster/reroute/types.ts#L69-L76', 'cluster.reroute.CommandCancelAction': 'cluster/reroute/types.ts#L45-L50', 'cluster.reroute.CommandMoveAction': 'cluster/reroute/types.ts#L60-L67', -'cluster.reroute.Request': 'cluster/reroute/ClusterRerouteRequest.ts#L25-L91', +'cluster.reroute.Request': 'cluster/reroute/ClusterRerouteRequest.ts#L25-L93', 'cluster.reroute.RerouteDecision': 'cluster/reroute/types.ts#L86-L90', 'cluster.reroute.RerouteExplanation': 'cluster/reroute/types.ts#L92-L96', 'cluster.reroute.RerouteParameters': 'cluster/reroute/types.ts#L98-L105', 'cluster.reroute.Response': 'cluster/reroute/ClusterRerouteResponse.ts#L23-L34', -'cluster.state.Request': 'cluster/state/ClusterStateRequest.ts#L29-L96', +'cluster.state.Request': 'cluster/state/ClusterStateRequest.ts#L30-L121', 'cluster.state.Response': 'cluster/state/ClusterStateResponse.ts#L22-L29', 'cluster.stats.CCSStats': 'cluster/stats/types.ts#L769-L784', 'cluster.stats.CCSUsageClusterStats': 'cluster/stats/types.ts#L855-L862', @@ -1312,7 +1309,7 @@ 'cluster.stats.RemoteClusterInfo': 'cluster/stats/types.ts#L786-L817', 'cluster.stats.RepositoryStatsCurrentCounts': 'cluster/stats/types.ts#L672-L680', 'cluster.stats.RepositoryStatsShards': 'cluster/stats/types.ts#L682-L687', -'cluster.stats.Request': 'cluster/stats/ClusterStatsRequest.ts#L24-L60', +'cluster.stats.Request': 'cluster/stats/ClusterStatsRequest.ts#L24-L61', 'cluster.stats.Response': 'cluster/stats/ClusterStatsResponse.ts#L71-L73', 'cluster.stats.RuntimeFieldTypes': 'cluster/stats/types.ts#L256-L313', 'cluster.stats.SearchUsageStats': 'cluster/stats/types.ts#L149-L155', @@ -1355,112 +1352,112 @@ 'connector._types.SyncRulesFeature': 'connector/_types/Connector.ts#L219-L228', 'connector._types.SyncStatus': 'connector/_types/Connector.ts#L138-L146', 'connector._types.Validation': 'connector/_types/Connector.ts#L50-L56', -'connector.check_in.Request': 'connector/check_in/ConnectorCheckInRequest.ts#L22-L44', +'connector.check_in.Request': 'connector/check_in/ConnectorCheckInRequest.ts#L22-L45', 'connector.check_in.Response': 'connector/check_in/ConnectorCheckInResponse.ts#L22-L26', -'connector.delete.Request': 'connector/delete/ConnectorDeleteRequest.ts#L22-L54', +'connector.delete.Request': 'connector/delete/ConnectorDeleteRequest.ts#L22-L55', 'connector.delete.Response': 'connector/delete/ConnectorDeleteResponse.ts#L22-L24', -'connector.get.Request': 'connector/get/ConnectorGetRequest.ts#L22-L44', +'connector.get.Request': 'connector/get/ConnectorGetRequest.ts#L22-L45', 'connector.get.Response': 'connector/get/ConnectorGetResponse.ts#L22-L24', -'connector.list.Request': 'connector/list/ConnectorListRequest.ts#L23-L67', +'connector.list.Request': 'connector/list/ConnectorListRequest.ts#L23-L68', 'connector.list.Response': 'connector/list/ConnectorListResponse.ts#L23-L28', -'connector.post.Request': 'connector/post/ConnectorPostRequest.ts#L22-L52', +'connector.post.Request': 'connector/post/ConnectorPostRequest.ts#L22-L54', 'connector.post.Response': 'connector/post/ConnectorPostResponse.ts#L23-L28', -'connector.put.Request': 'connector/put/ConnectorPutRequest.ts#L22-L58', +'connector.put.Request': 'connector/put/ConnectorPutRequest.ts#L22-L60', 'connector.put.Response': 'connector/put/ConnectorPutResponse.ts#L23-L28', -'connector.sync_job_cancel.Request': 'connector/sync_job_cancel/SyncJobCancelRequest.ts#L22-L45', +'connector.sync_job_cancel.Request': 'connector/sync_job_cancel/SyncJobCancelRequest.ts#L22-L46', 'connector.sync_job_cancel.Response': 'connector/sync_job_cancel/SyncJobCancelResponse.ts#L22-L26', -'connector.sync_job_check_in.Request': 'connector/sync_job_check_in/SyncJobCheckInRequest.ts#L22-L45', +'connector.sync_job_check_in.Request': 'connector/sync_job_check_in/SyncJobCheckInRequest.ts#L22-L46', 'connector.sync_job_check_in.Response': 'connector/sync_job_check_in/SyncJobCheckInResponse.ts#L20-L22', -'connector.sync_job_claim.Request': 'connector/sync_job_claim/SyncJobClaimRequest.ts#L23-L61', +'connector.sync_job_claim.Request': 'connector/sync_job_claim/SyncJobClaimRequest.ts#L23-L63', 'connector.sync_job_claim.Response': 'connector/sync_job_claim/SyncJobClaimResponse.ts#L20-L22', -'connector.sync_job_delete.Request': 'connector/sync_job_delete/SyncJobDeleteRequest.ts#L22-L45', +'connector.sync_job_delete.Request': 'connector/sync_job_delete/SyncJobDeleteRequest.ts#L22-L46', 'connector.sync_job_delete.Response': 'connector/sync_job_delete/SyncJobDeleteResponse.ts#L22-L24', -'connector.sync_job_error.Request': 'connector/sync_job_error/SyncJobErrorRequest.ts#L23-L52', +'connector.sync_job_error.Request': 'connector/sync_job_error/SyncJobErrorRequest.ts#L23-L54', 'connector.sync_job_error.Response': 'connector/sync_job_error/SyncJobErrorResponse.ts#L20-L22', -'connector.sync_job_get.Request': 'connector/sync_job_get/SyncJobGetRequest.ts#L22-L42', +'connector.sync_job_get.Request': 'connector/sync_job_get/SyncJobGetRequest.ts#L22-L43', 'connector.sync_job_get.Response': 'connector/sync_job_get/SyncJobGetResponse.ts#L22-L24', -'connector.sync_job_list.Request': 'connector/sync_job_list/SyncJobListRequest.ts#L25-L65', +'connector.sync_job_list.Request': 'connector/sync_job_list/SyncJobListRequest.ts#L25-L66', 'connector.sync_job_list.Response': 'connector/sync_job_list/SyncJobListResponse.ts#L23-L28', -'connector.sync_job_post.Request': 'connector/sync_job_post/SyncJobPostRequest.ts#L23-L51', +'connector.sync_job_post.Request': 'connector/sync_job_post/SyncJobPostRequest.ts#L23-L53', 'connector.sync_job_post.Response': 'connector/sync_job_post/SyncJobPostResponse.ts#L22-L26', -'connector.sync_job_update_stats.Request': 'connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts#L24-L78', +'connector.sync_job_update_stats.Request': 'connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts#L24-L80', 'connector.sync_job_update_stats.Response': 'connector/sync_job_update_stats/SyncJobUpdateStatsResponse.ts#L20-L22', -'connector.update_active_filtering.Request': 'connector/update_active_filtering/ConnectorUpdateActiveFilteringRequest.ts#L22-L44', +'connector.update_active_filtering.Request': 'connector/update_active_filtering/ConnectorUpdateActiveFilteringRequest.ts#L22-L46', 'connector.update_active_filtering.Response': 'connector/update_active_filtering/ConnectorUpdateActiveFilteringResponse.ts#L22-L26', -'connector.update_api_key_id.Request': 'connector/update_api_key_id/ConnectorUpdateAPIKeyIDRequest.ts#L21-L53', +'connector.update_api_key_id.Request': 'connector/update_api_key_id/ConnectorUpdateAPIKeyIDRequest.ts#L21-L55', 'connector.update_api_key_id.Response': 'connector/update_api_key_id/ConnectorUpdateAPIKeyIDResponse.ts#L22-L26', -'connector.update_configuration.Request': 'connector/update_configuration/ConnectorUpdateConfigurationRequest.ts#L25-L55', +'connector.update_configuration.Request': 'connector/update_configuration/ConnectorUpdateConfigurationRequest.ts#L25-L57', 'connector.update_configuration.Response': 'connector/update_configuration/ConnectorUpdateConfigurationResponse.ts#L22-L26', -'connector.update_error.Request': 'connector/update_error/ConnectorUpdateErrorRequest.ts#L23-L54', +'connector.update_error.Request': 'connector/update_error/ConnectorUpdateErrorRequest.ts#L23-L56', 'connector.update_error.Response': 'connector/update_error/ConnectorUpdateErrorResponse.ts#L22-L26', -'connector.update_features.Request': 'connector/update_features/ConnectorUpdateFeaturesRequest.ts#L23-L61', +'connector.update_features.Request': 'connector/update_features/ConnectorUpdateFeaturesRequest.ts#L23-L63', 'connector.update_features.Response': 'connector/update_features/ConnectorUpdateFeaturesResponse.ts#L22-L26', -'connector.update_filtering.Request': 'connector/update_filtering/ConnectorUpdateFilteringRequest.ts#L27-L60', +'connector.update_filtering.Request': 'connector/update_filtering/ConnectorUpdateFilteringRequest.ts#L27-L62', 'connector.update_filtering.Response': 'connector/update_filtering/ConnectorUpdateFilteringResponse.ts#L22-L26', -'connector.update_filtering_validation.Request': 'connector/update_filtering_validation/ConnectorUpdateFilteringValidationRequest.ts#L23-L48', +'connector.update_filtering_validation.Request': 'connector/update_filtering_validation/ConnectorUpdateFilteringValidationRequest.ts#L23-L50', 'connector.update_filtering_validation.Response': 'connector/update_filtering_validation/ConnectorUpdateFilteringValidationResponse.ts#L22-L26', -'connector.update_index_name.Request': 'connector/update_index_name/ConnectorUpdateIndexNameRequest.ts#L23-L51', +'connector.update_index_name.Request': 'connector/update_index_name/ConnectorUpdateIndexNameRequest.ts#L23-L53', 'connector.update_index_name.Response': 'connector/update_index_name/ConnectorUpdateIndexNameResponse.ts#L22-L26', -'connector.update_name.Request': 'connector/update_name/ConnectorUpdateNameRequest.ts#L22-L49', +'connector.update_name.Request': 'connector/update_name/ConnectorUpdateNameRequest.ts#L22-L51', 'connector.update_name.Response': 'connector/update_name/ConnectorUpdateNameResponse.ts#L22-L26', -'connector.update_native.Request': 'connector/update_native/ConnectorUpdateNativeRequest.ts#L22-L48', +'connector.update_native.Request': 'connector/update_native/ConnectorUpdateNativeRequest.ts#L22-L50', 'connector.update_native.Response': 'connector/update_native/ConnectorUpdateNativeResponse.ts#L22-L26', -'connector.update_pipeline.Request': 'connector/update_pipeline/ConnectorUpdatePipelineRequest.ts#L23-L52', +'connector.update_pipeline.Request': 'connector/update_pipeline/ConnectorUpdatePipelineRequest.ts#L23-L54', 'connector.update_pipeline.Response': 'connector/update_pipeline/ConnectorUpdatePipelineResponse.ts#L22-L26', -'connector.update_scheduling.Request': 'connector/update_scheduling/ConnectorUpdateSchedulingRequest.ts#L23-L50', +'connector.update_scheduling.Request': 'connector/update_scheduling/ConnectorUpdateSchedulingRequest.ts#L23-L52', 'connector.update_scheduling.Response': 'connector/update_scheduling/ConnectorUpdateSchedulingResponse.ts#L22-L26', -'connector.update_service_type.Request': 'connector/update_service_type/ConnectorUpdateServiceTypeRequest.ts#L22-L48', +'connector.update_service_type.Request': 'connector/update_service_type/ConnectorUpdateServiceTypeRequest.ts#L22-L50', 'connector.update_service_type.Response': 'connector/update_service_type/ConnectorUpdateServiceTypeResponse.ts#L22-L26', -'connector.update_status.Request': 'connector/update_status/ConnectorUpdateStatusRequest.ts#L23-L49', +'connector.update_status.Request': 'connector/update_status/ConnectorUpdateStatusRequest.ts#L23-L51', 'connector.update_status.Response': 'connector/update_status/ConnectorUpdateStatusResponse.ts#L22-L26', -'dangling_indices.delete_dangling_index.Request': 'dangling_indices/delete_dangling_index/DeleteDanglingIndexRequest.ts#L24-L59', +'dangling_indices.delete_dangling_index.Request': 'dangling_indices/delete_dangling_index/DeleteDanglingIndexRequest.ts#L24-L65', 'dangling_indices.delete_dangling_index.Response': 'dangling_indices/delete_dangling_index/DeleteDanglingIndexResponse.ts#L22-L24', -'dangling_indices.import_dangling_index.Request': 'dangling_indices/import_dangling_index/ImportDanglingIndexRequest.ts#L24-L61', +'dangling_indices.import_dangling_index.Request': 'dangling_indices/import_dangling_index/ImportDanglingIndexRequest.ts#L24-L67', 'dangling_indices.import_dangling_index.Response': 'dangling_indices/import_dangling_index/ImportDanglingIndexResponse.ts#L22-L24', 'dangling_indices.list_dangling_indices.DanglingIndex': 'dangling_indices/list_dangling_indices/ListDanglingIndicesResponse.ts#L29-L34', -'dangling_indices.list_dangling_indices.Request': 'dangling_indices/list_dangling_indices/ListDanglingIndicesRequest.ts#L22-L42', +'dangling_indices.list_dangling_indices.Request': 'dangling_indices/list_dangling_indices/ListDanglingIndicesRequest.ts#L23-L44', 'dangling_indices.list_dangling_indices.Response': 'dangling_indices/list_dangling_indices/ListDanglingIndicesResponse.ts#L23-L27', 'enrich._types.Policy': 'enrich/_types/Policy.ts#L34-L41', 'enrich._types.PolicyType': 'enrich/_types/Policy.ts#L28-L32', 'enrich._types.Summary': 'enrich/_types/Policy.ts#L24-L26', -'enrich.delete_policy.Request': 'enrich/delete_policy/DeleteEnrichPolicyRequest.ts#L24-L52', +'enrich.delete_policy.Request': 'enrich/delete_policy/DeleteEnrichPolicyRequest.ts#L24-L53', 'enrich.delete_policy.Response': 'enrich/delete_policy/DeleteEnrichPolicyResponse.ts#L22-L24', 'enrich.execute_policy.EnrichPolicyPhase': 'enrich/execute_policy/types.ts#L25-L31', 'enrich.execute_policy.ExecuteEnrichPolicyStatus': 'enrich/execute_policy/types.ts#L20-L23', -'enrich.execute_policy.Request': 'enrich/execute_policy/ExecuteEnrichPolicyRequest.ts#L24-L57', +'enrich.execute_policy.Request': 'enrich/execute_policy/ExecuteEnrichPolicyRequest.ts#L24-L58', 'enrich.execute_policy.Response': 'enrich/execute_policy/ExecuteEnrichPolicyResponse.ts#L23-L28', -'enrich.get_policy.Request': 'enrich/get_policy/GetEnrichPolicyRequest.ts#L24-L57', +'enrich.get_policy.Request': 'enrich/get_policy/GetEnrichPolicyRequest.ts#L24-L58', 'enrich.get_policy.Response': 'enrich/get_policy/GetEnrichPolicyResponse.ts#L22-L24', -'enrich.put_policy.Request': 'enrich/put_policy/PutEnrichPolicyRequest.ts#L25-L67', +'enrich.put_policy.Request': 'enrich/put_policy/PutEnrichPolicyRequest.ts#L25-L69', 'enrich.put_policy.Response': 'enrich/put_policy/PutEnrichPolicyResponse.ts#L22-L24', 'enrich.stats.CacheStats': 'enrich/stats/types.ts#L38-L50', 'enrich.stats.CoordinatorStats': 'enrich/stats/types.ts#L30-L36', 'enrich.stats.ExecutingPolicy': 'enrich/stats/types.ts#L25-L28', -'enrich.stats.Request': 'enrich/stats/EnrichStatsRequest.ts#L23-L45', +'enrich.stats.Request': 'enrich/stats/EnrichStatsRequest.ts#L24-L47', 'enrich.stats.Response': 'enrich/stats/EnrichStatsResponse.ts#L22-L39', 'eql._types.EqlHits': 'eql/_types/EqlHits.ts#L25-L39', 'eql._types.EqlSearchResponseBase': 'eql/_types/EqlSearchResponseBase.ts#L25-L54', 'eql._types.HitsEvent': 'eql/_types/EqlHits.ts#L41-L54', 'eql._types.HitsSequence': 'eql/_types/EqlHits.ts#L56-L64', -'eql.delete.Request': 'eql/delete/EqlDeleteRequest.ts#L23-L47', +'eql.delete.Request': 'eql/delete/EqlDeleteRequest.ts#L23-L48', 'eql.delete.Response': 'eql/delete/EqlDeleteResponse.ts#L22-L24', -'eql.get.Request': 'eql/get/EqlGetRequest.ts#L24-L58', +'eql.get.Request': 'eql/get/EqlGetRequest.ts#L24-L59', 'eql.get.Response': 'eql/get/EqlGetResponse.ts#L22-L24', -'eql.get_status.Request': 'eql/get_status/EqlGetStatusRequest.ts#L23-L42', +'eql.get_status.Request': 'eql/get_status/EqlGetStatusRequest.ts#L23-L43', 'eql.get_status.Response': 'eql/get_status/EqlGetStatusResponse.ts#L24-L51', -'eql.search.Request': 'eql/search/EqlSearchRequest.ts#L28-L167', +'eql.search.Request': 'eql/search/EqlSearchRequest.ts#L28-L173', 'eql.search.Response': 'eql/search/EqlSearchResponse.ts#L22-L24', 'eql.search.ResultPosition': 'eql/search/types.ts#L20-L32', 'esql._types.TableValuesContainer': 'esql/_types/TableValuesContainer.ts#L22-L28', 'esql.query.EsqlFormat': 'esql/query/QueryParameters.ts#L20-L29', -'esql.query.Request': 'esql/query/QueryRequest.ts#L27-L116', +'esql.query.Request': 'esql/query/QueryRequest.ts#L27-L118', 'esql.query.Response': 'esql/query/QueryResponse.ts#L22-L25', 'features._types.Feature': 'features/_types/Feature.ts#L20-L23', -'features.get_features.Request': 'features/get_features/GetFeaturesRequest.ts#L23-L53', +'features.get_features.Request': 'features/get_features/GetFeaturesRequest.ts#L24-L55', 'features.get_features.Response': 'features/get_features/GetFeaturesResponse.ts#L22-L26', -'features.reset_features.Request': 'features/reset_features/ResetFeaturesRequest.ts#L23-L60', +'features.reset_features.Request': 'features/reset_features/ResetFeaturesRequest.ts#L24-L62', 'features.reset_features.Response': 'features/reset_features/ResetFeaturesResponse.ts#L22-L26', -'fleet.search.Request': 'fleet/search/SearchRequest.ts#L55-L268', +'fleet.search.Request': 'fleet/search/SearchRequest.ts#L56-L271', 'fleet.search.Response': 'fleet/search/SearchResponse.ts#L33-L50', 'graph._types.Connection': 'graph/_types/Connection.ts#L22-L27', 'graph._types.ExploreControls': 'graph/_types/ExploreControls.ts#L24-L49', @@ -1469,7 +1466,7 @@ 'graph._types.Vertex': 'graph/_types/Vertex.ts#L23-L28', 'graph._types.VertexDefinition': 'graph/_types/Vertex.ts#L30-L59', 'graph._types.VertexInclude': 'graph/_types/Vertex.ts#L61-L64', -'graph.explore.Request': 'graph/explore/GraphExploreRequest.ts#L28-L84', +'graph.explore.Request': 'graph/explore/GraphExploreRequest.ts#L28-L86', 'graph.explore.Response': 'graph/explore/GraphExploreResponse.ts#L25-L33', 'ilm._types.Actions': 'ilm/_types/Phase.ts#L39-L93', 'ilm._types.AllocateAction': 'ilm/_types/Phase.ts#L133-L139', @@ -1485,48 +1482,53 @@ 'ilm._types.SetPriorityAction': 'ilm/_types/Phase.ts#L95-L97', 'ilm._types.ShrinkAction': 'ilm/_types/Phase.ts#L117-L121', 'ilm._types.WaitForSnapshotAction': 'ilm/_types/Phase.ts#L145-L147', -'ilm.delete_lifecycle.Request': 'ilm/delete_lifecycle/DeleteLifecycleRequest.ts#L24-L58', +'ilm.delete_lifecycle.Request': 'ilm/delete_lifecycle/DeleteLifecycleRequest.ts#L24-L59', 'ilm.delete_lifecycle.Response': 'ilm/delete_lifecycle/DeleteLifecycleResponse.ts#L22-L24', 'ilm.explain_lifecycle.LifecycleExplain': 'ilm/explain_lifecycle/types.ts#L65-L68', 'ilm.explain_lifecycle.LifecycleExplainManaged': 'ilm/explain_lifecycle/types.ts#L27-L58', 'ilm.explain_lifecycle.LifecycleExplainPhaseExecution': 'ilm/explain_lifecycle/types.ts#L70-L75', 'ilm.explain_lifecycle.LifecycleExplainUnmanaged': 'ilm/explain_lifecycle/types.ts#L60-L63', -'ilm.explain_lifecycle.Request': 'ilm/explain_lifecycle/ExplainLifecycleRequest.ts#L24-L64', +'ilm.explain_lifecycle.Request': 'ilm/explain_lifecycle/ExplainLifecycleRequest.ts#L24-L65', 'ilm.explain_lifecycle.Response': 'ilm/explain_lifecycle/ExplainLifecycleResponse.ts#L24-L28', 'ilm.get_lifecycle.Lifecycle': 'ilm/get_lifecycle/types.ts#L24-L28', -'ilm.get_lifecycle.Request': 'ilm/get_lifecycle/GetLifecycleRequest.ts#L24-L61', +'ilm.get_lifecycle.Request': 'ilm/get_lifecycle/GetLifecycleRequest.ts#L24-L62', 'ilm.get_lifecycle.Response': 'ilm/get_lifecycle/GetLifecycleResponse.ts#L23-L26', -'ilm.get_status.Request': 'ilm/get_status/GetIlmStatusRequest.ts#L22-L38', +'ilm.get_status.Request': 'ilm/get_status/GetIlmStatusRequest.ts#L23-L40', 'ilm.get_status.Response': 'ilm/get_status/GetIlmStatusResponse.ts#L22-L24', -'ilm.migrate_to_data_tiers.Request': 'ilm/migrate_to_data_tiers/Request.ts#L22-L61', +'ilm.migrate_to_data_tiers.Request': 'ilm/migrate_to_data_tiers/Request.ts#L23-L64', 'ilm.migrate_to_data_tiers.Response': 'ilm/migrate_to_data_tiers/Response.ts#L22-L51', -'ilm.move_to_step.Request': 'ilm/move_to_step/MoveToStepRequest.ts#L24-L64', +'ilm.move_to_step.Request': 'ilm/move_to_step/MoveToStepRequest.ts#L24-L67', 'ilm.move_to_step.Response': 'ilm/move_to_step/MoveToStepResponse.ts#L22-L24', 'ilm.move_to_step.StepKey': 'ilm/move_to_step/types.ts#L20-L31', -'ilm.put_lifecycle.Request': 'ilm/put_lifecycle/PutLifecycleRequest.ts#L25-L66', +'ilm.put_lifecycle.Request': 'ilm/put_lifecycle/PutLifecycleRequest.ts#L25-L68', 'ilm.put_lifecycle.Response': 'ilm/put_lifecycle/PutLifecycleResponse.ts#L22-L24', -'ilm.remove_policy.Request': 'ilm/remove_policy/RemovePolicyRequest.ts#L23-L42', +'ilm.remove_policy.Request': 'ilm/remove_policy/RemovePolicyRequest.ts#L23-L44', 'ilm.remove_policy.Response': 'ilm/remove_policy/RemovePolicyResponse.ts#L22-L27', -'ilm.retry.Request': 'ilm/retry/RetryIlmRequest.ts#L23-L43', +'ilm.retry.Request': 'ilm/retry/RetryIlmRequest.ts#L23-L45', 'ilm.retry.Response': 'ilm/retry/RetryIlmResponse.ts#L22-L24', -'ilm.start.Request': 'ilm/start/StartIlmRequest.ts#L23-L52', +'ilm.start.Request': 'ilm/start/StartIlmRequest.ts#L24-L54', 'ilm.start.Response': 'ilm/start/StartIlmResponse.ts#L22-L24', -'ilm.stop.Request': 'ilm/stop/StopIlmRequest.ts#L23-L54', +'ilm.stop.Request': 'ilm/stop/StopIlmRequest.ts#L24-L56', 'ilm.stop.Response': 'ilm/stop/StopIlmResponse.ts#L22-L24', 'indices._types.Alias': 'indices/_types/Alias.ts#L23-L53', 'indices._types.AliasDefinition': 'indices/_types/AliasDefinition.ts#L22-L54', 'indices._types.CacheQueries': 'indices/_types/IndexSettings.ts#L421-L423', 'indices._types.DataStream': 'indices/_types/DataStream.ts#L46-L133', +'indices._types.DataStreamFailureStore': 'indices/_types/DataStreamFailureStore.ts#L22-L37', +'indices._types.DataStreamFailureStoreTemplate': 'indices/_types/DataStreamFailureStore.ts#L39-L54', 'indices._types.DataStreamIndex': 'indices/_types/DataStream.ts#L142-L163', 'indices._types.DataStreamLifecycle': 'indices/_types/DataStreamLifecycle.ts#L25-L45', -'indices._types.DataStreamLifecycleDownsampling': 'indices/_types/DataStreamLifecycleDownsampling.ts#L22-L27', 'indices._types.DataStreamLifecycleRolloverConditions': 'indices/_types/DataStreamLifecycle.ts#L60-L72', 'indices._types.DataStreamLifecycleWithRollover': 'indices/_types/DataStreamLifecycle.ts#L47-L58', +'indices._types.DataStreamOptions': 'indices/_types/DataStreamOptions.ts#L25-L34', +'indices._types.DataStreamOptionsTemplate': 'indices/_types/DataStreamOptions.ts#L36-L41', 'indices._types.DataStreamTimestampField': 'indices/_types/DataStream.ts#L135-L140', 'indices._types.DataStreamVisibility': 'indices/_types/DataStream.ts#L165-L168', 'indices._types.DownsampleConfig': 'indices/_types/Downsample.ts#L22-L27', 'indices._types.DownsamplingRound': 'indices/_types/DownsamplingRound.ts#L23-L32', 'indices._types.FailureStore': 'indices/_types/DataStream.ts#L40-L44', +'indices._types.FailureStoreLifecycle': 'indices/_types/DataStreamFailureStore.ts#L56-L72', +'indices._types.FailureStoreLifecycleTemplate': 'indices/_types/DataStreamFailureStore.ts#L74-L90', 'indices._types.FielddataFrequencyFilter': 'indices/_types/FielddataFrequencyFilter.ts#L22-L26', 'indices._types.IndexCheckOnStartup': 'indices/_types/IndexSettings.ts#L270-L277', 'indices._types.IndexRouting': 'indices/_types/IndexRouting.ts#L22-L25', @@ -1545,9 +1547,9 @@ 'indices._types.IndexSettingsLifecycleStep': 'indices/_types/IndexSettings.ts#L325-L331', 'indices._types.IndexSettingsTimeSeries': 'indices/_types/IndexSettings.ts#L341-L344', 'indices._types.IndexState': 'indices/_types/IndexState.ts#L27-L40', -'indices._types.IndexTemplate': 'indices/_types/IndexTemplate.ts#L28-L81', -'indices._types.IndexTemplateDataStreamConfiguration': 'indices/_types/IndexTemplate.ts#L83-L94', -'indices._types.IndexTemplateSummary': 'indices/_types/IndexTemplate.ts#L96-L118', +'indices._types.IndexTemplate': 'indices/_types/IndexTemplate.ts#L29-L82', +'indices._types.IndexTemplateDataStreamConfiguration': 'indices/_types/IndexTemplate.ts#L84-L95', +'indices._types.IndexTemplateSummary': 'indices/_types/IndexTemplate.ts#L97-L124', 'indices._types.IndexVersioning': 'indices/_types/IndexSettings.ts#L279-L282', 'indices._types.IndexingPressure': 'indices/_types/IndexSettings.ts#L577-L579', 'indices._types.IndexingPressureMemory': 'indices/_types/IndexSettings.ts#L581-L588', @@ -1596,141 +1598,148 @@ 'indices._types.Translog': 'indices/_types/IndexSettings.ts#L355-L377', 'indices._types.TranslogDurability': 'indices/_types/IndexSettings.ts#L379-L394', 'indices._types.TranslogRetention': 'indices/_types/IndexSettings.ts#L396-L415', -'indices.add_block.IndicesBlockOptions': 'indices/add_block/IndicesAddBlockRequest.ts#L91-L100', +'indices.add_block.IndicesBlockOptions': 'indices/add_block/IndicesAddBlockRequest.ts#L92-L101', 'indices.add_block.IndicesBlockStatus': 'indices/add_block/IndicesAddBlockResponse.ts#L30-L33', -'indices.add_block.Request': 'indices/add_block/IndicesAddBlockRequest.ts#L24-L89', +'indices.add_block.Request': 'indices/add_block/IndicesAddBlockRequest.ts#L24-L90', 'indices.add_block.Response': 'indices/add_block/IndicesAddBlockResponse.ts#L22-L28', 'indices.analyze.AnalyzeDetail': 'indices/analyze/types.ts#L24-L30', 'indices.analyze.AnalyzeToken': 'indices/analyze/types.ts#L37-L44', 'indices.analyze.AnalyzerDetail': 'indices/analyze/types.ts#L32-L35', 'indices.analyze.CharFilterDetail': 'indices/analyze/types.ts#L46-L49', 'indices.analyze.ExplainAnalyzeToken': 'indices/analyze/types.ts#L52-L67', -'indices.analyze.Request': 'indices/analyze/IndicesAnalyzeRequest.ts#L27-L119', +'indices.analyze.Request': 'indices/analyze/IndicesAnalyzeRequest.ts#L27-L121', 'indices.analyze.Response': 'indices/analyze/IndicesAnalyzeResponse.ts#L22-L27', 'indices.analyze.TokenDetail': 'indices/analyze/types.ts#L71-L74', -'indices.cancel_migrate_reindex.Request': 'indices/cancel_migrate_reindex/MigrateCancelReindexRequest.ts#L23-L38', +'indices.cancel_migrate_reindex.Request': 'indices/cancel_migrate_reindex/MigrateCancelReindexRequest.ts#L23-L40', 'indices.cancel_migrate_reindex.Response': 'indices/cancel_migrate_reindex/MigrateCancelReindexResponse.ts#L22-L24', -'indices.clear_cache.Request': 'indices/clear_cache/IndicesClearCacheRequest.ts#L23-L99', +'indices.clear_cache.Request': 'indices/clear_cache/IndicesClearCacheRequest.ts#L23-L100', 'indices.clear_cache.Response': 'indices/clear_cache/IndicesClearCacheResponse.ts#L22-L24', -'indices.clone.Request': 'indices/clone/IndicesCloneRequest.ts#L27-L127', +'indices.clone.Request': 'indices/clone/IndicesCloneRequest.ts#L27-L129', 'indices.clone.Response': 'indices/clone/IndicesCloneResponse.ts#L22-L28', 'indices.close.CloseIndexResult': 'indices/close/CloseIndexResponse.ts#L32-L35', 'indices.close.CloseShardResult': 'indices/close/CloseIndexResponse.ts#L37-L39', -'indices.close.Request': 'indices/close/CloseIndexRequest.ts#L24-L100', +'indices.close.Request': 'indices/close/CloseIndexRequest.ts#L29-L106', 'indices.close.Response': 'indices/close/CloseIndexResponse.ts#L24-L30', -'indices.create.Request': 'indices/create/IndicesCreateRequest.ts#L28-L108', +'indices.create.Request': 'indices/create/IndicesCreateRequest.ts#L28-L110', 'indices.create.Response': 'indices/create/IndicesCreateResponse.ts#L22-L28', -'indices.create_data_stream.Request': 'indices/create_data_stream/IndicesCreateDataStreamRequest.ts#L24-L65', +'indices.create_data_stream.Request': 'indices/create_data_stream/IndicesCreateDataStreamRequest.ts#L24-L66', 'indices.create_data_stream.Response': 'indices/create_data_stream/IndicesCreateDataStreamResponse.ts#L22-L24', -'indices.create_from.CreateFrom': 'indices/create_from/MigrateCreateFromRequest.ts#L46-L60', -'indices.create_from.Request': 'indices/create_from/MigrateCreateFromRequest.ts#L25-L44', +'indices.create_from.CreateFrom': 'indices/create_from/MigrateCreateFromRequest.ts#L48-L62', +'indices.create_from.Request': 'indices/create_from/MigrateCreateFromRequest.ts#L25-L46', 'indices.create_from.Response': 'indices/create_from/MigrateCreateFromResponse.ts#L22-L28', 'indices.data_streams_stats.DataStreamsStatsItem': 'indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L45-L65', -'indices.data_streams_stats.Request': 'indices/data_streams_stats/IndicesDataStreamsStatsRequest.ts#L23-L61', +'indices.data_streams_stats.Request': 'indices/data_streams_stats/IndicesDataStreamsStatsRequest.ts#L23-L62', 'indices.data_streams_stats.Response': 'indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L25-L43', -'indices.delete.Request': 'indices/delete/IndicesDeleteRequest.ts#L24-L86', +'indices.delete.Request': 'indices/delete/IndicesDeleteRequest.ts#L24-L87', 'indices.delete.Response': 'indices/delete/IndicesDeleteResponse.ts#L22-L24', 'indices.delete_alias.IndicesAliasesResponseBody': 'indices/delete_alias/IndicesDeleteAliasResponse.ts#L26-L28', -'indices.delete_alias.Request': 'indices/delete_alias/IndicesDeleteAliasRequest.ts#L24-L70', +'indices.delete_alias.Request': 'indices/delete_alias/IndicesDeleteAliasRequest.ts#L24-L71', 'indices.delete_alias.Response': 'indices/delete_alias/IndicesDeleteAliasResponse.ts#L22-L24', -'indices.delete_data_lifecycle.Request': 'indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts#L24-L54', +'indices.delete_data_lifecycle.Request': 'indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts#L24-L65', 'indices.delete_data_lifecycle.Response': 'indices/delete_data_lifecycle/IndicesDeleteDataLifecycleResponse.ts#L22-L24', -'indices.delete_data_stream.Request': 'indices/delete_data_stream/IndicesDeleteDataStreamRequest.ts#L24-L59', +'indices.delete_data_stream.Request': 'indices/delete_data_stream/IndicesDeleteDataStreamRequest.ts#L24-L60', 'indices.delete_data_stream.Response': 'indices/delete_data_stream/IndicesDeleteDataStreamResponse.ts#L22-L24', -'indices.delete_index_template.Request': 'indices/delete_index_template/IndicesDeleteIndexTemplateRequest.ts#L24-L60', +'indices.delete_data_stream_options.Request': 'indices/delete_data_stream_options/IndicesDeleteDataStreamOptionsRequest.ts#L24-L66', +'indices.delete_data_stream_options.Response': 'indices/delete_data_stream_options/IndicesDeleteDataStreamOptionsResponse.ts#L22-L25', +'indices.delete_index_template.Request': 'indices/delete_index_template/IndicesDeleteIndexTemplateRequest.ts#L24-L61', 'indices.delete_index_template.Response': 'indices/delete_index_template/IndicesDeleteIndexTemplateResponse.ts#L22-L24', -'indices.delete_template.Request': 'indices/delete_template/IndicesDeleteTemplateRequest.ts#L24-L61', +'indices.delete_template.Request': 'indices/delete_template/IndicesDeleteTemplateRequest.ts#L24-L62', 'indices.delete_template.Response': 'indices/delete_template/IndicesDeleteTemplateResponse.ts#L22-L24', -'indices.disk_usage.Request': 'indices/disk_usage/IndicesDiskUsageRequest.ts#L23-L84', +'indices.disk_usage.Request': 'indices/disk_usage/IndicesDiskUsageRequest.ts#L23-L85', 'indices.disk_usage.Response': 'indices/disk_usage/IndicesDiskUsageResponse.ts#L22-L25', -'indices.downsample.Request': 'indices/downsample/Request.ts#L24-L58', +'indices.downsample.Request': 'indices/downsample/Request.ts#L24-L60', 'indices.downsample.Response': 'indices/downsample/Response.ts#L22-L25', -'indices.exists.Request': 'indices/exists/IndicesExistsRequest.ts#L23-L79', -'indices.exists_alias.Request': 'indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L80', -'indices.exists_index_template.Request': 'indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L62', -'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L70', +'indices.exists.Request': 'indices/exists/IndicesExistsRequest.ts#L23-L80', +'indices.exists_alias.Request': 'indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L81', +'indices.exists_index_template.Request': 'indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L63', +'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L71', 'indices.explain_data_lifecycle.DataStreamLifecycleExplain': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L31-L41', -'indices.explain_data_lifecycle.Request': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleRequest.ts#L24-L51', +'indices.explain_data_lifecycle.Request': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleRequest.ts#L24-L58', 'indices.explain_data_lifecycle.Response': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L25-L29', 'indices.field_usage_stats.FieldSummary': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L57-L66', 'indices.field_usage_stats.FieldsUsageBody': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L32-L39', 'indices.field_usage_stats.InvertedIndex': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L68-L76', -'indices.field_usage_stats.Request': 'indices/field_usage_stats/IndicesFieldUsageStatsRequest.ts#L23-L74', +'indices.field_usage_stats.Request': 'indices/field_usage_stats/IndicesFieldUsageStatsRequest.ts#L23-L75', 'indices.field_usage_stats.Response': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L28-L30', 'indices.field_usage_stats.ShardsStats': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L52-L55', 'indices.field_usage_stats.UsageStatsIndex': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L41-L43', 'indices.field_usage_stats.UsageStatsShards': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L45-L50', -'indices.flush.Request': 'indices/flush/IndicesFlushRequest.ts#L23-L91', +'indices.flush.Request': 'indices/flush/IndicesFlushRequest.ts#L23-L92', 'indices.flush.Response': 'indices/flush/IndicesFlushResponse.ts#L22-L24', -'indices.forcemerge.Request': 'indices/forcemerge/IndicesForceMergeRequest.ts#L24-L114', +'indices.forcemerge.Request': 'indices/forcemerge/IndicesForceMergeRequest.ts#L24-L138', 'indices.forcemerge.Response': 'indices/forcemerge/IndicesForceMergeResponse.ts#L22-L24', 'indices.forcemerge._types.ForceMergeResponseBody': 'indices/forcemerge/_types/response.ts#L22-L28', -'indices.get.Feature': 'indices/get/IndicesGetRequest.ts#L98-L102', -'indices.get.Request': 'indices/get/IndicesGetRequest.ts#L24-L96', +'indices.get.Feature': 'indices/get/IndicesGetRequest.ts#L99-L103', +'indices.get.Request': 'indices/get/IndicesGetRequest.ts#L24-L97', 'indices.get.Response': 'indices/get/IndicesGetResponse.ts#L24-L27', -'indices.get_alias.Request': 'indices/get_alias/IndicesGetAliasRequest.ts#L23-L91', +'indices.get_alias.Request': 'indices/get_alias/IndicesGetAliasRequest.ts#L23-L92', 'indices.get_alias.Response': 'indices/get_alias/IndicesGetAliasResponse.ts#L28-L37', 'indices.get_alias._types.IndexAliases': 'indices/get_alias/_types/response.ts#L24-L26', 'indices.get_data_lifecycle.DataStreamWithLifecycle': 'indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L27-L30', -'indices.get_data_lifecycle.Request': 'indices/get_data_lifecycle/IndicesGetDataLifecycleRequest.ts#L24-L68', +'indices.get_data_lifecycle.Request': 'indices/get_data_lifecycle/IndicesGetDataLifecycleRequest.ts#L24-L69', 'indices.get_data_lifecycle.Response': 'indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L23-L25', 'indices.get_data_lifecycle_stats.DataStreamStats': 'indices/get_data_lifecycle_stats/IndicesGetDataLifecycleStatsResponse.ts#L46-L59', -'indices.get_data_lifecycle_stats.Request': 'indices/get_data_lifecycle_stats/IndicesGetDataLifecycleStatsRequest.ts#L22-L39', +'indices.get_data_lifecycle_stats.Request': 'indices/get_data_lifecycle_stats/IndicesGetDataLifecycleStatsRequest.ts#L23-L41', 'indices.get_data_lifecycle_stats.Response': 'indices/get_data_lifecycle_stats/IndicesGetDataLifecycleStatsResponse.ts#L24-L44', -'indices.get_data_stream.Request': 'indices/get_data_stream/IndicesGetDataStreamRequest.ts#L24-L78', +'indices.get_data_stream.Request': 'indices/get_data_stream/IndicesGetDataStreamRequest.ts#L24-L79', 'indices.get_data_stream.Response': 'indices/get_data_stream/IndicesGetDataStreamResponse.ts#L22-L24', +'indices.get_data_stream_options.DataStreamWithOptions': 'indices/get_data_stream_options/IndicesGetDataStreamOptionsResponse.ts#L27-L30', +'indices.get_data_stream_options.Request': 'indices/get_data_stream_options/IndicesGetDataStreamOptionsRequest.ts#L24-L64', +'indices.get_data_stream_options.Response': 'indices/get_data_stream_options/IndicesGetDataStreamOptionsResponse.ts#L23-L25', 'indices.get_data_stream_settings.DataStreamSettings': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsResponse.ts#L29-L39', -'indices.get_data_stream_settings.Request': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsRequest.ts#L24-L57', +'indices.get_data_stream_settings.Request': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsRequest.ts#L24-L58', 'indices.get_data_stream_settings.Response': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsResponse.ts#L22-L27', -'indices.get_field_mapping.Request': 'indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L88', +'indices.get_field_mapping.Request': 'indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L89', 'indices.get_field_mapping.Response': 'indices/get_field_mapping/IndicesGetFieldMappingResponse.ts#L24-L27', 'indices.get_field_mapping.TypeFieldMappings': 'indices/get_field_mapping/types.ts#L24-L26', 'indices.get_index_template.IndexTemplateItem': 'indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L29-L32', -'indices.get_index_template.Request': 'indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L73', +'indices.get_index_template.Request': 'indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L74', 'indices.get_index_template.Response': 'indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L23-L27', 'indices.get_mapping.IndexMappingRecord': 'indices/get_mapping/IndicesGetMappingResponse.ts#L29-L32', -'indices.get_mapping.Request': 'indices/get_mapping/IndicesGetMappingRequest.ts#L24-L84', +'indices.get_mapping.Request': 'indices/get_mapping/IndicesGetMappingRequest.ts#L24-L85', 'indices.get_mapping.Response': 'indices/get_mapping/IndicesGetMappingResponse.ts#L24-L27', -'indices.get_migrate_reindex_status.Request': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusRequest.ts#L23-L38', +'indices.get_migrate_reindex_status.Request': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusRequest.ts#L23-L40', 'indices.get_migrate_reindex_status.Response': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L23-L36', 'indices.get_migrate_reindex_status.StatusError': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L44-L47', 'indices.get_migrate_reindex_status.StatusInProgress': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L38-L42', -'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L112', +'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L113', 'indices.get_settings.Response': 'indices/get_settings/IndicesGetSettingsResponse.ts#L24-L27', -'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L74', +'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L75', 'indices.get_template.Response': 'indices/get_template/IndicesGetTemplateResponse.ts#L23-L26', -'indices.migrate_reindex.MigrateReindex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L39-L48', -'indices.migrate_reindex.ModeEnum': 'indices/migrate_reindex/MigrateReindexRequest.ts#L54-L56', -'indices.migrate_reindex.Request': 'indices/migrate_reindex/MigrateReindexRequest.ts#L23-L37', +'indices.migrate_reindex.MigrateReindex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L41-L50', +'indices.migrate_reindex.ModeEnum': 'indices/migrate_reindex/MigrateReindexRequest.ts#L56-L58', +'indices.migrate_reindex.Request': 'indices/migrate_reindex/MigrateReindexRequest.ts#L23-L39', 'indices.migrate_reindex.Response': 'indices/migrate_reindex/MigrateReindexResponse.ts#L22-L24', -'indices.migrate_reindex.SourceIndex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L50-L52', -'indices.migrate_to_data_stream.Request': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamRequest.ts#L24-L66', +'indices.migrate_reindex.SourceIndex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L52-L54', +'indices.migrate_to_data_stream.Request': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamRequest.ts#L24-L67', 'indices.migrate_to_data_stream.Response': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamResponse.ts#L22-L24', 'indices.modify_data_stream.Action': 'indices/modify_data_stream/types.ts#L22-L37', 'indices.modify_data_stream.IndexAndDataStreamAction': 'indices/modify_data_stream/types.ts#L39-L44', -'indices.modify_data_stream.Request': 'indices/modify_data_stream/IndicesModifyDataStreamRequest.ts#L23-L45', +'indices.modify_data_stream.Request': 'indices/modify_data_stream/IndicesModifyDataStreamRequest.ts#L24-L48', 'indices.modify_data_stream.Response': 'indices/modify_data_stream/IndicesModifyDataStreamResponse.ts#L22-L24', -'indices.open.Request': 'indices/open/IndicesOpenRequest.ts#L24-L110', +'indices.open.Request': 'indices/open/IndicesOpenRequest.ts#L29-L116', 'indices.open.Response': 'indices/open/IndicesOpenResponse.ts#L20-L25', -'indices.promote_data_stream.Request': 'indices/promote_data_stream/IndicesPromoteDataStreamRequest.ts#L24-L58', +'indices.promote_data_stream.Request': 'indices/promote_data_stream/IndicesPromoteDataStreamRequest.ts#L24-L60', 'indices.promote_data_stream.Response': 'indices/promote_data_stream/IndicesPromoteDataStreamResponse.ts#L22-L25', -'indices.put_alias.Request': 'indices/put_alias/IndicesPutAliasRequest.ts#L25-L104', +'indices.put_alias.Request': 'indices/put_alias/IndicesPutAliasRequest.ts#L25-L106', 'indices.put_alias.Response': 'indices/put_alias/IndicesPutAliasResponse.ts#L22-L24', -'indices.put_data_lifecycle.Request': 'indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts#L25-L93', +'indices.put_data_lifecycle.Request': 'indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts#L25-L95', 'indices.put_data_lifecycle.Response': 'indices/put_data_lifecycle/IndicesPutDataLifecycleResponse.ts#L22-L24', +'indices.put_data_stream_options.Request': 'indices/put_data_stream_options/IndicesPutDataStreamOptionsRequest.ts#L25-L84', +'indices.put_data_stream_options.Response': 'indices/put_data_stream_options/IndicesPutDataStreamOptionsResponse.ts#L22-L25', 'indices.put_data_stream_settings.DataStreamSettingsError': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsResponse.ts#L71-L77', 'indices.put_data_stream_settings.IndexSettingResults': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsResponse.ts#L57-L69', -'indices.put_data_stream_settings.Request': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsRequest.ts#L25-L77', +'indices.put_data_stream_settings.Request': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsRequest.ts#L25-L78', 'indices.put_data_stream_settings.Response': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsResponse.ts#L23-L28', 'indices.put_data_stream_settings.UpdatedDataStreamSettings': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsResponse.ts#L30-L55', -'indices.put_index_template.IndexTemplateMapping': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L161-L183', -'indices.put_index_template.Request': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L37-L159', +'indices.put_index_template.IndexTemplateMapping': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L165-L187', +'indices.put_index_template.Request': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L38-L163', 'indices.put_index_template.Response': 'indices/put_index_template/IndicesPutIndexTemplateResponse.ts#L22-L24', -'indices.put_mapping.Request': 'indices/put_mapping/IndicesPutMappingRequest.ts#L41-L180', +'indices.put_mapping.Request': 'indices/put_mapping/IndicesPutMappingRequest.ts#L42-L187', 'indices.put_mapping.Response': 'indices/put_mapping/IndicesPutMappingResponse.ts#L22-L24', -'indices.put_settings.Request': 'indices/put_settings/IndicesPutSettingsRequest.ts#L25-L162', +'indices.put_settings.Request': 'indices/put_settings/IndicesPutSettingsRequest.ts#L25-L164', 'indices.put_settings.Response': 'indices/put_settings/IndicesPutSettingsResponse.ts#L22-L24', -'indices.put_template.Request': 'indices/put_template/IndicesPutTemplateRequest.ts#L29-L127', +'indices.put_template.Request': 'indices/put_template/IndicesPutTemplateRequest.ts#L29-L131', 'indices.put_template.Response': 'indices/put_template/IndicesPutTemplateResponse.ts#L22-L24', 'indices.recovery.FileDetails': 'indices/recovery/types.ts#L50-L54', 'indices.recovery.RecoveryBytes': 'indices/recovery/types.ts#L38-L48', @@ -1739,36 +1748,36 @@ 'indices.recovery.RecoveryOrigin': 'indices/recovery/types.ts#L76-L89', 'indices.recovery.RecoveryStartStatus': 'indices/recovery/types.ts#L91-L96', 'indices.recovery.RecoveryStatus': 'indices/recovery/types.ts#L98-L100', -'indices.recovery.Request': 'indices/recovery/IndicesRecoveryRequest.ts#L23-L102', +'indices.recovery.Request': 'indices/recovery/IndicesRecoveryRequest.ts#L23-L103', 'indices.recovery.Response': 'indices/recovery/IndicesRecoveryResponse.ts#L24-L27', 'indices.recovery.ShardRecovery': 'indices/recovery/types.ts#L118-L135', 'indices.recovery.TranslogStatus': 'indices/recovery/types.ts#L102-L109', 'indices.recovery.VerifyIndex': 'indices/recovery/types.ts#L111-L116', -'indices.refresh.Request': 'indices/refresh/IndicesRefreshRequest.ts#L23-L85', +'indices.refresh.Request': 'indices/refresh/IndicesRefreshRequest.ts#L23-L86', 'indices.refresh.Response': 'indices/refresh/IndicesRefreshResponse.ts#L22-L24', 'indices.reload_search_analyzers.ReloadDetails': 'indices/reload_search_analyzers/types.ts#L27-L31', 'indices.reload_search_analyzers.ReloadResult': 'indices/reload_search_analyzers/types.ts#L22-L25', -'indices.reload_search_analyzers.Request': 'indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts#L23-L64', +'indices.reload_search_analyzers.Request': 'indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts#L23-L76', 'indices.reload_search_analyzers.Response': 'indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts#L22-L24', -'indices.resolve_cluster.Request': 'indices/resolve_cluster/ResolveClusterRequest.ts#L24-L143', +'indices.resolve_cluster.Request': 'indices/resolve_cluster/ResolveClusterRequest.ts#L24-L144', 'indices.resolve_cluster.ResolveClusterInfo': 'indices/resolve_cluster/ResolveClusterResponse.ts#L29-L55', 'indices.resolve_cluster.Response': 'indices/resolve_cluster/ResolveClusterResponse.ts#L24-L27', -'indices.resolve_index.Request': 'indices/resolve_index/ResolveIndexRequest.ts#L23-L68', +'indices.resolve_index.Request': 'indices/resolve_index/ResolveIndexRequest.ts#L23-L69', 'indices.resolve_index.ResolveIndexAliasItem': 'indices/resolve_index/ResolveIndexResponse.ts#L37-L40', 'indices.resolve_index.ResolveIndexDataStreamsItem': 'indices/resolve_index/ResolveIndexResponse.ts#L42-L46', 'indices.resolve_index.ResolveIndexItem': 'indices/resolve_index/ResolveIndexResponse.ts#L30-L35', 'indices.resolve_index.Response': 'indices/resolve_index/ResolveIndexResponse.ts#L22-L28', -'indices.rollover.Request': 'indices/rollover/IndicesRolloverRequest.ts#L29-L153', +'indices.rollover.Request': 'indices/rollover/IndicesRolloverRequest.ts#L34-L160', 'indices.rollover.Response': 'indices/rollover/IndicesRolloverResponse.ts#L22-L32', 'indices.rollover.RolloverConditions': 'indices/rollover/types.ts#L24-L40', 'indices.segments.IndexSegment': 'indices/segments/types.ts#L24-L26', -'indices.segments.Request': 'indices/segments/IndicesSegmentsRequest.ts#L23-L77', +'indices.segments.Request': 'indices/segments/IndicesSegmentsRequest.ts#L23-L78', 'indices.segments.Response': 'indices/segments/IndicesSegmentsResponse.ts#L24-L29', 'indices.segments.Segment': 'indices/segments/types.ts#L28-L38', 'indices.segments.ShardSegmentRouting': 'indices/segments/types.ts#L40-L44', 'indices.segments.ShardsSegment': 'indices/segments/types.ts#L46-L51', 'indices.shard_stores.IndicesShardStores': 'indices/shard_stores/types.ts#L25-L27', -'indices.shard_stores.Request': 'indices/shard_stores/IndicesShardStoresRequest.ts#L24-L82', +'indices.shard_stores.Request': 'indices/shard_stores/IndicesShardStoresRequest.ts#L24-L83', 'indices.shard_stores.Response': 'indices/shard_stores/IndicesShardStoresResponse.ts#L24-L26', 'indices.shard_stores.ShardStore': 'indices/shard_stores/types.ts#L29-L36', 'indices.shard_stores.ShardStoreAllocation': 'indices/shard_stores/types.ts#L47-L51', @@ -1776,21 +1785,21 @@ 'indices.shard_stores.ShardStoreNode': 'indices/shard_stores/types.ts#L38-L45', 'indices.shard_stores.ShardStoreStatus': 'indices/shard_stores/types.ts#L62-L71', 'indices.shard_stores.ShardStoreWrapper': 'indices/shard_stores/types.ts#L58-L60', -'indices.shrink.Request': 'indices/shrink/IndicesShrinkRequest.ts#L27-L113', +'indices.shrink.Request': 'indices/shrink/IndicesShrinkRequest.ts#L27-L115', 'indices.shrink.Response': 'indices/shrink/IndicesShrinkResponse.ts#L22-L28', -'indices.simulate_index_template.Request': 'indices/simulate_index_template/IndicesSimulateIndexTemplateRequest.ts#L25-L70', +'indices.simulate_index_template.Request': 'indices/simulate_index_template/IndicesSimulateIndexTemplateRequest.ts#L25-L72', 'indices.simulate_index_template.Response': 'indices/simulate_index_template/IndicesSimulateIndexTemplateResponse.ts#L25-L30', 'indices.simulate_template.Overlapping': 'indices/simulate_template/IndicesSimulateTemplateResponse.ts#L39-L42', -'indices.simulate_template.Request': 'indices/simulate_template/IndicesSimulateTemplateRequest.ts#L27-L136', +'indices.simulate_template.Request': 'indices/simulate_template/IndicesSimulateTemplateRequest.ts#L33-L144', 'indices.simulate_template.Response': 'indices/simulate_template/IndicesSimulateTemplateResponse.ts#L26-L31', 'indices.simulate_template.Template': 'indices/simulate_template/IndicesSimulateTemplateResponse.ts#L33-L37', -'indices.split.Request': 'indices/split/IndicesSplitRequest.ts#L27-L113', +'indices.split.Request': 'indices/split/IndicesSplitRequest.ts#L27-L115', 'indices.split.Response': 'indices/split/IndicesSplitResponse.ts#L22-L28', 'indices.stats.IndexMetadataState': 'indices/stats/types.ts#L225-L232', 'indices.stats.IndexStats': 'indices/stats/types.ts#L52-L93', 'indices.stats.IndicesStats': 'indices/stats/types.ts#L95-L110', 'indices.stats.MappingStats': 'indices/stats/types.ts#L186-L190', -'indices.stats.Request': 'indices/stats/IndicesStatsRequest.ts#L29-L115', +'indices.stats.Request': 'indices/stats/IndicesStatsRequest.ts#L30-L119', 'indices.stats.Response': 'indices/stats/IndicesStatsResponse.ts#L24-L30', 'indices.stats.ShardCommit': 'indices/stats/types.ts#L112-L117', 'indices.stats.ShardFileSizeInfo': 'indices/stats/types.ts#L124-L131', @@ -1803,16 +1812,16 @@ 'indices.stats.ShardSequenceNumber': 'indices/stats/types.ts#L176-L180', 'indices.stats.ShardStats': 'indices/stats/types.ts#L192-L223', 'indices.stats.ShardsTotalStats': 'indices/stats/types.ts#L182-L184', -'indices.unfreeze.Request': 'indices/unfreeze/IndicesUnfreezeRequest.ts#L24-L86', +'indices.unfreeze.Request': 'indices/unfreeze/IndicesUnfreezeRequest.ts#L24-L87', 'indices.unfreeze.Response': 'indices/unfreeze/IndicesUnfreezeResponse.ts#L20-L25', 'indices.update_aliases.Action': 'indices/update_aliases/types.ts#L23-L39', 'indices.update_aliases.AddAction': 'indices/update_aliases/types.ts#L41-L95', 'indices.update_aliases.RemoveAction': 'indices/update_aliases/types.ts#L97-L122', 'indices.update_aliases.RemoveIndexAction': 'indices/update_aliases/types.ts#L124-L139', -'indices.update_aliases.Request': 'indices/update_aliases/IndicesUpdateAliasesRequest.ts#L24-L59', +'indices.update_aliases.Request': 'indices/update_aliases/IndicesUpdateAliasesRequest.ts#L25-L62', 'indices.update_aliases.Response': 'indices/update_aliases/IndicesUpdateAliasesResponse.ts#L22-L24', 'indices.validate_query.IndicesValidationExplanation': 'indices/validate_query/IndicesValidateQueryResponse.ts#L32-L37', -'indices.validate_query.Request': 'indices/validate_query/IndicesValidateQueryRequest.ts#L25-L122', +'indices.validate_query.Request': 'indices/validate_query/IndicesValidateQueryRequest.ts#L25-L124', 'indices.validate_query.Response': 'indices/validate_query/IndicesValidateQueryResponse.ts#L23-L30', 'inference._types.AdaptiveAllocations': 'inference/_types/CommonTypes.ts#L99-L116', 'inference._types.AlibabaCloudServiceSettings': 'inference/_types/CommonTypes.ts#L292-L337', @@ -1958,65 +1967,65 @@ 'inference._types.WatsonxServiceSettings': 'inference/_types/CommonTypes.ts#L1658-L1695', 'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L1701-L1703', 'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L1697-L1699', -'inference.chat_completion_unified.Request': 'inference/chat_completion_unified/UnifiedRequest.ts#L24-L61', +'inference.chat_completion_unified.Request': 'inference/chat_completion_unified/UnifiedRequest.ts#L24-L63', 'inference.chat_completion_unified.Response': 'inference/chat_completion_unified/UnifiedResponse.ts#L22-L24', -'inference.completion.Request': 'inference/completion/CompletionRequest.ts#L25-L63', +'inference.completion.Request': 'inference/completion/CompletionRequest.ts#L25-L65', 'inference.completion.Response': 'inference/completion/CompletionResponse.ts#L22-L24', -'inference.delete.Request': 'inference/delete/DeleteRequest.ts#L24-L66', +'inference.delete.Request': 'inference/delete/DeleteRequest.ts#L24-L67', 'inference.delete.Response': 'inference/delete/DeleteResponse.ts#L22-L24', -'inference.get.Request': 'inference/get/GetRequest.ts#L24-L56', +'inference.get.Request': 'inference/get/GetRequest.ts#L24-L57', 'inference.get.Response': 'inference/get/GetResponse.ts#L22-L26', -'inference.inference.Request': 'inference/inference/InferenceRequest.ts#L26-L104', +'inference.inference.Request': 'inference/inference/InferenceRequest.ts#L26-L106', 'inference.inference.Response': 'inference/inference/InferenceResponse.ts#L22-L25', -'inference.put.Request': 'inference/put/PutRequest.ts#L26-L89', +'inference.put.Request': 'inference/put/PutRequest.ts#L26-L91', 'inference.put.Response': 'inference/put/PutResponse.ts#L22-L24', -'inference.put_alibabacloud.Request': 'inference/put_alibabacloud/PutAlibabaCloudRequest.ts#L31-L85', +'inference.put_alibabacloud.Request': 'inference/put_alibabacloud/PutAlibabaCloudRequest.ts#L31-L87', 'inference.put_alibabacloud.Response': 'inference/put_alibabacloud/PutAlibabaCloudResponse.ts#L22-L24', -'inference.put_amazonbedrock.Request': 'inference/put_amazonbedrock/PutAmazonBedrockRequest.ts#L31-L88', +'inference.put_amazonbedrock.Request': 'inference/put_amazonbedrock/PutAmazonBedrockRequest.ts#L31-L90', 'inference.put_amazonbedrock.Response': 'inference/put_amazonbedrock/PutAmazonBedrockResponse.ts#L22-L24', -'inference.put_amazonsagemaker.Request': 'inference/put_amazonsagemaker/PutAmazonSageMakerRequest.ts#L31-L86', +'inference.put_amazonsagemaker.Request': 'inference/put_amazonsagemaker/PutAmazonSageMakerRequest.ts#L31-L88', 'inference.put_amazonsagemaker.Response': 'inference/put_amazonsagemaker/PutAmazonSageMakerResponse.ts#L22-L25', -'inference.put_anthropic.Request': 'inference/put_anthropic/PutAnthropicRequest.ts#L31-L86', +'inference.put_anthropic.Request': 'inference/put_anthropic/PutAnthropicRequest.ts#L31-L88', 'inference.put_anthropic.Response': 'inference/put_anthropic/PutAnthropicResponse.ts#L22-L24', -'inference.put_azureaistudio.Request': 'inference/put_azureaistudio/PutAzureAiStudioRequest.ts#L31-L85', +'inference.put_azureaistudio.Request': 'inference/put_azureaistudio/PutAzureAiStudioRequest.ts#L31-L87', 'inference.put_azureaistudio.Response': 'inference/put_azureaistudio/PutAzureAiStudioResponse.ts#L22-L24', -'inference.put_azureopenai.Request': 'inference/put_azureopenai/PutAzureOpenAiRequest.ts#L31-L93', +'inference.put_azureopenai.Request': 'inference/put_azureopenai/PutAzureOpenAiRequest.ts#L31-L95', 'inference.put_azureopenai.Response': 'inference/put_azureopenai/PutAzureOpenAiResponse.ts#L22-L24', -'inference.put_cohere.Request': 'inference/put_cohere/PutCohereRequest.ts#L31-L86', +'inference.put_cohere.Request': 'inference/put_cohere/PutCohereRequest.ts#L31-L88', 'inference.put_cohere.Response': 'inference/put_cohere/PutCohereResponse.ts#L22-L24', -'inference.put_custom.Request': 'inference/put_custom/PutCustomRequest.ts#L30-L117', +'inference.put_custom.Request': 'inference/put_custom/PutCustomRequest.ts#L30-L119', 'inference.put_custom.Response': 'inference/put_custom/PutCustomResponse.ts#L22-L25', -'inference.put_deepseek.Request': 'inference/put_deepseek/PutDeepSeekRequest.ts#L30-L80', +'inference.put_deepseek.Request': 'inference/put_deepseek/PutDeepSeekRequest.ts#L30-L82', 'inference.put_deepseek.Response': 'inference/put_deepseek/PutDeepSeekResponse.ts#L22-L25', -'inference.put_elasticsearch.Request': 'inference/put_elasticsearch/PutElasticsearchRequest.ts#L31-L99', +'inference.put_elasticsearch.Request': 'inference/put_elasticsearch/PutElasticsearchRequest.ts#L31-L101', 'inference.put_elasticsearch.Response': 'inference/put_elasticsearch/PutElasticsearchResponse.ts#L22-L24', -'inference.put_elser.Request': 'inference/put_elser/PutElserRequest.ts#L30-L94', +'inference.put_elser.Request': 'inference/put_elser/PutElserRequest.ts#L30-L96', 'inference.put_elser.Response': 'inference/put_elser/PutElserResponse.ts#L22-L24', -'inference.put_googleaistudio.Request': 'inference/put_googleaistudio/PutGoogleAiStudioRequest.ts#L30-L79', +'inference.put_googleaistudio.Request': 'inference/put_googleaistudio/PutGoogleAiStudioRequest.ts#L30-L81', 'inference.put_googleaistudio.Response': 'inference/put_googleaistudio/PutGoogleAiStudioResponse.ts#L22-L24', -'inference.put_googlevertexai.Request': 'inference/put_googlevertexai/PutGoogleVertexAiRequest.ts#L31-L85', +'inference.put_googlevertexai.Request': 'inference/put_googlevertexai/PutGoogleVertexAiRequest.ts#L31-L87', 'inference.put_googlevertexai.Response': 'inference/put_googlevertexai/PutGoogleVertexAiResponse.ts#L22-L24', -'inference.put_hugging_face.Request': 'inference/put_hugging_face/PutHuggingFaceRequest.ts#L31-L121', +'inference.put_hugging_face.Request': 'inference/put_hugging_face/PutHuggingFaceRequest.ts#L31-L123', 'inference.put_hugging_face.Response': 'inference/put_hugging_face/PutHuggingFaceResponse.ts#L22-L24', -'inference.put_jinaai.Request': 'inference/put_jinaai/PutJinaAiRequest.ts#L31-L88', +'inference.put_jinaai.Request': 'inference/put_jinaai/PutJinaAiRequest.ts#L31-L90', 'inference.put_jinaai.Response': 'inference/put_jinaai/PutJinaAiResponse.ts#L22-L24', -'inference.put_mistral.Request': 'inference/put_mistral/PutMistralRequest.ts#L30-L79', +'inference.put_mistral.Request': 'inference/put_mistral/PutMistralRequest.ts#L30-L81', 'inference.put_mistral.Response': 'inference/put_mistral/PutMistralResponse.ts#L22-L24', -'inference.put_openai.Request': 'inference/put_openai/PutOpenAiRequest.ts#L31-L86', +'inference.put_openai.Request': 'inference/put_openai/PutOpenAiRequest.ts#L31-L88', 'inference.put_openai.Response': 'inference/put_openai/PutOpenAiResponse.ts#L22-L24', -'inference.put_voyageai.Request': 'inference/put_voyageai/PutVoyageAIRequest.ts#L31-L87', +'inference.put_voyageai.Request': 'inference/put_voyageai/PutVoyageAIRequest.ts#L31-L89', 'inference.put_voyageai.Response': 'inference/put_voyageai/PutVoyageAIResponse.ts#L22-L25', -'inference.put_watsonx.Request': 'inference/put_watsonx/PutWatsonxRequest.ts#L29-L76', +'inference.put_watsonx.Request': 'inference/put_watsonx/PutWatsonxRequest.ts#L29-L78', 'inference.put_watsonx.Response': 'inference/put_watsonx/PutWatsonxResponse.ts#L22-L24', -'inference.rerank.Request': 'inference/rerank/RerankRequest.ts#L25-L72', +'inference.rerank.Request': 'inference/rerank/RerankRequest.ts#L25-L74', 'inference.rerank.Response': 'inference/rerank/RerankResponse.ts#L22-L24', -'inference.sparse_embedding.Request': 'inference/sparse_embedding/SparseEmbeddingRequest.ts#L25-L63', +'inference.sparse_embedding.Request': 'inference/sparse_embedding/SparseEmbeddingRequest.ts#L25-L65', 'inference.sparse_embedding.Response': 'inference/sparse_embedding/SparseEmbeddingResponse.ts#L22-L24', -'inference.stream_completion.Request': 'inference/stream_completion/StreamInferenceRequest.ts#L25-L71', +'inference.stream_completion.Request': 'inference/stream_completion/StreamInferenceRequest.ts#L25-L73', 'inference.stream_completion.Response': 'inference/stream_completion/StreamInferenceResponse.ts#L22-L24', -'inference.text_embedding.Request': 'inference/text_embedding/TextEmbeddingRequest.ts#L25-L76', +'inference.text_embedding.Request': 'inference/text_embedding/TextEmbeddingRequest.ts#L25-L78', 'inference.text_embedding.Response': 'inference/text_embedding/TextEmbeddingResponse.ts#L22-L24', -'inference.update.Request': 'inference/update/UpdateInferenceRequest.ts#L25-L61', +'inference.update.Request': 'inference/update/UpdateInferenceRequest.ts#L25-L63', 'inference.update.Response': 'inference/update/UpdateInferenceResponse.ts#L22-L24', 'ingest._types.AppendProcessor': 'ingest/_types/Processors.ts#L328-L343', 'ingest._types.AttachmentProcessor': 'ingest/_types/Processors.ts#L345-L386', @@ -2091,72 +2100,72 @@ 'ingest._types.UserAgentProcessor': 'ingest/_types/Processors.ts#L514-L545', 'ingest._types.UserAgentProperty': 'ingest/_types/Processors.ts#L547-L553', 'ingest._types.Web': 'ingest/_types/Database.ts#L61-L61', -'ingest.delete_geoip_database.Request': 'ingest/delete_geoip_database/DeleteGeoipDatabaseRequest.ts#L24-L57', +'ingest.delete_geoip_database.Request': 'ingest/delete_geoip_database/DeleteGeoipDatabaseRequest.ts#L24-L58', 'ingest.delete_geoip_database.Response': 'ingest/delete_geoip_database/DeleteGeoipDatabaseResponse.ts#L22-L24', -'ingest.delete_ip_location_database.Request': 'ingest/delete_ip_location_database/DeleteIpLocationDatabaseRequest.ts#L24-L60', +'ingest.delete_ip_location_database.Request': 'ingest/delete_ip_location_database/DeleteIpLocationDatabaseRequest.ts#L24-L61', 'ingest.delete_ip_location_database.Response': 'ingest/delete_ip_location_database/DeleteIpLocationDatabaseResponse.ts#L22-L24', -'ingest.delete_pipeline.Request': 'ingest/delete_pipeline/DeletePipelineRequest.ts#L24-L61', +'ingest.delete_pipeline.Request': 'ingest/delete_pipeline/DeletePipelineRequest.ts#L24-L62', 'ingest.delete_pipeline.Response': 'ingest/delete_pipeline/DeletePipelineResponse.ts#L22-L24', 'ingest.geo_ip_stats.GeoIpDownloadStatistics': 'ingest/geo_ip_stats/types.ts#L24-L37', 'ingest.geo_ip_stats.GeoIpNodeDatabaseName': 'ingest/geo_ip_stats/types.ts#L47-L50', 'ingest.geo_ip_stats.GeoIpNodeDatabases': 'ingest/geo_ip_stats/types.ts#L39-L45', -'ingest.geo_ip_stats.Request': 'ingest/geo_ip_stats/IngestGeoIpStatsRequest.ts#L22-L38', +'ingest.geo_ip_stats.Request': 'ingest/geo_ip_stats/IngestGeoIpStatsRequest.ts#L23-L40', 'ingest.geo_ip_stats.Response': 'ingest/geo_ip_stats/IngestGeoIpStatsResponse.ts#L24-L31', 'ingest.get_geoip_database.DatabaseConfigurationMetadata': 'ingest/get_geoip_database/GetGeoipDatabaseResponse.ts#L29-L34', -'ingest.get_geoip_database.Request': 'ingest/get_geoip_database/GetGeoipDatabaseRequest.ts#L23-L51', +'ingest.get_geoip_database.Request': 'ingest/get_geoip_database/GetGeoipDatabaseRequest.ts#L23-L52', 'ingest.get_geoip_database.Response': 'ingest/get_geoip_database/GetGeoipDatabaseResponse.ts#L25-L27', 'ingest.get_ip_location_database.DatabaseConfigurationMetadata': 'ingest/get_ip_location_database/GetIpLocationDatabaseResponse.ts#L28-L34', -'ingest.get_ip_location_database.Request': 'ingest/get_ip_location_database/GetIpLocationDatabaseRequest.ts#L23-L50', +'ingest.get_ip_location_database.Request': 'ingest/get_ip_location_database/GetIpLocationDatabaseRequest.ts#L23-L51', 'ingest.get_ip_location_database.Response': 'ingest/get_ip_location_database/GetIpLocationDatabaseResponse.ts#L24-L26', -'ingest.get_pipeline.Request': 'ingest/get_pipeline/GetPipelineRequest.ts#L24-L64', +'ingest.get_pipeline.Request': 'ingest/get_pipeline/GetPipelineRequest.ts#L24-L66', 'ingest.get_pipeline.Response': 'ingest/get_pipeline/GetPipelineResponse.ts#L23-L26', -'ingest.processor_grok.Request': 'ingest/processor_grok/GrokProcessorPatternsRequest.ts#L22-L40', +'ingest.processor_grok.Request': 'ingest/processor_grok/GrokProcessorPatternsRequest.ts#L23-L42', 'ingest.processor_grok.Response': 'ingest/processor_grok/GrokProcessorPatternsResponse.ts#L22-L24', -'ingest.put_geoip_database.Request': 'ingest/put_geoip_database/PutGeoipDatabaseRequest.ts#L25-L66', +'ingest.put_geoip_database.Request': 'ingest/put_geoip_database/PutGeoipDatabaseRequest.ts#L25-L68', 'ingest.put_geoip_database.Response': 'ingest/put_geoip_database/PutGeoipDatabaseResponse.ts#L22-L24', -'ingest.put_ip_location_database.Request': 'ingest/put_ip_location_database/PutIpLocationDatabaseRequest.ts#L25-L62', +'ingest.put_ip_location_database.Request': 'ingest/put_ip_location_database/PutIpLocationDatabaseRequest.ts#L25-L64', 'ingest.put_ip_location_database.Response': 'ingest/put_ip_location_database/PutIpLocationDatabaseResponse.ts#L22-L24', -'ingest.put_pipeline.Request': 'ingest/put_pipeline/PutPipelineRequest.ts#L25-L90', +'ingest.put_pipeline.Request': 'ingest/put_pipeline/PutPipelineRequest.ts#L25-L92', 'ingest.put_pipeline.Response': 'ingest/put_pipeline/PutPipelineResponse.ts#L22-L24', -'ingest.simulate.Request': 'ingest/simulate/SimulatePipelineRequest.ts#L25-L73', +'ingest.simulate.Request': 'ingest/simulate/SimulatePipelineRequest.ts#L25-L75', 'ingest.simulate.Response': 'ingest/simulate/SimulatePipelineResponse.ts#L22-L24', 'license._types.License': 'license/_types/License.ts#L42-L53', 'license._types.LicenseStatus': 'license/_types/License.ts#L35-L40', 'license._types.LicenseType': 'license/_types/License.ts#L23-L33', -'license.delete.Request': 'license/delete/DeleteLicenseRequest.ts#L23-L54', +'license.delete.Request': 'license/delete/DeleteLicenseRequest.ts#L24-L56', 'license.delete.Response': 'license/delete/DeleteLicenseResponse.ts#L22-L24', 'license.get.LicenseInformation': 'license/get/types.ts#L25-L38', -'license.get.Request': 'license/get/GetLicenseRequest.ts#L22-L56', +'license.get.Request': 'license/get/GetLicenseRequest.ts#L23-L58', 'license.get.Response': 'license/get/GetLicenseResponse.ts#L22-L24', -'license.get_basic_status.Request': 'license/get_basic_status/GetBasicLicenseStatusRequest.ts#L22-L36', +'license.get_basic_status.Request': 'license/get_basic_status/GetBasicLicenseStatusRequest.ts#L23-L38', 'license.get_basic_status.Response': 'license/get_basic_status/GetBasicLicenseStatusResponse.ts#L20-L22', -'license.get_trial_status.Request': 'license/get_trial_status/GetTrialLicenseStatusRequest.ts#L22-L36', +'license.get_trial_status.Request': 'license/get_trial_status/GetTrialLicenseStatusRequest.ts#L23-L38', 'license.get_trial_status.Response': 'license/get_trial_status/GetTrialLicenseStatusResponse.ts#L20-L22', 'license.post.Acknowledgement': 'license/post/types.ts#L20-L23', -'license.post.Request': 'license/post/PostLicenseRequest.ts#L24-L70', +'license.post.Request': 'license/post/PostLicenseRequest.ts#L25-L73', 'license.post.Response': 'license/post/PostLicenseResponse.ts#L23-L29', -'license.post_start_basic.Request': 'license/post_start_basic/StartBasicLicenseRequest.ts#L23-L59', +'license.post_start_basic.Request': 'license/post_start_basic/StartBasicLicenseRequest.ts#L24-L65', 'license.post_start_basic.Response': 'license/post_start_basic/StartBasicLicenseResponse.ts#L23-L31', -'license.post_start_trial.Request': 'license/post_start_trial/StartTrialLicenseRequest.ts#L23-L52', +'license.post_start_trial.Request': 'license/post_start_trial/StartTrialLicenseRequest.ts#L24-L62', 'license.post_start_trial.Response': 'license/post_start_trial/StartTrialLicenseResponse.ts#L22-L29', 'logstash._types.Pipeline': 'logstash/_types/Pipeline.ts#L56-L87', 'logstash._types.PipelineMetadata': 'logstash/_types/Pipeline.ts#L23-L26', 'logstash._types.PipelineSettings': 'logstash/_types/Pipeline.ts#L28-L55', -'logstash.delete_pipeline.Request': 'logstash/delete_pipeline/LogstashDeletePipelineRequest.ts#L23-L47', -'logstash.get_pipeline.Request': 'logstash/get_pipeline/LogstashGetPipelineRequest.ts#L23-L50', +'logstash.delete_pipeline.Request': 'logstash/delete_pipeline/LogstashDeletePipelineRequest.ts#L23-L48', +'logstash.get_pipeline.Request': 'logstash/get_pipeline/LogstashGetPipelineRequest.ts#L23-L51', 'logstash.get_pipeline.Response': 'logstash/get_pipeline/LogstashGetPipelineResponse.ts#L24-L27', -'logstash.put_pipeline.Request': 'logstash/put_pipeline/LogstashPutPipelineRequest.ts#L24-L51', +'logstash.put_pipeline.Request': 'logstash/put_pipeline/LogstashPutPipelineRequest.ts#L24-L53', 'migration.deprecations.Deprecation': 'migration/deprecations/types.ts#L32-L47', 'migration.deprecations.DeprecationLevel': 'migration/deprecations/types.ts#L23-L30', -'migration.deprecations.Request': 'migration/deprecations/DeprecationInfoRequest.ts#L23-L49', +'migration.deprecations.Request': 'migration/deprecations/DeprecationInfoRequest.ts#L23-L50', 'migration.deprecations.Response': 'migration/deprecations/DeprecationInfoResponse.ts#L23-L54', 'migration.get_feature_upgrade_status.MigrationFeature': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L37-L42', 'migration.get_feature_upgrade_status.MigrationFeatureIndexInfo': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L44-L48', 'migration.get_feature_upgrade_status.MigrationStatus': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L30-L35', -'migration.get_feature_upgrade_status.Request': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusRequest.ts#L22-L42', +'migration.get_feature_upgrade_status.Request': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusRequest.ts#L23-L44', 'migration.get_feature_upgrade_status.Response': 'migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L23-L28', 'migration.post_feature_upgrade.MigrationFeature': 'migration/post_feature_upgrade/PostFeatureUpgradeResponse.ts#L28-L30', -'migration.post_feature_upgrade.Request': 'migration/post_feature_upgrade/PostFeatureUpgradeRequest.ts#L22-L43', +'migration.post_feature_upgrade.Request': 'migration/post_feature_upgrade/PostFeatureUpgradeRequest.ts#L23-L45', 'migration.post_feature_upgrade.Response': 'migration/post_feature_upgrade/PostFeatureUpgradeResponse.ts#L20-L26', 'ml._types.AdaptiveAllocationsSettings': 'ml/_types/TrainedModel.ts#L109-L125', 'ml._types.AnalysisConfig': 'ml/_types/Analysis.ts#L29-L77', @@ -2328,35 +2337,35 @@ 'ml._types.XlmRobertaTokenizationConfig': 'ml/_types/inference.ts#L200-L200', 'ml._types.ZeroShotClassificationInferenceOptions': 'ml/_types/inference.ts#L216-L237', 'ml._types.ZeroShotClassificationInferenceUpdateOptions': 'ml/_types/inference.ts#L393-L402', -'ml.clear_trained_model_deployment_cache.Request': 'ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheRequest.ts#L23-L50', +'ml.clear_trained_model_deployment_cache.Request': 'ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheRequest.ts#L23-L52', 'ml.clear_trained_model_deployment_cache.Response': 'ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheResponse.ts#L20-L24', -'ml.close_job.Request': 'ml/close_job/MlCloseJobRequest.ts#L24-L85', +'ml.close_job.Request': 'ml/close_job/MlCloseJobRequest.ts#L24-L87', 'ml.close_job.Response': 'ml/close_job/MlCloseJobResponse.ts#L20-L22', -'ml.delete_calendar.Request': 'ml/delete_calendar/MlDeleteCalendarRequest.ts#L23-L45', +'ml.delete_calendar.Request': 'ml/delete_calendar/MlDeleteCalendarRequest.ts#L23-L46', 'ml.delete_calendar.Response': 'ml/delete_calendar/MlDeleteCalendarResponse.ts#L22-L24', -'ml.delete_calendar_event.Request': 'ml/delete_calendar_event/MlDeleteCalendarEventRequest.ts#L23-L49', +'ml.delete_calendar_event.Request': 'ml/delete_calendar_event/MlDeleteCalendarEventRequest.ts#L23-L50', 'ml.delete_calendar_event.Response': 'ml/delete_calendar_event/MlDeleteCalendarEventResponse.ts#L22-L24', -'ml.delete_calendar_job.Request': 'ml/delete_calendar_job/MlDeleteCalendarJobRequest.ts#L23-L50', +'ml.delete_calendar_job.Request': 'ml/delete_calendar_job/MlDeleteCalendarJobRequest.ts#L23-L51', 'ml.delete_calendar_job.Response': 'ml/delete_calendar_job/MlDeleteCalendarJobResponse.ts#L22-L31', -'ml.delete_data_frame_analytics.Request': 'ml/delete_data_frame_analytics/MlDeleteDataFrameAnalyticsRequest.ts#L24-L58', +'ml.delete_data_frame_analytics.Request': 'ml/delete_data_frame_analytics/MlDeleteDataFrameAnalyticsRequest.ts#L24-L59', 'ml.delete_data_frame_analytics.Response': 'ml/delete_data_frame_analytics/MlDeleteDataFrameAnalyticsResponse.ts#L22-L24', -'ml.delete_datafeed.Request': 'ml/delete_datafeed/MlDeleteDatafeedRequest.ts#L23-L55', +'ml.delete_datafeed.Request': 'ml/delete_datafeed/MlDeleteDatafeedRequest.ts#L23-L56', 'ml.delete_datafeed.Response': 'ml/delete_datafeed/MlDeleteDatafeedResponse.ts#L22-L24', -'ml.delete_expired_data.Request': 'ml/delete_expired_data/MlDeleteExpiredDataRequest.ts#L25-L85', +'ml.delete_expired_data.Request': 'ml/delete_expired_data/MlDeleteExpiredDataRequest.ts#L25-L87', 'ml.delete_expired_data.Response': 'ml/delete_expired_data/MlDeleteExpiredDataResponse.ts#L20-L22', -'ml.delete_filter.Request': 'ml/delete_filter/MlDeleteFilterRequest.ts#L23-L48', +'ml.delete_filter.Request': 'ml/delete_filter/MlDeleteFilterRequest.ts#L23-L49', 'ml.delete_filter.Response': 'ml/delete_filter/MlDeleteFilterResponse.ts#L22-L24', -'ml.delete_forecast.Request': 'ml/delete_forecast/MlDeleteForecastRequest.ts#L24-L78', +'ml.delete_forecast.Request': 'ml/delete_forecast/MlDeleteForecastRequest.ts#L24-L79', 'ml.delete_forecast.Response': 'ml/delete_forecast/MlDeleteForecastResponse.ts#L22-L24', -'ml.delete_job.Request': 'ml/delete_job/MlDeleteJobRequest.ts#L23-L73', +'ml.delete_job.Request': 'ml/delete_job/MlDeleteJobRequest.ts#L23-L74', 'ml.delete_job.Response': 'ml/delete_job/MlDeleteJobResponse.ts#L22-L24', -'ml.delete_model_snapshot.Request': 'ml/delete_model_snapshot/MlDeleteModelSnapshotRequest.ts#L23-L53', +'ml.delete_model_snapshot.Request': 'ml/delete_model_snapshot/MlDeleteModelSnapshotRequest.ts#L23-L54', 'ml.delete_model_snapshot.Response': 'ml/delete_model_snapshot/MlDeleteModelSnapshotResponse.ts#L22-L24', -'ml.delete_trained_model.Request': 'ml/delete_trained_model/MlDeleteTrainedModelRequest.ts#L24-L57', +'ml.delete_trained_model.Request': 'ml/delete_trained_model/MlDeleteTrainedModelRequest.ts#L24-L58', 'ml.delete_trained_model.Response': 'ml/delete_trained_model/MlDeleteTrainedModelResponse.ts#L22-L24', -'ml.delete_trained_model_alias.Request': 'ml/delete_trained_model_alias/MlDeleteTrainedModelAliasRequest.ts#L23-L53', +'ml.delete_trained_model_alias.Request': 'ml/delete_trained_model_alias/MlDeleteTrainedModelAliasRequest.ts#L23-L55', 'ml.delete_trained_model_alias.Response': 'ml/delete_trained_model_alias/MlDeleteTrainedModelAliasResponse.ts#L22-L24', -'ml.estimate_model_memory.Request': 'ml/estimate_model_memory/MlEstimateModelMemoryRequest.ts#L26-L71', +'ml.estimate_model_memory.Request': 'ml/estimate_model_memory/MlEstimateModelMemoryRequest.ts#L26-L73', 'ml.estimate_model_memory.Response': 'ml/estimate_model_memory/MlEstimateModelMemoryResponse.ts#L20-L24', 'ml.evaluate_data_frame.ConfusionMatrixItem': 'ml/evaluate_data_frame/types.ts#L125-L130', 'ml.evaluate_data_frame.ConfusionMatrixPrediction': 'ml/evaluate_data_frame/types.ts#L132-L135', @@ -2372,88 +2381,88 @@ 'ml.evaluate_data_frame.DataframeEvaluationValue': 'ml/evaluate_data_frame/types.ts#L87-L89', 'ml.evaluate_data_frame.DataframeOutlierDetectionSummary': 'ml/evaluate_data_frame/types.ts#L24-L42', 'ml.evaluate_data_frame.DataframeRegressionSummary': 'ml/evaluate_data_frame/types.ts#L68-L85', -'ml.evaluate_data_frame.Request': 'ml/evaluate_data_frame/MlEvaluateDataFrameRequest.ts#L25-L61', +'ml.evaluate_data_frame.Request': 'ml/evaluate_data_frame/MlEvaluateDataFrameRequest.ts#L25-L63', 'ml.evaluate_data_frame.Response': 'ml/evaluate_data_frame/MlEvaluateDataFrameResponse.ts#L26-L44', -'ml.explain_data_frame_analytics.Request': 'ml/explain_data_frame_analytics/MlExplainDataFrameAnalyticsRequest.ts#L30-L120', +'ml.explain_data_frame_analytics.Request': 'ml/explain_data_frame_analytics/MlExplainDataFrameAnalyticsRequest.ts#L30-L122', 'ml.explain_data_frame_analytics.Response': 'ml/explain_data_frame_analytics/MlExplainDataFrameAnalyticsResponse.ts#L25-L32', -'ml.flush_job.Request': 'ml/flush_job/MlFlushJobRequest.ts#L24-L107', +'ml.flush_job.Request': 'ml/flush_job/MlFlushJobRequest.ts#L24-L109', 'ml.flush_job.Response': 'ml/flush_job/MlFlushJobResponse.ts#L22-L31', -'ml.forecast.Request': 'ml/forecast/MlForecastJobRequest.ts#L24-L95', +'ml.forecast.Request': 'ml/forecast/MlForecastJobRequest.ts#L24-L97', 'ml.forecast.Response': 'ml/forecast/MlForecastJobResponse.ts#L22-L27', -'ml.get_buckets.Request': 'ml/get_buckets/MlGetBucketsRequest.ts#L26-L145', +'ml.get_buckets.Request': 'ml/get_buckets/MlGetBucketsRequest.ts#L26-L147', 'ml.get_buckets.Response': 'ml/get_buckets/MlGetBucketsResponse.ts#L23-L28', -'ml.get_calendar_events.Request': 'ml/get_calendar_events/MlGetCalendarEventsRequest.ts#L25-L61', +'ml.get_calendar_events.Request': 'ml/get_calendar_events/MlGetCalendarEventsRequest.ts#L25-L62', 'ml.get_calendar_events.Response': 'ml/get_calendar_events/MlGetCalendarEventsResponse.ts#L23-L28', 'ml.get_calendars.Calendar': 'ml/get_calendars/types.ts#L22-L29', -'ml.get_calendars.Request': 'ml/get_calendars/MlGetCalendarsRequest.ts#L25-L63', +'ml.get_calendars.Request': 'ml/get_calendars/MlGetCalendarsRequest.ts#L25-L65', 'ml.get_calendars.Response': 'ml/get_calendars/MlGetCalendarsResponse.ts#L23-L25', -'ml.get_categories.Request': 'ml/get_categories/MlGetCategoriesRequest.ts#L25-L82', +'ml.get_categories.Request': 'ml/get_categories/MlGetCategoriesRequest.ts#L25-L84', 'ml.get_categories.Response': 'ml/get_categories/MlGetCategoriesResponse.ts#L23-L28', -'ml.get_data_frame_analytics.Request': 'ml/get_data_frame_analytics/MlGetDataFrameAnalyticsRequest.ts#L24-L89', +'ml.get_data_frame_analytics.Request': 'ml/get_data_frame_analytics/MlGetDataFrameAnalyticsRequest.ts#L24-L90', 'ml.get_data_frame_analytics.Response': 'ml/get_data_frame_analytics/MlGetDataFrameAnalyticsResponse.ts#L23-L29', -'ml.get_data_frame_analytics_stats.Request': 'ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts#L24-L84', +'ml.get_data_frame_analytics_stats.Request': 'ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts#L24-L85', 'ml.get_data_frame_analytics_stats.Response': 'ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsResponse.ts#L23-L29', -'ml.get_datafeed_stats.Request': 'ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts#L23-L72', +'ml.get_datafeed_stats.Request': 'ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts#L23-L73', 'ml.get_datafeed_stats.Response': 'ml/get_datafeed_stats/MlGetDatafeedStatsResponse.ts#L23-L28', -'ml.get_datafeeds.Request': 'ml/get_datafeeds/MlGetDatafeedsRequest.ts#L23-L78', +'ml.get_datafeeds.Request': 'ml/get_datafeeds/MlGetDatafeedsRequest.ts#L23-L79', 'ml.get_datafeeds.Response': 'ml/get_datafeeds/MlGetDatafeedsResponse.ts#L23-L28', -'ml.get_filters.Request': 'ml/get_filters/MlGetFiltersRequest.ts#L24-L63', +'ml.get_filters.Request': 'ml/get_filters/MlGetFiltersRequest.ts#L24-L64', 'ml.get_filters.Response': 'ml/get_filters/MlGetFiltersResponse.ts#L23-L28', -'ml.get_influencers.Request': 'ml/get_influencers/MlGetInfluencersRequest.ts#L26-L105', +'ml.get_influencers.Request': 'ml/get_influencers/MlGetInfluencersRequest.ts#L26-L107', 'ml.get_influencers.Response': 'ml/get_influencers/MlGetInfluencersResponse.ts#L23-L29', -'ml.get_job_stats.Request': 'ml/get_job_stats/MlGetJobStatsRequest.ts#L23-L68', +'ml.get_job_stats.Request': 'ml/get_job_stats/MlGetJobStatsRequest.ts#L23-L69', 'ml.get_job_stats.Response': 'ml/get_job_stats/MlGetJobStatsResponse.ts#L23-L28', -'ml.get_jobs.Request': 'ml/get_jobs/MlGetJobsRequest.ts#L23-L78', +'ml.get_jobs.Request': 'ml/get_jobs/MlGetJobsRequest.ts#L23-L79', 'ml.get_jobs.Response': 'ml/get_jobs/MlGetJobsResponse.ts#L23-L28', 'ml.get_memory_stats.JvmStats': 'ml/get_memory_stats/types.ts#L50-L63', 'ml.get_memory_stats.MemMlStats': 'ml/get_memory_stats/types.ts#L90-L111', 'ml.get_memory_stats.MemStats': 'ml/get_memory_stats/types.ts#L65-L88', 'ml.get_memory_stats.Memory': 'ml/get_memory_stats/types.ts#L25-L48', -'ml.get_memory_stats.Request': 'ml/get_memory_stats/MlGetMemoryStatsRequest.ts#L24-L66', +'ml.get_memory_stats.Request': 'ml/get_memory_stats/MlGetMemoryStatsRequest.ts#L24-L67', 'ml.get_memory_stats.Response': 'ml/get_memory_stats/MlGetMemoryStatsResponse.ts#L25-L31', -'ml.get_model_snapshot_upgrade_stats.Request': 'ml/get_model_snapshot_upgrade_stats/MlGetModelSnapshotUpgradeStatsRequest.ts#L23-L65', +'ml.get_model_snapshot_upgrade_stats.Request': 'ml/get_model_snapshot_upgrade_stats/MlGetModelSnapshotUpgradeStatsRequest.ts#L23-L66', 'ml.get_model_snapshot_upgrade_stats.Response': 'ml/get_model_snapshot_upgrade_stats/MlGetModelSnapshotUpgradeStatsResponse.ts#L23-L28', -'ml.get_model_snapshots.Request': 'ml/get_model_snapshots/MlGetModelSnapshotsRequest.ts#L26-L108', +'ml.get_model_snapshots.Request': 'ml/get_model_snapshots/MlGetModelSnapshotsRequest.ts#L26-L110', 'ml.get_model_snapshots.Response': 'ml/get_model_snapshots/MlGetModelSnapshotsResponse.ts#L23-L28', -'ml.get_overall_buckets.Request': 'ml/get_overall_buckets/MlGetOverallBucketsRequest.ts#L25-L153', +'ml.get_overall_buckets.Request': 'ml/get_overall_buckets/MlGetOverallBucketsRequest.ts#L25-L155', 'ml.get_overall_buckets.Response': 'ml/get_overall_buckets/MlGetOverallBucketsResponse.ts#L23-L29', -'ml.get_records.Request': 'ml/get_records/MlGetAnomalyRecordsRequest.ts#L26-L135', +'ml.get_records.Request': 'ml/get_records/MlGetAnomalyRecordsRequest.ts#L26-L137', 'ml.get_records.Response': 'ml/get_records/MlGetAnomalyRecordsResponse.ts#L23-L28', -'ml.get_trained_models.Request': 'ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L110', +'ml.get_trained_models.Request': 'ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L111', 'ml.get_trained_models.Response': 'ml/get_trained_models/MlGetTrainedModelResponse.ts#L23-L34', -'ml.get_trained_models_stats.Request': 'ml/get_trained_models_stats/MlGetTrainedModelStatsRequest.ts#L24-L77', +'ml.get_trained_models_stats.Request': 'ml/get_trained_models_stats/MlGetTrainedModelStatsRequest.ts#L24-L78', 'ml.get_trained_models_stats.Response': 'ml/get_trained_models_stats/MlGetTrainedModelStatsResponse.ts#L23-L33', -'ml.infer_trained_model.Request': 'ml/infer_trained_model/MlInferTrainedModelRequest.ts#L27-L72', +'ml.infer_trained_model.Request': 'ml/infer_trained_model/MlInferTrainedModelRequest.ts#L27-L74', 'ml.infer_trained_model.Response': 'ml/infer_trained_model/MlInferTrainedModelResponse.ts#L22-L26', 'ml.info.AnomalyDetectors': 'ml/info/types.ts#L46-L52', 'ml.info.Datafeeds': 'ml/info/types.ts#L42-L44', 'ml.info.Defaults': 'ml/info/types.ts#L24-L27', 'ml.info.Limits': 'ml/info/types.ts#L34-L40', 'ml.info.NativeCode': 'ml/info/types.ts#L29-L32', -'ml.info.Request': 'ml/info/MlInfoRequest.ts#L22-L44', +'ml.info.Request': 'ml/info/MlInfoRequest.ts#L23-L46', 'ml.info.Response': 'ml/info/MlInfoResponse.ts#L22-L29', -'ml.open_job.Request': 'ml/open_job/MlOpenJobRequest.ts#L24-L67', +'ml.open_job.Request': 'ml/open_job/MlOpenJobRequest.ts#L24-L69', 'ml.open_job.Response': 'ml/open_job/MlOpenJobResponse.ts#L22-L31', -'ml.post_calendar_events.Request': 'ml/post_calendar_events/MlPostCalendarEventsRequest.ts#L24-L48', +'ml.post_calendar_events.Request': 'ml/post_calendar_events/MlPostCalendarEventsRequest.ts#L24-L50', 'ml.post_calendar_events.Response': 'ml/post_calendar_events/MlPostCalendarEventsResponse.ts#L22-L24', -'ml.post_data.Request': 'ml/post_data/MlPostJobDataRequest.ts#L24-L76', +'ml.post_data.Request': 'ml/post_data/MlPostJobDataRequest.ts#L24-L78', 'ml.post_data.Response': 'ml/post_data/MlPostJobDataResponse.ts#L24-L45', 'ml.preview_data_frame_analytics.DataframePreviewConfig': 'ml/preview_data_frame_analytics/types.ts#L27-L33', -'ml.preview_data_frame_analytics.Request': 'ml/preview_data_frame_analytics/MlPreviewDataFrameAnalyticsRequest.ts#L24-L60', +'ml.preview_data_frame_analytics.Request': 'ml/preview_data_frame_analytics/MlPreviewDataFrameAnalyticsRequest.ts#L24-L62', 'ml.preview_data_frame_analytics.Response': 'ml/preview_data_frame_analytics/MlPreviewDataFrameAnalyticsResponse.ts#L23-L28', -'ml.preview_datafeed.Request': 'ml/preview_datafeed/MlPreviewDatafeedRequest.ts#L26-L81', +'ml.preview_datafeed.Request': 'ml/preview_datafeed/MlPreviewDatafeedRequest.ts#L26-L85', 'ml.preview_datafeed.Response': 'ml/preview_datafeed/MlPreviewDatafeedResponse.ts#L20-L23', -'ml.put_calendar.Request': 'ml/put_calendar/MlPutCalendarRequest.ts#L23-L51', +'ml.put_calendar.Request': 'ml/put_calendar/MlPutCalendarRequest.ts#L23-L53', 'ml.put_calendar.Response': 'ml/put_calendar/MlPutCalendarResponse.ts#L22-L31', -'ml.put_calendar_job.Request': 'ml/put_calendar_job/MlPutCalendarJobRequest.ts#L23-L45', +'ml.put_calendar_job.Request': 'ml/put_calendar_job/MlPutCalendarJobRequest.ts#L23-L46', 'ml.put_calendar_job.Response': 'ml/put_calendar_job/MlPutCalendarJobResponse.ts#L22-L31', -'ml.put_data_frame_analytics.Request': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L30-L155', +'ml.put_data_frame_analytics.Request': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L36-L163', 'ml.put_data_frame_analytics.Response': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L47', -'ml.put_datafeed.Request': 'ml/put_datafeed/MlPutDatafeedRequest.ts#L37-L184', +'ml.put_datafeed.Request': 'ml/put_datafeed/MlPutDatafeedRequest.ts#L38-L187', 'ml.put_datafeed.Response': 'ml/put_datafeed/MlPutDatafeedResponse.ts#L31-L49', -'ml.put_filter.Request': 'ml/put_filter/MlPutFilterRequest.ts#L23-L58', +'ml.put_filter.Request': 'ml/put_filter/MlPutFilterRequest.ts#L23-L60', 'ml.put_filter.Response': 'ml/put_filter/MlPutFilterResponse.ts#L22-L28', -'ml.put_job.Request': 'ml/put_job/MlPutJobRequest.ts#L30-L151', +'ml.put_job.Request': 'ml/put_job/MlPutJobRequest.ts#L30-L153', 'ml.put_job.Response': 'ml/put_job/MlPutJobResponse.ts#L29-L52', 'ml.put_trained_model.AggregateOutput': 'ml/put_trained_model/types.ts#L101-L106', 'ml.put_trained_model.Definition': 'ml/put_trained_model/types.ts#L24-L29', @@ -2462,56 +2471,56 @@ 'ml.put_trained_model.Input': 'ml/put_trained_model/types.ts#L56-L58', 'ml.put_trained_model.OneHotEncodingPreprocessor': 'ml/put_trained_model/types.ts#L44-L47', 'ml.put_trained_model.Preprocessor': 'ml/put_trained_model/types.ts#L31-L36', -'ml.put_trained_model.Request': 'ml/put_trained_model/MlPutTrainedModelRequest.ts#L31-L137', +'ml.put_trained_model.Request': 'ml/put_trained_model/MlPutTrainedModelRequest.ts#L31-L139', 'ml.put_trained_model.Response': 'ml/put_trained_model/MlPutTrainedModelResponse.ts#L22-L24', 'ml.put_trained_model.TargetMeanEncodingPreprocessor': 'ml/put_trained_model/types.ts#L49-L54', 'ml.put_trained_model.TrainedModel': 'ml/put_trained_model/types.ts#L60-L72', 'ml.put_trained_model.TrainedModelTree': 'ml/put_trained_model/types.ts#L74-L79', 'ml.put_trained_model.TrainedModelTreeNode': 'ml/put_trained_model/types.ts#L81-L91', 'ml.put_trained_model.Weights': 'ml/put_trained_model/types.ts#L108-L110', -'ml.put_trained_model_alias.Request': 'ml/put_trained_model_alias/MlPutTrainedModelAliasRequest.ts#L23-L74', +'ml.put_trained_model_alias.Request': 'ml/put_trained_model_alias/MlPutTrainedModelAliasRequest.ts#L23-L76', 'ml.put_trained_model_alias.Response': 'ml/put_trained_model_alias/MlPutTrainedModelAliasResponse.ts#L22-L24', -'ml.put_trained_model_definition_part.Request': 'ml/put_trained_model_definition_part/MlPutTrainedModelDefinitionPartRequest.ts#L24-L65', +'ml.put_trained_model_definition_part.Request': 'ml/put_trained_model_definition_part/MlPutTrainedModelDefinitionPartRequest.ts#L24-L67', 'ml.put_trained_model_definition_part.Response': 'ml/put_trained_model_definition_part/MlPutTrainedModelDefinitionPartResponse.ts#L22-L24', -'ml.put_trained_model_vocabulary.Request': 'ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts#L24-L68', +'ml.put_trained_model_vocabulary.Request': 'ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts#L24-L70', 'ml.put_trained_model_vocabulary.Response': 'ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyResponse.ts#L22-L24', -'ml.reset_job.Request': 'ml/reset_job/MlResetJobRequest.ts#L23-L65', +'ml.reset_job.Request': 'ml/reset_job/MlResetJobRequest.ts#L23-L66', 'ml.reset_job.Response': 'ml/reset_job/MlResetJobResponse.ts#L22-L24', -'ml.revert_model_snapshot.Request': 'ml/revert_model_snapshot/MlRevertModelSnapshotRequest.ts#L23-L77', +'ml.revert_model_snapshot.Request': 'ml/revert_model_snapshot/MlRevertModelSnapshotRequest.ts#L23-L79', 'ml.revert_model_snapshot.Response': 'ml/revert_model_snapshot/MlRevertModelSnapshotResponse.ts#L22-L24', -'ml.set_upgrade_mode.Request': 'ml/set_upgrade_mode/MlSetUpgradeModeRequest.ts#L23-L64', +'ml.set_upgrade_mode.Request': 'ml/set_upgrade_mode/MlSetUpgradeModeRequest.ts#L24-L66', 'ml.set_upgrade_mode.Response': 'ml/set_upgrade_mode/MlSetUpgradeModeResponse.ts#L22-L24', -'ml.start_data_frame_analytics.Request': 'ml/start_data_frame_analytics/MlStartDataFrameAnalyticsRequest.ts#L24-L68', +'ml.start_data_frame_analytics.Request': 'ml/start_data_frame_analytics/MlStartDataFrameAnalyticsRequest.ts#L24-L82', 'ml.start_data_frame_analytics.Response': 'ml/start_data_frame_analytics/MlStartDataFrameAnalyticsResponse.ts#L22-L34', -'ml.start_datafeed.Request': 'ml/start_datafeed/MlStartDatafeedRequest.ts#L24-L99', +'ml.start_datafeed.Request': 'ml/start_datafeed/MlStartDatafeedRequest.ts#L24-L101', 'ml.start_datafeed.Response': 'ml/start_datafeed/MlStartDatafeedResponse.ts#L22-L34', -'ml.start_trained_model_deployment.Request': 'ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts#L30-L111', +'ml.start_trained_model_deployment.Request': 'ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts#L30-L114', 'ml.start_trained_model_deployment.Response': 'ml/start_trained_model_deployment/MlStartTrainedModelDeploymentResponse.ts#L22-L26', -'ml.stop_data_frame_analytics.Request': 'ml/stop_data_frame_analytics/MlStopDataFrameAnalyticsRequest.ts#L24-L78', +'ml.stop_data_frame_analytics.Request': 'ml/stop_data_frame_analytics/MlStopDataFrameAnalyticsRequest.ts#L24-L112', 'ml.stop_data_frame_analytics.Response': 'ml/stop_data_frame_analytics/MlStopDataFrameAnalyticsResponse.ts#L20-L22', -'ml.stop_datafeed.Request': 'ml/stop_datafeed/MlStopDatafeedRequest.ts#L24-L86', +'ml.stop_datafeed.Request': 'ml/stop_datafeed/MlStopDatafeedRequest.ts#L24-L88', 'ml.stop_datafeed.Response': 'ml/stop_datafeed/MlStopDatafeedResponse.ts#L20-L22', -'ml.stop_trained_model_deployment.Request': 'ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentRequest.ts#L23-L61', +'ml.stop_trained_model_deployment.Request': 'ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentRequest.ts#L23-L83', 'ml.stop_trained_model_deployment.Response': 'ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentResponse.ts#L20-L22', -'ml.update_data_frame_analytics.Request': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsRequest.ts#L24-L80', +'ml.update_data_frame_analytics.Request': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsRequest.ts#L24-L82', 'ml.update_data_frame_analytics.Response': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsResponse.ts#L30-L45', -'ml.update_datafeed.Request': 'ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L164', +'ml.update_datafeed.Request': 'ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L166', 'ml.update_datafeed.Response': 'ml/update_datafeed/MlUpdateDatafeedResponse.ts#L31-L49', -'ml.update_filter.Request': 'ml/update_filter/MlUpdateFilterRequest.ts#L23-L60', +'ml.update_filter.Request': 'ml/update_filter/MlUpdateFilterRequest.ts#L23-L62', 'ml.update_filter.Response': 'ml/update_filter/MlUpdateFilterResponse.ts#L22-L28', -'ml.update_job.Request': 'ml/update_job/MlUpdateJobRequest.ts#L33-L147', +'ml.update_job.Request': 'ml/update_job/MlUpdateJobRequest.ts#L33-L149', 'ml.update_job.Response': 'ml/update_job/MlUpdateJobResponse.ts#L29-L53', -'ml.update_model_snapshot.Request': 'ml/update_model_snapshot/MlUpdateModelSnapshotRequest.ts#L23-L63', +'ml.update_model_snapshot.Request': 'ml/update_model_snapshot/MlUpdateModelSnapshotRequest.ts#L23-L65', 'ml.update_model_snapshot.Response': 'ml/update_model_snapshot/MlUpdateModelSnapshotResponse.ts#L22-L27', -'ml.update_trained_model_deployment.Request': 'ml/update_trained_model_deployment/MlUpdateTrainedModelDeploymentRequest.ts#L25-L78', +'ml.update_trained_model_deployment.Request': 'ml/update_trained_model_deployment/MlUpdateTrainedModelDeploymentRequest.ts#L25-L80', 'ml.update_trained_model_deployment.Response': 'ml/update_trained_model_deployment/MlUpdateTrainedModelDeploymentResponse.ts#L22-L26', -'ml.upgrade_job_snapshot.Request': 'ml/upgrade_job_snapshot/MlUpgradeJobSnapshotRequest.ts#L24-L72', +'ml.upgrade_job_snapshot.Request': 'ml/upgrade_job_snapshot/MlUpgradeJobSnapshotRequest.ts#L24-L73', 'ml.upgrade_job_snapshot.Response': 'ml/upgrade_job_snapshot/MlUpgradeJobSnapshotResponse.ts#L22-L31', -'ml.validate.Request': 'ml/validate/MlValidateJobRequest.ts#L27-L52', +'ml.validate.Request': 'ml/validate/MlValidateJobRequest.ts#L27-L54', 'ml.validate.Response': 'ml/validate/MlValidateJobResponse.ts#L22-L24', -'ml.validate_detector.Request': 'ml/validate_detector/MlValidateDetectorRequest.ts#L23-L40', +'ml.validate_detector.Request': 'ml/validate_detector/MlValidateDetectorRequest.ts#L24-L43', 'ml.validate_detector.Response': 'ml/validate_detector/MlValidateDetectorResponse.ts#L22-L24', -'monitoring.bulk.Request': 'monitoring/bulk/BulkMonitoringRequest.ts#L24-L59', +'monitoring.bulk.Request': 'monitoring/bulk/BulkMonitoringRequest.ts#L25-L62', 'monitoring.bulk.Response': 'monitoring/bulk/BulkMonitoringResponse.ts#L23-L32', 'nodes._types.AdaptiveSelection': 'nodes/_types/Stats.ts#L441-L470', 'nodes._types.Breaker': 'nodes/_types/Stats.ts#L472-L497', @@ -2573,13 +2582,13 @@ 'nodes._types.TimeHttpHistogram': 'nodes/_types/Stats.ts#L710-L714', 'nodes._types.Transport': 'nodes/_types/Stats.ts#L1125-L1168', 'nodes._types.TransportHistogram': 'nodes/_types/Stats.ts#L1170-L1184', -'nodes.clear_repositories_metering_archive.Request': 'nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveRequest.ts#L24-L52', +'nodes.clear_repositories_metering_archive.Request': 'nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveRequest.ts#L24-L53', 'nodes.clear_repositories_metering_archive.Response': 'nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveResponse.ts#L37-L39', 'nodes.clear_repositories_metering_archive.ResponseBase': 'nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveResponse.ts#L25-L35', -'nodes.get_repositories_metering_info.Request': 'nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoRequest.ts#L23-L50', +'nodes.get_repositories_metering_info.Request': 'nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoRequest.ts#L23-L51', 'nodes.get_repositories_metering_info.Response': 'nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoResponse.ts#L36-L38', 'nodes.get_repositories_metering_info.ResponseBase': 'nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoResponse.ts#L25-L34', -'nodes.hot_threads.Request': 'nodes/hot_threads/NodesHotThreadsRequest.ts#L25-L88', +'nodes.hot_threads.Request': 'nodes/hot_threads/NodesHotThreadsRequest.ts#L25-L93', 'nodes.hot_threads.Response': 'nodes/hot_threads/NodesHotThreadsResponse.ts#L20-L22', 'nodes.info.DeprecationIndexing': 'nodes/info/types.ts#L154-L156', 'nodes.info.NodeInfo': 'nodes/info/types.ts#L32-L72', @@ -2629,17 +2638,17 @@ 'nodes.info.NodeProcessInfo': 'nodes/info/types.ts#L402-L409', 'nodes.info.NodeThreadPoolInfo': 'nodes/info/types.ts#L317-L324', 'nodes.info.RemoveClusterServer': 'nodes/info/types.ts#L74-L77', -'nodes.info.Request': 'nodes/info/NodesInfoRequest.ts#L24-L71', +'nodes.info.Request': 'nodes/info/NodesInfoRequest.ts#L24-L72', 'nodes.info.Response': 'nodes/info/NodesInfoResponse.ts#L30-L32', 'nodes.info.ResponseBase': 'nodes/info/NodesInfoResponse.ts#L25-L28', -'nodes.reload_secure_settings.Request': 'nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts#L24-L70', +'nodes.reload_secure_settings.Request': 'nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts#L24-L72', 'nodes.reload_secure_settings.Response': 'nodes/reload_secure_settings/ReloadSecureSettingsResponse.ts#L30-L32', 'nodes.reload_secure_settings.ResponseBase': 'nodes/reload_secure_settings/ReloadSecureSettingsResponse.ts#L25-L28', -'nodes.stats.Request': 'nodes/stats/NodesStatsRequest.ts#L24-L102', +'nodes.stats.Request': 'nodes/stats/NodesStatsRequest.ts#L24-L103', 'nodes.stats.Response': 'nodes/stats/NodesStatsResponse.ts#L30-L32', 'nodes.stats.ResponseBase': 'nodes/stats/NodesStatsResponse.ts#L25-L28', 'nodes.usage.NodeUsage': 'nodes/usage/types.ts#L25-L30', -'nodes.usage.Request': 'nodes/usage/NodesUsageRequest.ts#L24-L68', +'nodes.usage.Request': 'nodes/usage/NodesUsageRequest.ts#L24-L73', 'nodes.usage.Response': 'nodes/usage/NodesUsageResponse.ts#L30-L32', 'nodes.usage.ResponseBase': 'nodes/usage/NodesUsageResponse.ts#L25-L28', 'query_rules._types.QueryRule': 'query_rules/_types/QueryRuleset.ts#L36-L58', @@ -2648,23 +2657,23 @@ 'query_rules._types.QueryRuleCriteriaType': 'query_rules/_types/QueryRuleset.ts#L95-L108', 'query_rules._types.QueryRuleType': 'query_rules/_types/QueryRuleset.ts#L60-L63', 'query_rules._types.QueryRuleset': 'query_rules/_types/QueryRuleset.ts#L25-L34', -'query_rules.delete_rule.Request': 'query_rules/delete_rule/QueryRuleDeleteRequest.ts#L22-L50', +'query_rules.delete_rule.Request': 'query_rules/delete_rule/QueryRuleDeleteRequest.ts#L22-L51', 'query_rules.delete_rule.Response': 'query_rules/delete_rule/QueryRuleDeleteResponse.ts#L22-L24', -'query_rules.delete_ruleset.Request': 'query_rules/delete_ruleset/QueryRulesetDeleteRequest.ts#L22-L45', +'query_rules.delete_ruleset.Request': 'query_rules/delete_ruleset/QueryRulesetDeleteRequest.ts#L22-L46', 'query_rules.delete_ruleset.Response': 'query_rules/delete_ruleset/QueryRulesetDeleteResponse.ts#L22-L24', -'query_rules.get_rule.Request': 'query_rules/get_rule/QueryRuleGetRequest.ts#L22-L50', +'query_rules.get_rule.Request': 'query_rules/get_rule/QueryRuleGetRequest.ts#L22-L51', '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-L44', +'query_rules.get_ruleset.Request': 'query_rules/get_ruleset/QueryRulesetGetRequest.ts#L22-L45', '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-L44', -'query_rules.list_rulesets.Request': 'query_rules/list_rulesets/QueryRulesetListRequest.ts#L22-L50', +'query_rules.list_rulesets.Request': 'query_rules/list_rulesets/QueryRulesetListRequest.ts#L23-L52', '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-L79', +'query_rules.put_rule.Request': 'query_rules/put_rule/QueryRulePutRequest.ts#L28-L81', 'query_rules.put_rule.Response': 'query_rules/put_rule/QueryRulePutResponse.ts#L22-L26', -'query_rules.put_ruleset.Request': 'query_rules/put_ruleset/QueryRulesetPutRequest.ts#L23-L59', +'query_rules.put_ruleset.Request': 'query_rules/put_ruleset/QueryRulesetPutRequest.ts#L23-L61', 'query_rules.put_ruleset.Response': 'query_rules/put_ruleset/QueryRulesetPutResponse.ts#L22-L26', 'query_rules.test.QueryRulesetMatchedRule': 'query_rules/test/QueryRulesetTestResponse.ts#L30-L39', -'query_rules.test.Request': 'query_rules/test/QueryRulesetTestRequest.ts#L24-L57', +'query_rules.test.Request': 'query_rules/test/QueryRulesetTestRequest.ts#L24-L59', 'query_rules.test.Response': 'query_rules/test/QueryRulesetTestResponse.ts#L23-L28', 'rollup._types.DateHistogramGrouping': 'rollup/_types/Groupings.ts#L42-L73', 'rollup._types.FieldMetric': 'rollup/_types/Metric.ts#L30-L35', @@ -2672,32 +2681,32 @@ 'rollup._types.HistogramGrouping': 'rollup/_types/Groupings.ts#L84-L97', 'rollup._types.Metric': 'rollup/_types/Metric.ts#L22-L28', 'rollup._types.TermsGrouping': 'rollup/_types/Groupings.ts#L75-L82', -'rollup.delete_job.Request': 'rollup/delete_job/DeleteRollupJobRequest.ts#L23-L67', +'rollup.delete_job.Request': 'rollup/delete_job/DeleteRollupJobRequest.ts#L23-L68', 'rollup.delete_job.Response': 'rollup/delete_job/DeleteRollupJobResponse.ts#L22-L27', 'rollup.get_jobs.IndexingJobState': 'rollup/get_jobs/types.ts#L77-L83', -'rollup.get_jobs.Request': 'rollup/get_jobs/GetRollupJobRequest.ts#L23-L54', +'rollup.get_jobs.Request': 'rollup/get_jobs/GetRollupJobRequest.ts#L23-L55', 'rollup.get_jobs.Response': 'rollup/get_jobs/GetRollupJobResponse.ts#L22-L24', 'rollup.get_jobs.RollupJob': 'rollup/get_jobs/types.ts#L28-L43', 'rollup.get_jobs.RollupJobConfiguration': 'rollup/get_jobs/types.ts#L45-L54', 'rollup.get_jobs.RollupJobStats': 'rollup/get_jobs/types.ts#L56-L69', 'rollup.get_jobs.RollupJobStatus': 'rollup/get_jobs/types.ts#L71-L75', -'rollup.get_rollup_caps.Request': 'rollup/get_rollup_caps/GetRollupCapabilitiesRequest.ts#L23-L57', +'rollup.get_rollup_caps.Request': 'rollup/get_rollup_caps/GetRollupCapabilitiesRequest.ts#L23-L58', 'rollup.get_rollup_caps.Response': 'rollup/get_rollup_caps/GetRollupCapabilitiesResponse.ts#L24-L27', 'rollup.get_rollup_caps.RollupCapabilities': 'rollup/get_rollup_caps/types.ts#L24-L29', 'rollup.get_rollup_caps.RollupCapabilitySummary': 'rollup/get_rollup_caps/types.ts#L31-L36', 'rollup.get_rollup_caps.RollupFieldSummary': 'rollup/get_rollup_caps/types.ts#L38-L42', 'rollup.get_rollup_index_caps.IndexCapabilities': 'rollup/get_rollup_index_caps/types.ts#L24-L26', -'rollup.get_rollup_index_caps.Request': 'rollup/get_rollup_index_caps/GetRollupIndexCapabilitiesRequest.ts#L23-L50', +'rollup.get_rollup_index_caps.Request': 'rollup/get_rollup_index_caps/GetRollupIndexCapabilitiesRequest.ts#L23-L51', 'rollup.get_rollup_index_caps.Response': 'rollup/get_rollup_index_caps/GetRollupIndexCapabilitiesResponse.ts#L24-L27', 'rollup.get_rollup_index_caps.RollupJobSummary': 'rollup/get_rollup_index_caps/types.ts#L28-L33', 'rollup.get_rollup_index_caps.RollupJobSummaryField': 'rollup/get_rollup_index_caps/types.ts#L35-L39', -'rollup.put_job.Request': 'rollup/put_job/CreateRollupJobRequest.ts#L27-L105', +'rollup.put_job.Request': 'rollup/put_job/CreateRollupJobRequest.ts#L27-L107', 'rollup.put_job.Response': 'rollup/put_job/CreateRollupJobResponse.ts#L22-L24', -'rollup.rollup_search.Request': 'rollup/rollup_search/RollupSearchRequest.ts#L27-L112', +'rollup.rollup_search.Request': 'rollup/rollup_search/RollupSearchRequest.ts#L27-L119', 'rollup.rollup_search.Response': 'rollup/rollup_search/RollupSearchResponse.ts#L27-L36', -'rollup.start_job.Request': 'rollup/start_job/StartRollupJobRequest.ts#L23-L46', +'rollup.start_job.Request': 'rollup/start_job/StartRollupJobRequest.ts#L23-L47', 'rollup.start_job.Response': 'rollup/start_job/StartRollupJobResponse.ts#L20-L22', -'rollup.stop_job.Request': 'rollup/stop_job/StopRollupJobRequest.ts#L24-L73', +'rollup.stop_job.Request': 'rollup/stop_job/StopRollupJobRequest.ts#L24-L74', 'rollup.stop_job.Response': 'rollup/stop_job/StopRollupJobResponse.ts#L20-L22', 'search_application._types.AnalyticsCollection': 'search_application/_types/BehavioralAnalytics.ts#L22-L27', 'search_application._types.EventDataStream': 'search_application/_types/BehavioralAnalytics.ts#L29-L31', @@ -2705,38 +2714,38 @@ 'search_application._types.SearchApplication': 'search_application/_types/SearchApplication.ts#L24-L33', 'search_application._types.SearchApplicationParameters': 'search_application/_types/SearchApplicationParameters.ts#L23-L36', 'search_application._types.SearchApplicationTemplate': 'search_application/_types/SearchApplicationTemplate.ts#L22-L27', -'search_application.delete.Request': 'search_application/delete/SearchApplicationsDeleteRequest.ts#L22-L46', +'search_application.delete.Request': 'search_application/delete/SearchApplicationsDeleteRequest.ts#L22-L47', 'search_application.delete.Response': 'search_application/delete/SearchApplicationsDeleteResponse.ts#L22-L24', -'search_application.delete_behavioral_analytics.Request': 'search_application/delete_behavioral_analytics/BehavioralAnalyticsDeleteRequest.ts#L22-L44', +'search_application.delete_behavioral_analytics.Request': 'search_application/delete_behavioral_analytics/BehavioralAnalyticsDeleteRequest.ts#L22-L45', 'search_application.delete_behavioral_analytics.Response': 'search_application/delete_behavioral_analytics/BehavioralAnalyticsDeleteResponse.ts#L22-L24', -'search_application.get.Request': 'search_application/get/SearchApplicationsGetRequest.ts#L22-L43', +'search_application.get.Request': 'search_application/get/SearchApplicationsGetRequest.ts#L22-L44', 'search_application.get.Response': 'search_application/get/SearchApplicationsGetResponse.ts#L22-L24', -'search_application.get_behavioral_analytics.Request': 'search_application/get_behavioral_analytics/BehavioralAnalyticsGetRequest.ts#L22-L47', +'search_application.get_behavioral_analytics.Request': 'search_application/get_behavioral_analytics/BehavioralAnalyticsGetRequest.ts#L22-L48', 'search_application.get_behavioral_analytics.Response': 'search_application/get_behavioral_analytics/BehavioralAnalyticsGetResponse.ts#L24-L27', -'search_application.list.Request': 'search_application/list/SearchApplicationsListRequest.ts#L22-L53', +'search_application.list.Request': 'search_application/list/SearchApplicationsListRequest.ts#L23-L55', 'search_application.list.Response': 'search_application/list/SearchApplicationsListResponse.ts#L23-L28', -'search_application.post_behavioral_analytics_event.Request': 'search_application/post_behavioral_analytics_event/BehavioralAnalyticsEventPostRequest.ts#L24-L57', +'search_application.post_behavioral_analytics_event.Request': 'search_application/post_behavioral_analytics_event/BehavioralAnalyticsEventPostRequest.ts#L24-L59', 'search_application.post_behavioral_analytics_event.Response': 'search_application/post_behavioral_analytics_event/BehavioralAnalyticsEventPostResponse.ts#L22-L47', -'search_application.put.Request': 'search_application/put/SearchApplicationsPutRequest.ts#L23-L57', +'search_application.put.Request': 'search_application/put/SearchApplicationsPutRequest.ts#L23-L59', 'search_application.put.Response': 'search_application/put/SearchApplicationsPutResponse.ts#L22-L26', 'search_application.put_behavioral_analytics.AnalyticsAcknowledgeResponseBase': 'search_application/put_behavioral_analytics/BehavioralAnalyticsPutResponse.ts#L27-L32', -'search_application.put_behavioral_analytics.Request': 'search_application/put_behavioral_analytics/BehavioralAnalyticsPutRequest.ts#L22-L43', +'search_application.put_behavioral_analytics.Request': 'search_application/put_behavioral_analytics/BehavioralAnalyticsPutRequest.ts#L22-L44', 'search_application.put_behavioral_analytics.Response': 'search_application/put_behavioral_analytics/BehavioralAnalyticsPutResponse.ts#L23-L25', -'search_application.render_query.Request': 'search_application/render_query/SearchApplicationsRenderQueryRequest.ts#L24-L54', +'search_application.render_query.Request': 'search_application/render_query/SearchApplicationsRenderQueryRequest.ts#L24-L56', 'search_application.render_query.Response': 'search_application/render_query/SearchApplicationsRenderQueryResponse.ts#L20-L22', -'search_application.search.Request': 'search_application/search/SearchApplicationsSearchRequest.ts#L24-L61', +'search_application.search.Request': 'search_application/search/SearchApplicationsSearchRequest.ts#L24-L63', 'search_application.search.Response': 'search_application/search/SearchApplicationsSearchResponse.ts#L22-L24', 'searchable_snapshots._types.StatsLevel': 'searchable_snapshots/_types/stats.ts#L20-L24', 'searchable_snapshots.cache_stats.Node': 'searchable_snapshots/cache_stats/Response.ts#L30-L32', -'searchable_snapshots.cache_stats.Request': 'searchable_snapshots/cache_stats/Request.ts#L24-L53', +'searchable_snapshots.cache_stats.Request': 'searchable_snapshots/cache_stats/Request.ts#L24-L54', 'searchable_snapshots.cache_stats.Response': 'searchable_snapshots/cache_stats/Response.ts#L24-L28', 'searchable_snapshots.cache_stats.Shared': 'searchable_snapshots/cache_stats/Response.ts#L34-L43', -'searchable_snapshots.clear_cache.Request': 'searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheRequest.ts#L23-L57', +'searchable_snapshots.clear_cache.Request': 'searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheRequest.ts#L23-L68', 'searchable_snapshots.clear_cache.Response': 'searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheResponse.ts#L22-L25', 'searchable_snapshots.mount.MountedSnapshot': 'searchable_snapshots/mount/types.ts#L23-L27', -'searchable_snapshots.mount.Request': 'searchable_snapshots/mount/SearchableSnapshotsMountRequest.ts#L26-L92', +'searchable_snapshots.mount.Request': 'searchable_snapshots/mount/SearchableSnapshotsMountRequest.ts#L26-L94', 'searchable_snapshots.mount.Response': 'searchable_snapshots/mount/SearchableSnapshotsMountResponse.ts#L22-L26', -'searchable_snapshots.stats.Request': 'searchable_snapshots/stats/SearchableSnapshotsStatsRequest.ts#L24-L55', +'searchable_snapshots.stats.Request': 'searchable_snapshots/stats/SearchableSnapshotsStatsRequest.ts#L24-L57', '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#L27-L113', @@ -2780,181 +2789,181 @@ 'security._types.UserProfileHitMetadata': 'security/_types/UserProfile.ts#L27-L30', 'security._types.UserProfileUser': 'security/_types/UserProfile.ts#L32-L39', 'security._types.UserProfileWithMetadata': 'security/_types/UserProfile.ts#L49-L52', -'security.activate_user_profile.Request': 'security/activate_user_profile/Request.ts#L23-L76', +'security.activate_user_profile.Request': 'security/activate_user_profile/Request.ts#L24-L79', '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-L41', +'security.authenticate.Request': 'security/authenticate/SecurityAuthenticateRequest.ts#L23-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-L50', +'security.bulk_delete_role.Request': 'security/bulk_delete_role/SecurityBulkDeleteRoleRequest.ts#L23-L55', 'security.bulk_delete_role.Response': 'security/bulk_delete_role/SecurityBulkDeleteRoleResponse.ts#L22-L37', -'security.bulk_put_role.Request': 'security/bulk_put_role/SecurityBulkPutRoleRequest.ts#L25-L52', +'security.bulk_put_role.Request': 'security/bulk_put_role/SecurityBulkPutRoleRequest.ts#L25-L57', 'security.bulk_put_role.Response': 'security/bulk_put_role/SecurityBulkPutRoleResponse.ts#L22-L41', -'security.bulk_update_api_keys.Request': 'security/bulk_update_api_keys/SecurityBulkUpdateApiKeysRequest.ts#L26-L83', +'security.bulk_update_api_keys.Request': 'security/bulk_update_api_keys/SecurityBulkUpdateApiKeysRequest.ts#L26-L85', 'security.bulk_update_api_keys.Response': 'security/bulk_update_api_keys/SecurityBulkUpdateApiKeysResponse.ts#L22-L28', -'security.change_password.Request': 'security/change_password/SecurityChangePasswordRequest.ts#L23-L65', +'security.change_password.Request': 'security/change_password/SecurityChangePasswordRequest.ts#L23-L70', 'security.change_password.Response': 'security/change_password/SecurityChangePasswordResponse.ts#L20-L22', -'security.clear_api_key_cache.Request': 'security/clear_api_key_cache/SecurityClearApiKeyCacheRequest.ts#L23-L49', +'security.clear_api_key_cache.Request': 'security/clear_api_key_cache/SecurityClearApiKeyCacheRequest.ts#L23-L50', 'security.clear_api_key_cache.Response': 'security/clear_api_key_cache/SecurityClearApiKeyCacheResponse.ts#L25-L32', -'security.clear_cached_privileges.Request': 'security/clear_cached_privileges/SecurityClearCachedPrivilegesRequest.ts#L23-L49', +'security.clear_cached_privileges.Request': 'security/clear_cached_privileges/SecurityClearCachedPrivilegesRequest.ts#L23-L50', 'security.clear_cached_privileges.Response': 'security/clear_cached_privileges/SecurityClearCachedPrivilegesResponse.ts#L25-L32', -'security.clear_cached_realms.Request': 'security/clear_cached_realms/SecurityClearCachedRealmsRequest.ts#L23-L60', +'security.clear_cached_realms.Request': 'security/clear_cached_realms/SecurityClearCachedRealmsRequest.ts#L23-L61', 'security.clear_cached_realms.Response': 'security/clear_cached_realms/SecurityClearCachedRealmsResponse.ts#L25-L32', -'security.clear_cached_roles.Request': 'security/clear_cached_roles/ClearCachedRolesRequest.ts#L23-L48', +'security.clear_cached_roles.Request': 'security/clear_cached_roles/ClearCachedRolesRequest.ts#L23-L49', 'security.clear_cached_roles.Response': 'security/clear_cached_roles/ClearCachedRolesResponse.ts#L25-L32', -'security.clear_cached_service_tokens.Request': 'security/clear_cached_service_tokens/ClearCachedServiceTokensRequest.ts#L23-L58', +'security.clear_cached_service_tokens.Request': 'security/clear_cached_service_tokens/ClearCachedServiceTokensRequest.ts#L23-L59', 'security.clear_cached_service_tokens.Response': 'security/clear_cached_service_tokens/ClearCachedServiceTokensResponse.ts#L25-L32', -'security.create_api_key.Request': 'security/create_api_key/SecurityCreateApiKeyRequest.ts#L26-L86', +'security.create_api_key.Request': 'security/create_api_key/SecurityCreateApiKeyRequest.ts#L26-L91', 'security.create_api_key.Response': 'security/create_api_key/SecurityCreateApiKeyResponse.ts#L23-L50', -'security.create_cross_cluster_api_key.Request': 'security/create_cross_cluster_api_key/CreateCrossClusterApiKeyRequest.ts#L25-L80', +'security.create_cross_cluster_api_key.Request': 'security/create_cross_cluster_api_key/CreateCrossClusterApiKeyRequest.ts#L25-L82', 'security.create_cross_cluster_api_key.Response': 'security/create_cross_cluster_api_key/CreateCrossClusterApiKeyResponse.ts#L23-L48', -'security.create_service_token.Request': 'security/create_service_token/CreateServiceTokenRequest.ts#L23-L72', +'security.create_service_token.Request': 'security/create_service_token/CreateServiceTokenRequest.ts#L23-L76', 'security.create_service_token.Response': 'security/create_service_token/CreateServiceTokenResponse.ts#L22-L30', 'security.create_service_token.Token': 'security/create_service_token/types.ts#L22-L25', 'security.delegate_pki.Authentication': 'security/delegate_pki/SecurityDelegatePkiResponse.ts#L43-L55', 'security.delegate_pki.AuthenticationRealm': 'security/delegate_pki/SecurityDelegatePkiResponse.ts#L57-L61', -'security.delegate_pki.Request': 'security/delegate_pki/SecurityDelegatePkiRequest.ts#L22-L57', +'security.delegate_pki.Request': 'security/delegate_pki/SecurityDelegatePkiRequest.ts#L23-L59', 'security.delegate_pki.Response': 'security/delegate_pki/SecurityDelegatePkiResponse.ts#L24-L41', 'security.delete_privileges.FoundStatus': 'security/delete_privileges/types.ts#L20-L22', -'security.delete_privileges.Request': 'security/delete_privileges/SecurityDeletePrivilegesRequest.ts#L23-L58', +'security.delete_privileges.Request': 'security/delete_privileges/SecurityDeletePrivilegesRequest.ts#L23-L62', 'security.delete_privileges.Response': 'security/delete_privileges/SecurityDeletePrivilegesResponse.ts#L23-L26', -'security.delete_role.Request': 'security/delete_role/SecurityDeleteRoleRequest.ts#L23-L49', +'security.delete_role.Request': 'security/delete_role/SecurityDeleteRoleRequest.ts#L23-L53', 'security.delete_role.Response': 'security/delete_role/SecurityDeleteRoleResponse.ts#L20-L28', -'security.delete_role_mapping.Request': 'security/delete_role_mapping/SecurityDeleteRoleMappingRequest.ts#L23-L53', +'security.delete_role_mapping.Request': 'security/delete_role_mapping/SecurityDeleteRoleMappingRequest.ts#L23-L57', 'security.delete_role_mapping.Response': 'security/delete_role_mapping/SecurityDeleteRoleMappingResponse.ts#L20-L28', -'security.delete_service_token.Request': 'security/delete_service_token/DeleteServiceTokenRequest.ts#L23-L58', +'security.delete_service_token.Request': 'security/delete_service_token/DeleteServiceTokenRequest.ts#L23-L62', 'security.delete_service_token.Response': 'security/delete_service_token/DeleteServiceTokenResponse.ts#L20-L28', -'security.delete_user.Request': 'security/delete_user/SecurityDeleteUserRequest.ts#L23-L48', +'security.delete_user.Request': 'security/delete_user/SecurityDeleteUserRequest.ts#L23-L52', 'security.delete_user.Response': 'security/delete_user/SecurityDeleteUserResponse.ts#L20-L28', -'security.disable_user.Request': 'security/disable_user/SecurityDisableUserRequest.ts#L23-L50', +'security.disable_user.Request': 'security/disable_user/SecurityDisableUserRequest.ts#L23-L54', 'security.disable_user.Response': 'security/disable_user/SecurityDisableUserResponse.ts#L20-L22', -'security.disable_user_profile.Request': 'security/disable_user_profile/Request.ts#L24-L63', +'security.disable_user_profile.Request': 'security/disable_user_profile/Request.ts#L24-L64', 'security.disable_user_profile.Response': 'security/disable_user_profile/Response.ts#L22-L24', -'security.enable_user.Request': 'security/enable_user/SecurityEnableUserRequest.ts#L23-L49', +'security.enable_user.Request': 'security/enable_user/SecurityEnableUserRequest.ts#L23-L53', 'security.enable_user.Response': 'security/enable_user/SecurityEnableUserResponse.ts#L20-L22', -'security.enable_user_profile.Request': 'security/enable_user_profile/Request.ts#L24-L64', +'security.enable_user_profile.Request': 'security/enable_user_profile/Request.ts#L24-L65', 'security.enable_user_profile.Response': 'security/enable_user_profile/Response.ts#L22-L24', -'security.enroll_kibana.Request': 'security/enroll_kibana/Request.ts#L22-L40', +'security.enroll_kibana.Request': 'security/enroll_kibana/Request.ts#L23-L43', 'security.enroll_kibana.Response': 'security/enroll_kibana/Response.ts#L20-L29', 'security.enroll_kibana.Token': 'security/enroll_kibana/Response.ts#L31-L41', -'security.enroll_node.Request': 'security/enroll_node/Request.ts#L22-L40', +'security.enroll_node.Request': 'security/enroll_node/Request.ts#L23-L43', 'security.enroll_node.Response': 'security/enroll_node/Response.ts#L20-L47', -'security.get_api_key.Request': 'security/get_api_key/SecurityGetApiKeyRequest.ts#L23-L95', +'security.get_api_key.Request': 'security/get_api_key/SecurityGetApiKeyRequest.ts#L23-L96', 'security.get_api_key.Response': 'security/get_api_key/SecurityGetApiKeyResponse.ts#L22-L24', -'security.get_builtin_privileges.Request': 'security/get_builtin_privileges/SecurityGetBuiltinPrivilegesRequest.ts#L22-L40', +'security.get_builtin_privileges.Request': 'security/get_builtin_privileges/SecurityGetBuiltinPrivilegesRequest.ts#L23-L42', 'security.get_builtin_privileges.Response': 'security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts#L26-L42', -'security.get_privileges.Request': 'security/get_privileges/SecurityGetPrivilegesRequest.ts#L23-L65', +'security.get_privileges.Request': 'security/get_privileges/SecurityGetPrivilegesRequest.ts#L23-L66', 'security.get_privileges.Response': 'security/get_privileges/SecurityGetPrivilegesResponse.ts#L23-L29', -'security.get_role.Request': 'security/get_role/SecurityGetRoleRequest.ts#L23-L54', +'security.get_role.Request': 'security/get_role/SecurityGetRoleRequest.ts#L23-L55', 'security.get_role.Response': 'security/get_role/SecurityGetRoleResponse.ts#L23-L31', 'security.get_role.Role': 'security/get_role/types.ts#L32-L54', -'security.get_role_mapping.Request': 'security/get_role_mapping/SecurityGetRoleMappingRequest.ts#L23-L53', +'security.get_role_mapping.Request': 'security/get_role_mapping/SecurityGetRoleMappingRequest.ts#L23-L54', 'security.get_role_mapping.Response': 'security/get_role_mapping/SecurityGetRoleMappingResponse.ts#L23-L29', -'security.get_service_accounts.Request': 'security/get_service_accounts/GetServiceAccountsRequest.ts#L23-L64', +'security.get_service_accounts.Request': 'security/get_service_accounts/GetServiceAccountsRequest.ts#L23-L65', 'security.get_service_accounts.Response': 'security/get_service_accounts/GetServiceAccountsResponse.ts#L23-L29', 'security.get_service_accounts.RoleDescriptorWrapper': 'security/get_service_accounts/types.ts#L22-L24', 'security.get_service_credentials.NodesCredentials': 'security/get_service_credentials/types.ts#L23-L28', 'security.get_service_credentials.NodesCredentialsFileToken': 'security/get_service_credentials/types.ts#L30-L32', -'security.get_service_credentials.Request': 'security/get_service_credentials/GetServiceCredentialsRequest.ts#L23-L56', +'security.get_service_credentials.Request': 'security/get_service_credentials/GetServiceCredentialsRequest.ts#L23-L57', 'security.get_service_credentials.Response': 'security/get_service_credentials/GetServiceCredentialsResponse.ts#L25-L34', -'security.get_settings.Request': 'security/get_settings/SecurityGetSettingsRequest.ts#L23-L52', +'security.get_settings.Request': 'security/get_settings/SecurityGetSettingsRequest.ts#L24-L55', 'security.get_settings.Response': 'security/get_settings/SecurityGetSettingsResponse.ts#L21-L36', 'security.get_token.AccessTokenGrantType': 'security/get_token/types.ts#L23-L48', 'security.get_token.AuthenticatedUser': 'security/get_token/types.ts#L60-L65', 'security.get_token.AuthenticationProvider': 'security/get_token/types.ts#L55-L58', -'security.get_token.Request': 'security/get_token/GetUserAccessTokenRequest.ts#L25-L90', +'security.get_token.Request': 'security/get_token/GetUserAccessTokenRequest.ts#L25-L92', 'security.get_token.Response': 'security/get_token/GetUserAccessTokenResponse.ts#L23-L33', 'security.get_token.UserRealm': 'security/get_token/types.ts#L50-L53', -'security.get_user.Request': 'security/get_user/SecurityGetUserRequest.ts#L23-L56', +'security.get_user.Request': 'security/get_user/SecurityGetUserRequest.ts#L23-L57', 'security.get_user.Response': 'security/get_user/SecurityGetUserResponse.ts#L23-L30', -'security.get_user_privileges.Request': 'security/get_user_privileges/SecurityGetUserPrivilegesRequest.ts#L22-L41', +'security.get_user_privileges.Request': 'security/get_user_privileges/SecurityGetUserPrivilegesRequest.ts#L23-L43', 'security.get_user_privileges.Response': 'security/get_user_privileges/SecurityGetUserPrivilegesResponse.ts#L28-L38', 'security.get_user_profile.GetUserProfileErrors': 'security/get_user_profile/types.ts#L25-L28', -'security.get_user_profile.Request': 'security/get_user_profile/Request.ts#L23-L59', +'security.get_user_profile.Request': 'security/get_user_profile/Request.ts#L24-L61', 'security.get_user_profile.Response': 'security/get_user_profile/Response.ts#L23-L33', 'security.grant_api_key.ApiKeyGrantType': 'security/grant_api_key/types.ts#L47-L50', 'security.grant_api_key.GrantApiKey': 'security/grant_api_key/types.ts#L25-L45', -'security.grant_api_key.Request': 'security/grant_api_key/SecurityGrantApiKeyRequest.ts#L24-L102', +'security.grant_api_key.Request': 'security/grant_api_key/SecurityGrantApiKeyRequest.ts#L24-L104', 'security.grant_api_key.Response': 'security/grant_api_key/SecurityGrantApiKeyResponse.ts#L23-L31', 'security.has_privileges.ApplicationPrivilegesCheck': 'security/has_privileges/types.ts#L24-L32', 'security.has_privileges.IndexPrivilegesCheck': 'security/has_privileges/types.ts#L34-L45', -'security.has_privileges.Request': 'security/has_privileges/SecurityHasPrivilegesRequest.ts#L25-L59', +'security.has_privileges.Request': 'security/has_privileges/SecurityHasPrivilegesRequest.ts#L25-L62', 'security.has_privileges.Response': 'security/has_privileges/SecurityHasPrivilegesResponse.ts#L24-L35', 'security.has_privileges_user_profile.HasPrivilegesUserProfileErrors': 'security/has_privileges_user_profile/types.ts#L39-L42', 'security.has_privileges_user_profile.PrivilegesCheck': 'security/has_privileges_user_profile/types.ts#L30-L37', -'security.has_privileges_user_profile.Request': 'security/has_privileges_user_profile/Request.ts#L24-L55', +'security.has_privileges_user_profile.Request': 'security/has_privileges_user_profile/Request.ts#L25-L58', 'security.has_privileges_user_profile.Response': 'security/has_privileges_user_profile/Response.ts#L23-L38', -'security.invalidate_api_key.Request': 'security/invalidate_api_key/SecurityInvalidateApiKeyRequest.ts#L23-L82', +'security.invalidate_api_key.Request': 'security/invalidate_api_key/SecurityInvalidateApiKeyRequest.ts#L23-L84', 'security.invalidate_api_key.Response': 'security/invalidate_api_key/SecurityInvalidateApiKeyResponse.ts#L23-L46', -'security.invalidate_token.Request': 'security/invalidate_token/SecurityInvalidateTokenRequest.ts#L23-L71', +'security.invalidate_token.Request': 'security/invalidate_token/SecurityInvalidateTokenRequest.ts#L23-L73', 'security.invalidate_token.Response': 'security/invalidate_token/SecurityInvalidateTokenResponse.ts#L23-L46', -'security.oidc_authenticate.Request': 'security/oidc_authenticate/Request.ts#L22-L61', +'security.oidc_authenticate.Request': 'security/oidc_authenticate/Request.ts#L23-L64', 'security.oidc_authenticate.Response': 'security/oidc_authenticate/Response.ts#L22-L41', -'security.oidc_logout.Request': 'security/oidc_logout/Request.ts#L22-L52', +'security.oidc_logout.Request': 'security/oidc_logout/Request.ts#L23-L55', 'security.oidc_logout.Response': 'security/oidc_logout/Response.ts#L20-L27', -'security.oidc_prepare_authentication.Request': 'security/oidc_prepare_authentication/Request.ts#L22-L71', +'security.oidc_prepare_authentication.Request': 'security/oidc_prepare_authentication/Request.ts#L23-L74', 'security.oidc_prepare_authentication.Response': 'security/oidc_prepare_authentication/Response.ts#L20-L30', 'security.put_privileges.Actions': 'security/put_privileges/types.ts#L22-L27', -'security.put_privileges.Request': 'security/put_privileges/SecurityPutPrivilegesRequest.ts#L25-L67', +'security.put_privileges.Request': 'security/put_privileges/SecurityPutPrivilegesRequest.ts#L25-L72', 'security.put_privileges.Response': 'security/put_privileges/SecurityPutPrivilegesResponse.ts#L23-L28', -'security.put_role.Request': 'security/put_role/SecurityPutRoleRequest.ts#L32-L111', +'security.put_role.Request': 'security/put_role/SecurityPutRoleRequest.ts#L32-L116', 'security.put_role.Response': 'security/put_role/SecurityPutRoleResponse.ts#L22-L29', -'security.put_role_mapping.Request': 'security/put_role_mapping/SecurityPutRoleMappingRequest.ts#L25-L103', +'security.put_role_mapping.Request': 'security/put_role_mapping/SecurityPutRoleMappingRequest.ts#L25-L108', 'security.put_role_mapping.Response': 'security/put_role_mapping/SecurityPutRoleMappingResponse.ts#L22-L24', -'security.put_user.Request': 'security/put_user/SecurityPutUserRequest.ts#L23-L101', +'security.put_user.Request': 'security/put_user/SecurityPutUserRequest.ts#L29-L109', 'security.put_user.Response': 'security/put_user/SecurityPutUserResponse.ts#L20-L28', 'security.query_api_keys.ApiKeyAggregate': 'security/query_api_keys/types.ts#L122-L139', 'security.query_api_keys.ApiKeyAggregationContainer': 'security/query_api_keys/types.ts#L63-L120', 'security.query_api_keys.ApiKeyFiltersAggregation': 'security/query_api_keys/types.ts#L207-L227', 'security.query_api_keys.ApiKeyQueryContainer': 'security/query_api_keys/types.ts#L141-L205', -'security.query_api_keys.Request': 'security/query_api_keys/QueryApiKeysRequest.ts#L26-L125', +'security.query_api_keys.Request': 'security/query_api_keys/QueryApiKeysRequest.ts#L27-L128', 'security.query_api_keys.Response': 'security/query_api_keys/QueryApiKeysResponse.ts#L26-L45', 'security.query_role.QueryRole': 'security/query_role/types.ts#L103-L109', -'security.query_role.Request': 'security/query_role/QueryRolesRequest.ts#L25-L85', +'security.query_role.Request': 'security/query_role/QueryRolesRequest.ts#L26-L88', 'security.query_role.Response': 'security/query_role/QueryRolesResponse.ts#L23-L43', 'security.query_role.RoleQueryContainer': 'security/query_role/types.ts#L37-L101', 'security.query_user.QueryUser': 'security/query_user/types.ts#L103-L105', -'security.query_user.Request': 'security/query_user/SecurityQueryUserRequest.ts#L25-L91', +'security.query_user.Request': 'security/query_user/SecurityQueryUserRequest.ts#L26-L94', 'security.query_user.Response': 'security/query_user/SecurityQueryUserResponse.ts#L23-L38', 'security.query_user.UserQueryContainer': 'security/query_user/types.ts#L37-L101', -'security.saml_authenticate.Request': 'security/saml_authenticate/Request.ts#L23-L61', +'security.saml_authenticate.Request': 'security/saml_authenticate/Request.ts#L23-L63', 'security.saml_authenticate.Response': 'security/saml_authenticate/Response.ts#L22-L45', -'security.saml_complete_logout.Request': 'security/saml_complete_logout/Request.ts#L23-L61', -'security.saml_invalidate.Request': 'security/saml_invalidate/Request.ts#L22-L61', +'security.saml_complete_logout.Request': 'security/saml_complete_logout/Request.ts#L23-L63', +'security.saml_invalidate.Request': 'security/saml_invalidate/Request.ts#L23-L64', 'security.saml_invalidate.Response': 'security/saml_invalidate/Response.ts#L22-L37', -'security.saml_logout.Request': 'security/saml_logout/Request.ts#L22-L57', +'security.saml_logout.Request': 'security/saml_logout/Request.ts#L23-L60', 'security.saml_logout.Response': 'security/saml_logout/Response.ts#L20-L28', -'security.saml_prepare_authentication.Request': 'security/saml_prepare_authentication/Request.ts#L22-L67', +'security.saml_prepare_authentication.Request': 'security/saml_prepare_authentication/Request.ts#L23-L70', 'security.saml_prepare_authentication.Response': 'security/saml_prepare_authentication/Response.ts#L22-L37', -'security.saml_service_provider_metadata.Request': 'security/saml_service_provider_metadata/Request.ts#L23-L46', +'security.saml_service_provider_metadata.Request': 'security/saml_service_provider_metadata/Request.ts#L23-L48', 'security.saml_service_provider_metadata.Response': 'security/saml_service_provider_metadata/Response.ts#L20-L27', 'security.suggest_user_profiles.Hint': 'security/suggest_user_profiles/types.ts#L23-L34', -'security.suggest_user_profiles.Request': 'security/suggest_user_profiles/Request.ts#L24-L81', +'security.suggest_user_profiles.Request': 'security/suggest_user_profiles/Request.ts#L25-L84', 'security.suggest_user_profiles.Response': 'security/suggest_user_profiles/Response.ts#L29-L44', 'security.suggest_user_profiles.TotalUserProfiles': 'security/suggest_user_profiles/Response.ts#L24-L27', -'security.update_api_key.Request': 'security/update_api_key/Request.ts#L26-L91', +'security.update_api_key.Request': 'security/update_api_key/Request.ts#L26-L93', 'security.update_api_key.Response': 'security/update_api_key/Response.ts#L20-L28', -'security.update_cross_cluster_api_key.Request': 'security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts#L25-L83', +'security.update_cross_cluster_api_key.Request': 'security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts#L25-L85', 'security.update_cross_cluster_api_key.Response': 'security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyResponse.ts#L20-L28', -'security.update_settings.Request': 'security/update_settings/SecurityUpdateSettingsRequest.ts#L24-L72', +'security.update_settings.Request': 'security/update_settings/SecurityUpdateSettingsRequest.ts#L25-L75', 'security.update_settings.Response': 'security/update_settings/SecurityUpdateSettingsResponse.ts#L20-L24', -'security.update_user_profile_data.Request': 'security/update_user_profile_data/Request.ts#L27-L98', +'security.update_user_profile_data.Request': 'security/update_user_profile_data/Request.ts#L27-L100', 'security.update_user_profile_data.Response': 'security/update_user_profile_data/Response.ts#L22-L24', 'shutdown._types.Type': 'shutdown/_types/types.ts#L20-L24', -'shutdown.delete_node.Request': 'shutdown/delete_node/ShutdownDeleteNodeRequest.ts#L24-L61', +'shutdown.delete_node.Request': 'shutdown/delete_node/ShutdownDeleteNodeRequest.ts#L24-L64', 'shutdown.delete_node.Response': 'shutdown/delete_node/ShutdownDeleteNodeResponse.ts#L22-L24', 'shutdown.get_node.NodeShutdownStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L29-L38', 'shutdown.get_node.PersistentTaskStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L56-L58', 'shutdown.get_node.PluginsStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L60-L62', -'shutdown.get_node.Request': 'shutdown/get_node/ShutdownGetNodeRequest.ts#L24-L59', +'shutdown.get_node.Request': 'shutdown/get_node/ShutdownGetNodeRequest.ts#L24-L62', 'shutdown.get_node.Response': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L23-L27', 'shutdown.get_node.ShardMigrationStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L52-L54', 'shutdown.get_node.ShutdownStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L45-L50', 'shutdown.get_node.ShutdownType': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L40-L43', -'shutdown.put_node.Request': 'shutdown/put_node/ShutdownPutNodeRequest.ts#L25-L108', +'shutdown.put_node.Request': 'shutdown/put_node/ShutdownPutNodeRequest.ts#L25-L110', 'shutdown.put_node.Response': 'shutdown/put_node/ShutdownPutNodeResponse.ts#L22-L24', 'simulate.ingest.IngestDocumentSimulation': 'simulate/ingest/SimulateIngestResponse.ts#L35-L78', -'simulate.ingest.Request': 'simulate/ingest/SimulateIngestRequest.ts#L29-L100', +'simulate.ingest.Request': 'simulate/ingest/SimulateIngestRequest.ts#L29-L102', 'simulate.ingest.Response': 'simulate/ingest/SimulateIngestResponse.ts#L27-L29', 'simulate.ingest.SimulateIngestDocumentResult': 'simulate/ingest/SimulateIngestResponse.ts#L31-L33', 'slm._types.Configuration': 'slm/_types/SnapshotLifecycle.ts#L109-L139', @@ -2965,23 +2974,23 @@ 'slm._types.SnapshotLifecycle': 'slm/_types/SnapshotLifecycle.ts#L38-L59', 'slm._types.SnapshotPolicyStats': 'slm/_types/SnapshotLifecycle.ts#L153-L159', 'slm._types.Statistics': 'slm/_types/SnapshotLifecycle.ts#L61-L84', -'slm.delete_lifecycle.Request': 'slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts#L24-L58', +'slm.delete_lifecycle.Request': 'slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts#L24-L60', 'slm.delete_lifecycle.Response': 'slm/delete_lifecycle/DeleteSnapshotLifecycleResponse.ts#L22-L24', -'slm.execute_lifecycle.Request': 'slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts#L24-L58', +'slm.execute_lifecycle.Request': 'slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts#L24-L60', 'slm.execute_lifecycle.Response': 'slm/execute_lifecycle/ExecuteSnapshotLifecycleResponse.ts#L22-L24', -'slm.execute_retention.Request': 'slm/execute_retention/ExecuteRetentionRequest.ts#L23-L54', +'slm.execute_retention.Request': 'slm/execute_retention/ExecuteRetentionRequest.ts#L24-L56', 'slm.execute_retention.Response': 'slm/execute_retention/ExecuteRetentionResponse.ts#L22-L24', -'slm.get_lifecycle.Request': 'slm/get_lifecycle/GetSnapshotLifecycleRequest.ts#L24-L64', +'slm.get_lifecycle.Request': 'slm/get_lifecycle/GetSnapshotLifecycleRequest.ts#L24-L63', 'slm.get_lifecycle.Response': 'slm/get_lifecycle/GetSnapshotLifecycleResponse.ts#L24-L27', -'slm.get_stats.Request': 'slm/get_stats/GetSnapshotLifecycleStatsRequest.ts#L23-L51', +'slm.get_stats.Request': 'slm/get_stats/GetSnapshotLifecycleStatsRequest.ts#L24-L53', 'slm.get_stats.Response': 'slm/get_stats/GetSnapshotLifecycleStatsResponse.ts#L24-L37', -'slm.get_status.Request': 'slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts#L23-L54', +'slm.get_status.Request': 'slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts#L24-L56', 'slm.get_status.Response': 'slm/get_status/GetSnapshotLifecycleManagementStatusResponse.ts#L22-L24', -'slm.put_lifecycle.Request': 'slm/put_lifecycle/PutSnapshotLifecycleRequest.ts#L26-L89', +'slm.put_lifecycle.Request': 'slm/put_lifecycle/PutSnapshotLifecycleRequest.ts#L26-L91', 'slm.put_lifecycle.Response': 'slm/put_lifecycle/PutSnapshotLifecycleResponse.ts#L22-L24', -'slm.start.Request': 'slm/start/StartSnapshotLifecycleManagementRequest.ts#L23-L56', +'slm.start.Request': 'slm/start/StartSnapshotLifecycleManagementRequest.ts#L24-L58', 'slm.start.Response': 'slm/start/StartSnapshotLifecycleManagementResponse.ts#L22-L24', -'slm.stop.Request': 'slm/stop/StopSnapshotLifecycleManagementRequest.ts#L23-L60', +'slm.stop.Request': 'slm/stop/StopSnapshotLifecycleManagementRequest.ts#L24-L62', 'slm.stop.Response': 'slm/stop/StopSnapshotLifecycleManagementResponse.ts#L22-L24', 'snapshot._types.AzureRepository': 'snapshot/_types/SnapshotRepository.ts#L40-L50', 'snapshot._types.AzureRepositorySettings': 'snapshot/_types/SnapshotRepository.ts#L145-L196', @@ -3013,83 +3022,83 @@ 'snapshot._types.SourceOnlyRepositorySettings': 'snapshot/_types/SnapshotRepository.ts#L414-L441', 'snapshot._types.Status': 'snapshot/_types/SnapshotStatus.ts#L26-L60', 'snapshot.cleanup_repository.CleanupRepositoryResults': 'snapshot/cleanup_repository/SnapshotCleanupRepositoryResponse.ts#L29-L37', -'snapshot.cleanup_repository.Request': 'snapshot/cleanup_repository/SnapshotCleanupRepositoryRequest.ts#L24-L63', +'snapshot.cleanup_repository.Request': 'snapshot/cleanup_repository/SnapshotCleanupRepositoryRequest.ts#L24-L64', 'snapshot.cleanup_repository.Response': 'snapshot/cleanup_repository/SnapshotCleanupRepositoryResponse.ts#L22-L27', -'snapshot.clone.Request': 'snapshot/clone/SnapshotCloneRequest.ts#L24-L70', +'snapshot.clone.Request': 'snapshot/clone/SnapshotCloneRequest.ts#L24-L72', 'snapshot.clone.Response': 'snapshot/clone/SnapshotCloneResponse.ts#L22-L24', -'snapshot.create.Request': 'snapshot/create/SnapshotCreateRequest.ts#L24-L126', +'snapshot.create.Request': 'snapshot/create/SnapshotCreateRequest.ts#L30-L134', 'snapshot.create.Response': 'snapshot/create/SnapshotCreateResponse.ts#L22-L35', -'snapshot.create_repository.Request': 'snapshot/create_repository/SnapshotCreateRepositoryRequest.ts#L25-L79', +'snapshot.create_repository.Request': 'snapshot/create_repository/SnapshotCreateRepositoryRequest.ts#L25-L81', 'snapshot.create_repository.Response': 'snapshot/create_repository/SnapshotCreateRepositoryResponse.ts#L22-L24', -'snapshot.delete.Request': 'snapshot/delete/SnapshotDeleteRequest.ts#L24-L65', +'snapshot.delete.Request': 'snapshot/delete/SnapshotDeleteRequest.ts#L24-L66', 'snapshot.delete.Response': 'snapshot/delete/SnapshotDeleteResponse.ts#L22-L24', -'snapshot.delete_repository.Request': 'snapshot/delete_repository/SnapshotDeleteRepositoryRequest.ts#L24-L64', +'snapshot.delete_repository.Request': 'snapshot/delete_repository/SnapshotDeleteRepositoryRequest.ts#L24-L65', 'snapshot.delete_repository.Response': 'snapshot/delete_repository/SnapshotDeleteRepositoryResponse.ts#L22-L24', -'snapshot.get.Request': 'snapshot/get/SnapshotGetRequest.ts#L27-L158', +'snapshot.get.Request': 'snapshot/get/SnapshotGetRequest.ts#L27-L159', 'snapshot.get.Response': 'snapshot/get/SnapshotGetResponse.ts#L25-L47', 'snapshot.get.SnapshotResponseItem': 'snapshot/get/SnapshotGetResponse.ts#L49-L53', -'snapshot.get_repository.Request': 'snapshot/get_repository/SnapshotGetRepositoryRequest.ts#L24-L68', +'snapshot.get_repository.Request': 'snapshot/get_repository/SnapshotGetRepositoryRequest.ts#L24-L69', 'snapshot.get_repository.Response': 'snapshot/get_repository/SnapshotGetRepositoryResponse.ts#L23-L25', 'snapshot.repository_analyze.BlobDetails': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L250-L284', 'snapshot.repository_analyze.DetailsInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L286-L321', 'snapshot.repository_analyze.ReadBlobDetails': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L204-L248', 'snapshot.repository_analyze.ReadSummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L115-L160', -'snapshot.repository_analyze.Request': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryRequest.ts#L25-L202', +'snapshot.repository_analyze.Request': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryRequest.ts#L25-L203', 'snapshot.repository_analyze.Response': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L24-L108', 'snapshot.repository_analyze.SnapshotNodeInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L110-L113', 'snapshot.repository_analyze.SummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L193-L202', 'snapshot.repository_analyze.WriteSummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L162-L191', -'snapshot.repository_verify_integrity.Request': 'snapshot/repository_verify_integrity/SnapshotRepositoryVerifyIntegrityRequest.ts#L24-L126', +'snapshot.repository_verify_integrity.Request': 'snapshot/repository_verify_integrity/SnapshotRepositoryVerifyIntegrityRequest.ts#L24-L127', 'snapshot.repository_verify_integrity.Response': 'snapshot/repository_verify_integrity/SnapshotRepositoryVerifyIntegrityResponse.ts#L22-L24', -'snapshot.restore.Request': 'snapshot/restore/SnapshotRestoreRequest.ts#L25-L175', +'snapshot.restore.Request': 'snapshot/restore/SnapshotRestoreRequest.ts#L25-L177', 'snapshot.restore.Response': 'snapshot/restore/SnapshotRestoreResponse.ts#L23-L28', 'snapshot.restore.SnapshotRestore': 'snapshot/restore/SnapshotRestoreResponse.ts#L30-L34', -'snapshot.status.Request': 'snapshot/status/SnapshotStatusRequest.ts#L24-L90', +'snapshot.status.Request': 'snapshot/status/SnapshotStatusRequest.ts#L24-L91', 'snapshot.status.Response': 'snapshot/status/SnapshotStatusResponse.ts#L22-L24', 'snapshot.verify_repository.CompactNodeInfo': 'snapshot/verify_repository/SnapshotVerifyRepositoryResponse.ts#L33-L40', -'snapshot.verify_repository.Request': 'snapshot/verify_repository/SnapshotVerifyRepositoryRequest.ts#L24-L63', +'snapshot.verify_repository.Request': 'snapshot/verify_repository/SnapshotVerifyRepositoryRequest.ts#L24-L64', 'snapshot.verify_repository.Response': 'snapshot/verify_repository/SnapshotVerifyRepositoryResponse.ts#L23-L31', 'sql.Column': 'sql/types.ts#L23-L26', -'sql.clear_cursor.Request': 'sql/clear_cursor/ClearSqlCursorRequest.ts#L22-L42', +'sql.clear_cursor.Request': 'sql/clear_cursor/ClearSqlCursorRequest.ts#L23-L45', 'sql.clear_cursor.Response': 'sql/clear_cursor/ClearSqlCursorResponse.ts#L20-L22', -'sql.delete_async.Request': 'sql/delete_async/SqlDeleteAsyncRequest.ts#L23-L51', +'sql.delete_async.Request': 'sql/delete_async/SqlDeleteAsyncRequest.ts#L23-L52', 'sql.delete_async.Response': 'sql/delete_async/SqlDeleteAsyncResponse.ts#L22-L24', -'sql.get_async.Request': 'sql/get_async/SqlGetAsyncRequest.ts#L24-L72', +'sql.get_async.Request': 'sql/get_async/SqlGetAsyncRequest.ts#L24-L73', 'sql.get_async.Response': 'sql/get_async/SqlGetAsyncResponse.ts#L23-L60', -'sql.get_async_status.Request': 'sql/get_async_status/SqlGetAsyncStatusRequest.ts#L23-L45', +'sql.get_async_status.Request': 'sql/get_async_status/SqlGetAsyncStatusRequest.ts#L23-L46', 'sql.get_async_status.Response': 'sql/get_async_status/SqlGetAsyncStatusResponse.ts#L23-L55', -'sql.query.Request': 'sql/query/QuerySqlRequest.ts#L27-L151', +'sql.query.Request': 'sql/query/QuerySqlRequest.ts#L28-L154', 'sql.query.Response': 'sql/query/QuerySqlResponse.ts#L23-L60', -'sql.query.SqlFormat': 'sql/query/QuerySqlRequest.ts#L153-L161', -'sql.translate.Request': 'sql/translate/TranslateSqlRequest.ts#L25-L65', +'sql.query.SqlFormat': 'sql/query/QuerySqlRequest.ts#L156-L164', +'sql.translate.Request': 'sql/translate/TranslateSqlRequest.ts#L26-L68', 'sql.translate.Response': 'sql/translate/TranslateSqlResponse.ts#L28-L39', 'ssl.certificates.CertificateInformation': 'ssl/certificates/types.ts#L22-L57', -'ssl.certificates.Request': 'ssl/certificates/GetCertificatesRequest.ts#L22-L55', +'ssl.certificates.Request': 'ssl/certificates/GetCertificatesRequest.ts#L23-L57', 'ssl.certificates.Response': 'ssl/certificates/GetCertificatesResponse.ts#L22-L24', -'streams.logs_disable.Request': 'streams/logs_disable/StreamsLogsDisableRequest.ts#L23-L55', +'streams.logs_disable.Request': 'streams/logs_disable/StreamsLogsDisableRequest.ts#L24-L57', 'streams.logs_disable.Response': 'streams/logs_disable/StreamsLogsDisableResponse.ts#L22-L25', -'streams.logs_enable.Request': 'streams/logs_enable/StreamsLogsEnableRequest.ts#L23-L59', +'streams.logs_enable.Request': 'streams/logs_enable/StreamsLogsEnableRequest.ts#L24-L61', 'streams.logs_enable.Response': 'streams/logs_enable/StreamsLogsEnableResponse.ts#L22-L25', 'streams.status.LogsStatus': 'streams/status/StreamsStatusResponse.ts#L26-L31', -'streams.status.Request': 'streams/status/StreamsStatusRequest.ts#L23-L47', +'streams.status.Request': 'streams/status/StreamsStatusRequest.ts#L24-L49', 'streams.status.Response': 'streams/status/StreamsStatusResponse.ts#L20-L24', 'synonyms._types.SynonymRule': 'synonyms/_types/SynonymRule.ts#L26-L37', 'synonyms._types.SynonymRuleRead': 'synonyms/_types/SynonymRule.ts#L40-L49', 'synonyms._types.SynonymsUpdateResult': 'synonyms/_types/SynonymsUpdateResult.ts#L23-L34', -'synonyms.delete_synonym.Request': 'synonyms/delete_synonym/SynonymsDeleteRequest.ts#L22-L60', +'synonyms.delete_synonym.Request': 'synonyms/delete_synonym/SynonymsDeleteRequest.ts#L22-L61', 'synonyms.delete_synonym.Response': 'synonyms/delete_synonym/SynonymsDeleteResponse.ts#L22-L24', -'synonyms.delete_synonym_rule.Request': 'synonyms/delete_synonym_rule/SynonymRuleDeleteRequest.ts#L22-L48', +'synonyms.delete_synonym_rule.Request': 'synonyms/delete_synonym_rule/SynonymRuleDeleteRequest.ts#L22-L50', 'synonyms.delete_synonym_rule.Response': 'synonyms/delete_synonym_rule/SynonymRuleDeleteResponse.ts#L22-L24', -'synonyms.get_synonym.Request': 'synonyms/get_synonym/SynonymsGetRequest.ts#L23-L56', +'synonyms.get_synonym.Request': 'synonyms/get_synonym/SynonymsGetRequest.ts#L23-L57', 'synonyms.get_synonym.Response': 'synonyms/get_synonym/SynonymsGetResponse.ts#L23-L34', -'synonyms.get_synonym_rule.Request': 'synonyms/get_synonym_rule/SynonymRuleGetRequest.ts#L22-L48', +'synonyms.get_synonym_rule.Request': 'synonyms/get_synonym_rule/SynonymRuleGetRequest.ts#L22-L50', 'synonyms.get_synonym_rule.Response': 'synonyms/get_synonym_rule/SynonymRuleGetResponse.ts#L22-L24', -'synonyms.get_synonyms_sets.Request': 'synonyms/get_synonyms_sets/SynonymsSetsGetRequest.ts#L22-L50', +'synonyms.get_synonyms_sets.Request': 'synonyms/get_synonyms_sets/SynonymsSetsGetRequest.ts#L23-L52', 'synonyms.get_synonyms_sets.Response': 'synonyms/get_synonyms_sets/SynonymsSetsGetResponse.ts#L23-L34', 'synonyms.get_synonyms_sets.SynonymsSetItem': 'synonyms/get_synonyms_sets/SynonymsSetsGetResponse.ts#L36-L45', -'synonyms.put_synonym.Request': 'synonyms/put_synonym/SynonymsPutRequest.ts#L23-L55', +'synonyms.put_synonym.Request': 'synonyms/put_synonym/SynonymsPutRequest.ts#L23-L57', 'synonyms.put_synonym.Response': 'synonyms/put_synonym/SynonymsPutResponse.ts#L23-L28', -'synonyms.put_synonym_rule.Request': 'synonyms/put_synonym_rule/SynonymRulePutRequest.ts#L23-L60', +'synonyms.put_synonym_rule.Request': 'synonyms/put_synonym_rule/SynonymRulePutRequest.ts#L23-L62', 'synonyms.put_synonym_rule.Response': 'synonyms/put_synonym_rule/SynonymRulePutResponse.ts#L22-L24', 'tasks._types.GroupBy': 'tasks/_types/GroupBy.ts#L20-L27', 'tasks._types.NodeTasks': 'tasks/_types/TaskListResponseBase.ts#L49-L57', @@ -3097,23 +3106,23 @@ 'tasks._types.TaskInfo': 'tasks/_types/TaskInfo.ts#L32-L58', 'tasks._types.TaskInfos': 'tasks/_types/TaskListResponseBase.ts#L40-L43', 'tasks._types.TaskListResponseBase': 'tasks/_types/TaskListResponseBase.ts#L26-L38', -'tasks.cancel.Request': 'tasks/cancel/CancelTasksRequest.ts#L23-L78', +'tasks.cancel.Request': 'tasks/cancel/CancelTasksRequest.ts#L23-L79', 'tasks.cancel.Response': 'tasks/cancel/CancelTasksResponse.ts#L22-L24', -'tasks.get.Request': 'tasks/get/GetTaskRequest.ts#L24-L64', +'tasks.get.Request': 'tasks/get/GetTaskRequest.ts#L24-L65', 'tasks.get.Response': 'tasks/get/GetTaskResponse.ts#L24-L31', -'tasks.list.Request': 'tasks/list/ListTasksRequest.ts#L25-L139', +'tasks.list.Request': 'tasks/list/ListTasksRequest.ts#L25-L140', 'tasks.list.Response': 'tasks/list/ListTasksResponse.ts#L22-L24', 'text_structure._types.EcsCompatibilityType': 'text_structure/_types/Structure.ts#L40-L43', 'text_structure._types.FieldStat': 'text_structure/_types/Structure.ts#L23-L33', 'text_structure._types.FormatType': 'text_structure/_types/Structure.ts#L45-L50', 'text_structure._types.TopHit': 'text_structure/_types/Structure.ts#L35-L38', -'text_structure.find_field_structure.Request': 'text_structure/find_field_structure/FindFieldStructureRequest.ts#L26-L184', +'text_structure.find_field_structure.Request': 'text_structure/find_field_structure/FindFieldStructureRequest.ts#L26-L185', 'text_structure.find_field_structure.Response': 'text_structure/find_field_structure/FindFieldStructureResponse.ts#L31-L49', -'text_structure.find_message_structure.Request': 'text_structure/find_message_structure/FindMessageStructureRequest.ts#L25-L174', +'text_structure.find_message_structure.Request': 'text_structure/find_message_structure/FindMessageStructureRequest.ts#L25-L176', 'text_structure.find_message_structure.Response': 'text_structure/find_message_structure/FindMessageStructureResponse.ts#L31-L49', 'text_structure.test_grok_pattern.MatchedField': 'text_structure/test_grok_pattern/types.ts#L23-L27', 'text_structure.test_grok_pattern.MatchedText': 'text_structure/test_grok_pattern/types.ts#L29-L32', -'text_structure.test_grok_pattern.Request': 'text_structure/test_grok_pattern/TestGrokPatternRequest.ts#L23-L59', +'text_structure.test_grok_pattern.Request': 'text_structure/test_grok_pattern/TestGrokPatternRequest.ts#L23-L61', 'text_structure.test_grok_pattern.Response': 'text_structure/test_grok_pattern/TestGrokPatternResponse.ts#L22-L26', 'transform._types.Destination': 'transform/_types/Transform.ts#L34-L45', 'transform._types.Latest': 'transform/_types/Transform.ts#L47-L52', @@ -3125,37 +3134,42 @@ 'transform._types.Source': 'transform/_types/Transform.ts#L156-L175', 'transform._types.SyncContainer': 'transform/_types/Transform.ts#L179-L185', 'transform._types.TimeSync': 'transform/_types/Transform.ts#L187-L199', -'transform.delete_transform.Request': 'transform/delete_transform/DeleteTransformRequest.ts#L24-L64', +'transform.delete_transform.Request': 'transform/delete_transform/DeleteTransformRequest.ts#L24-L65', 'transform.delete_transform.Response': 'transform/delete_transform/DeleteTransformResponse.ts#L22-L24', -'transform.get_transform.Request': 'transform/get_transform/GetTransformRequest.ts#L24-L84', +'transform.get_node_stats.Request': 'transform/get_node_stats/GetNodeStatsRequest.ts#L23-L40', +'transform.get_node_stats.Response': 'transform/get_node_stats/GetNodeStatsResponse.ts#L22-L25', +'transform.get_node_stats.TransformNodeFullStats': 'transform/get_node_stats/types.ts#L24-L31', +'transform.get_node_stats.TransformNodeStats': 'transform/get_node_stats/types.ts#L33-L35', +'transform.get_node_stats.TransformSchedulerStats': 'transform/get_node_stats/types.ts#L37-L40', +'transform.get_transform.Request': 'transform/get_transform/GetTransformRequest.ts#L24-L85', 'transform.get_transform.Response': 'transform/get_transform/GetTransformResponse.ts#L23-L25', 'transform.get_transform.TransformSummary': 'transform/get_transform/types.ts#L33-L62', 'transform.get_transform_stats.CheckpointStats': 'transform/get_transform_stats/types.ts#L93-L100', 'transform.get_transform_stats.Checkpointing': 'transform/get_transform_stats/types.ts#L102-L110', -'transform.get_transform_stats.Request': 'transform/get_transform_stats/GetTransformStatsRequest.ts#L25-L77', +'transform.get_transform_stats.Request': 'transform/get_transform_stats/GetTransformStatsRequest.ts#L25-L82', 'transform.get_transform_stats.Response': 'transform/get_transform_stats/GetTransformStatsResponse.ts#L23-L25', 'transform.get_transform_stats.TransformHealthIssue': 'transform/get_transform_stats/types.ts#L51-L63', 'transform.get_transform_stats.TransformIndexerStats': 'transform/get_transform_stats/types.ts#L73-L91', 'transform.get_transform_stats.TransformProgress': 'transform/get_transform_stats/types.ts#L65-L71', 'transform.get_transform_stats.TransformStats': 'transform/get_transform_stats/types.ts#L31-L42', 'transform.get_transform_stats.TransformStatsHealth': 'transform/get_transform_stats/types.ts#L44-L49', -'transform.preview_transform.Request': 'transform/preview_transform/PreviewTransformRequest.ts#L33-L119', +'transform.preview_transform.Request': 'transform/preview_transform/PreviewTransformRequest.ts#L33-L121', 'transform.preview_transform.Response': 'transform/preview_transform/PreviewTransformResponse.ts#L22-L27', -'transform.put_transform.Request': 'transform/put_transform/PutTransformRequest.ts#L33-L130', +'transform.put_transform.Request': 'transform/put_transform/PutTransformRequest.ts#L33-L132', 'transform.put_transform.Response': 'transform/put_transform/PutTransformResponse.ts#L22-L24', -'transform.reset_transform.Request': 'transform/reset_transform/ResetTransformRequest.ts#L24-L62', +'transform.reset_transform.Request': 'transform/reset_transform/ResetTransformRequest.ts#L24-L63', 'transform.reset_transform.Response': 'transform/reset_transform/ResetTransformResponse.ts#L22-L24', -'transform.schedule_now_transform.Request': 'transform/schedule_now_transform/ScheduleNowTransformRequest.ts#L23-L57', +'transform.schedule_now_transform.Request': 'transform/schedule_now_transform/ScheduleNowTransformRequest.ts#L23-L59', 'transform.schedule_now_transform.Response': 'transform/schedule_now_transform/ScheduleNowTransformResponse.ts#L21-L23', -'transform.set_upgrade_mode.Request': 'transform/set_upgrade_mode/TransformSetUpgradeModeRequest.ts#L23-L64', +'transform.set_upgrade_mode.Request': 'transform/set_upgrade_mode/TransformSetUpgradeModeRequest.ts#L24-L66', 'transform.set_upgrade_mode.Response': 'transform/set_upgrade_mode/TransformSetUpgradeModeResponse.ts#L22-L25', -'transform.start_transform.Request': 'transform/start_transform/StartTransformRequest.ts#L24-L72', +'transform.start_transform.Request': 'transform/start_transform/StartTransformRequest.ts#L24-L73', 'transform.start_transform.Response': 'transform/start_transform/StartTransformResponse.ts#L22-L24', -'transform.stop_transform.Request': 'transform/stop_transform/StopTransformRequest.ts#L24-L84', +'transform.stop_transform.Request': 'transform/stop_transform/StopTransformRequest.ts#L24-L85', 'transform.stop_transform.Response': 'transform/stop_transform/StopTransformResponse.ts#L22-L24', -'transform.update_transform.Request': 'transform/update_transform/UpdateTransformRequest.ts#L31-L113', +'transform.update_transform.Request': 'transform/update_transform/UpdateTransformRequest.ts#L31-L115', 'transform.update_transform.Response': 'transform/update_transform/UpdateTransformResponse.ts#L33-L51', -'transform.upgrade_transforms.Request': 'transform/upgrade_transforms/UpgradeTransformsRequest.ts#L23-L65', +'transform.upgrade_transforms.Request': 'transform/upgrade_transforms/UpgradeTransformsRequest.ts#L24-L68', 'transform.upgrade_transforms.Response': 'transform/upgrade_transforms/UpgradeTransformsResponse.ts#L25-L34', 'watcher._types.AcknowledgeState': 'watcher/_types/Action.ts#L109-L112', 'watcher._types.AcknowledgementOptions': 'watcher/_types/Action.ts#L103-L107', @@ -3249,46 +3263,46 @@ 'watcher._types.WatchStatus': 'watcher/_types/Watch.ts#L49-L56', 'watcher._types.WebhookAction': 'watcher/_types/Actions.ts#L293-L293', 'watcher._types.WebhookResult': 'watcher/_types/Actions.ts#L295-L298', -'watcher.ack_watch.Request': 'watcher/ack_watch/WatcherAckWatchRequest.ts#L23-L61', +'watcher.ack_watch.Request': 'watcher/ack_watch/WatcherAckWatchRequest.ts#L23-L62', 'watcher.ack_watch.Response': 'watcher/ack_watch/WatcherAckWatchResponse.ts#L22-L24', -'watcher.activate_watch.Request': 'watcher/activate_watch/WatcherActivateWatchRequest.ts#L23-L45', +'watcher.activate_watch.Request': 'watcher/activate_watch/WatcherActivateWatchRequest.ts#L23-L46', 'watcher.activate_watch.Response': 'watcher/activate_watch/WatcherActivateWatchResponse.ts#L22-L24', -'watcher.deactivate_watch.Request': 'watcher/deactivate_watch/DeactivateWatchRequest.ts#L23-L45', +'watcher.deactivate_watch.Request': 'watcher/deactivate_watch/DeactivateWatchRequest.ts#L23-L46', 'watcher.deactivate_watch.Response': 'watcher/deactivate_watch/DeactivateWatchResponse.ts#L22-L24', -'watcher.delete_watch.Request': 'watcher/delete_watch/DeleteWatchRequest.ts#L23-L50', +'watcher.delete_watch.Request': 'watcher/delete_watch/DeleteWatchRequest.ts#L23-L51', 'watcher.delete_watch.Response': 'watcher/delete_watch/DeleteWatchResponse.ts#L22-L24', -'watcher.execute_watch.Request': 'watcher/execute_watch/WatcherExecuteWatchRequest.ts#L28-L105', +'watcher.execute_watch.Request': 'watcher/execute_watch/WatcherExecuteWatchRequest.ts#L28-L107', 'watcher.execute_watch.Response': 'watcher/execute_watch/WatcherExecuteWatchResponse.ts#L23-L34', 'watcher.execute_watch.WatchRecord': 'watcher/execute_watch/types.ts#L27-L39', -'watcher.get_settings.Request': 'watcher/get_settings/WatcherGetSettingsRequest.ts#L23-L46', +'watcher.get_settings.Request': 'watcher/get_settings/WatcherGetSettingsRequest.ts#L24-L49', 'watcher.get_settings.Response': 'watcher/get_settings/WatcherGetSettingsResponse.ts#L22-L26', -'watcher.get_watch.Request': 'watcher/get_watch/GetWatchRequest.ts#L23-L43', +'watcher.get_watch.Request': 'watcher/get_watch/GetWatchRequest.ts#L23-L44', 'watcher.get_watch.Response': 'watcher/get_watch/GetWatchResponse.ts#L24-L34', -'watcher.put_watch.Request': 'watcher/put_watch/WatcherPutWatchRequest.ts#L31-L110', +'watcher.put_watch.Request': 'watcher/put_watch/WatcherPutWatchRequest.ts#L37-L123', 'watcher.put_watch.Response': 'watcher/put_watch/WatcherPutWatchResponse.ts#L23-L31', -'watcher.query_watches.Request': 'watcher/query_watches/WatcherQueryWatchesRequest.ts#L25-L70', +'watcher.query_watches.Request': 'watcher/query_watches/WatcherQueryWatchesRequest.ts#L26-L73', 'watcher.query_watches.Response': 'watcher/query_watches/WatcherQueryWatchesResponse.ts#L23-L34', -'watcher.start.Request': 'watcher/start/WatcherStartRequest.ts#L23-L45', +'watcher.start.Request': 'watcher/start/WatcherStartRequest.ts#L24-L47', 'watcher.start.Response': 'watcher/start/WatcherStartResponse.ts#L22-L24', -'watcher.stats.Request': 'watcher/stats/WatcherStatsRequest.ts#L23-L60', +'watcher.stats.Request': 'watcher/stats/WatcherStatsRequest.ts#L24-L62', 'watcher.stats.Response': 'watcher/stats/WatcherStatsResponse.ts#L24-L32', 'watcher.stats.WatchRecordQueuedStats': 'watcher/stats/types.ts#L71-L77', 'watcher.stats.WatchRecordStats': 'watcher/stats/types.ts#L79-L94', 'watcher.stats.WatcherMetric': 'watcher/stats/types.ts#L63-L69', 'watcher.stats.WatcherNodeStats': 'watcher/stats/types.ts#L33-L61', 'watcher.stats.WatcherState': 'watcher/stats/types.ts#L26-L31', -'watcher.stop.Request': 'watcher/stop/WatcherStopRequest.ts#L23-L47', +'watcher.stop.Request': 'watcher/stop/WatcherStopRequest.ts#L24-L49', 'watcher.stop.Response': 'watcher/stop/WatcherStopResponse.ts#L22-L24', -'watcher.update_settings.Request': 'watcher/update_settings/WatcherUpdateSettingsRequest.ts#L24-L62', +'watcher.update_settings.Request': 'watcher/update_settings/WatcherUpdateSettingsRequest.ts#L25-L65', 'watcher.update_settings.Response': 'watcher/update_settings/WatcherUpdateSettingsResponse.ts#L20-L24', 'xpack.info.BuildInformation': 'xpack/info/types.ts#L24-L27', 'xpack.info.Feature': 'xpack/info/types.ts#L85-L90', 'xpack.info.Features': 'xpack/info/types.ts#L42-L83', 'xpack.info.MinimalLicenseInformation': 'xpack/info/types.ts#L34-L40', 'xpack.info.NativeCodeInformation': 'xpack/info/types.ts#L29-L32', -'xpack.info.Request': 'xpack/info/XPackInfoRequest.ts#L22-L59', +'xpack.info.Request': 'xpack/info/XPackInfoRequest.ts#L23-L62', 'xpack.info.Response': 'xpack/info/XPackInfoResponse.ts#L22-L29', -'xpack.info.XPackCategory': 'xpack/info/XPackInfoRequest.ts#L61-L65', +'xpack.info.XPackCategory': 'xpack/info/XPackInfoRequest.ts#L64-L68', 'xpack.usage.Analytics': 'xpack/usage/types.ts#L340-L342', 'xpack.usage.AnalyticsStatistics': 'xpack/usage/types.ts#L58-L68', 'xpack.usage.Archive': 'xpack/usage/types.ts#L45-L47', @@ -3335,7 +3349,7 @@ 'xpack.usage.Query': 'xpack/usage/types.ts#L269-L274', 'xpack.usage.Realm': 'xpack/usage/types.ts#L427-L436', 'xpack.usage.RealmCache': 'xpack/usage/types.ts#L276-L278', -'xpack.usage.Request': 'xpack/usage/XPackUsageRequest.ts#L23-L49', +'xpack.usage.Request': 'xpack/usage/XPackUsageRequest.ts#L24-L51', 'xpack.usage.Response': 'xpack/usage/XPackUsageResponse.ts#L43-L79', 'xpack.usage.RoleMapping': 'xpack/usage/types.ts#L280-L283', 'xpack.usage.RuntimeFieldTypes': 'xpack/usage/types.ts#L285-L287', @@ -3362,10 +3376,10 @@ if (hash.length > 1) { hash = hash.substring(1); } - window.location = "https://github.com/elastic/elasticsearch-specification/tree/1d725f63ca17f9cc608eb3a97029d74b0e122d49/specification/" + (paths[hash] || ""); + window.location = "https://github.com/elastic/elasticsearch-specification/tree/1c755b6fc50623dce6993efb7bfd3bdaef68fb90/specification/" + (paths[hash] || ""); - Please see the Elasticsearch API specification. + Please see the Elasticsearch API specification. diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java index 45c4c36e5f..a2666127e9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java @@ -289,7 +289,7 @@ public final Boolean ignoreUnavailable() { } /** - * Required - The name of the index to scope the operation + * Required - Comma-separated list of index names to scope the operation *

* API name: {@code index} */ @@ -782,7 +782,7 @@ public final Builder ignoreUnavailable(@Nullable Boolean value) { } /** - * Required - The name of the index to scope the operation + * Required - Comma-separated list of index names to scope the operation *

* API name: {@code index} *

@@ -794,7 +794,7 @@ public final Builder index(List list) { } /** - * Required - The name of the index to scope the operation + * Required - Comma-separated list of index names to scope the operation *

* API name: {@code index} *

diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamFailureStore.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamFailureStore.java new file mode 100644 index 0000000000..3baf0a9405 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamFailureStore.java @@ -0,0 +1,222 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices._types.DataStreamFailureStore + +/** + * Data stream failure store contains the configuration of the failure store for + * a given data stream. + * + * @see API + * specification + */ +@JsonpDeserializable +public class DataStreamFailureStore implements JsonpSerializable { + @Nullable + private final Boolean enabled; + + @Nullable + private final FailureStoreLifecycle lifecycle; + + // --------------------------------------------------------------------------------------------- + + private DataStreamFailureStore(Builder builder) { + + this.enabled = builder.enabled; + this.lifecycle = builder.lifecycle; + + } + + public static DataStreamFailureStore of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * If defined, it turns the failure store on/off + * (true/false) for this data stream. A data stream + * failure store that's disabled (enabled: false) will redirect no + * new failed indices to the failure store; however, it will not remove any + * existing data from the failure store. + *

+ * API name: {@code enabled} + */ + @Nullable + public final Boolean enabled() { + return this.enabled; + } + + /** + * If defined, it specifies the lifecycle configuration for the failure store of + * this data stream. + *

+ * API name: {@code lifecycle} + */ + @Nullable + public final FailureStoreLifecycle lifecycle() { + return this.lifecycle; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.enabled != null) { + generator.writeKey("enabled"); + generator.write(this.enabled); + + } + if (this.lifecycle != null) { + generator.writeKey("lifecycle"); + this.lifecycle.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DataStreamFailureStore}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + @Nullable + private Boolean enabled; + + @Nullable + private FailureStoreLifecycle lifecycle; + + /** + * If defined, it turns the failure store on/off + * (true/false) for this data stream. A data stream + * failure store that's disabled (enabled: false) will redirect no + * new failed indices to the failure store; however, it will not remove any + * existing data from the failure store. + *

+ * API name: {@code enabled} + */ + public final Builder enabled(@Nullable Boolean value) { + this.enabled = value; + return this; + } + + /** + * If defined, it specifies the lifecycle configuration for the failure store of + * this data stream. + *

+ * API name: {@code lifecycle} + */ + public final Builder lifecycle(@Nullable FailureStoreLifecycle value) { + this.lifecycle = value; + return this; + } + + /** + * If defined, it specifies the lifecycle configuration for the failure store of + * this data stream. + *

+ * API name: {@code lifecycle} + */ + public final Builder lifecycle( + Function> fn) { + return this.lifecycle(fn.apply(new FailureStoreLifecycle.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DataStreamFailureStore}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DataStreamFailureStore build() { + _checkSingleUse(); + + return new DataStreamFailureStore(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link DataStreamFailureStore} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, DataStreamFailureStore::setupDataStreamFailureStoreDeserializer); + + protected static void setupDataStreamFailureStoreDeserializer( + ObjectDeserializer op) { + + op.add(Builder::enabled, JsonpDeserializer.booleanDeserializer(), "enabled"); + op.add(Builder::lifecycle, FailureStoreLifecycle._DESERIALIZER, "lifecycle"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamFailureStoreTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamFailureStoreTemplate.java new file mode 100644 index 0000000000..448163a3c4 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamFailureStoreTemplate.java @@ -0,0 +1,222 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices._types.DataStreamFailureStoreTemplate + +/** + * Template equivalent of DataStreamFailureStore that allows nullable values. + * + * @see API + * specification + */ +@JsonpDeserializable +public class DataStreamFailureStoreTemplate implements JsonpSerializable { + @Nullable + private final Boolean enabled; + + @Nullable + private final FailureStoreLifecycleTemplate lifecycle; + + // --------------------------------------------------------------------------------------------- + + private DataStreamFailureStoreTemplate(Builder builder) { + + this.enabled = builder.enabled; + this.lifecycle = builder.lifecycle; + + } + + public static DataStreamFailureStoreTemplate of( + Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * If defined, it turns the failure store on/off + * (true/false) for this data stream. A data stream + * failure store that's disabled (enabled: false) will redirect no + * new failed indices to the failure store; however, it will not remove any + * existing data from the failure store. + *

+ * API name: {@code enabled} + */ + @Nullable + public final Boolean enabled() { + return this.enabled; + } + + /** + * If defined, it specifies the lifecycle configuration for the failure store of + * this data stream. + *

+ * API name: {@code lifecycle} + */ + @Nullable + public final FailureStoreLifecycleTemplate lifecycle() { + return this.lifecycle; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.enabled != null) { + generator.writeKey("enabled"); + generator.write(this.enabled); + + } + if (this.lifecycle != null) { + generator.writeKey("lifecycle"); + this.lifecycle.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DataStreamFailureStoreTemplate}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + @Nullable + private Boolean enabled; + + @Nullable + private FailureStoreLifecycleTemplate lifecycle; + + /** + * If defined, it turns the failure store on/off + * (true/false) for this data stream. A data stream + * failure store that's disabled (enabled: false) will redirect no + * new failed indices to the failure store; however, it will not remove any + * existing data from the failure store. + *

+ * API name: {@code enabled} + */ + public final Builder enabled(@Nullable Boolean value) { + this.enabled = value; + return this; + } + + /** + * If defined, it specifies the lifecycle configuration for the failure store of + * this data stream. + *

+ * API name: {@code lifecycle} + */ + public final Builder lifecycle(@Nullable FailureStoreLifecycleTemplate value) { + this.lifecycle = value; + return this; + } + + /** + * If defined, it specifies the lifecycle configuration for the failure store of + * this data stream. + *

+ * API name: {@code lifecycle} + */ + public final Builder lifecycle( + Function> fn) { + return this.lifecycle(fn.apply(new FailureStoreLifecycleTemplate.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DataStreamFailureStoreTemplate}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DataStreamFailureStoreTemplate build() { + _checkSingleUse(); + + return new DataStreamFailureStoreTemplate(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link DataStreamFailureStoreTemplate} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, DataStreamFailureStoreTemplate::setupDataStreamFailureStoreTemplateDeserializer); + + protected static void setupDataStreamFailureStoreTemplateDeserializer( + ObjectDeserializer op) { + + op.add(Builder::enabled, JsonpDeserializer.booleanDeserializer(), "enabled"); + op.add(Builder::lifecycle, FailureStoreLifecycleTemplate._DESERIALIZER, "lifecycle"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycle.java index db24b9183a..ddce28b528 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycle.java @@ -27,10 +27,12 @@ import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.Boolean; +import java.util.List; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -65,8 +67,7 @@ public class DataStreamLifecycle implements JsonpSerializable { @Nullable private final Time dataRetention; - @Nullable - private final DataStreamLifecycleDownsampling downsampling; + private final List downsampling; @Nullable private final Boolean enabled; @@ -76,7 +77,7 @@ public class DataStreamLifecycle implements JsonpSerializable { protected DataStreamLifecycle(AbstractBuilder builder) { this.dataRetention = builder.dataRetention; - this.downsampling = builder.downsampling; + this.downsampling = ApiTypeHelper.unmodifiable(builder.downsampling); this.enabled = builder.enabled; } @@ -99,13 +100,12 @@ public final Time dataRetention() { } /** - * The downsampling configuration to execute for the managed backing index after - * rollover. + * The list of downsampling rounds to execute as part of this downsampling + * configuration *

* API name: {@code downsampling} */ - @Nullable - public final DataStreamLifecycleDownsampling downsampling() { + public final List downsampling() { return this.downsampling; } @@ -138,9 +138,14 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { this.dataRetention.serialize(generator, mapper); } - if (this.downsampling != null) { + if (ApiTypeHelper.isDefined(this.downsampling)) { generator.writeKey("downsampling"); - this.downsampling.serialize(generator, mapper); + generator.writeStartArray(); + for (DownsamplingRound item0 : this.downsampling) { + item0.serialize(generator, mapper); + + } + generator.writeEnd(); } if (this.enabled != null) { @@ -190,7 +195,7 @@ public abstract static class AbstractBuilder downsampling; @Nullable private Boolean enabled; @@ -221,25 +226,41 @@ public final BuilderT dataRetention(Function> } /** - * The downsampling configuration to execute for the managed backing index after - * rollover. + * The list of downsampling rounds to execute as part of this downsampling + * configuration *

* API name: {@code downsampling} + *

+ * Adds all elements of list to downsampling. */ - public final BuilderT downsampling(@Nullable DataStreamLifecycleDownsampling value) { - this.downsampling = value; + public final BuilderT downsampling(List list) { + this.downsampling = _listAddAll(this.downsampling, list); return self(); } /** - * The downsampling configuration to execute for the managed backing index after - * rollover. + * The list of downsampling rounds to execute as part of this downsampling + * configuration *

* API name: {@code downsampling} + *

+ * Adds one or more values to downsampling. + */ + public final BuilderT downsampling(DownsamplingRound value, DownsamplingRound... values) { + this.downsampling = _listAdd(this.downsampling, value, values); + return self(); + } + + /** + * The list of downsampling rounds to execute as part of this downsampling + * configuration + *

+ * API name: {@code downsampling} + *

+ * Adds a value to downsampling using a builder lambda. */ - public final BuilderT downsampling( - Function> fn) { - return this.downsampling(fn.apply(new DataStreamLifecycleDownsampling.Builder()).build()); + public final BuilderT downsampling(Function> fn) { + return downsampling(fn.apply(new DownsamplingRound.Builder()).build()); } /** @@ -271,7 +292,8 @@ protected static > void setupDataStre ObjectDeserializer op) { op.add(AbstractBuilder::dataRetention, Time._DESERIALIZER, "data_retention"); - op.add(AbstractBuilder::downsampling, DataStreamLifecycleDownsampling._DESERIALIZER, "downsampling"); + op.add(AbstractBuilder::downsampling, JsonpDeserializer.arrayDeserializer(DownsamplingRound._DESERIALIZER), + "downsampling"); op.add(AbstractBuilder::enabled, JsonpDeserializer.booleanDeserializer(), "enabled"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamOptions.java new file mode 100644 index 0000000000..0b28db42af --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamOptions.java @@ -0,0 +1,177 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices._types.DataStreamOptions + +/** + * Data stream options contain the configuration of data stream level features + * for a given data stream, for example, the failure store configuration. + * + * @see API + * specification + */ +@JsonpDeserializable +public class DataStreamOptions implements JsonpSerializable { + @Nullable + private final DataStreamFailureStore failureStore; + + // --------------------------------------------------------------------------------------------- + + private DataStreamOptions(Builder builder) { + + this.failureStore = builder.failureStore; + + } + + public static DataStreamOptions of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * If defined, it specifies configuration for the failure store of this data + * stream. + *

+ * API name: {@code failure_store} + */ + @Nullable + public final DataStreamFailureStore failureStore() { + return this.failureStore; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.failureStore != null) { + generator.writeKey("failure_store"); + this.failureStore.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DataStreamOptions}. + */ + + public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { + @Nullable + private DataStreamFailureStore failureStore; + + /** + * If defined, it specifies configuration for the failure store of this data + * stream. + *

+ * API name: {@code failure_store} + */ + public final Builder failureStore(@Nullable DataStreamFailureStore value) { + this.failureStore = value; + return this; + } + + /** + * If defined, it specifies configuration for the failure store of this data + * stream. + *

+ * API name: {@code failure_store} + */ + public final Builder failureStore( + Function> fn) { + return this.failureStore(fn.apply(new DataStreamFailureStore.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DataStreamOptions}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DataStreamOptions build() { + _checkSingleUse(); + + return new DataStreamOptions(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link DataStreamOptions} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, DataStreamOptions::setupDataStreamOptionsDeserializer); + + protected static void setupDataStreamOptionsDeserializer(ObjectDeserializer op) { + + op.add(Builder::failureStore, DataStreamFailureStore._DESERIALIZER, "failure_store"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamOptionsTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamOptionsTemplate.java new file mode 100644 index 0000000000..000dccb7b5 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamOptionsTemplate.java @@ -0,0 +1,171 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices._types.DataStreamOptionsTemplate + +/** + * Data stream options template contains the same information as + * DataStreamOptions but allows them to be set explicitly to null. + * + * @see API + * specification + */ +@JsonpDeserializable +public class DataStreamOptionsTemplate implements JsonpSerializable { + @Nullable + private final DataStreamFailureStoreTemplate failureStore; + + // --------------------------------------------------------------------------------------------- + + private DataStreamOptionsTemplate(Builder builder) { + + this.failureStore = builder.failureStore; + + } + + public static DataStreamOptionsTemplate of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * API name: {@code failure_store} + */ + @Nullable + public final DataStreamFailureStoreTemplate failureStore() { + return this.failureStore; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.failureStore != null) { + generator.writeKey("failure_store"); + this.failureStore.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DataStreamOptionsTemplate}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + @Nullable + private DataStreamFailureStoreTemplate failureStore; + + /** + * API name: {@code failure_store} + */ + public final Builder failureStore(@Nullable DataStreamFailureStoreTemplate value) { + this.failureStore = value; + return this; + } + + /** + * API name: {@code failure_store} + */ + public final Builder failureStore( + Function> fn) { + return this.failureStore(fn.apply(new DataStreamFailureStoreTemplate.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DataStreamOptionsTemplate}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DataStreamOptionsTemplate build() { + _checkSingleUse(); + + return new DataStreamOptionsTemplate(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link DataStreamOptionsTemplate} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, DataStreamOptionsTemplate::setupDataStreamOptionsTemplateDeserializer); + + protected static void setupDataStreamOptionsTemplateDeserializer( + ObjectDeserializer op) { + + op.add(Builder::failureStore, DataStreamFailureStoreTemplate._DESERIALIZER, "failure_store"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataLifecycleRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataLifecycleRequest.java index 806db4c28a..87a1480386 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataLifecycleRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataLifecycleRequest.java @@ -104,7 +104,7 @@ public final List expandWildcards() { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -115,7 +115,7 @@ public final Time masterTimeout() { /** * Required - A comma-separated list of data streams of which the data stream - * lifecycle will be deleted; use * to get all data streams + * lifecycle will be deleted. Use * to get all data streams *

* API name: {@code name} */ @@ -124,7 +124,7 @@ public final List name() { } /** - * Explicit timestamp for the document + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -180,7 +180,7 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -190,7 +190,7 @@ public final Builder masterTimeout(@Nullable Time value) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -200,7 +200,7 @@ public final Builder masterTimeout(Function> f /** * Required - A comma-separated list of data streams of which the data stream - * lifecycle will be deleted; use * to get all data streams + * lifecycle will be deleted. Use * to get all data streams *

* API name: {@code name} *

@@ -213,7 +213,7 @@ public final Builder name(List list) { /** * Required - A comma-separated list of data streams of which the data stream - * lifecycle will be deleted; use * to get all data streams + * lifecycle will be deleted. Use * to get all data streams *

* API name: {@code name} *

@@ -225,7 +225,7 @@ public final Builder name(String value, String... values) { } /** - * Explicit timestamp for the document + * The period to wait for a response. *

* API name: {@code timeout} */ @@ -235,7 +235,7 @@ public final Builder timeout(@Nullable Time value) { } /** - * Explicit timestamp for the document + * The period to wait for a response. *

* API name: {@code timeout} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataStreamOptionsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataStreamOptionsRequest.java new file mode 100644 index 0000000000..6413c315a5 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataStreamOptionsRequest.java @@ -0,0 +1,328 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.ExpandWildcard; +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; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import java.util.stream.Collectors; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices.delete_data_stream_options.Request + +/** + * Delete data stream options. + *

+ * Removes the data stream options from a data stream. + * + * @see API + * specification + */ + +public class DeleteDataStreamOptionsRequest extends RequestBase { + private final List expandWildcards; + + @Nullable + private final Time masterTimeout; + + private final List name; + + @Nullable + private final Time timeout; + + // --------------------------------------------------------------------------------------------- + + private DeleteDataStreamOptionsRequest(Builder builder) { + + this.expandWildcards = ApiTypeHelper.unmodifiable(builder.expandWildcards); + this.masterTimeout = builder.masterTimeout; + this.name = ApiTypeHelper.unmodifiableRequired(builder.name, this, "name"); + this.timeout = builder.timeout; + + } + + public static DeleteDataStreamOptionsRequest of( + Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Whether wildcard expressions should get expanded to open or closed indices + *

+ * API name: {@code expand_wildcards} + */ + public final List expandWildcards() { + return this.expandWildcards; + } + + /** + * The period to wait for a connection to the master node. + *

+ * API name: {@code master_timeout} + */ + @Nullable + public final Time masterTimeout() { + return this.masterTimeout; + } + + /** + * Required - A comma-separated list of data streams of which the data stream + * options will be deleted. Use * to get all data streams + *

+ * API name: {@code name} + */ + public final List name() { + return this.name; + } + + /** + * The period to wait for a response. + *

+ * API name: {@code timeout} + */ + @Nullable + public final Time timeout() { + return this.timeout; + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DeleteDataStreamOptionsRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + @Nullable + private List expandWildcards; + + @Nullable + private Time masterTimeout; + + private List name; + + @Nullable + private Time timeout; + + /** + * Whether wildcard expressions should get expanded to open or closed indices + *

+ * API name: {@code expand_wildcards} + *

+ * Adds all elements of list to expandWildcards. + */ + public final Builder expandWildcards(List list) { + this.expandWildcards = _listAddAll(this.expandWildcards, list); + return this; + } + + /** + * Whether wildcard expressions should get expanded to open or closed indices + *

+ * API name: {@code expand_wildcards} + *

+ * Adds one or more values to expandWildcards. + */ + public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) { + this.expandWildcards = _listAdd(this.expandWildcards, value, values); + return this; + } + + /** + * The period to wait for a connection to the master node. + *

+ * API name: {@code master_timeout} + */ + public final Builder masterTimeout(@Nullable Time value) { + this.masterTimeout = value; + return this; + } + + /** + * The period to wait for a connection to the master node. + *

+ * API name: {@code master_timeout} + */ + public final Builder masterTimeout(Function> fn) { + return this.masterTimeout(fn.apply(new Time.Builder()).build()); + } + + /** + * Required - A comma-separated list of data streams of which the data stream + * options will be deleted. Use * to get all data streams + *

+ * API name: {@code name} + *

+ * Adds all elements of list to name. + */ + public final Builder name(List list) { + this.name = _listAddAll(this.name, list); + return this; + } + + /** + * Required - A comma-separated list of data streams of which the data stream + * options will be deleted. Use * to get all data streams + *

+ * API name: {@code name} + *

+ * Adds one or more values to name. + */ + public final Builder name(String value, String... values) { + this.name = _listAdd(this.name, value, values); + return this; + } + + /** + * The period to wait for a response. + *

+ * API name: {@code timeout} + */ + public final Builder timeout(@Nullable Time value) { + this.timeout = value; + return this; + } + + /** + * The period to wait for a response. + *

+ * API name: {@code timeout} + */ + public final Builder timeout(Function> fn) { + return this.timeout(fn.apply(new Time.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DeleteDataStreamOptionsRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DeleteDataStreamOptionsRequest build() { + _checkSingleUse(); + + return new DeleteDataStreamOptionsRequest(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code indices.delete_data_stream_options}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/indices.delete_data_stream_options", + + // Request method + request -> { + return "DELETE"; + + }, + + // Request path + request -> { + final int _name = 1 << 0; + + int propsSet = 0; + + propsSet |= _name; + + if (propsSet == (_name)) { + StringBuilder buf = new StringBuilder(); + buf.append("/_data_stream"); + buf.append("/"); + SimpleEndpoint.pathEncode(request.name.stream().map(v -> v).collect(Collectors.joining(",")), buf); + buf.append("/_options"); + return buf.toString(); + } + throw SimpleEndpoint.noPathTemplateFound("path"); + + }, + + // Path parameters + request -> { + Map params = new HashMap<>(); + final int _name = 1 << 0; + + int propsSet = 0; + + propsSet |= _name; + + if (propsSet == (_name)) { + params.put("name", request.name.stream().map(v -> v).collect(Collectors.joining(","))); + } + return params; + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.masterTimeout != null) { + params.put("master_timeout", request.masterTimeout._toJsonString()); + } + if (ApiTypeHelper.isDefined(request.expandWildcards)) { + params.put("expand_wildcards", + request.expandWildcards.stream().map(v -> v.jsonValue()).collect(Collectors.joining(","))); + } + if (request.timeout != null) { + params.put("timeout", request.timeout._toJsonString()); + } + return params; + + }, SimpleEndpoint.emptyMap(), false, DeleteDataStreamOptionsResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataStreamOptionsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataStreamOptionsResponse.java new file mode 100644 index 0000000000..050346699a --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteDataStreamOptionsResponse.java @@ -0,0 +1,110 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.util.Objects; +import java.util.function.Function; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices.delete_data_stream_options.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class DeleteDataStreamOptionsResponse extends AcknowledgedResponseBase { + // --------------------------------------------------------------------------------------------- + + private DeleteDataStreamOptionsResponse(Builder builder) { + super(builder); + + } + + public static DeleteDataStreamOptionsResponse of( + Function> fn) { + return fn.apply(new Builder()).build(); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DeleteDataStreamOptionsResponse}. + */ + + public static class Builder extends AcknowledgedResponseBase.AbstractBuilder + implements + ObjectBuilder { + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DeleteDataStreamOptionsResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DeleteDataStreamOptionsResponse build() { + _checkSingleUse(); + + return new DeleteDataStreamOptionsResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link DeleteDataStreamOptionsResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, DeleteDataStreamOptionsResponse::setupDeleteDataStreamOptionsResponseDeserializer); + + protected static void setupDeleteDataStreamOptionsResponseDeserializer( + ObjectDeserializer op) { + AcknowledgedResponseBase.setupAcknowledgedResponseBaseDeserializer(op); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java index e058f169b7..34f2e754db 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java @@ -896,6 +896,44 @@ public final CompletableFuture deleteDataStream( return deleteDataStream(fn.apply(new DeleteDataStreamRequest.Builder()).build()); } + // ----- Endpoint: indices.delete_data_stream_options + + /** + * Delete data stream options. + *

+ * Removes the data stream options from a data stream. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture deleteDataStreamOptions( + DeleteDataStreamOptionsRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) DeleteDataStreamOptionsRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * Delete data stream options. + *

+ * Removes the data stream options from a data stream. + * + * @param fn + * a function that initializes a builder to create the + * {@link DeleteDataStreamOptionsRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture deleteDataStreamOptions( + Function> fn) { + return deleteDataStreamOptions(fn.apply(new DeleteDataStreamOptionsRequest.Builder()).build()); + } + // ----- Endpoint: indices.delete_index_template /** @@ -1877,6 +1915,43 @@ public CompletableFuture getDataStream() { GetDataStreamRequest._ENDPOINT, this.transportOptions); } + // ----- Endpoint: indices.get_data_stream_options + + /** + * Get data stream options. + *

+ * Get the data stream options configuration of one or more data streams. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture getDataStreamOptions(GetDataStreamOptionsRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) GetDataStreamOptionsRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * Get data stream options. + *

+ * Get the data stream options configuration of one or more data streams. + * + * @param fn + * a function that initializes a builder to create the + * {@link GetDataStreamOptionsRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture getDataStreamOptions( + Function> fn) { + return getDataStreamOptions(fn.apply(new GetDataStreamOptionsRequest.Builder()).build()); + } + // ----- Endpoint: indices.get_data_stream_settings /** @@ -2570,6 +2645,43 @@ public final CompletableFuture putDataLifecycle( return putDataLifecycle(fn.apply(new PutDataLifecycleRequest.Builder()).build()); } + // ----- Endpoint: indices.put_data_stream_options + + /** + * Update data stream options. + *

+ * Update the data stream options of the specified data streams. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture putDataStreamOptions(PutDataStreamOptionsRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) PutDataStreamOptionsRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * Update data stream options. + *

+ * Update the data stream options of the specified data streams. + * + * @param fn + * a function that initializes a builder to create the + * {@link PutDataStreamOptionsRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture putDataStreamOptions( + Function> fn) { + return putDataStreamOptions(fn.apply(new PutDataStreamOptionsRequest.Builder()).build()); + } + // ----- Endpoint: indices.put_data_stream_settings /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java index 94cb92d0be..3a9670b534 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java @@ -905,6 +905,45 @@ public final DeleteDataStreamResponse deleteDataStream( return deleteDataStream(fn.apply(new DeleteDataStreamRequest.Builder()).build()); } + // ----- Endpoint: indices.delete_data_stream_options + + /** + * Delete data stream options. + *

+ * Removes the data stream options from a data stream. + * + * @see Documentation + * on elastic.co + */ + + public DeleteDataStreamOptionsResponse deleteDataStreamOptions(DeleteDataStreamOptionsRequest request) + throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) DeleteDataStreamOptionsRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * Delete data stream options. + *

+ * Removes the data stream options from a data stream. + * + * @param fn + * a function that initializes a builder to create the + * {@link DeleteDataStreamOptionsRequest} + * @see Documentation + * on elastic.co + */ + + public final DeleteDataStreamOptionsResponse deleteDataStreamOptions( + Function> fn) + throws IOException, ElasticsearchException { + return deleteDataStreamOptions(fn.apply(new DeleteDataStreamOptionsRequest.Builder()).build()); + } + // ----- Endpoint: indices.delete_index_template /** @@ -1901,6 +1940,45 @@ public GetDataStreamResponse getDataStream() throws IOException, ElasticsearchEx this.transportOptions); } + // ----- Endpoint: indices.get_data_stream_options + + /** + * Get data stream options. + *

+ * Get the data stream options configuration of one or more data streams. + * + * @see Documentation + * on elastic.co + */ + + public GetDataStreamOptionsResponse getDataStreamOptions(GetDataStreamOptionsRequest request) + throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) GetDataStreamOptionsRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * Get data stream options. + *

+ * Get the data stream options configuration of one or more data streams. + * + * @param fn + * a function that initializes a builder to create the + * {@link GetDataStreamOptionsRequest} + * @see Documentation + * on elastic.co + */ + + public final GetDataStreamOptionsResponse getDataStreamOptions( + Function> fn) + throws IOException, ElasticsearchException { + return getDataStreamOptions(fn.apply(new GetDataStreamOptionsRequest.Builder()).build()); + } + // ----- Endpoint: indices.get_data_stream_settings /** @@ -2614,6 +2692,45 @@ public final PutDataLifecycleResponse putDataLifecycle( return putDataLifecycle(fn.apply(new PutDataLifecycleRequest.Builder()).build()); } + // ----- Endpoint: indices.put_data_stream_options + + /** + * Update data stream options. + *

+ * Update the data stream options of the specified data streams. + * + * @see Documentation + * on elastic.co + */ + + public PutDataStreamOptionsResponse putDataStreamOptions(PutDataStreamOptionsRequest request) + throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) PutDataStreamOptionsRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * Update data stream options. + *

+ * Update the data stream options of the specified data streams. + * + * @param fn + * a function that initializes a builder to create the + * {@link PutDataStreamOptionsRequest} + * @see Documentation + * on elastic.co + */ + + public final PutDataStreamOptionsResponse putDataStreamOptions( + Function> fn) + throws IOException, ElasticsearchException { + return putDataStreamOptions(fn.apply(new PutDataStreamOptionsRequest.Builder()).build()); + } + // ----- Endpoint: indices.put_data_stream_settings /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExplainDataLifecycleRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExplainDataLifecycleRequest.java index a4a4a4d5f9..df4e49ef6a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExplainDataLifecycleRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExplainDataLifecycleRequest.java @@ -93,7 +93,7 @@ public static ExplainDataLifecycleRequest of(Function * API name: {@code include_defaults} @@ -104,7 +104,7 @@ public final Boolean includeDefaults() { } /** - * Required - The name of the index to explain + * Required - Comma-separated list of index names to explain *

* API name: {@code index} */ @@ -113,7 +113,7 @@ public final List index() { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -140,7 +140,7 @@ public static class Builder extends RequestBase.AbstractBuilder private Time masterTimeout; /** - * indicates if the API should return the default values the system uses for the + * Indicates if the API should return the default values the system uses for the * index's lifecycle *

* API name: {@code include_defaults} @@ -151,7 +151,7 @@ public final Builder includeDefaults(@Nullable Boolean value) { } /** - * Required - The name of the index to explain + * Required - Comma-separated list of index names to explain *

* API name: {@code index} *

@@ -163,7 +163,7 @@ public final Builder index(List list) { } /** - * Required - The name of the index to explain + * Required - Comma-separated list of index names to explain *

* API name: {@code index} *

@@ -175,7 +175,7 @@ public final Builder index(String value, String... values) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ @@ -185,7 +185,7 @@ public final Builder masterTimeout(@Nullable Time value) { } /** - * Specify timeout for connection to master + * The period to wait for a connection to the master node. *

* API name: {@code master_timeout} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FailureStoreLifecycle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FailureStoreLifecycle.java new file mode 100644 index 0000000000..c0f8b3de0a --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FailureStoreLifecycle.java @@ -0,0 +1,225 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.Time; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices._types.FailureStoreLifecycle + +/** + * The failure store lifecycle configures the data stream lifecycle + * configuration for failure indices. + * + * @see API + * specification + */ +@JsonpDeserializable +public class FailureStoreLifecycle implements JsonpSerializable { + @Nullable + private final Time dataRetention; + + @Nullable + private final Boolean enabled; + + // --------------------------------------------------------------------------------------------- + + private FailureStoreLifecycle(Builder builder) { + + this.dataRetention = builder.dataRetention; + this.enabled = builder.enabled; + + } + + public static FailureStoreLifecycle of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * If defined, every document added to this data stream will be stored at least + * for this time frame. Any time after this duration the document could be + * deleted. When empty, every document in this data stream will be stored + * indefinitely. + *

+ * API name: {@code data_retention} + */ + @Nullable + public final Time dataRetention() { + return this.dataRetention; + } + + /** + * If defined, it turns data stream lifecycle on/off + * (true/false) for this data stream. A data stream + * lifecycle that's disabled (enabled: false) will have no effect + * on the data stream. + *

+ * API name: {@code enabled} + */ + @Nullable + public final Boolean enabled() { + return this.enabled; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.dataRetention != null) { + generator.writeKey("data_retention"); + this.dataRetention.serialize(generator, mapper); + + } + if (this.enabled != null) { + generator.writeKey("enabled"); + generator.write(this.enabled); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link FailureStoreLifecycle}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + @Nullable + private Time dataRetention; + + @Nullable + private Boolean enabled; + + /** + * If defined, every document added to this data stream will be stored at least + * for this time frame. Any time after this duration the document could be + * deleted. When empty, every document in this data stream will be stored + * indefinitely. + *

+ * API name: {@code data_retention} + */ + public final Builder dataRetention(@Nullable Time value) { + this.dataRetention = value; + return this; + } + + /** + * If defined, every document added to this data stream will be stored at least + * for this time frame. Any time after this duration the document could be + * deleted. When empty, every document in this data stream will be stored + * indefinitely. + *

+ * API name: {@code data_retention} + */ + public final Builder dataRetention(Function> fn) { + return this.dataRetention(fn.apply(new Time.Builder()).build()); + } + + /** + * If defined, it turns data stream lifecycle on/off + * (true/false) for this data stream. A data stream + * lifecycle that's disabled (enabled: false) will have no effect + * on the data stream. + *

+ * API name: {@code enabled} + */ + public final Builder enabled(@Nullable Boolean value) { + this.enabled = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link FailureStoreLifecycle}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public FailureStoreLifecycle build() { + _checkSingleUse(); + + return new FailureStoreLifecycle(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link FailureStoreLifecycle} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, FailureStoreLifecycle::setupFailureStoreLifecycleDeserializer); + + protected static void setupFailureStoreLifecycleDeserializer(ObjectDeserializer op) { + + op.add(Builder::dataRetention, Time._DESERIALIZER, "data_retention"); + op.add(Builder::enabled, JsonpDeserializer.booleanDeserializer(), "enabled"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FailureStoreLifecycleTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FailureStoreLifecycleTemplate.java new file mode 100644 index 0000000000..62e79d7834 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FailureStoreLifecycleTemplate.java @@ -0,0 +1,225 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.Time; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices._types.FailureStoreLifecycleTemplate + +/** + * Template equivalent of FailureStoreLifecycle that allows nullable values. + * + * @see API + * specification + */ +@JsonpDeserializable +public class FailureStoreLifecycleTemplate implements JsonpSerializable { + @Nullable + private final Time dataRetention; + + @Nullable + private final Boolean enabled; + + // --------------------------------------------------------------------------------------------- + + private FailureStoreLifecycleTemplate(Builder builder) { + + this.dataRetention = builder.dataRetention; + this.enabled = builder.enabled; + + } + + public static FailureStoreLifecycleTemplate of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * If defined, every document added to this data stream will be stored at least + * for this time frame. Any time after this duration the document could be + * deleted. When empty, every document in this data stream will be stored + * indefinitely. + *

+ * API name: {@code data_retention} + */ + @Nullable + public final Time dataRetention() { + return this.dataRetention; + } + + /** + * If defined, it turns data stream lifecycle on/off + * (true/false) for this data stream. A data stream + * lifecycle that's disabled (enabled: false) will have no effect + * on the data stream. + *

+ * API name: {@code enabled} + */ + @Nullable + public final Boolean enabled() { + return this.enabled; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.dataRetention != null) { + generator.writeKey("data_retention"); + this.dataRetention.serialize(generator, mapper); + + } + if (this.enabled != null) { + generator.writeKey("enabled"); + generator.write(this.enabled); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link FailureStoreLifecycleTemplate}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + @Nullable + private Time dataRetention; + + @Nullable + private Boolean enabled; + + /** + * If defined, every document added to this data stream will be stored at least + * for this time frame. Any time after this duration the document could be + * deleted. When empty, every document in this data stream will be stored + * indefinitely. + *

+ * API name: {@code data_retention} + */ + public final Builder dataRetention(@Nullable Time value) { + this.dataRetention = value; + return this; + } + + /** + * If defined, every document added to this data stream will be stored at least + * for this time frame. Any time after this duration the document could be + * deleted. When empty, every document in this data stream will be stored + * indefinitely. + *

+ * API name: {@code data_retention} + */ + public final Builder dataRetention(Function> fn) { + return this.dataRetention(fn.apply(new Time.Builder()).build()); + } + + /** + * If defined, it turns data stream lifecycle on/off + * (true/false) for this data stream. A data stream + * lifecycle that's disabled (enabled: false) will have no effect + * on the data stream. + *

+ * API name: {@code enabled} + */ + public final Builder enabled(@Nullable Boolean value) { + this.enabled = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link FailureStoreLifecycleTemplate}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public FailureStoreLifecycleTemplate build() { + _checkSingleUse(); + + return new FailureStoreLifecycleTemplate(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link FailureStoreLifecycleTemplate} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, FailureStoreLifecycleTemplate::setupFailureStoreLifecycleTemplateDeserializer); + + protected static void setupFailureStoreLifecycleTemplateDeserializer( + ObjectDeserializer op) { + + op.add(Builder::dataRetention, Time._DESERIALIZER, "data_retention"); + op.add(Builder::enabled, JsonpDeserializer.booleanDeserializer(), "enabled"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java index c1123432d3..f6779ad8f0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java @@ -204,7 +204,6 @@ public final List expandWildcards() { /** * Specify whether the index should be flushed after performing the operation - * (default: true) *

* API name: {@code flush} */ @@ -235,7 +234,7 @@ public final List index() { } /** - * The number of segments the index should be merged into (default: dynamic) + * The number of segments the index should be merged into (defayult: dynamic) *

* API name: {@code max_num_segments} */ @@ -255,7 +254,7 @@ public final Boolean onlyExpungeDeletes() { } /** - * Should the request wait until the force merge is completed. + * Should the request wait until the force merge is completed *

* API name: {@code wait_for_completion} */ @@ -337,7 +336,6 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val /** * Specify whether the index should be flushed after performing the operation - * (default: true) *

* API name: {@code flush} */ @@ -384,7 +382,7 @@ public final Builder index(String value, String... values) { } /** - * The number of segments the index should be merged into (default: dynamic) + * The number of segments the index should be merged into (defayult: dynamic) *

* API name: {@code max_num_segments} */ @@ -404,7 +402,7 @@ public final Builder onlyExpungeDeletes(@Nullable Boolean value) { } /** - * Should the request wait until the force merge is completed. + * Should the request wait until the force merge is completed *

* API name: {@code wait_for_completion} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamOptionsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamOptionsRequest.java new file mode 100644 index 0000000000..09bb4dee53 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamOptionsRequest.java @@ -0,0 +1,303 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.ExpandWildcard; +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; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import java.util.stream.Collectors; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices.get_data_stream_options.Request + +/** + * Get data stream options. + *

+ * Get the data stream options configuration of one or more data streams. + * + * @see API + * specification + */ + +public class GetDataStreamOptionsRequest extends RequestBase { + private final List expandWildcards; + + @Nullable + private final Time masterTimeout; + + private final List name; + + // --------------------------------------------------------------------------------------------- + + private GetDataStreamOptionsRequest(Builder builder) { + + this.expandWildcards = ApiTypeHelper.unmodifiable(builder.expandWildcards); + this.masterTimeout = builder.masterTimeout; + this.name = ApiTypeHelper.unmodifiableRequired(builder.name, this, "name"); + + } + + public static GetDataStreamOptionsRequest of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Type of data stream that wildcard patterns can match. Supports + * comma-separated values, such as open,hidden. Valid values are: + * all, open, closed, + * hidden, none. + *

+ * API name: {@code expand_wildcards} + */ + public final List expandWildcards() { + return this.expandWildcards; + } + + /** + * 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} + */ + @Nullable + public final Time masterTimeout() { + return this.masterTimeout; + } + + /** + * Required - Comma-separated list of data streams to limit the request. + * Supports wildcards (*). To target all data streams, omit this + * parameter or use * or _all. + *

+ * API name: {@code name} + */ + public final List name() { + return this.name; + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link GetDataStreamOptionsRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + @Nullable + private List expandWildcards; + + @Nullable + private Time masterTimeout; + + private List name; + + /** + * Type of data stream that wildcard patterns can match. Supports + * comma-separated values, such as open,hidden. Valid values are: + * all, open, closed, + * hidden, none. + *

+ * API name: {@code expand_wildcards} + *

+ * Adds all elements of list to expandWildcards. + */ + public final Builder expandWildcards(List list) { + this.expandWildcards = _listAddAll(this.expandWildcards, list); + return this; + } + + /** + * Type of data stream that wildcard patterns can match. Supports + * comma-separated values, such as open,hidden. Valid values are: + * all, open, closed, + * hidden, none. + *

+ * API name: {@code expand_wildcards} + *

+ * Adds one or more values to expandWildcards. + */ + public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) { + this.expandWildcards = _listAdd(this.expandWildcards, value, values); + 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(@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> fn) { + return this.masterTimeout(fn.apply(new Time.Builder()).build()); + } + + /** + * Required - Comma-separated list of data streams to limit the request. + * Supports wildcards (*). To target all data streams, omit this + * parameter or use * or _all. + *

+ * API name: {@code name} + *

+ * Adds all elements of list to name. + */ + public final Builder name(List list) { + this.name = _listAddAll(this.name, list); + return this; + } + + /** + * Required - Comma-separated list of data streams to limit the request. + * Supports wildcards (*). To target all data streams, omit this + * parameter or use * or _all. + *

+ * API name: {@code name} + *

+ * Adds one or more values to name. + */ + public final Builder name(String value, String... values) { + this.name = _listAdd(this.name, value, values); + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link GetDataStreamOptionsRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public GetDataStreamOptionsRequest build() { + _checkSingleUse(); + + return new GetDataStreamOptionsRequest(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code indices.get_data_stream_options}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/indices.get_data_stream_options", + + // Request method + request -> { + return "GET"; + + }, + + // Request path + request -> { + final int _name = 1 << 0; + + int propsSet = 0; + + propsSet |= _name; + + if (propsSet == (_name)) { + StringBuilder buf = new StringBuilder(); + buf.append("/_data_stream"); + buf.append("/"); + SimpleEndpoint.pathEncode(request.name.stream().map(v -> v).collect(Collectors.joining(",")), buf); + buf.append("/_options"); + return buf.toString(); + } + throw SimpleEndpoint.noPathTemplateFound("path"); + + }, + + // Path parameters + request -> { + Map params = new HashMap<>(); + final int _name = 1 << 0; + + int propsSet = 0; + + propsSet |= _name; + + if (propsSet == (_name)) { + params.put("name", request.name.stream().map(v -> v).collect(Collectors.joining(","))); + } + return params; + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.masterTimeout != null) { + params.put("master_timeout", request.masterTimeout._toJsonString()); + } + if (ApiTypeHelper.isDefined(request.expandWildcards)) { + params.put("expand_wildcards", + request.expandWildcards.stream().map(v -> v.jsonValue()).collect(Collectors.joining(","))); + } + return params; + + }, SimpleEndpoint.emptyMap(), false, GetDataStreamOptionsResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycleDownsampling.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamOptionsResponse.java similarity index 55% rename from java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycleDownsampling.java rename to java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamOptionsResponse.java index b1f5696c4e..0d19afebe8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamLifecycleDownsampling.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamOptionsResponse.java @@ -19,6 +19,7 @@ package co.elastic.clients.elasticsearch.indices; +import co.elastic.clients.elasticsearch.indices.get_data_stream_options.DataStreamWithOptions; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -50,39 +51,35 @@ // //---------------------------------------------------------------- -// typedef: indices._types.DataStreamLifecycleDownsampling +// typedef: indices.get_data_stream_options.Response /** * * @see API + * "../doc-files/api-spec.html#indices.get_data_stream_options.Response">API * specification */ @JsonpDeserializable -public class DataStreamLifecycleDownsampling implements JsonpSerializable { - private final List rounds; +public class GetDataStreamOptionsResponse implements JsonpSerializable { + private final List dataStreams; // --------------------------------------------------------------------------------------------- - private DataStreamLifecycleDownsampling(Builder builder) { + private GetDataStreamOptionsResponse(Builder builder) { - this.rounds = ApiTypeHelper.unmodifiableRequired(builder.rounds, this, "rounds"); + this.dataStreams = ApiTypeHelper.unmodifiableRequired(builder.dataStreams, this, "dataStreams"); } - public static DataStreamLifecycleDownsampling of( - Function> fn) { + public static GetDataStreamOptionsResponse of(Function> fn) { return fn.apply(new Builder()).build(); } /** - * Required - The list of downsampling rounds to execute as part of this - * downsampling configuration - *

- * API name: {@code rounds} + * Required - API name: {@code data_streams} */ - public final List rounds() { - return this.rounds; + public final List dataStreams() { + return this.dataStreams; } /** @@ -96,10 +93,10 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - if (ApiTypeHelper.isDefined(this.rounds)) { - generator.writeKey("rounds"); + if (ApiTypeHelper.isDefined(this.dataStreams)) { + generator.writeKey("data_streams"); generator.writeStartArray(); - for (DownsamplingRound item0 : this.rounds) { + for (DataStreamWithOptions item0 : this.dataStreams) { item0.serialize(generator, mapper); } @@ -117,50 +114,42 @@ public String toString() { // --------------------------------------------------------------------------------------------- /** - * Builder for {@link DataStreamLifecycleDownsampling}. + * Builder for {@link GetDataStreamOptionsResponse}. */ public static class Builder extends WithJsonObjectBuilderBase implements - ObjectBuilder { - private List rounds; + ObjectBuilder { + private List dataStreams; /** - * Required - The list of downsampling rounds to execute as part of this - * downsampling configuration + * Required - API name: {@code data_streams} *

- * API name: {@code rounds} - *

- * Adds all elements of list to rounds. + * Adds all elements of list to dataStreams. */ - public final Builder rounds(List list) { - this.rounds = _listAddAll(this.rounds, list); + public final Builder dataStreams(List list) { + this.dataStreams = _listAddAll(this.dataStreams, list); return this; } /** - * Required - The list of downsampling rounds to execute as part of this - * downsampling configuration - *

- * API name: {@code rounds} + * Required - API name: {@code data_streams} *

- * Adds one or more values to rounds. + * Adds one or more values to dataStreams. */ - public final Builder rounds(DownsamplingRound value, DownsamplingRound... values) { - this.rounds = _listAdd(this.rounds, value, values); + public final Builder dataStreams(DataStreamWithOptions value, DataStreamWithOptions... values) { + this.dataStreams = _listAdd(this.dataStreams, value, values); return this; } /** - * Required - The list of downsampling rounds to execute as part of this - * downsampling configuration - *

- * API name: {@code rounds} + * Required - API name: {@code data_streams} *

- * Adds a value to rounds using a builder lambda. + * Adds a value to dataStreams using a builder lambda. */ - public final Builder rounds(Function> fn) { - return rounds(fn.apply(new DownsamplingRound.Builder()).build()); + public final Builder dataStreams( + Function> fn) { + return dataStreams(fn.apply(new DataStreamWithOptions.Builder()).build()); } @Override @@ -169,30 +158,31 @@ protected Builder self() { } /** - * Builds a {@link DataStreamLifecycleDownsampling}. + * Builds a {@link GetDataStreamOptionsResponse}. * * @throws NullPointerException * if some of the required fields are null. */ - public DataStreamLifecycleDownsampling build() { + public GetDataStreamOptionsResponse build() { _checkSingleUse(); - return new DataStreamLifecycleDownsampling(this); + return new GetDataStreamOptionsResponse(this); } } // --------------------------------------------------------------------------------------------- /** - * Json deserializer for {@link DataStreamLifecycleDownsampling} + * Json deserializer for {@link GetDataStreamOptionsResponse} */ - public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer - .lazy(Builder::new, DataStreamLifecycleDownsampling::setupDataStreamLifecycleDownsamplingDeserializer); + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, GetDataStreamOptionsResponse::setupGetDataStreamOptionsResponseDeserializer); - protected static void setupDataStreamLifecycleDownsamplingDeserializer( - ObjectDeserializer op) { + protected static void setupGetDataStreamOptionsResponseDeserializer( + ObjectDeserializer op) { - op.add(Builder::rounds, JsonpDeserializer.arrayDeserializer(DownsamplingRound._DESERIALIZER), "rounds"); + op.add(Builder::dataStreams, JsonpDeserializer.arrayDeserializer(DataStreamWithOptions._DESERIALIZER), + "data_streams"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java index cccd8686ec..4ff847cbaf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java @@ -73,6 +73,9 @@ public class IndexTemplateSummary implements JsonpSerializable { @Nullable private final DataStreamLifecycleWithRollover lifecycle; + @Nullable + private final DataStreamOptionsTemplate dataStreamOptions; + // --------------------------------------------------------------------------------------------- private IndexTemplateSummary(Builder builder) { @@ -81,6 +84,7 @@ private IndexTemplateSummary(Builder builder) { this.mappings = builder.mappings; this.settings = builder.settings; this.lifecycle = builder.lifecycle; + this.dataStreamOptions = builder.dataStreamOptions; } @@ -129,6 +133,14 @@ public final DataStreamLifecycleWithRollover lifecycle() { return this.lifecycle; } + /** + * API name: {@code data_stream_options} + */ + @Nullable + public final DataStreamOptionsTemplate dataStreamOptions() { + return this.dataStreamOptions; + } + /** * Serialize this object to JSON. */ @@ -166,6 +178,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { this.lifecycle.serialize(generator, mapper); } + if (this.dataStreamOptions != null) { + generator.writeKey("data_stream_options"); + this.dataStreamOptions.serialize(generator, mapper); + + } } @@ -195,6 +212,9 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private DataStreamLifecycleWithRollover lifecycle; + @Nullable + private DataStreamOptionsTemplate dataStreamOptions; + /** * Aliases to add. If the index template includes a data_stream * object, these are data stream aliases. Otherwise, these are index aliases. @@ -295,6 +315,22 @@ public final Builder lifecycle( return this.lifecycle(fn.apply(new DataStreamLifecycleWithRollover.Builder()).build()); } + /** + * API name: {@code data_stream_options} + */ + public final Builder dataStreamOptions(@Nullable DataStreamOptionsTemplate value) { + this.dataStreamOptions = value; + return this; + } + + /** + * API name: {@code data_stream_options} + */ + public final Builder dataStreamOptions( + Function> fn) { + return this.dataStreamOptions(fn.apply(new DataStreamOptionsTemplate.Builder()).build()); + } + @Override protected Builder self() { return this; @@ -327,6 +363,7 @@ protected static void setupIndexTemplateSummaryDeserializer(ObjectDeserializer * API name: {@code metric} */ @@ -486,7 +486,7 @@ public final Builder level(@Nullable Level value) { } /** - * Limit the information returned the specific metrics. + * Limit the information returned the specific metrics *

* API name: {@code metric} *

@@ -498,7 +498,7 @@ public final Builder metric(List list) { } /** - * Limit the information returned the specific metrics. + * Limit the information returned the specific metrics *

* API name: {@code metric} *

diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamRequest.java index 3dcbf52997..416c0a9f55 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamRequest.java @@ -109,7 +109,7 @@ public final Time masterTimeout() { } /** - * Required - The name of the data stream + * Required - The name of the data stream to promote *

* API name: {@code name} */ @@ -153,7 +153,7 @@ public final Builder masterTimeout(Function> f } /** - * Required - The name of the data stream + * Required - The name of the data stream to promote *

* API name: {@code name} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutDataStreamOptionsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutDataStreamOptionsRequest.java new file mode 100644 index 0000000000..ad112ded3d --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutDataStreamOptionsRequest.java @@ -0,0 +1,421 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.ExpandWildcard; +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.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import java.util.stream.Collectors; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices.put_data_stream_options.Request + +/** + * Update data stream options. + *

+ * Update the data stream options of the specified data streams. + * + * @see API + * specification + */ +@JsonpDeserializable +public class PutDataStreamOptionsRequest extends RequestBase implements JsonpSerializable { + private final List expandWildcards; + + @Nullable + private final DataStreamFailureStore failureStore; + + @Nullable + private final Time masterTimeout; + + private final List name; + + @Nullable + private final Time timeout; + + // --------------------------------------------------------------------------------------------- + + private PutDataStreamOptionsRequest(Builder builder) { + + this.expandWildcards = ApiTypeHelper.unmodifiable(builder.expandWildcards); + this.failureStore = builder.failureStore; + this.masterTimeout = builder.masterTimeout; + this.name = ApiTypeHelper.unmodifiableRequired(builder.name, this, "name"); + this.timeout = builder.timeout; + + } + + public static PutDataStreamOptionsRequest of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Type of data stream that wildcard patterns can match. Supports + * comma-separated values, such as open,hidden. Valid values are: + * all, hidden, open, + * closed, none. + *

+ * API name: {@code expand_wildcards} + */ + public final List expandWildcards() { + return this.expandWildcards; + } + + /** + * If defined, it will update the failure store configuration of every data + * stream resolved by the name expression. + *

+ * API name: {@code failure_store} + */ + @Nullable + public final DataStreamFailureStore failureStore() { + return this.failureStore; + } + + /** + * 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} + */ + @Nullable + public final Time masterTimeout() { + return this.masterTimeout; + } + + /** + * Required - Comma-separated list of data streams used to limit the request. + * Supports wildcards (*). To target all data streams use + * * or _all. + *

+ * API name: {@code name} + */ + public final List 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; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.failureStore != null) { + generator.writeKey("failure_store"); + this.failureStore.serialize(generator, mapper); + + } + + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link PutDataStreamOptionsRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + @Nullable + private List expandWildcards; + + @Nullable + private DataStreamFailureStore failureStore; + + @Nullable + private Time masterTimeout; + + private List name; + + @Nullable + private Time timeout; + + /** + * Type of data stream that wildcard patterns can match. Supports + * comma-separated values, such as open,hidden. Valid values are: + * all, hidden, open, + * closed, none. + *

+ * API name: {@code expand_wildcards} + *

+ * Adds all elements of list to expandWildcards. + */ + public final Builder expandWildcards(List list) { + this.expandWildcards = _listAddAll(this.expandWildcards, list); + return this; + } + + /** + * Type of data stream that wildcard patterns can match. Supports + * comma-separated values, such as open,hidden. Valid values are: + * all, hidden, open, + * closed, none. + *

+ * API name: {@code expand_wildcards} + *

+ * Adds one or more values to expandWildcards. + */ + public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) { + this.expandWildcards = _listAdd(this.expandWildcards, value, values); + return this; + } + + /** + * If defined, it will update the failure store configuration of every data + * stream resolved by the name expression. + *

+ * API name: {@code failure_store} + */ + public final Builder failureStore(@Nullable DataStreamFailureStore value) { + this.failureStore = value; + return this; + } + + /** + * If defined, it will update the failure store configuration of every data + * stream resolved by the name expression. + *

+ * API name: {@code failure_store} + */ + public final Builder failureStore( + Function> fn) { + return this.failureStore(fn.apply(new DataStreamFailureStore.Builder()).build()); + } + + /** + * 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(@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> fn) { + return this.masterTimeout(fn.apply(new Time.Builder()).build()); + } + + /** + * Required - Comma-separated list of data streams used to limit the request. + * Supports wildcards (*). To target all data streams use + * * or _all. + *

+ * API name: {@code name} + *

+ * Adds all elements of list to name. + */ + public final Builder name(List list) { + this.name = _listAddAll(this.name, list); + return this; + } + + /** + * Required - Comma-separated list of data streams used to limit the request. + * Supports wildcards (*). To target all data streams use + * * or _all. + *

+ * API name: {@code name} + *

+ * Adds one or more values to name. + */ + public final Builder name(String value, String... values) { + this.name = _listAdd(this.name, value, values); + 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> fn) { + return this.timeout(fn.apply(new Time.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link PutDataStreamOptionsRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public PutDataStreamOptionsRequest build() { + _checkSingleUse(); + + return new PutDataStreamOptionsRequest(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link PutDataStreamOptionsRequest} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, PutDataStreamOptionsRequest::setupPutDataStreamOptionsRequestDeserializer); + + protected static void setupPutDataStreamOptionsRequestDeserializer( + ObjectDeserializer op) { + + op.add(Builder::failureStore, DataStreamFailureStore._DESERIALIZER, "failure_store"); + + } + + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code indices.put_data_stream_options}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/indices.put_data_stream_options", + + // Request method + request -> { + return "PUT"; + + }, + + // Request path + request -> { + final int _name = 1 << 0; + + int propsSet = 0; + + propsSet |= _name; + + if (propsSet == (_name)) { + StringBuilder buf = new StringBuilder(); + buf.append("/_data_stream"); + buf.append("/"); + SimpleEndpoint.pathEncode(request.name.stream().map(v -> v).collect(Collectors.joining(",")), buf); + buf.append("/_options"); + return buf.toString(); + } + throw SimpleEndpoint.noPathTemplateFound("path"); + + }, + + // Path parameters + request -> { + Map params = new HashMap<>(); + final int _name = 1 << 0; + + int propsSet = 0; + + propsSet |= _name; + + if (propsSet == (_name)) { + params.put("name", request.name.stream().map(v -> v).collect(Collectors.joining(","))); + } + return params; + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.masterTimeout != null) { + params.put("master_timeout", request.masterTimeout._toJsonString()); + } + if (ApiTypeHelper.isDefined(request.expandWildcards)) { + params.put("expand_wildcards", + request.expandWildcards.stream().map(v -> v.jsonValue()).collect(Collectors.joining(","))); + } + if (request.timeout != null) { + params.put("timeout", request.timeout._toJsonString()); + } + return params; + + }, SimpleEndpoint.emptyMap(), true, PutDataStreamOptionsResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutDataStreamOptionsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutDataStreamOptionsResponse.java new file mode 100644 index 0000000000..a1f9843e6e --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutDataStreamOptionsResponse.java @@ -0,0 +1,109 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices; + +import co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.util.Objects; +import java.util.function.Function; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices.put_data_stream_options.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class PutDataStreamOptionsResponse extends AcknowledgedResponseBase { + // --------------------------------------------------------------------------------------------- + + private PutDataStreamOptionsResponse(Builder builder) { + super(builder); + + } + + public static PutDataStreamOptionsResponse of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link PutDataStreamOptionsResponse}. + */ + + public static class Builder extends AcknowledgedResponseBase.AbstractBuilder + implements + ObjectBuilder { + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link PutDataStreamOptionsResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public PutDataStreamOptionsResponse build() { + _checkSingleUse(); + + return new PutDataStreamOptionsResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link PutDataStreamOptionsResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, PutDataStreamOptionsResponse::setupPutDataStreamOptionsResponseDeserializer); + + protected static void setupPutDataStreamOptionsResponseDeserializer( + ObjectDeserializer op) { + AcknowledgedResponseBase.setupAcknowledgedResponseBaseDeserializer(op); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndexTemplateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndexTemplateRequest.java index c5ac931436..12ccb5754d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndexTemplateRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndexTemplateRequest.java @@ -201,7 +201,7 @@ public final Boolean allowAutoCreate() { } /** - * User defined reason for creating/updating the index template + * User defined reason for creating or updating the index template *

* API name: {@code cause} */ @@ -514,7 +514,7 @@ public final Builder allowAutoCreate(@Nullable Boolean value) { } /** - * User defined reason for creating/updating the index template + * User defined reason for creating or updating the index template *

* API name: {@code cause} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java index 6e24f1131f..ebe293c518 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java @@ -307,7 +307,7 @@ public final Boolean ignoreUnavailable() { /** * Required - A comma-separated list of index names the mapping should be added - * to (supports wildcards); use _all or omit to add the mapping on + * to (supports wildcards). Use _all or omit to add the mapping on * all indices. *

* API name: {@code index} @@ -759,7 +759,7 @@ public final Builder ignoreUnavailable(@Nullable Boolean value) { /** * Required - A comma-separated list of index names the mapping should be added - * to (supports wildcards); use _all or omit to add the mapping on + * to (supports wildcards). Use _all or omit to add the mapping on * all indices. *

* API name: {@code index} @@ -773,7 +773,7 @@ public final Builder index(List list) { /** * Required - A comma-separated list of index names the mapping should be added - * to (supports wildcards); use _all or omit to add the mapping on + * to (supports wildcards). Use _all or omit to add the mapping on * all indices. *

* API name: {@code index} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutTemplateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutTemplateRequest.java index df57dca4e4..e2eb7128ca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutTemplateRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutTemplateRequest.java @@ -159,7 +159,7 @@ public final Map aliases() { } /** - * User defined reason for creating/updating the index template + * User defined reason for creating or updating the index template *

* API name: {@code cause} */ @@ -383,7 +383,7 @@ public final Builder aliases(String key, Function * API name: {@code cause} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_data_stream_options/DataStreamWithOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_data_stream_options/DataStreamWithOptions.java new file mode 100644 index 0000000000..8e97caa0a6 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_data_stream_options/DataStreamWithOptions.java @@ -0,0 +1,194 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.indices.get_data_stream_options; + +import co.elastic.clients.elasticsearch.indices.DataStreamOptions; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: indices.get_data_stream_options.DataStreamWithOptions + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class DataStreamWithOptions implements JsonpSerializable { + private final String name; + + @Nullable + private final DataStreamOptions options; + + // --------------------------------------------------------------------------------------------- + + private DataStreamWithOptions(Builder builder) { + + this.name = ApiTypeHelper.requireNonNull(builder.name, this, "name"); + this.options = builder.options; + + } + + public static DataStreamWithOptions of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - API name: {@code name} + */ + public final String name() { + return this.name; + } + + /** + * API name: {@code options} + */ + @Nullable + public final DataStreamOptions options() { + return this.options; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("name"); + generator.write(this.name); + + if (this.options != null) { + generator.writeKey("options"); + this.options.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link DataStreamWithOptions}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private String name; + + @Nullable + private DataStreamOptions options; + + /** + * Required - API name: {@code name} + */ + public final Builder name(String value) { + this.name = value; + return this; + } + + /** + * API name: {@code options} + */ + public final Builder options(@Nullable DataStreamOptions value) { + this.options = value; + return this; + } + + /** + * API name: {@code options} + */ + public final Builder options(Function> fn) { + return this.options(fn.apply(new DataStreamOptions.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link DataStreamWithOptions}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public DataStreamWithOptions build() { + _checkSingleUse(); + + return new DataStreamWithOptions(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link DataStreamWithOptions} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, DataStreamWithOptions::setupDataStreamWithOptionsDeserializer); + + protected static void setupDataStreamWithOptionsDeserializer(ObjectDeserializer op) { + + op.add(Builder::name, JsonpDeserializer.stringDeserializer(), "name"); + op.add(Builder::options, DataStreamOptions._DESERIALIZER, "options"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureAiStudioServiceSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureAiStudioServiceSettings.java index be37880d95..78c9cf50e4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureAiStudioServiceSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureAiStudioServiceSettings.java @@ -132,8 +132,8 @@ public final String target() { * Required - The model provider for your deployment. Note that some providers * may support only certain task types. Supported providers include: *

    - *
  • cohere - available for text_embedding and - * completion task types
  • + *
  • cohere - available for text_embedding, + * rerank and completion task types
  • *
  • databricks - available for completion task type * only
  • *
  • meta - available for completion task type @@ -268,8 +268,8 @@ public final Builder target(String value) { * Required - The model provider for your deployment. Note that some providers * may support only certain task types. Supported providers include: *
      - *
    • cohere - available for text_embedding and - * completion task types
    • + *
    • cohere - available for text_embedding, + * rerank and completion task types
    • *
    • databricks - available for completion task type * only
    • *
    • meta - available for completion task type diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ChatCompletionUnifiedRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ChatCompletionUnifiedRequest.java index 4e972f0a68..7ab4f4d8f2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ChatCompletionUnifiedRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ChatCompletionUnifiedRequest.java @@ -66,15 +66,15 @@ * The chat completion inference API enables real-time responses for chat * completion tasks by delivering answers incrementally, reducing response times * during computation. It only works with the chat_completion task - * type for openai and elastic inference services. + * type. *

      * NOTE: The chat_completion task type is only available within the * _stream API and only supports streaming. The Chat completion inference API * and the Stream inference API differ in their response structure and * capabilities. The Chat completion inference API provides more comprehensive - * customization options through more fields and function calling support. If - * you use the openai, hugging_face or the - * elastic service, use the Chat completion inference API. + * customization options through more fields and function calling support. To + * determine whether a given inference service supports this task type, please + * see the page for that service. * * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java index 5c6bea8609..b94c294c2b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java @@ -76,15 +76,15 @@ public ElasticsearchInferenceAsyncClient withTransportOptions(@Nullable Transpor * The chat completion inference API enables real-time responses for chat * completion tasks by delivering answers incrementally, reducing response times * during computation. It only works with the chat_completion task - * type for openai and elastic inference services. + * type. *

      * NOTE: The chat_completion task type is only available within the * _stream API and only supports streaming. The Chat completion inference API * and the Stream inference API differ in their response structure and * capabilities. The Chat completion inference API provides more comprehensive - * customization options through more fields and function calling support. If - * you use the openai, hugging_face or the - * elastic service, use the Chat completion inference API. + * customization options through more fields and function calling support. To + * determine whether a given inference service supports this task type, please + * see the page for that service. * * @see Documentation @@ -104,15 +104,15 @@ public CompletableFuture chatCompletionUnified(ChatCompletionUni * The chat completion inference API enables real-time responses for chat * completion tasks by delivering answers incrementally, reducing response times * during computation. It only works with the chat_completion task - * type for openai and elastic inference services. + * type. *

      * NOTE: The chat_completion task type is only available within the * _stream API and only supports streaming. The Chat completion inference API * and the Stream inference API differ in their response structure and * capabilities. The Chat completion inference API provides more comprehensive - * customization options through more fields and function calling support. If - * you use the openai, hugging_face or the - * elastic service, use the Chat completion inference API. + * customization options through more fields and function calling support. To + * determine whether a given inference service supports this task type, please + * see the page for that service. * * @param fn * a function that initializes a builder to create the diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java index 16ffe2070a..b69bb0f1c2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java @@ -74,15 +74,15 @@ public ElasticsearchInferenceClient withTransportOptions(@Nullable TransportOpti * The chat completion inference API enables real-time responses for chat * completion tasks by delivering answers incrementally, reducing response times * during computation. It only works with the chat_completion task - * type for openai and elastic inference services. + * type. *

      * NOTE: The chat_completion task type is only available within the * _stream API and only supports streaming. The Chat completion inference API * and the Stream inference API differ in their response structure and * capabilities. The Chat completion inference API provides more comprehensive - * customization options through more fields and function calling support. If - * you use the openai, hugging_face or the - * elastic service, use the Chat completion inference API. + * customization options through more fields and function calling support. To + * determine whether a given inference service supports this task type, please + * see the page for that service. * * @see Documentation @@ -103,15 +103,15 @@ public BinaryResponse chatCompletionUnified(ChatCompletionUnifiedRequest request * The chat completion inference API enables real-time responses for chat * completion tasks by delivering answers incrementally, reducing response times * during computation. It only works with the chat_completion task - * type for openai and elastic inference services. + * type. *

      * NOTE: The chat_completion task type is only available within the * _stream API and only supports streaming. The Chat completion inference API * and the Stream inference API differ in their response structure and * capabilities. The Chat completion inference API provides more comprehensive - * customization options through more fields and function calling support. If - * you use the openai, hugging_face or the - * elastic service, use the Chat completion inference API. + * customization options through more fields and function calling support. To + * determine whether a given inference service supports this task type, please + * see the page for that service. * * @param fn * a function that initializes a builder to create the diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineRequest.java index 60be460222..0366202a00 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineRequest.java @@ -113,7 +113,7 @@ public final Time masterTimeout() { } /** - * Return pipelines without their definitions (default: false) + * Return pipelines without their definitions *

      * API name: {@code summary} */ @@ -174,7 +174,7 @@ public final Builder masterTimeout(Function> f } /** - * Return pipelines without their definitions (default: false) + * Return pipelines without their definitions *

      * API name: {@code summary} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicRequest.java index 8400f90b61..4de8ce8f3d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicRequest.java @@ -101,7 +101,7 @@ public static PostStartBasicRequest of(Function * API name: {@code acknowledge} */ @@ -150,7 +150,7 @@ public static class Builder extends RequestBase.AbstractBuilder private Time timeout; /** - * whether the user has acknowledged acknowledge messages (default: false) + * Whether the user has acknowledged acknowledge messages *

      * API name: {@code acknowledge} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialRequest.java index bcd24ee935..f41c5970a6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialRequest.java @@ -98,7 +98,7 @@ public static PostStartTrialRequest of(Function * API name: {@code acknowledge} */ @@ -118,7 +118,7 @@ public final Time masterTimeout() { } /** - * The type of trial license to generate (default: "trial") + * The type of trial license to generate *

      * API name: {@code type} */ @@ -146,7 +146,7 @@ public static class Builder extends RequestBase.AbstractBuilder private String type; /** - * whether the user has acknowledged acknowledge messages (default: false) + * Whether the user has acknowledged acknowledge messages *

      * API name: {@code acknowledge} */ @@ -175,7 +175,7 @@ public final Builder masterTimeout(Function> f } /** - * The type of trial license to generate (default: "trial") + * The type of trial license to generate *

      * API name: {@code type} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsRequest.java index eae1178342..e6f9b2d7b2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsRequest.java @@ -24,6 +24,8 @@ import co.elastic.clients.elasticsearch._types.Time; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.transport.Endpoint; @@ -32,6 +34,7 @@ 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; @@ -72,8 +75,8 @@ * "../doc-files/api-spec.html#ml.start_data_frame_analytics.Request">API * specification */ - -public class StartDataFrameAnalyticsRequest extends RequestBase { +@JsonpDeserializable +public class StartDataFrameAnalyticsRequest extends RequestBase implements JsonpSerializable { private final String id; @Nullable @@ -115,6 +118,25 @@ public final Time timeout() { return this.timeout; } + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.timeout != null) { + generator.writeKey("timeout"); + this.timeout.serialize(generator, mapper); + + } + + } + // --------------------------------------------------------------------------------------------- /** @@ -182,6 +204,21 @@ public StartDataFrameAnalyticsRequest build() { // --------------------------------------------------------------------------------------------- + /** + * Json deserializer for {@link StartDataFrameAnalyticsRequest} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, StartDataFrameAnalyticsRequest::setupStartDataFrameAnalyticsRequestDeserializer); + + protected static void setupStartDataFrameAnalyticsRequestDeserializer( + ObjectDeserializer op) { + + op.add(Builder::timeout, Time._DESERIALIZER, "timeout"); + + } + + // --------------------------------------------------------------------------------------------- + /** * Endpoint "{@code ml.start_data_frame_analytics}". */ @@ -233,11 +270,7 @@ public StartDataFrameAnalyticsRequest build() { // Request parameters request -> { - Map params = new HashMap<>(); - if (request.timeout != null) { - params.put("timeout", request.timeout._toJsonString()); - } - return params; + return Collections.emptyMap(); - }, SimpleEndpoint.emptyMap(), false, StartDataFrameAnalyticsResponse._DESERIALIZER); + }, SimpleEndpoint.emptyMap(), true, StartDataFrameAnalyticsResponse._DESERIALIZER); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentRequest.java index fef410ab27..a4600f84a0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentRequest.java @@ -181,7 +181,7 @@ public final Integer numberOfAllocations() { } /** - * The deployment priority. + * The deployment priority *

      * API name: {@code priority} */ @@ -369,7 +369,7 @@ public final Builder numberOfAllocations(@Nullable Integer value) { } /** - * The deployment priority. + * The deployment priority *

      * API name: {@code priority} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsRequest.java index 848d645985..9f5f94e82a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsRequest.java @@ -24,6 +24,8 @@ import co.elastic.clients.elasticsearch._types.Time; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.transport.Endpoint; @@ -33,6 +35,7 @@ import jakarta.json.stream.JsonGenerator; import java.lang.Boolean; import java.lang.String; +import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -64,8 +67,8 @@ * "../doc-files/api-spec.html#ml.stop_data_frame_analytics.Request">API * specification */ - -public class StopDataFrameAnalyticsRequest extends RequestBase { +@JsonpDeserializable +public class StopDataFrameAnalyticsRequest extends RequestBase implements JsonpSerializable { @Nullable private final Boolean allowNoMatch; @@ -145,6 +148,35 @@ public final Time timeout() { return this.timeout; } + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.allowNoMatch != null) { + generator.writeKey("allow_no_match"); + generator.write(this.allowNoMatch); + + } + if (this.force != null) { + generator.writeKey("force"); + generator.write(this.force); + + } + if (this.timeout != null) { + generator.writeKey("timeout"); + this.timeout.serialize(generator, mapper); + + } + + } + // --------------------------------------------------------------------------------------------- /** @@ -249,6 +281,23 @@ public StopDataFrameAnalyticsRequest build() { // --------------------------------------------------------------------------------------------- + /** + * Json deserializer for {@link StopDataFrameAnalyticsRequest} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, StopDataFrameAnalyticsRequest::setupStopDataFrameAnalyticsRequestDeserializer); + + protected static void setupStopDataFrameAnalyticsRequestDeserializer( + ObjectDeserializer op) { + + op.add(Builder::allowNoMatch, JsonpDeserializer.booleanDeserializer(), "allow_no_match"); + op.add(Builder::force, JsonpDeserializer.booleanDeserializer(), "force"); + op.add(Builder::timeout, Time._DESERIALIZER, "timeout"); + + } + + // --------------------------------------------------------------------------------------------- + /** * Endpoint "{@code ml.stop_data_frame_analytics}". */ @@ -300,17 +349,7 @@ public StopDataFrameAnalyticsRequest build() { // Request parameters request -> { - Map params = new HashMap<>(); - if (request.force != null) { - params.put("force", String.valueOf(request.force)); - } - if (request.allowNoMatch != null) { - params.put("allow_no_match", String.valueOf(request.allowNoMatch)); - } - if (request.timeout != null) { - params.put("timeout", request.timeout._toJsonString()); - } - return params; + return Collections.emptyMap(); - }, SimpleEndpoint.emptyMap(), false, StopDataFrameAnalyticsResponse._DESERIALIZER); + }, SimpleEndpoint.emptyMap(), true, StopDataFrameAnalyticsResponse._DESERIALIZER); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentRequest.java index 7e35541a75..fa6a8274eb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentRequest.java @@ -23,6 +23,8 @@ import co.elastic.clients.elasticsearch._types.RequestBase; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.transport.Endpoint; @@ -32,6 +34,7 @@ import jakarta.json.stream.JsonGenerator; import java.lang.Boolean; import java.lang.String; +import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -62,14 +65,17 @@ * "../doc-files/api-spec.html#ml.stop_trained_model_deployment.Request">API * specification */ - -public class StopTrainedModelDeploymentRequest extends RequestBase { +@JsonpDeserializable +public class StopTrainedModelDeploymentRequest extends RequestBase implements JsonpSerializable { @Nullable private final Boolean allowNoMatch; @Nullable private final Boolean force; + @Nullable + private final String id; + private final String modelId; // --------------------------------------------------------------------------------------------- @@ -78,6 +84,7 @@ private StopTrainedModelDeploymentRequest(Builder builder) { this.allowNoMatch = builder.allowNoMatch; this.force = builder.force; + this.id = builder.id; this.modelId = ApiTypeHelper.requireNonNull(builder.modelId, this, "modelId"); } @@ -114,6 +121,16 @@ public final Boolean force() { return this.force; } + /** + * If provided, must be the same identifier as in the path. + *

      + * API name: {@code id} + */ + @Nullable + public final String id() { + return this.id; + } + /** * Required - The unique identifier of the trained model. *

      @@ -123,6 +140,35 @@ public final String modelId() { return this.modelId; } + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.allowNoMatch != null) { + generator.writeKey("allow_no_match"); + generator.write(this.allowNoMatch); + + } + if (this.force != null) { + generator.writeKey("force"); + generator.write(this.force); + + } + if (this.id != null) { + generator.writeKey("id"); + generator.write(this.id); + + } + + } + // --------------------------------------------------------------------------------------------- /** @@ -138,6 +184,9 @@ public static class Builder extends RequestBase.AbstractBuilder @Nullable private Boolean force; + @Nullable + private String id; + private String modelId; /** @@ -167,6 +216,16 @@ public final Builder force(@Nullable Boolean value) { return this; } + /** + * If provided, must be the same identifier as in the path. + *

      + * API name: {@code id} + */ + public final Builder id(@Nullable String value) { + this.id = value; + return this; + } + /** * Required - The unique identifier of the trained model. *

      @@ -197,6 +256,23 @@ public StopTrainedModelDeploymentRequest build() { // --------------------------------------------------------------------------------------------- + /** + * Json deserializer for {@link StopTrainedModelDeploymentRequest} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, StopTrainedModelDeploymentRequest::setupStopTrainedModelDeploymentRequestDeserializer); + + protected static void setupStopTrainedModelDeploymentRequestDeserializer( + ObjectDeserializer op) { + + op.add(Builder::allowNoMatch, JsonpDeserializer.booleanDeserializer(), "allow_no_match"); + op.add(Builder::force, JsonpDeserializer.booleanDeserializer(), "force"); + op.add(Builder::id, JsonpDeserializer.stringDeserializer(), "id"); + + } + + // --------------------------------------------------------------------------------------------- + /** * Endpoint "{@code ml.stop_trained_model_deployment}". */ @@ -248,14 +324,7 @@ public StopTrainedModelDeploymentRequest build() { // Request parameters request -> { - Map params = new HashMap<>(); - if (request.force != null) { - params.put("force", String.valueOf(request.force)); - } - if (request.allowNoMatch != null) { - params.put("allow_no_match", String.valueOf(request.allowNoMatch)); - } - return params; + return Collections.emptyMap(); - }, SimpleEndpoint.emptyMap(), false, StopTrainedModelDeploymentResponse._DESERIALIZER); + }, SimpleEndpoint.emptyMap(), true, StopTrainedModelDeploymentResponse._DESERIALIZER); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsRequest.java index f7e7eac577..c077b2c355 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsRequest.java @@ -153,7 +153,7 @@ public final Long snapshots() { } /** - * The sort order for 'cpu' type (default: total) + * The sort order for 'cpu' type *

      * API name: {@code sort} */ @@ -291,7 +291,7 @@ public final Builder snapshots(@Nullable Long value) { } /** - * The sort order for 'cpu' type (default: total) + * The sort order for 'cpu' type *

      * API name: {@code sort} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesStatsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesStatsRequest.java index d10149f2f8..ee31648127 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesStatsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesStatsRequest.java @@ -204,7 +204,7 @@ public final Level level() { } /** - * Limit the information returned to the specified metrics + * Limits the information returned to the specific metrics. *

      * API name: {@code metric} */ @@ -434,7 +434,7 @@ public final Builder level(@Nullable Level value) { } /** - * Limit the information returned to the specified metrics + * Limits the information returned to the specific metrics. *

      * API name: {@code metric} *

      @@ -446,7 +446,7 @@ public final Builder metric(List list) { } /** - * Limit the information returned to the specified metrics + * Limits the information returned to the specific metrics. *

      * API name: {@code metric} *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesUsageRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesUsageRequest.java index 8b0127991c..735b545077 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesUsageRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesUsageRequest.java @@ -98,8 +98,8 @@ public final List metric() { /** * A comma-separated list of node IDs or names to limit the returned - * information; use _local to return information from the node - * you're connecting to, leave empty to get information from all nodes + * information. Use _local to return information from the node + * you're connecting to, leave empty to get information from all nodes. *

      * API name: {@code node_id} */ @@ -164,8 +164,8 @@ public final Builder metric(String value, String... values) { /** * A comma-separated list of node IDs or names to limit the returned - * information; use _local to return information from the node - * you're connecting to, leave empty to get information from all nodes + * information. Use _local to return information from the node + * you're connecting to, leave empty to get information from all nodes. *

      * API name: {@code node_id} *

      @@ -178,8 +178,8 @@ public final Builder nodeId(List list) { /** * A comma-separated list of node IDs or names to limit the returned - * information; use _local to return information from the node - * you're connecting to, leave empty to get information from all nodes + * information. Use _local to return information from the node + * you're connecting to, leave empty to get information from all nodes. *

      * API name: {@code node_id} *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java index 7582b9a06d..8405e0319b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java @@ -107,7 +107,7 @@ public final Boolean allowNoIndices() { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

      * API name: {@code expand_wildcards} */ @@ -171,7 +171,7 @@ public final Builder allowNoIndices(@Nullable Boolean value) { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

      * API name: {@code expand_wildcards} *

      @@ -184,7 +184,7 @@ public final Builder expandWildcards(List list) { /** * Whether to expand wildcard expression to concrete indices that are open, - * closed or both. + * closed or both *

      * API name: {@code expand_wildcards} *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenRequest.java index e5d0de7d30..e5821713fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenRequest.java @@ -126,8 +126,8 @@ public final String namespace() { } /** - * If true then refresh the affected shards to make this operation - * visible to search, if wait_for (the default) then wait for a + * If true (the default) then refresh the affected shards to make + * this operation visible to search, if wait_for then wait for a * refresh to make this operation visible to search, if false then * do nothing with refreshes. *

      @@ -198,8 +198,8 @@ public final Builder namespace(String value) { } /** - * If true then refresh the affected shards to make this operation - * visible to search, if wait_for (the default) then wait for a + * If true (the default) then refresh the affected shards to make + * this operation visible to search, if wait_for then wait for a * refresh to make this operation visible to search, if false then * do nothing with refreshes. *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenRequest.java index c9f21e91c5..2568b64f68 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenRequest.java @@ -109,8 +109,8 @@ public final String namespace() { } /** - * If true then refresh the affected shards to make this operation - * visible to search, if wait_for (the default) then wait for a + * If true (the default) then refresh the affected shards to make + * this operation visible to search, if wait_for then wait for a * refresh to make this operation visible to search, if false then * do nothing with refreshes. *

      @@ -169,8 +169,8 @@ public final Builder namespace(String value) { } /** - * If true then refresh the affected shards to make this operation - * visible to search, if wait_for (the default) then wait for a + * If true (the default) then refresh the affected shards to make + * this operation visible to search, if wait_for then wait for a * refresh to make this operation visible to search, if false then * do nothing with refreshes. *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeRequest.java index 737548cb07..bb3842669b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeRequest.java @@ -106,7 +106,7 @@ public final Time masterTimeout() { } /** - * Which node for which to retrieve the shutdown status + * Comma-separated list of nodes for which to retrieve the shutdown status *

      * API name: {@code node_id} */ @@ -149,7 +149,7 @@ public final Builder masterTimeout(Function> f } /** - * Which node for which to retrieve the shutdown status + * Comma-separated list of nodes for which to retrieve the shutdown status *

      * API name: {@code node_id} *

      @@ -161,7 +161,7 @@ public final Builder nodeId(List list) { } /** - * Which node for which to retrieve the shutdown status + * Comma-separated list of nodes for which to retrieve the shutdown status *

      * API name: {@code node_id} *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleRequest.java index dc629eb64a..5aa14c9ab5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleRequest.java @@ -100,7 +100,7 @@ public final Time masterTimeout() { } /** - * Comma-separated list of snapshot lifecycle policies to retrieve + * A comma-separated list of snapshot lifecycle policy identifiers. *

      * API name: {@code policy_id} */ @@ -159,7 +159,7 @@ public final Builder masterTimeout(Function> f } /** - * Comma-separated list of snapshot lifecycle policies to retrieve + * A comma-separated list of snapshot lifecycle policy identifiers. *

      * API name: {@code policy_id} *

      @@ -171,7 +171,7 @@ public final Builder policyId(List list) { } /** - * Comma-separated list of snapshot lifecycle policies to retrieve + * A comma-separated list of snapshot lifecycle policy identifiers. *

      * API name: {@code policy_id} *

      diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java index a431408498..a8b22ca4d1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java @@ -102,6 +102,20 @@ public final CompletableFuture deleteTransform( return deleteTransform(fn.apply(new DeleteTransformRequest.Builder()).build()); } + // ----- Endpoint: transform.get_node_stats + + /** + * Get node stats. + *

      + * Get per-node information about transform usage. + * + * @see Documentation on elastic.co + */ + public CompletableFuture getNodeStats() { + return this.transport.performRequestAsync(GetNodeStatsRequest._INSTANCE, GetNodeStatsRequest._ENDPOINT, + this.transportOptions); + } + // ----- Endpoint: transform.get_transform /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java index cf5ccbb5c5..4b6e4c254c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java @@ -102,6 +102,20 @@ public final DeleteTransformResponse deleteTransform( return deleteTransform(fn.apply(new DeleteTransformRequest.Builder()).build()); } + // ----- Endpoint: transform.get_node_stats + + /** + * Get node stats. + *

      + * Get per-node information about transform usage. + * + * @see Documentation on elastic.co + */ + public GetNodeStatsResponse getNodeStats() throws IOException, ElasticsearchException { + return this.transport.performRequest(GetNodeStatsRequest._INSTANCE, GetNodeStatsRequest._ENDPOINT, + this.transportOptions); + } + // ----- Endpoint: transform.get_transform /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetNodeStatsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetNodeStatsRequest.java new file mode 100644 index 0000000000..7602601139 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetNodeStatsRequest.java @@ -0,0 +1,101 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.transform; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.RequestBase; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.util.Collections; +import java.util.Objects; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: transform.get_node_stats.Request + +/** + * Get node stats. + *

      + * Get per-node information about transform usage. + * + * @see API + * specification + */ + +public class GetNodeStatsRequest extends RequestBase { + public GetNodeStatsRequest() { + } + + /** + * Singleton instance for {@link GetNodeStatsRequest}. + */ + public static final GetNodeStatsRequest _INSTANCE = new GetNodeStatsRequest(); + + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code transform.get_node_stats}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/transform.get_node_stats", + + // Request method + request -> { + return "GET"; + + }, + + // Request path + request -> { + return "/_transform/_node_stats"; + + }, + + // Path parameters + request -> { + return Collections.emptyMap(); + }, + + // Request parameters + request -> { + return Collections.emptyMap(); + + }, SimpleEndpoint.emptyMap(), false, GetNodeStatsResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetNodeStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetNodeStatsResponse.java new file mode 100644 index 0000000000..f9c7588b2f --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetNodeStatsResponse.java @@ -0,0 +1,108 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.transform; + +import co.elastic.clients.elasticsearch.transform.get_node_stats.TransformNodeFullStats; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.util.Objects; +import java.util.function.Function; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: transform.get_node_stats.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class GetNodeStatsResponse extends TransformNodeFullStats { + // --------------------------------------------------------------------------------------------- + + private GetNodeStatsResponse(Builder builder) { + super(builder); + + } + + public static GetNodeStatsResponse of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link GetNodeStatsResponse}. + */ + + public static class Builder extends TransformNodeFullStats.AbstractBuilder + implements + ObjectBuilder { + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link GetNodeStatsResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public GetNodeStatsResponse build() { + _checkSingleUse(); + + return new GetNodeStatsResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link GetNodeStatsResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, GetNodeStatsResponse::setupGetNodeStatsResponseDeserializer); + + protected static void setupGetNodeStatsResponseDeserializer(ObjectDeserializer op) { + TransformNodeFullStats.setupTransformNodeFullStatsDeserializer(op); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformNodeFullStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformNodeFullStats.java new file mode 100644 index 0000000000..bda823e056 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformNodeFullStats.java @@ -0,0 +1,189 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.transform.get_node_stats; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.String; +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. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: transform.get_node_stats.TransformNodeFullStats + +/** + * + * @see API + * specification + */ + +public abstract class TransformNodeFullStats implements JsonpSerializable { + private final Map nodes; + + private final TransformNodeStats total; + + // --------------------------------------------------------------------------------------------- + + protected TransformNodeFullStats(AbstractBuilder builder) { + + this.nodes = ApiTypeHelper.unmodifiable(builder.nodes); + + this.total = ApiTypeHelper.requireNonNull(builder.total, this, "total"); + + } + + /** + * Per node statistics + */ + public final Map nodes() { + return this.nodes; + } + + /** + * Required - API name: {@code total} + */ + public final TransformNodeStats total() { + return this.total; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + for (Map.Entry item0 : this.nodes.entrySet()) { + generator.writeKey(item0.getKey()); + item0.getValue().serialize(generator, mapper); + + } + + generator.writeKey("total"); + this.total.serialize(generator, mapper); + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + public abstract static class AbstractBuilder> + extends + WithJsonObjectBuilderBase { + @Nullable + private Map nodes = new HashMap<>(); + + /** + * Per node statistics + *

      + * Adds all entries of map to nodes. + */ + public final BuilderT nodes(Map map) { + this.nodes = _mapPutAll(this.nodes, map); + return self(); + } + + /** + * Per node statistics + *

      + * Adds an entry to nodes. + */ + public final BuilderT nodes(String key, TransformNodeStats value) { + this.nodes = _mapPut(this.nodes, key, value); + return self(); + } + + /** + * Per node statistics + *

      + * Adds an entry to nodes using a builder lambda. + */ + public final BuilderT nodes(String key, + Function> fn) { + return nodes(key, fn.apply(new TransformNodeStats.Builder()).build()); + } + + private TransformNodeStats total; + + /** + * Required - API name: {@code total} + */ + public final BuilderT total(TransformNodeStats value) { + this.total = value; + return self(); + } + + /** + * Required - API name: {@code total} + */ + public final BuilderT total(Function> fn) { + return this.total(fn.apply(new TransformNodeStats.Builder()).build()); + } + + protected abstract BuilderT self(); + + } + + // --------------------------------------------------------------------------------------------- + protected static > void setupTransformNodeFullStatsDeserializer( + ObjectDeserializer op) { + + op.add(AbstractBuilder::total, TransformNodeStats._DESERIALIZER, "total"); + + op.setUnknownFieldHandler((builder, name, parser, mapper) -> { + builder.nodes(name, TransformNodeStats._DESERIALIZER.deserialize(parser, mapper)); + }); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformNodeStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformNodeStats.java new file mode 100644 index 0000000000..227bff06cb --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformNodeStats.java @@ -0,0 +1,163 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.transform.get_node_stats; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: transform.get_node_stats.TransformNodeStats + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class TransformNodeStats implements JsonpSerializable { + private final TransformSchedulerStats scheduler; + + // --------------------------------------------------------------------------------------------- + + private TransformNodeStats(Builder builder) { + + this.scheduler = ApiTypeHelper.requireNonNull(builder.scheduler, this, "scheduler"); + + } + + public static TransformNodeStats of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - API name: {@code scheduler} + */ + public final TransformSchedulerStats scheduler() { + return this.scheduler; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("scheduler"); + this.scheduler.serialize(generator, mapper); + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link TransformNodeStats}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private TransformSchedulerStats scheduler; + + /** + * Required - API name: {@code scheduler} + */ + public final Builder scheduler(TransformSchedulerStats value) { + this.scheduler = value; + return this; + } + + /** + * Required - API name: {@code scheduler} + */ + public final Builder scheduler( + Function> fn) { + return this.scheduler(fn.apply(new TransformSchedulerStats.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link TransformNodeStats}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public TransformNodeStats build() { + _checkSingleUse(); + + return new TransformNodeStats(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link TransformNodeStats} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, TransformNodeStats::setupTransformNodeStatsDeserializer); + + protected static void setupTransformNodeStatsDeserializer(ObjectDeserializer op) { + + op.add(Builder::scheduler, TransformSchedulerStats._DESERIALIZER, "scheduler"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformSchedulerStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformSchedulerStats.java new file mode 100644 index 0000000000..6062412bb3 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_node_stats/TransformSchedulerStats.java @@ -0,0 +1,190 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch.transform.get_node_stats; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: transform.get_node_stats.TransformSchedulerStats + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class TransformSchedulerStats implements JsonpSerializable { + private final int registeredTransformCount; + + @Nullable + private final String peekTransform; + + // --------------------------------------------------------------------------------------------- + + private TransformSchedulerStats(Builder builder) { + + this.registeredTransformCount = ApiTypeHelper.requireNonNull(builder.registeredTransformCount, this, + "registeredTransformCount", 0); + this.peekTransform = builder.peekTransform; + + } + + public static TransformSchedulerStats of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - API name: {@code registered_transform_count} + */ + public final int registeredTransformCount() { + return this.registeredTransformCount; + } + + /** + * API name: {@code peek_transform} + */ + @Nullable + public final String peekTransform() { + return this.peekTransform; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("registered_transform_count"); + generator.write(this.registeredTransformCount); + + if (this.peekTransform != null) { + generator.writeKey("peek_transform"); + generator.write(this.peekTransform); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link TransformSchedulerStats}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private Integer registeredTransformCount; + + @Nullable + private String peekTransform; + + /** + * Required - API name: {@code registered_transform_count} + */ + public final Builder registeredTransformCount(int value) { + this.registeredTransformCount = value; + return this; + } + + /** + * API name: {@code peek_transform} + */ + public final Builder peekTransform(@Nullable String value) { + this.peekTransform = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link TransformSchedulerStats}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public TransformSchedulerStats build() { + _checkSingleUse(); + + return new TransformSchedulerStats(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link TransformSchedulerStats} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, TransformSchedulerStats::setupTransformSchedulerStatsDeserializer); + + protected static void setupTransformSchedulerStatsDeserializer( + ObjectDeserializer op) { + + op.add(Builder::registeredTransformCount, JsonpDeserializer.integerDeserializer(), + "registered_transform_count"); + op.add(Builder::peekTransform, JsonpDeserializer.stringDeserializer(), "peek_transform"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchRequest.java index 852219ff13..0fc9ba8609 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchRequest.java @@ -186,7 +186,7 @@ public final String id() { } /** - * only update the watch if the last operation that has changed the watch has + * Only update the watch if the last operation that has changed the watch has * the specified primary term *

      * API name: {@code if_primary_term} @@ -197,7 +197,7 @@ public final Long ifPrimaryTerm() { } /** - * only update the watch if the last operation that has changed the watch has + * Only update the watch if the last operation that has changed the watch has * the specified sequence number *

      * API name: {@code if_seq_no} @@ -480,7 +480,7 @@ public final Builder id(String value) { } /** - * only update the watch if the last operation that has changed the watch has + * Only update the watch if the last operation that has changed the watch has * the specified primary term *

      * API name: {@code if_primary_term} @@ -491,7 +491,7 @@ public final Builder ifPrimaryTerm(@Nullable Long value) { } /** - * only update the watch if the last operation that has changed the watch has + * Only update the watch if the last operation that has changed the watch has * the specified sequence number *

      * API name: {@code if_seq_no} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoRequest.java index fd9ca2f29c..f25bfbf4a5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoRequest.java @@ -95,7 +95,7 @@ public static XpackInfoRequest of(Function * API name: {@code accept_enterprise} * @@ -147,7 +147,7 @@ public static class Builder extends RequestBase.AbstractBuilder private Boolean human; /** - * If this param is used it must be set to true + * If used, this otherwise ignored parameter must be set to true *

      * API name: {@code accept_enterprise} *