elasticsearch-api 9.1.2 → 9.1.3
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.
- checksums.yaml +4 -4
- data/lib/elasticsearch/api/actions/async_search/submit.rb +4 -4
- data/lib/elasticsearch/api/actions/cat/aliases.rb +9 -0
- data/lib/elasticsearch/api/actions/cat/allocation.rb +9 -1
- data/lib/elasticsearch/api/actions/cat/component_templates.rb +9 -0
- data/lib/elasticsearch/api/actions/cat/count.rb +9 -0
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +9 -1
- data/lib/elasticsearch/api/actions/cat/health.rb +10 -2
- data/lib/elasticsearch/api/actions/cat/indices.rb +10 -3
- data/lib/elasticsearch/api/actions/cat/master.rb +10 -1
- data/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb +11 -3
- data/lib/elasticsearch/api/actions/cat/ml_datafeeds.rb +9 -1
- data/lib/elasticsearch/api/actions/cat/ml_jobs.rb +9 -2
- data/lib/elasticsearch/api/actions/cat/ml_trained_models.rb +11 -4
- data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +10 -1
- data/lib/elasticsearch/api/actions/cat/nodes.rb +9 -2
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +10 -2
- data/lib/elasticsearch/api/actions/cat/plugins.rb +10 -1
- data/lib/elasticsearch/api/actions/cat/recovery.rb +9 -2
- data/lib/elasticsearch/api/actions/cat/repositories.rb +9 -0
- data/lib/elasticsearch/api/actions/cat/segments.rb +19 -1
- data/lib/elasticsearch/api/actions/cat/shards.rb +9 -2
- data/lib/elasticsearch/api/actions/cat/snapshots.rb +9 -1
- data/lib/elasticsearch/api/actions/cat/tasks.rb +10 -2
- data/lib/elasticsearch/api/actions/cat/templates.rb +10 -1
- data/lib/elasticsearch/api/actions/cat/thread_pool.rb +9 -1
- data/lib/elasticsearch/api/actions/cat/transforms.rb +9 -1
- data/lib/elasticsearch/api/actions/connector/delete.rb +1 -1
- data/lib/elasticsearch/api/actions/connector/list.rb +2 -2
- data/lib/elasticsearch/api/actions/connector/sync_job_list.rb +2 -2
- data/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +1 -1
- data/lib/elasticsearch/api/actions/eql/get.rb +1 -1
- data/lib/elasticsearch/api/actions/esql/async_query.rb +1 -1
- data/lib/elasticsearch/api/actions/esql/query.rb +1 -1
- data/lib/elasticsearch/api/actions/get_script.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/create_from.rb +0 -1
- data/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/refresh.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/simulate_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/logstash/put_pipeline.rb +2 -1
- data/lib/elasticsearch/api/actions/nodes/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb +1 -1
- data/lib/elasticsearch/api/actions/reindex.rb +1 -1
- data/lib/elasticsearch/api/actions/search_mvt.rb +1 -1
- data/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/security/get_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/security/update_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/sql/get_async.rb +1 -1
- data/lib/elasticsearch/api/actions/streams/logs_disable.rb +23 -3
- data/lib/elasticsearch/api/actions/streams/logs_enable.rb +26 -3
- data/lib/elasticsearch/api/actions/streams/status.rb +20 -3
- data/lib/elasticsearch/api/actions/tasks/list.rb +1 -1
- data/lib/elasticsearch/api/actions/transform/get_node_stats.rb +1 -1
- data/lib/elasticsearch/api/actions/watcher/get_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/watcher/put_watch.rb +1 -0
- data/lib/elasticsearch/api/actions/watcher/update_settings.rb +1 -1
- data/lib/elasticsearch/api/version.rb +2 -2
- metadata +2 -2
|
@@ -22,11 +22,28 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Streams
|
|
24
24
|
module Actions
|
|
25
|
-
#
|
|
25
|
+
# Get the status of streams.
|
|
26
|
+
# Get the current status for all types of streams.
|
|
27
|
+
# This functionality is Experimental and may be changed or removed
|
|
28
|
+
# completely in a future release. Elastic will take a best effort approach
|
|
29
|
+
# to fix any issues, but experimental features are not subject to the
|
|
30
|
+
# support SLA of official GA features.
|
|
26
31
|
#
|
|
32
|
+
# @option arguments [String] :master_timeout 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. Server default: 30s.
|
|
33
|
+
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
34
|
+
# when they occur.
|
|
35
|
+
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
36
|
+
# returned by Elasticsearch.
|
|
37
|
+
# @option arguments [Boolean] :human When set to `true` will return statistics in a format suitable for humans.
|
|
38
|
+
# For example `"exists_time": "1h"` for humans and
|
|
39
|
+
# `"exists_time_in_millis": 3600000` for computers. When disabled the human
|
|
40
|
+
# readable values will be omitted. This makes sense for responses being consumed
|
|
41
|
+
# only by machines.
|
|
42
|
+
# @option arguments [Boolean] :pretty If set to `true` the returned JSON will be "pretty-formatted". Only use
|
|
43
|
+
# this option for debugging only.
|
|
27
44
|
# @option arguments [Hash] :headers Custom HTTP headers
|
|
28
45
|
#
|
|
29
|
-
# @see https://www.elastic.co/
|
|
46
|
+
# @see https://www.elastic.co/docs/api/doc/elasticsearch#TODO
|
|
30
47
|
#
|
|
31
48
|
def status(arguments = {})
|
|
32
49
|
request_opts = { endpoint: arguments[:endpoint] || 'streams.status' }
|
|
@@ -38,7 +55,7 @@ module Elasticsearch
|
|
|
38
55
|
|
|
39
56
|
method = Elasticsearch::API::HTTP_GET
|
|
40
57
|
path = '_streams/status'
|
|
41
|
-
params =
|
|
58
|
+
params = Utils.process_params(arguments)
|
|
42
59
|
|
|
43
60
|
Elasticsearch::API::Response.new(
|
|
44
61
|
perform_request(method, path, params, body, headers, request_opts)
|
|
@@ -88,7 +88,7 @@ module Elasticsearch
|
|
|
88
88
|
# @option arguments [Boolean] :detailed If `true`, the response includes detailed information about the running tasks.
|
|
89
89
|
# This information is useful to distinguish tasks from each other but is more costly to run.
|
|
90
90
|
# @option arguments [String] :group_by A key that is used to group tasks in the response.
|
|
91
|
-
# The task lists can be grouped either by nodes or by parent tasks.
|
|
91
|
+
# The task lists can be grouped either by nodes or by parent tasks. Server default: nodes.
|
|
92
92
|
# @option arguments [String, Array] :nodes A comma-separated list of node IDs or names that is used to limit the returned information.
|
|
93
93
|
# @option arguments [String] :parent_task_id A parent task identifier that is used to limit returned information.
|
|
94
94
|
# To return all tasks, omit this parameter or use a value of `-1`.
|
|
@@ -22,7 +22,7 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Transform
|
|
24
24
|
module Actions
|
|
25
|
-
# Retrieves transform usage information for transform nodes
|
|
25
|
+
# Retrieves transform usage information for transform nodes
|
|
26
26
|
#
|
|
27
27
|
# @option arguments [Hash] :headers Custom HTTP headers
|
|
28
28
|
#
|
|
@@ -27,7 +27,7 @@ module Elasticsearch
|
|
|
27
27
|
# Only a subset of settings are shown, for example `index.auto_expand_replicas` and `index.number_of_replicas`.
|
|
28
28
|
#
|
|
29
29
|
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
|
|
30
|
-
# If no response is received before the timeout expires, the request fails and returns an error.
|
|
30
|
+
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
31
31
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
32
32
|
# when they occur.
|
|
33
33
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -62,6 +62,7 @@ module Elasticsearch
|
|
|
62
62
|
end
|
|
63
63
|
request_opts[:defined_params] = defined_params unless defined_params.empty?
|
|
64
64
|
|
|
65
|
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
65
66
|
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
|
|
66
67
|
|
|
67
68
|
arguments = arguments.clone
|
|
@@ -31,7 +31,7 @@ module Elasticsearch
|
|
|
31
31
|
# Watcher shards must always be in the `data_content` tier.
|
|
32
32
|
#
|
|
33
33
|
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
|
|
34
|
-
# If no response is received before the timeout expires, the request fails and returns an error.
|
|
34
|
+
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
35
35
|
# @option arguments [Time] :timeout The period to wait for a response.
|
|
36
36
|
# If no response is received before the timeout expires, the request fails and returns an error.
|
|
37
37
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
module Elasticsearch
|
|
19
19
|
module API
|
|
20
|
-
VERSION = '9.1.
|
|
21
|
-
ES_SPECIFICATION_COMMIT = '
|
|
20
|
+
VERSION = '9.1.3'.freeze
|
|
21
|
+
ES_SPECIFICATION_COMMIT = 'ab308fbed818e33443a905ef54a3e2ee7333c11a'.freeze
|
|
22
22
|
end
|
|
23
23
|
end
|
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: 9.1.
|
|
4
|
+
version: 9.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic Client Library Maintainers
|
|
@@ -834,7 +834,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
834
834
|
- !ruby/object:Gem::Version
|
|
835
835
|
version: '0'
|
|
836
836
|
requirements: []
|
|
837
|
-
rubygems_version: 3.
|
|
837
|
+
rubygems_version: 3.6.9
|
|
838
838
|
specification_version: 4
|
|
839
839
|
summary: Ruby API for Elasticsearch.
|
|
840
840
|
test_files: []
|