lib/elasticsearch/api/actions/cluster/put_component_template.rb in elasticsearch-api-7.8.1 vs lib/elasticsearch/api/actions/cluster/put_component_template.rb in elasticsearch-api-7.9.0.pre
- old
+ new
@@ -18,23 +18,19 @@
module Elasticsearch
module API
module Cluster
module Actions
# Creates or updates a component template
- # This functionality is Experimental and may be changed or removed
- # completely in a future release. Elastic will take a best effort approach
- # to fix any issues, but experimental features are not subject to the
- # support SLA of official GA features.
#
# @option arguments [String] :name The name of the template
# @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The template definition (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-template.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-component-template.html
#
def put_component_template(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
@@ -58,9 +54,9 @@
ParamsRegistry.register(:put_component_template, [
:create,
:timeout,
:master_timeout
].freeze)
-end
end
+ end
end
end