elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb
# Starts a data frame analytics job.
#
# @option arguments [String] :id The ID of the data frame analytics to start
# @option arguments [Time] :timeout Controls the time to wait until the task has started. Defaults to 20 seconds
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The start data frame analytics parameters
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html
#
Starts a data frame analytics job.
Starts a data frame analytics job .
def start_data_frame_analytics(arguments = {})
          raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
          headers = arguments.delete(:headers) || {}
          body = arguments.delete(:body)
          arguments = arguments.clone
          _id = arguments.delete(:id)
          method = Elasticsearch::API::HTTP_POST
          path   = "_ml/data_frame/analytics/#{Utils.__listify(_id)}/_start"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def start_data_frame_analytics ( arguments = { } ) raise ArgumentError , "Required argument 'id' missing" unless arguments [ :id ] headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) arguments = arguments . clone _id = arguments . delete ( :id ) method = Elasticsearch :: API :: HTTP_POST path = "_ml/data_frame/analytics/#{Utils.__listify(_id)}/_start" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Starts a data frame analytics job.
Starts a data frame analytics job .
arguments
:body The start data frame analytics parameters
: body The start data frame analytics parameters
see
None