Skip to content

Commit

Permalink
[codegen] update to latest api spec
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Jul 3, 2024
1 parent dc472e8 commit cb3d498
Show file tree
Hide file tree
Showing 40 changed files with 1,001 additions and 1,131 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@
import co.elastic.clients.elasticsearch.ml.ElasticsearchMlAsyncClient;
import co.elastic.clients.elasticsearch.monitoring.ElasticsearchMonitoringAsyncClient;
import co.elastic.clients.elasticsearch.nodes.ElasticsearchNodesAsyncClient;
import co.elastic.clients.elasticsearch.query_rule.ElasticsearchQueryRuleAsyncClient;
import co.elastic.clients.elasticsearch.query_ruleset.ElasticsearchQueryRulesetAsyncClient;
import co.elastic.clients.elasticsearch.query_rules.ElasticsearchQueryRulesAsyncClient;
import co.elastic.clients.elasticsearch.rollup.ElasticsearchRollupAsyncClient;
import co.elastic.clients.elasticsearch.search_application.ElasticsearchSearchApplicationAsyncClient;
import co.elastic.clients.elasticsearch.searchable_snapshots.ElasticsearchSearchableSnapshotsAsyncClient;
Expand Down Expand Up @@ -281,12 +280,8 @@ public ElasticsearchNodesAsyncClient nodes() {
return new ElasticsearchNodesAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchQueryRuleAsyncClient queryRule() {
return new ElasticsearchQueryRuleAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchQueryRulesetAsyncClient queryRuleset() {
return new ElasticsearchQueryRulesetAsyncClient(this.transport, this.transportOptions);
public ElasticsearchQueryRulesAsyncClient queryRules() {
return new ElasticsearchQueryRulesAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchRollupAsyncClient rollup() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@
import co.elastic.clients.elasticsearch.ml.ElasticsearchMlClient;
import co.elastic.clients.elasticsearch.monitoring.ElasticsearchMonitoringClient;
import co.elastic.clients.elasticsearch.nodes.ElasticsearchNodesClient;
import co.elastic.clients.elasticsearch.query_rule.ElasticsearchQueryRuleClient;
import co.elastic.clients.elasticsearch.query_ruleset.ElasticsearchQueryRulesetClient;
import co.elastic.clients.elasticsearch.query_rules.ElasticsearchQueryRulesClient;
import co.elastic.clients.elasticsearch.rollup.ElasticsearchRollupClient;
import co.elastic.clients.elasticsearch.search_application.ElasticsearchSearchApplicationClient;
import co.elastic.clients.elasticsearch.searchable_snapshots.ElasticsearchSearchableSnapshotsClient;
Expand Down Expand Up @@ -282,12 +281,8 @@ public ElasticsearchNodesClient nodes() {
return new ElasticsearchNodesClient(this.transport, this.transportOptions);
}

public ElasticsearchQueryRuleClient queryRule() {
return new ElasticsearchQueryRuleClient(this.transport, this.transportOptions);
}

public ElasticsearchQueryRulesetClient queryRuleset() {
return new ElasticsearchQueryRulesetClient(this.transport, this.transportOptions);
public ElasticsearchQueryRulesClient queryRules() {
return new ElasticsearchQueryRulesClient(this.transport, this.transportOptions);
}

public ElasticsearchRollupClient rollup() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@
'indices.delete_data_lifecycle.Response': 'indices/delete_data_lifecycle/IndicesDeleteDataLifecycleResponse.ts#L22-L24',
'indices.delete_data_stream.Request': 'indices/delete_data_stream/IndicesDeleteDataStreamRequest.ts#L23-L44',
'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-L52',
'indices.delete_index_template.Request': 'indices/delete_index_template/IndicesDeleteIndexTemplateRequest.ts#L24-L53',
'indices.delete_index_template.Response': 'indices/delete_index_template/IndicesDeleteIndexTemplateResponse.ts#L22-L24',
'indices.delete_template.Request': 'indices/delete_template/IndicesDeleteTemplateRequest.ts#L24-L52',
'indices.delete_template.Response': 'indices/delete_template/IndicesDeleteTemplateResponse.ts#L22-L24',
Expand All @@ -1370,7 +1370,7 @@
'indices.exists.Request': 'indices/exists/IndicesExistsRequest.ts#L23-L72',
'indices.exists_alias.Request': 'indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L67',
'indices.exists_index_template.Request': 'indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L41',
'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L37',
'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L39',
'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-L38',
'indices.explain_data_lifecycle.Response': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L25-L29',
Expand Down Expand Up @@ -1402,14 +1402,14 @@
'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-L60',
'indices.get_index_template.Request': 'indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L61',
'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-L72',
'indices.get_mapping.Response': 'indices/get_mapping/IndicesGetMappingResponse.ts#L24-L27',
'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L91',
'indices.get_settings.Response': 'indices/get_settings/IndicesGetSettingsResponse.ts#L24-L27',
'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L56',
'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L57',
'indices.get_template.Response': 'indices/get_template/IndicesGetTemplateResponse.ts#L23-L26',
'indices.migrate_to_data_stream.Request': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamRequest.ts#L23-L44',
'indices.migrate_to_data_stream.Response': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamResponse.ts#L22-L24',
Expand Down Expand Up @@ -1480,10 +1480,10 @@
'indices.shard_stores.ShardStoreWrapper': 'indices/shard_stores/types.ts#L56-L58',
'indices.shrink.Request': 'indices/shrink/IndicesShrinkRequest.ts#L27-L75',
'indices.shrink.Response': 'indices/shrink/IndicesShrinkResponse.ts#L22-L28',
'indices.simulate_index_template.Request': 'indices/simulate_index_template/IndicesSimulateIndexTemplateRequest.ts#L24-L49',
'indices.simulate_index_template.Request': 'indices/simulate_index_template/IndicesSimulateIndexTemplateRequest.ts#L24-L50',
'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-L119',
'indices.simulate_template.Request': 'indices/simulate_template/IndicesSimulateTemplateRequest.ts#L27-L120',
'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-L74',
Expand Down Expand Up @@ -2107,27 +2107,27 @@
'nodes.usage.Request': 'nodes/usage/NodesUsageRequest.ts#L24-L49',
'nodes.usage.Response': 'nodes/usage/NodesUsageResponse.ts#L30-L32',
'nodes.usage.ResponseBase': 'nodes/usage/NodesUsageResponse.ts#L25-L28',
'query_rule.delete.Request': 'query_rule/delete/QueryRuleDeleteRequest.ts#L22-L40',
'query_rule.delete.Response': 'query_rule/delete/QueryRuleDeleteResponse.ts#L22-L24',
'query_rule.get.Request': 'query_rule/get/QueryRuleGetRequest.ts#L22-L40',
'query_rule.get.Response': 'query_rule/get/QueryRuleGetResponse.ts#L22-L24',
'query_rule.put.Request': 'query_rule/put/QueryRulePutRequest.ts#L27-L54',
'query_rule.put.Response': 'query_rule/put/QueryRulePutResponse.ts#L22-L26',
'query_ruleset._types.QueryRule': 'query_ruleset/_types/QueryRuleset.ts#L37-L42',
'query_ruleset._types.QueryRuleActions': 'query_ruleset/_types/QueryRuleset.ts#L68-L71',
'query_ruleset._types.QueryRuleCriteria': 'query_ruleset/_types/QueryRuleset.ts#L48-L52',
'query_ruleset._types.QueryRuleCriteriaType': 'query_ruleset/_types/QueryRuleset.ts#L54-L66',
'query_ruleset._types.QueryRuleType': 'query_ruleset/_types/QueryRuleset.ts#L44-L46',
'query_ruleset._types.QueryRuleset': 'query_ruleset/_types/QueryRuleset.ts#L26-L35',
'query_ruleset.delete.Request': 'query_ruleset/delete/QueryRulesetDeleteRequest.ts#L22-L35',
'query_ruleset.delete.Response': 'query_ruleset/delete/QueryRulesetDeleteResponse.ts#L22-L24',
'query_ruleset.get.Request': 'query_ruleset/get/QueryRulesetGetRequest.ts#L22-L35',
'query_ruleset.get.Response': 'query_ruleset/get/QueryRulesetGetResponse.ts#L22-L24',
'query_ruleset.list.QueryRulesetListItem': 'query_ruleset/list/types.ts#L23-L37',
'query_ruleset.list.Request': 'query_ruleset/list/QueryRulesetListRequest.ts#L22-L39',
'query_ruleset.list.Response': 'query_ruleset/list/QueryRulesetListResponse.ts#L23-L28',
'query_ruleset.put.Request': 'query_ruleset/put/QueryRulesetPutRequest.ts#L23-L43',
'query_ruleset.put.Response': 'query_ruleset/put/QueryRulesetPutResponse.ts#L22-L26',
'query_rules._types.QueryRule': 'query_rules/_types/QueryRuleset.ts#L37-L42',
'query_rules._types.QueryRuleActions': 'query_rules/_types/QueryRuleset.ts#L68-L71',
'query_rules._types.QueryRuleCriteria': 'query_rules/_types/QueryRuleset.ts#L48-L52',
'query_rules._types.QueryRuleCriteriaType': 'query_rules/_types/QueryRuleset.ts#L54-L66',
'query_rules._types.QueryRuleType': 'query_rules/_types/QueryRuleset.ts#L44-L46',
'query_rules._types.QueryRuleset': 'query_rules/_types/QueryRuleset.ts#L26-L35',
'query_rules.delete_rule.Request': 'query_rules/delete_rule/QueryRuleDeleteRequest.ts#L22-L40',
'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-L35',
'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-L40',
'query_rules.get_rule.Response': 'query_rules/get_rule/QueryRuleGetResponse.ts#L22-L24',
'query_rules.get_ruleset.Request': 'query_rules/get_ruleset/QueryRulesetGetRequest.ts#L22-L35',
'query_rules.get_ruleset.Response': 'query_rules/get_ruleset/QueryRulesetGetResponse.ts#L22-L24',
'query_rules.list_rulesets.QueryRulesetListItem': 'query_rules/list_rulesets/types.ts#L23-L37',
'query_rules.list_rulesets.Request': 'query_rules/list_rulesets/QueryRulesetListRequest.ts#L22-L39',
'query_rules.list_rulesets.Response': 'query_rules/list_rulesets/QueryRulesetListResponse.ts#L23-L28',
'query_rules.put_rule.Request': 'query_rules/put_rule/QueryRulePutRequest.ts#L27-L54',
'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-L43',
'query_rules.put_ruleset.Response': 'query_rules/put_ruleset/QueryRulesetPutResponse.ts#L22-L26',
'rollup._types.DateHistogramGrouping': 'rollup/_types/Groupings.ts#L42-L73',
'rollup._types.FieldMetric': 'rollup/_types/Metric.ts#L30-L35',
'rollup._types.Groupings': 'rollup/_types/Groupings.ts#L24-L40',
Expand Down Expand Up @@ -2731,10 +2731,10 @@
if (hash.length > 1) {
hash = hash.substring(1);
}
window.location = "https://github.com/elastic/elasticsearch-specification/tree/21b532fe17fbe3d4dbcd224a54dd8c5e3670d56c/specification/" + (paths[hash] || "");
window.location = "https://github.com/elastic/elasticsearch-specification/tree/94ad8c5b43dc517a0eda7d135e9de4e4fc5432af/specification/" + (paths[hash] || "");
</script>
</head>
<body>
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/21b532fe17fbe3d4dbcd224a54dd8c5e3670d56c/specification/">Elasticsearch API specification</a>.
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/94ad8c5b43dc517a0eda7d135e9de4e4fc5432af/specification/">Elasticsearch API specification</a>.
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
// typedef: indices.delete_index_template.Request

/**
* The provided &lt;index-template&gt; may contain multiple template names
* separated by a comma. If multiple template names are specified then there is
* no wildcard support and the provided names should match completely with
* existing templates.
* Delete an index template. The provided &lt;index-template&gt; may contain
* multiple template names separated by a comma. If multiple template names are
* specified then there is no wildcard support and the provided names should
* match completely with existing templates.
*
* @see <a href=
* "../doc-files/api-spec.html#indices.delete_index_template.Request">API
Expand Down
Loading

0 comments on commit cb3d498

Please sign in to comment.