lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb in elasticsearch-xpack-7.9.0.pre vs lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb in elasticsearch-xpack-7.9.0
- old
+ new
@@ -26,10 +26,10 @@
# @option arguments [String] :reset_start Optional parameter to specify the start of the bucket resetting range
# @option arguments [String] :reset_end Optional parameter to specify the end of the bucket resetting range
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The data to process (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/ml-post-data.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/ml-post-data.html
#
def post_data(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
raise ArgumentError, "Required argument 'job_id' missing" unless arguments[:job_id]