lib/elasticsearch/xpack/api/actions/rollup/stop_job.rb in elasticsearch-xpack-7.8.1 vs lib/elasticsearch/xpack/api/actions/rollup/stop_job.rb in elasticsearch-xpack-7.9.0.pre

- old
+ new

@@ -19,21 +19,17 @@ module XPack module API module Rollup module Actions # Stops an existing, started rollup job. - # 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] :id The ID of the job to stop # @option arguments [Boolean] :wait_for_completion True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false. # @option arguments [Time] :timeout Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s. # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/rollup-stop-job.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/rollup-stop-job.html # def stop_job(arguments = {}) raise ArgumentError, "Required argument 'id' missing" unless arguments[:id] headers = arguments.delete(:headers) || {} @@ -55,10 +51,10 @@ # @since 6.2.0 ParamsRegistry.register(:stop_job, [ :wait_for_completion, :timeout ].freeze) + end end - end end end end