elasticsearch-api 8.18.1 → 8.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -0
  3. data/api-spec-testing/wipe_cluster.rb +44 -14
  4. data/lib/elasticsearch/api/actions/esql/async_query.rb +1 -0
  5. data/lib/elasticsearch/api/actions/esql/async_query_get.rb +1 -0
  6. data/lib/elasticsearch/api/actions/esql/query.rb +1 -0
  7. data/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb +63 -0
  8. data/lib/elasticsearch/api/actions/indices/get_data_stream_options.rb +62 -0
  9. data/lib/elasticsearch/api/actions/{transform/set_upgrade_mode.rb → indices/get_data_stream_settings.rb} +19 -10
  10. data/lib/elasticsearch/api/actions/indices/put_data_stream_options.rb +64 -0
  11. data/lib/elasticsearch/api/actions/indices/put_data_stream_settings.rb +65 -0
  12. data/lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb +69 -0
  13. data/lib/elasticsearch/api/actions/inference/put_deepseek.rb +69 -0
  14. data/lib/elasticsearch/api/version.rb +1 -1
  15. data/spec/elasticsearch/api/actions/indices/delete_data_stream_options_spec.rb +37 -0
  16. data/spec/elasticsearch/api/actions/indices/get_data_stream_options_spec.rb +37 -0
  17. data/spec/elasticsearch/api/actions/indices/get_data_stream_settings_spec.rb +37 -0
  18. data/spec/elasticsearch/api/actions/{transform/set_upgrade_mode_spec.rb → indices/put_data_stream_options_spec.rb} +5 -5
  19. data/spec/elasticsearch/api/actions/indices/put_data_stream_settings_spec.rb +35 -0
  20. data/spec/elasticsearch/api/actions/inference/put_amazonsagemaker_spec.rb +36 -0
  21. data/spec/elasticsearch/api/actions/inference/put_deepseek_spec.rb +36 -0
  22. data/spec/rest_api/skipped_tests_free.yml +6 -0
  23. data/spec/rest_api/skipped_tests_platinum.yml +93 -0
  24. data/utils/thor/generator/docs_helper.rb +1 -1
  25. metadata +22 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 602ecf0e263c30ed90cde926f0d079c5b5de6c73f3773dc5c71fdde74e70a064
4
- data.tar.gz: c6326ee290043f190a2d31d2fd872289253dd0f143f9044cb609a77e021f93d2
3
+ metadata.gz: a2b7c54ab2ca8331783f1e17cdadbd7b6651511c3432feb84a3a04b51c52d399
4
+ data.tar.gz: 6e2d55426372cdada1adac576c04eebc8aca8b7e9ddb07614cae36a266dae1ba
5
5
  SHA512:
6
- metadata.gz: 6aef7a6caedda4df144be85fa8cb031a386606f7b29521f51163825b69f7838b5be574dfc560caf3be32617578284045125dfea8ded93c35e6553ae99e09b18b
7
- data.tar.gz: 9263916ca3aeb6508c97146b8ec19637783a993f14dc70cc18922112f435f09e5b70c8dceab12236e65ce106948d5ddcec584fa6d608cce8dfaf5b14dcaeb746
6
+ metadata.gz: bfb93aba0c938b39474c0af63051475fee87ffb45a37c5b3730a979150581537ff73489afd1d2e722b94cba112f868a6817ea735db5c8720087ec01f23936f47
7
+ data.tar.gz: 8914ac6ff3d5a69a0fb6943c70ac8eba7a3265ade150f7cc1175def24858cf244dacec3de45134b51d048a877c9fad4b95e6424df1885caf67cf4e8640d9e774
data/Rakefile CHANGED
@@ -36,6 +36,7 @@ namespace :test do
36
36
  RSpec::Core::RakeTask.new(:spec) do |t|
37
37
  t.pattern = 'spec/elasticsearch/api/**/*_spec.rb'
38
38
  t.exclude_pattern = 'spec/platinum/**/*_spec.rb'
39
+ t.exclude_pattern += ',spec/elasticsearch/api/perform_request_spec.rb' unless ENV['TEST_WITH_OTEL']
39
40
  end
40
41
 
41
42
  desc 'Run Rest API Spec tests'
@@ -23,14 +23,41 @@ module Elasticsearch
23
23
  module RestAPIYAMLTests
24
24
  module WipeCluster
