elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_data_frame_analytics.rb
def put_data_frame_analytics(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          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_PUT
          path   = "_ml/data_frame/analytics/#{Utils.__listify(_id)}"
          params = {}

          perform_request(method, path, params, body, headers).body
        end
# Instantiates a data frame analytics job.
#
# @option arguments [String] :id The ID of the data frame analytics to create
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The data frame analytics configuration (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html
#
Instantiates a data frame analytics job.
Instantiates a data frame analytics job .
def put_data_frame_analytics(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          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_PUT
          path   = "_ml/data_frame/analytics/#{Utils.__listify(_id)}"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def put_data_frame_analytics ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] 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_PUT path = "_ml/data_frame/analytics/#{Utils.__listify(_id)}" params = { } perform_request ( method , path , params , body , headers ) . body end
Instantiates a data frame analytics job.
Instantiates a data frame analytics job .
arguments
:body The data frame analytics configuration (*Required*)
: body The data frame analytics configuration ( * Required * )
see
None