25
25
  PRESERVE_ILM_POLICY_IDS = [
26
- 'ilm-history-ilm-policy', 'slm-history-ilm-policy', 'watch-history-ilm-policy',
27
- 'watch-history-ilm-policy-16', 'ml-size-based-ilm-policy', 'logs', 'metrics', 'profiling',
28
- 'synthetics', '7-days-default', '30-days-default', '90-days-default', '180-days-default',
29
- '365-days-default', '.fleet-files-ilm-policy', '.fleet-file-data-ilm-policy',
30
- '.fleet-actions-results-ilm-policy', '.fleet-file-fromhost-data-ilm-policy',
31
- '.fleet-file-fromhost-meta-ilm-policy', '.fleet-file-tohost-data-ilm-policy',
32
- '.fleet-file-tohost-meta-ilm-policy', '.deprecation-indexing-ilm-policy',
33
- '.monitoring-8-ilm-policy', 'behavioral_analytics-events-default_policy',
26
+ 'ilm-history-ilm-policy',
27
+ 'slm-history-ilm-policy',
28
+ 'watch-history-ilm-policy',
29
+ 'watch-history-ilm-policy-16',
30
+ 'ml-size-based-ilm-policy',
31
+ 'logs',
32
+ 'logs@lifecycle',
33
+ 'metrics',
34
+ 'metrics@lifecycle',
35
+ 'profiling-60-days',
36
+ 'profiling-60-days@lifecycle',
37
+ 'synthetics',
38
+ 'agentless',
39
+ 'synthetics@lifecycle',
40
+ 'traces@lifecycle',
41
+ '7-days-default',
42
+ '7-days@lifecycle',
43
+ '30-days-default',
44
+ '30-days@lifecycle',
45
+ '90-days-default',
46
+ '90-days@lifecycle',
47
+ '180-days-default',
48
+ '180-days@lifecycle',
49
+ '365-days-default',
50
+ '365-days@lifecycle',
51
+ '.fleet-files-ilm-policy',
52
+ '.fleet-file-data-ilm-policy',
53
+ '.fleet-actions-results-ilm-policy',
54
+ '.fleet-file-fromhost-data-ilm-policy',
55
+ '.fleet-file-fromhost-meta-ilm-policy',
56
+ '.fleet-file-tohost-data-ilm-policy',
57
+ '.fleet-file-tohost-meta-ilm-policy',
58
+ '.deprecation-indexing-ilm-policy',
59
+ '.monitoring-8-ilm-policy',
60
+ 'behavioral_analytics-events-default_policy',
34
61
  'logs-apm.app_logs-default_policy',
35
62
  'logs-apm.error_logs-default_policy',
36
63
  'metrics-apm.app_metrics-default_policy',
@@ -414,24 +441,27 @@ module Elasticsearch
414
441
  def clear_ml_jobs(client)
415
442
  client.ml.close_job(job_id: '_all', force: true)
416
443
  client.ml.get_jobs['jobs'].each do |d|
417
- client.ml.delete_job(job_id: d['job_id'])
444
+ client.ml.delete_job(job_id: d['job_id'], wait_for_completion: false, force: true)
418
445
  end
419
446
  end
420
447
 
421
448
  def clear_datafeeds(client)
422
449
  client.ml.stop_datafeed(datafeed_id: '_all', force: true)
423
450
  client.ml.get_datafeeds['datafeeds'].each do |d|
424
- client.ml.delete_datafeed(datafeed_id: d['datafeed_id'])
451
+ Thread.new do
452
+ client.ml.stop_datafeed(datafeed_id: d['datafeed_id'], force: true)
453
+ client.ml.delete_datafeed(datafeed_id: d['datafeed_id'], force: true)
454
+ rescue StandardError
455
+ logger.info('Exception deleting datafeed')
456
+ end
425
457
  end
426
458
  end
427
459
 
428
460
  def clear_tasks(client)
429
461
  tasks = client.tasks.get['nodes'].values.first['tasks'].values.select do |d|
430
462
  d['cancellable']
431
- end.map do |d|
432
- "#{d['node']}:#{d['id']}"
433
463
  end
434
- tasks.each { |t| client.tasks.cancel task_id: t }
464
+ tasks.each { |d| client.tasks.cancel(task_id: "#{d['node']}:#{d['id']}") }
435
465
  end
436
466
 
437
467
  def clear_machine_learning_indices(client)
@@ -448,7 +478,7 @@ module Elasticsearch
448
478
 
449
479
  def clear_transforms(client)
450
480
  client.transform.get_transform(transform_id: '*')['transforms'].each do |transform|
451
- client.transform.delete_transform(transform_id: transform['id'])
481
+ client.transform.delete_transform(transform_id: transform['id'], force: true)
452
482
  end
453
483
  end
454
484
 
@@ -27,6 +27,7 @@ module Elasticsearch
27
27
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
28
28
  # @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the csv format.
29
29
  # @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
30
+ # @option arguments [Boolean] :allow_partial_results If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. If `false`, the entire query will fail if there are any failures.
30
31
  # @option arguments [Hash] :headers Custom HTTP headers
31
32
  # @option arguments [Hash] :body Use the `query` element to start a query. Use `columnar` to format the answer. (*Required*)
32
33
  #
@@ -25,6 +25,7 @@ module Elasticsearch
25
25
  # Retrieves the results of a previously submitted async query request given its ID.
26
26
  #
27
27
  # @option arguments [String] :id The async query ID
28
+ # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
28
29
  # @option arguments [Time] :wait_for_completion_timeout Specify the time that the request should block waiting for the final response
29
30
  # @option arguments [Time] :keep_alive Specify the time interval in which the results (partial or final) for this search will be available
30
31
  # @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
@@ -27,6 +27,7 @@ module Elasticsearch
27
27
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
28
28
  # @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the csv format.
29
29
  # @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
30
+ # @option arguments [Boolean] :allow_partial_results If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. If `false`, the entire query will fail if there are any failures.
30
31
  # @option arguments [Hash] :headers Custom HTTP headers
31
32
  # @option arguments [Hash] :body Use the `query` element to start a query. Use `columnar` to format the answer. (*Required*)
32
33
  #
@@ -0,0 +1,63 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
+ # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
+ #
21
+ module Elasticsearch
22
+ module API
23
+ module Indices
24
+ module Actions
25
+ # Deletes the data stream options of the selected data streams.
26
+ #
27
+ # @option arguments [List] :name A comma-separated list of data streams of which the data stream options will be deleted; use `*` to get all data streams
28
+ # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
29
+ # @option arguments [Time] :timeout Explicit timestamp for the document
30
+ # @option arguments [Time] :master_timeout Specify timeout for connection to master
31
+ # @option arguments [Hash] :headers Custom HTTP headers
32
+ #
33
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/index.html
34
+ #
35
+ def delete_data_stream_options(arguments = {})
36
+ request_opts = { endpoint: arguments[:endpoint] || 'indices.delete_data_stream_options' }
37
+
38
+ defined_params = [:name].each_with_object({}) do |variable, set_variables|
39
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
40
+ end
41
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
42
+
43
+ raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
44
+
45
+ arguments = arguments.clone
46
+ headers = arguments.delete(:headers) || {}
47
+
48
+ body = nil
49
+
50
+ _name = arguments.delete(:name)
51
+
52
+ method = Elasticsearch::API::HTTP_DELETE
53
+ path = "_data_stream/#{Utils.__listify(_name)}/_options"
54
+ params = Utils.process_params(arguments)
55
+
56
+ Elasticsearch::API::Response.new(
57
+ perform_request(method, path, params, body, headers, request_opts)
58
+ )
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,62 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
+ # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
+ #
21
+ module Elasticsearch
22
+ module API
23
+ module Indices
24
+ module Actions
25
+ # Returns the data stream options of the selected data streams.
26
+ #
27
+ # @option arguments [List] :name A comma-separated list of data streams to get; use `*` to get all data streams
28
+ # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
29
+ # @option arguments [Time] :master_timeout Specify timeout for connection to master
30
+ # @option arguments [Hash] :headers Custom HTTP headers
31
+ #
32
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/index.html
33
+ #
34
+ def get_data_stream_options(arguments = {})
35
+ request_opts = { endpoint: arguments[:endpoint] || 'indices.get_data_stream_options' }
36
+
37
+ defined_params = [:name].each_with_object({}) do |variable, set_variables|
38
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
39
+ end
40
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
41
+
42
+ raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
43
+
44
+ arguments = arguments.clone
45
+ headers = arguments.delete(:headers) || {}
46
+
47
+ body = nil
48
+
49
+ _name = arguments.delete(:name)
50
+
51
+ method = Elasticsearch::API::HTTP_GET
52
+ path = "_data_stream/#{Utils.__listify(_name)}/_options"
53
+ params = Utils.process_params(arguments)
54
+
55
+ Elasticsearch::API::Response.new(
56
+ perform_request(method, path, params, body, headers, request_opts)
57
+ )
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -20,26 +20,35 @@
20
20
  #
21
21
  module Elasticsearch
22
22
  module API
23
- module Transform
23
+ module Indices
24
24
  module Actions
25
- # Sets a cluster wide upgrade_mode setting that prepares transform indices for an upgrade.
25
+ # Gets a data stream's settings
26
26
  #
27
- # @option arguments [Boolean] :enabled Whether to enable upgrade_mode Transform setting or not. Defaults to false.
28
- # @option arguments [Time] :timeout Controls the time to wait before action times out. Defaults to 30 seconds
27
+ # @option arguments [String] :name Comma-separated list of data streams or data stream patterns
28
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node
29
29
  # @option arguments [Hash] :headers Custom HTTP headers
30
30
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/transform-set-upgrade-mode.html
31
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/data-streams.html
32
32
  #
33
- def set_upgrade_mode(arguments = {})
34
- request_opts = { endpoint: arguments[:endpoint] || 'transform.set_upgrade_mode' }
33
+ def get_data_stream_settings(arguments = {})
34
+ request_opts = { endpoint: arguments[:endpoint] || 'indices.get_data_stream_settings' }
35
+
36
+ defined_params = [:name].each_with_object({}) do |variable, set_variables|
37
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
38
+ end
39
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
40
+
41
+ raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
35
42
 
36
43
  arguments = arguments.clone
37
44
  headers = arguments.delete(:headers) || {}
38
45
 
39
- body = nil
46
+ body = nil
47
+
48
+ _name = arguments.delete(:name)
40
49
 
41
- method = Elasticsearch::API::HTTP_POST
42
- path = '_transform/set_upgrade_mode'
50
+ method = Elasticsearch::API::HTTP_GET
51
+ path = "_data_stream/#{Utils.__listify(_name)}/_settings"
43
52
  params = Utils.process_params(arguments)
44
53
 
45
54
  Elasticsearch::API::Response.new(
@@ -0,0 +1,64 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
+ # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
+ #
21
+ module Elasticsearch
22
+ module API
23
+ module Indices
24
+ module Actions
25
+ # Updates the data stream options of the selected data streams.
26
+ #
27
+ # @option arguments [List] :name A comma-separated list of data streams whose options will be updated; use `*` to set the options to all data streams
28
+ # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
29
+ # @option arguments [Time] :timeout Explicit timestamp for the document
30
+ # @option arguments [Time] :master_timeout Specify timeout for connection to master
31
+ # @option arguments [Hash] :headers Custom HTTP headers
32
+ # @option arguments [Hash] :body The data stream options configuration that consist of the failure store configuration
33
+ #
34
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/index.html
35
+ #
36
+ def put_data_stream_options(arguments = {})
37
+ request_opts = { endpoint: arguments[:endpoint] || 'indices.put_data_stream_options' }
38
+
39
+ defined_params = [:name].each_with_object({}) do |variable, set_variables|
40
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
41
+ end
42
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
43
+
44
+ raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
45
+
46
+ arguments = arguments.clone
47
+ headers = arguments.delete(:headers) || {}
48
+
49
+ body = arguments.delete(:body)
50
+
51
+ _name = arguments.delete(:name)
52
+
53
+ method = Elasticsearch::API::HTTP_PUT
54
+ path = "_data_stream/#{Utils.__listify(_name)}/_options"
55
+ params = Utils.process_params(arguments)
56
+
57
+ Elasticsearch::API::Response.new(
58
+ perform_request(method, path, params, body, headers, request_opts)
59
+ )
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,65 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
+ # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
+ #
21
+ module Elasticsearch
22
+ module API
23
+ module Indices
24
+ module Actions
25
+ # Updates a data stream's settings
26
+ #
27
+ # @option arguments [String] :name Comma-separated list of data streams or data stream patterns
28
+ # @option arguments [Boolean] :dry_run Whether this request should only be a dry run rather than actually applying settings
29
+ # @option arguments [Time] :timeout Period to wait for a response
30
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node
31
+ # @option arguments [Hash] :headers Custom HTTP headers
32
+ # @option arguments [Hash] :body The data stream settings to be updated (*Required*)
33
+ #
34
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/data-streams.html
35
+ #
36
+ def put_data_stream_settings(arguments = {})
37
+ request_opts = { endpoint: arguments[:endpoint] || 'indices.put_data_stream_settings' }
38
+
39
+ defined_params = [:name].each_with_object({}) do |variable, set_variables|
40
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
41
+ end
42
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
43
+
44
+ raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
45
+ raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
46
+
47
+ arguments = arguments.clone
48
+ headers = arguments.delete(:headers) || {}
49
+
50
+ body = arguments.delete(:body)
51
+
52
+ _name = arguments.delete(:name)
53
+
54
+ method = Elasticsearch::API::HTTP_PUT
55
+ path = "_data_stream/#{Utils.__listify(_name)}/_settings"
56
+ params = Utils.process_params(arguments)
57
+
58
+ Elasticsearch::API::Response.new(
59
+ perform_request(method, path, params, body, headers, request_opts)
60
+ )
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,69 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
+ # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
+ #
21
+ module Elasticsearch
22
+ module API
23
+ module Inference
24
+ module Actions
25
+ # Configure a Amazon SageMaker inference endpoint
26
+ #
27
+ # @option arguments [String] :task_type The task type
28
+ # @option arguments [String] :amazonsagemaker_inference_id The inference Id
29
+ # @option arguments [Hash] :headers Custom HTTP headers
30
+ # @option arguments [Hash] :body The inference endpoint's task and service settings
31
+ #
32
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/infer-service-amazon-sagemaker.html
33
+ #
34
+ def put_amazonsagemaker(arguments = {})
35
+ request_opts = { endpoint: arguments[:endpoint] || 'inference.put_amazonsagemaker' }
36
+
37
+ defined_params = %i[task_type amazonsagemaker_inference_id].each_with_object({}) do |variable, set_variables|
38
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
39
+ end
40
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
41
+
42
+ raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
43
+
44
+ unless arguments[:amazonsagemaker_inference_id]
45
+ raise ArgumentError,
46
+ "Required argument 'amazonsagemaker_inference_id' missing"
47
+ end
48
+
49
+ arguments = arguments.clone
50
+ headers = arguments.delete(:headers) || {}
51
+
52
+ body = arguments.delete(:body)
53
+
54
+ _task_type = arguments.delete(:task_type)
55
+
56
+ _amazonsagemaker_inference_id = arguments.delete(:amazonsagemaker_inference_id)
57
+
58
+ method = Elasticsearch::API::HTTP_PUT
59
+ path = "_inference/#{Utils.__listify(_task_type)}/#{Utils.__listify(_amazonsagemaker_inference_id)}"
60
+ params = {}
61
+
62
+ Elasticsearch::API::Response.new(
63
+ perform_request(method, path, params, body, headers, request_opts)
64
+ )
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,69 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
+ # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
+ #
21
+ module Elasticsearch
22
+ module API
23
+ module Inference
24
+ module Actions
25
+ # Configure a DeepSeek inference endpoint
26
+ #
27
+ # @option arguments [String] :task_type The task type
28
+ # @option arguments [String] :deepseek_inference_id The inference Id
29
+ # @option arguments [Hash] :headers Custom HTTP headers
30
+ # @option arguments [Hash] :body The inference endpoint's task and service settings
31
+ #
32
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/infer-service-deepseek.html
33
+ #
34
+ def put_deepseek(arguments = {})
35
+ request_opts = { endpoint: arguments[:endpoint] || 'inference.put_deepseek' }
36
+
37
+ defined_params = %i[task_type deepseek_inference_id].each_with_object({}) do |variable, set_variables|
38
+ set_variables[variable] = arguments[variable] if arguments.key?(variable)
39
+ end
40
+ request_opts[:defined_params] = defined_params unless defined_params.empty?
41
+
42
+ raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
43
+
44
+ unless arguments[:deepseek_inference_id]
45
+ raise ArgumentError,
46
+ "Required argument 'deepseek_inference_id' missing"
47
+ end
48
+
49
+ arguments = arguments.clone
50
+ headers = arguments.delete(:headers) || {}
51
+
52
+ body = arguments.delete(:body)
53
+
54
+ _task_type = arguments.delete(:task_type)
55
+
56
+ _deepseek_inference_id = arguments.delete(:deepseek_inference_id)
57
+
58
+ method = Elasticsearch::API::HTTP_PUT
59
+ path = "_inference/#{Utils.__listify(_task_type)}/#{Utils.__listify(_deepseek_inference_id)}"
60
+ params = {}
61
+
62
+ Elasticsearch::API::Response.new(
63
+ perform_request(method, path, params, body, headers, request_opts)
64
+ )
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module API
20
- VERSION = '8.18.1'.freeze
20
+ VERSION = '8.19.0'.freeze
21
21
  end
22
22
  end
@@ -0,0 +1,37 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ require 'spec_helper'
19
+
20
+ describe 'client.indices.delete_data_stream_options' do
21
+ let(:expected_args) do
22
+ [
23
+ 'DELETE',
24
+ '_data_stream/foo/_options',
25
+ {},
26
+ nil,
27
+ {},
28
+ { endpoint: 'indices.delete_data_stream_options', defined_params: { name: 'foo' } }
29
+ ]
30
+ end
31
+
32
+ let(:index) { 'foo' }
33
+
34
+ it 'performs the request' do
35
+ expect(client_double.indices.delete_data_stream_options(name: 'foo')).to be_a Elasticsearch::API::Response
36
+ end
37
+ end
@@ -0,0 +1,37 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ require 'spec_helper'
19
+
20
+ describe 'client.indices.get_data_stream_options' do
21
+ let(:expected_args) do
22
+ [
23
+ 'GET',
24
+ '_data_stream/foo/_options',
25
+ {},
26
+ nil,
27
+ {},
28
+ { endpoint: 'indices.get_data_stream_options', defined_params: { name: 'foo' } }
29
+ ]
30
+ end
31
+
32
+ let(:index) { 'foo' }
33
+
34
+ it 'performs the request' do
35
+ expect(client_double.indices.get_data_stream_options(name: 'foo')).to be_a Elasticsearch::API::Response
36
+ end
37
+ end
@@ -0,0 +1,37 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ require 'spec_helper'
19
+
20
+ describe 'client.indices.get_data_stream_settings' do
21
+ let(:expected_args) do
22
+ [
23
+ 'GET',
24
+ '_data_stream/foo/_settings',
25
+ {},
26
+ nil,
27
+ {},
28
+ { endpoint: 'indices.get_data_stream_settings', defined_params: { name: 'foo' } }
29
+ ]
30
+ end
31
+
32
+ let(:index) { 'foo' }
33
+
34
+ it 'performs the request' do
35
+ expect(client_double.indices.get_data_stream_settings(name: 'foo')).to be_a Elasticsearch::API::Response
36
+ end
37
+ end
@@ -17,19 +17,19 @@
17
17
 
18
18
  require 'spec_helper'
19
19
 
20
- describe 'client.transform#set_upgrade_mode' do
20
+ describe 'client.cluster#put_data_stream_options' do
21
21
  let(:expected_args) do
22
22
  [
23
- 'POST',
24
- '_transform/set_upgrade_mode',
23
+ 'PUT',
24
+ '_data_stream/foo/_options',
25
25
  {},
26
26
  nil,
27
27
  {},
28
- { endpoint: 'transform.set_upgrade_mode' }
28
+ { endpoint: 'indices.put_data_stream_options', defined_params: { name: 'foo' } }
29
29
  ]
30
30
  end
31
31
 
32
32
  it 'performs the request' do
33
- expect(client_double.transform.set_upgrade_mode).to be_a Elasticsearch::API::Response
33
+ expect(client_double.indices.put_data_stream_options(name: 'foo')).to be_a Elasticsearch::API::Response
34
34
  end
35
35
  end
@@ -0,0 +1,35 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ require 'spec_helper'
19
+
20
+ describe 'client.indices#put_data_stream_settings' do
21
+ let(:expected_args) do
22
+ [
23
+ 'PUT',
24
+ '_data_stream/foo/_settings',
25
+ {},
26
+ {},
27
+ {},
28
+ { endpoint: 'indices.put_data_stream_settings', defined_params: { name: 'foo' } }
29
+ ]
30
+ end
31
+
32
+ it 'performs the request' do
33
+ expect(client_double.indices.put_data_stream_settings(name: 'foo', body: {})).to be_a Elasticsearch::API::Response
34
+ end
35
+ end
@@ -0,0 +1,36 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ require 'spec_helper'
19
+
20
+ describe 'client#inference.put_amazonsagemaker' do
21
+ let(:expected_args) do
22
+ [
23
+ 'PUT',
24
+ '_inference/foo/bar',
25
+ {},
26
+ nil,
27
+ {},
28
+ { defined_params: { amazonsagemaker_inference_id: 'bar', task_type: 'foo' },
29
+ endpoint: 'inference.put_amazonsagemaker' }
30
+ ]
31
+ end
32
+
33
+ it 'performs the request' do
34
+ expect(client_double.inference.put_amazonsagemaker(task_type: 'foo', amazonsagemaker_inference_id: 'bar')).to be_a Elasticsearch::API::Response
35
+ end
36
+ end
@@ -0,0 +1,36 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ require 'spec_helper'
19
+
20
+ describe 'client#inference.put_deepseek' do
21
+ let(:expected_args) do
22
+ [
23
+ 'PUT',
24
+ '_inference/foo/bar',
25
+ {},
26
+ nil,
27
+ {},
28
+ { defined_params: { deepseek_inference_id: 'bar', task_type: 'foo' },
29
+ endpoint: 'inference.put_deepseek' }
30
+ ]
31
+ end
32
+
33
+ it 'performs the request' do
34
+ expect(client_double.inference.put_deepseek(task_type: 'foo', deepseek_inference_id: 'bar')).to be_a Elasticsearch::API::Response
35
+ end
36
+ end
@@ -243,6 +243,9 @@
243
243
  -
244
244
  :file: 'nodes.stats/11_indices_metrics.yml'
245
245
  :description: 'indices mappings exact count test for indices level'
246
+ -
247
+ :file: 'tsdb/160_nested_fields.yml'
248
+ :description: '*'
246
249
  -
247
250
  :file: 'data_stream/10_basic.yml'
248
251
  :description: '*'
@@ -252,3 +255,6 @@
252
255
  -
253
256
  :file: 'data_stream/190_failure_store_redirection.yml'
254
257
  :description: '*'
258
+ -
259
+ :file: 'data_stream/240_data_stream_settings.yml'
260
+ :description: '*'
@@ -239,6 +239,95 @@
239
239
  -
240
240
  :file: 'esql/60_usage.yml'
241
241
  :description: 'Basic ESQL usage output (telemetry) snapshot version'
242
+ # TODO: 8.19 - 19 June 2025
243
+ -
244
+ :file: 'ml/datafeeds_crud.yml'
245
+ :description: '*'
246
+ -
247
+ :file: 'ml/delete_job_force.yml'
248
+ :description: '*'
249
+ -
250
+ :file: 'ml/filter_crud.yml'
251
+ :description: '*'
252
+ -
253
+ :file: 'ml/get_datafeed_stats.yml'
254
+ :description: '*'
255
+ -
256
+ :file: 'ml/get_datafeeds.yml'
257
+ :description: '*'
258
+ -
259
+ :file: 'ml/get_trained_model_stats.yml'
260
+ :description: '*'
261
+ -
262
+ :file: 'ml/inference_crud.yml'
263
+ :description: '*'
264
+ -
265
+ :file: 'ml/job_groups.yml'
266
+ :description: '*'
267
+ -
268
+ :file: 'ml/jobs_crud.yml'
269
+ :description: '*'
270
+ -
271
+ :file: 'ml/jobs_get.yml'
272
+ :description: '*'
273
+ -
274
+ :file: 'ml/jobs_get_stats.yml'
275
+ :description: '*'
276
+ -
277
+ :file: 'ml/preview_data_frame_analytics.yml'
278
+ :description: '*'
279
+ -
280
+ :file: 'ml/preview_datafeed.yml'
281
+ :description: '*'
282
+ -
283
+ :file: 'ml/search_knn_query_vector_builder.yml'
284
+ :description: '*'
285
+ -
286
+ :file: 'ml/set_upgrade_mode.yml'
287
+ :description: '*'
288
+ -
289
+ :file: 'ml/sparse_vector_search.yml'
290
+ :description: '*'
291
+ -
292
+ :file: 'ml/start_data_frame_analytics.yml'
293
+ :description: '*'
294
+ -
295
+ :file: 'ml/start_stop_datafeed.yml'
296
+ :description: '*'
297
+ -
298
+ :file: 'ml/stop_data_frame_analytics.yml'
299
+ :description: '*'
300
+ -
301
+ :file: 'ml/text_embedding_search.yml'
302
+ :description: '*'
303
+ -
304
+ :file: 'ml/text_expansion_search.yml'
305
+ :description: '*'
306
+ -
307
+ :file: 'ml/text_expansion_search_rank_features.yml'
308
+ :description: '*'
309
+ -
310
+ :file: 'ml/text_expansion_search_sparse_vector.yml'
311
+ :description: '*'
312
+ -
313
+ :file: 'ml/trained_model_cat_apis.yml'
314
+ :description: '*'
315
+ -
316
+ :file: 'transform/transforms_crud.yml'
317
+ :description: '*'
318
+ -
319
+ :file: 'transform/transforms_start_stop.yml'
320
+ :description: '*'
321
+ -
322
+ :file: 'transform/transforms_stats.yml'
323
+ :description: '*'
324
+ -
325
+ :file: 'transform/transforms_update.yml'
326
+ :description: '*'
327
+ -
328
+ :file: 'transform/transforms_upgrade.yml'
329
+ :description: '*'
330
+ # ENDS TODO: 8.19 - 19 June 2025
242
331
 
243
332
  # TODO: 8.19 - 30 June 2025
244
333
  -
@@ -296,6 +385,10 @@
296
385
  :file: 'inference/90_semantic_text_highlighter_bwc.yml'
297
386
  :description: '*'
298
387
  # ENDS TODO: 8.19 - 30 June 2025
388
+ # Issue with regexp parsing on test runner:
389
+ -
390
+ :file: 'esql/60_enrich.yml'
391
+ :description: 'Enrich with brackets in policy name'
299
392
  -
300
393
  :file: 'mustache/10_webhook.yml'
301
394
  :description: '*'
@@ -23,7 +23,7 @@ module Elasticsearch
23
23
  info['type'] = 'String' if info['type'] == 'enum' # Rename 'enums' to 'strings'
24
24
  info['type'] = 'Integer' if info['type'] == 'int' # Rename 'int' to 'Integer'
25
25
  tipo = info['type'] ? info['type'].capitalize : 'String'
26
- description = info['description'] ? info['description'].strip : '[TODO]'
26
+ description = info['description'] ? info['description'].strip.gsub("\n", ' ') : '[TODO]'
27
27
  options = info['options'] ? "(options: #{info['options'].join(', ').strip})" : nil
28
28
  required = info['required'] ? '(*Required*)' : ''
29
29
  deprecated = info['deprecated'] ? '*Deprecated*' : ''
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.18.1
4
+ version: 8.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers
@@ -526,6 +526,7 @@ files:
526
526
  - lib/elasticsearch/api/actions/indices/delete_alias.rb
527
527
  - lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb
528
528
  - lib/elasticsearch/api/actions/indices/delete_data_stream.rb
529
+ - lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb
529
530
  - lib/elasticsearch/api/actions/indices/delete_index_template.rb
530
531
  - lib/elasticsearch/api/actions/indices/delete_template.rb
531
532
  - lib/elasticsearch/api/actions/indices/disk_usage.rb
@@ -543,6 +544,8 @@ files:
543
544
  - lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb
544
545
  - lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb
545
546
  - lib/elasticsearch/api/actions/indices/get_data_stream.rb
547
+ - lib/elasticsearch/api/actions/indices/get_data_stream_options.rb
548
+ - lib/elasticsearch/api/actions/indices/get_data_stream_settings.rb
546
549
  - lib/elasticsearch/api/actions/indices/get_field_mapping.rb
547
550
  - lib/elasticsearch/api/actions/indices/get_index_template.rb
548
551
  - lib/elasticsearch/api/actions/indices/get_mapping.rb
@@ -554,6 +557,8 @@ files:
554
557
  - lib/elasticsearch/api/actions/indices/promote_data_stream.rb
555
558
  - lib/elasticsearch/api/actions/indices/put_alias.rb
556
559
  - lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb
560
+ - lib/elasticsearch/api/actions/indices/put_data_stream_options.rb
561
+ - lib/elasticsearch/api/actions/indices/put_data_stream_settings.rb
557
562
  - lib/elasticsearch/api/actions/indices/put_index_template.rb
558
563
  - lib/elasticsearch/api/actions/indices/put_mapping.rb
559
564
  - lib/elasticsearch/api/actions/indices/put_settings.rb
@@ -582,11 +587,13 @@ files:
582
587
  - lib/elasticsearch/api/actions/inference/put.rb
583
588
  - lib/elasticsearch/api/actions/inference/put_alibabacloud.rb
584
589
  - lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb
590
+ - lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb
585
591
  - lib/elasticsearch/api/actions/inference/put_anthropic.rb
586
592
  - lib/elasticsearch/api/actions/inference/put_azureaistudio.rb
587
593
  - lib/elasticsearch/api/actions/inference/put_azureopenai.rb
588
594
  - lib/elasticsearch/api/actions/inference/put_cohere.rb
589
595
  - lib/elasticsearch/api/actions/inference/put_custom.rb
596
+ - lib/elasticsearch/api/actions/inference/put_deepseek.rb
590
597
  - lib/elasticsearch/api/actions/inference/put_elasticsearch.rb
591
598
  - lib/elasticsearch/api/actions/inference/put_elser.rb
592
599
  - lib/elasticsearch/api/actions/inference/put_googleaistudio.rb
@@ -881,7 +888,6 @@ files:
881
888
  - lib/elasticsearch/api/actions/transform/put_transform.rb
882
889
  - lib/elasticsearch/api/actions/transform/reset_transform.rb
883
890
  - lib/elasticsearch/api/actions/transform/schedule_now_transform.rb
884
- - lib/elasticsearch/api/actions/transform/set_upgrade_mode.rb
885
891
  - lib/elasticsearch/api/actions/transform/start_transform.rb
886
892
  - lib/elasticsearch/api/actions/transform/stop_transform.rb
887
893
  - lib/elasticsearch/api/actions/transform/update_transform.rb
@@ -1059,6 +1065,7 @@ files:
1059
1065
  - spec/elasticsearch/api/actions/indices/data_streams_stats_spec.rb
1060
1066
  - spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
1061
1067
  - spec/elasticsearch/api/actions/indices/delete_data_lifecycle_spec.rb
1068
+ - spec/elasticsearch/api/actions/indices/delete_data_stream_options_spec.rb
1062
1069
  - spec/elasticsearch/api/actions/indices/delete_spec.rb
1063
1070
  - spec/elasticsearch/api/actions/indices/delete_template_spec.rb
1064
1071
  - spec/elasticsearch/api/actions/indices/disk_usage_spec.rb
@@ -1072,6 +1079,8 @@ files:
1072
1079
  - spec/elasticsearch/api/actions/indices/get_alias_spec.rb
1073
1080
  - spec/elasticsearch/api/actions/indices/get_data_lifecycle_spec.rb
1074
1081
  - spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb
1082
+ - spec/elasticsearch/api/actions/indices/get_data_stream_options_spec.rb
1083
+ - spec/elasticsearch/api/actions/indices/get_data_stream_settings_spec.rb
1075
1084
  - spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
1076
1085
  - spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
1077
1086
  - spec/elasticsearch/api/actions/indices/get_settings_spec.rb
@@ -1079,6 +1088,8 @@ files:
1079
1088
  - spec/elasticsearch/api/actions/indices/open_spec.rb
1080
1089
  - spec/elasticsearch/api/actions/indices/put_alias_spec.rb
1081
1090
  - spec/elasticsearch/api/actions/indices/put_data_lifecycle_spec.rb
1091
+ - spec/elasticsearch/api/actions/indices/put_data_stream_options_spec.rb
1092
+ - spec/elasticsearch/api/actions/indices/put_data_stream_settings_spec.rb
1082
1093
  - spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
1083
1094
  - spec/elasticsearch/api/actions/indices/put_settings_spec.rb
1084
1095
  - spec/elasticsearch/api/actions/indices/put_template_spec.rb
@@ -1101,11 +1112,13 @@ files:
1101
1112
  - spec/elasticsearch/api/actions/inference/inference_spec.rb
1102
1113
  - spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb
1103
1114
  - spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb
1115
+ - spec/elasticsearch/api/actions/inference/put_amazonsagemaker_spec.rb
1104
1116
  - spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb
1105
1117
  - spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb
1106
1118
  - spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb
1107
1119
  - spec/elasticsearch/api/actions/inference/put_cohere_spec.rb
1108
1120
  - spec/elasticsearch/api/actions/inference/put_custom_spec.rb
1121
+ - spec/elasticsearch/api/actions/inference/put_deepseek_spec.rb
1109
1122
  - spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb
1110
1123
  - spec/elasticsearch/api/actions/inference/put_elser_spec.rb
1111
1124
  - spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb
@@ -1251,7 +1264,6 @@ files:
1251
1264
  - spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb
1252
1265
  - spec/elasticsearch/api/actions/transform/get_node_stats_spec.rb
1253
1266
  - spec/elasticsearch/api/actions/transform/schedule_now_transform_spec.rb
1254
- - spec/elasticsearch/api/actions/transform/set_upgrade_mode_spec.rb
1255
1267
  - spec/elasticsearch/api/actions/update_by_query_spec.rb
1256
1268
  - spec/elasticsearch/api/actions/update_document_spec.rb
1257
1269
  - spec/elasticsearch/api/actions/watcher/get_settings_spec.rb
@@ -1575,6 +1587,7 @@ test_files:
1575
1587
  - spec/elasticsearch/api/actions/indices/data_streams_stats_spec.rb
1576
1588
  - spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
1577
1589
  - spec/elasticsearch/api/actions/indices/delete_data_lifecycle_spec.rb
1590
+ - spec/elasticsearch/api/actions/indices/delete_data_stream_options_spec.rb
1578
1591
  - spec/elasticsearch/api/actions/indices/delete_spec.rb
1579
1592
  - spec/elasticsearch/api/actions/indices/delete_template_spec.rb
1580
1593
  - spec/elasticsearch/api/actions/indices/disk_usage_spec.rb
@@ -1588,6 +1601,8 @@ test_files:
1588
1601
  - spec/elasticsearch/api/actions/indices/get_alias_spec.rb
1589
1602
  - spec/elasticsearch/api/actions/indices/get_data_lifecycle_spec.rb
1590
1603
  - spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb
1604
+ - spec/elasticsearch/api/actions/indices/get_data_stream_options_spec.rb
1605
+ - spec/elasticsearch/api/actions/indices/get_data_stream_settings_spec.rb
1591
1606
  - spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
1592
1607
  - spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
1593
1608
  - spec/elasticsearch/api/actions/indices/get_settings_spec.rb
@@ -1595,6 +1610,8 @@ test_files:
1595
1610
  - spec/elasticsearch/api/actions/indices/open_spec.rb
1596
1611
  - spec/elasticsearch/api/actions/indices/put_alias_spec.rb
1597
1612
  - spec/elasticsearch/api/actions/indices/put_data_lifecycle_spec.rb
1613
+ - spec/elasticsearch/api/actions/indices/put_data_stream_options_spec.rb
1614
+ - spec/elasticsearch/api/actions/indices/put_data_stream_settings_spec.rb
1598
1615
  - spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
1599
1616
  - spec/elasticsearch/api/actions/indices/put_settings_spec.rb
1600
1617
  - spec/elasticsearch/api/actions/indices/put_template_spec.rb
@@ -1617,11 +1634,13 @@ test_files:
1617
1634
  - spec/elasticsearch/api/actions/inference/inference_spec.rb
1618
1635
  - spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb
1619
1636
  - spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb
1637
+ - spec/elasticsearch/api/actions/inference/put_amazonsagemaker_spec.rb
1620
1638
  - spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb
1621
1639
  - spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb
1622
1640
  - spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb
1623
1641
  - spec/elasticsearch/api/actions/inference/put_cohere_spec.rb
1624
1642
  - spec/elasticsearch/api/actions/inference/put_custom_spec.rb
1643
+ - spec/elasticsearch/api/actions/inference/put_deepseek_spec.rb
1625
1644
  - spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb
1626
1645
  - spec/elasticsearch/api/actions/inference/put_elser_spec.rb
1627
1646
  - spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb
@@ -1767,7 +1786,6 @@ test_files:
1767
1786
  - spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb
1768
1787
  - spec/elasticsearch/api/actions/transform/get_node_stats_spec.rb
1769
1788
  - spec/elasticsearch/api/actions/transform/schedule_now_transform_spec.rb
1770
- - spec/elasticsearch/api/actions/transform/set_upgrade_mode_spec.rb
1771
1789
  - spec/elasticsearch/api/actions/update_by_query_spec.rb
1772
1790
  - spec/elasticsearch/api/actions/update_document_spec.rb
1773
1791
  - spec/elasticsearch/api/actions/watcher/get_settings_spec.rb