elasticsearch-api/lib/elasticsearch/api/actions/transform/start_transform.rb
# Starts one or more transforms.
#
# @option arguments [String] :transform_id The id of the transform to start
# @option arguments [Time] :timeout Controls the time to wait for the transform to start
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html
#
Starts one or more transforms.
Starts one or more transforms .
def start_transform(arguments = {})
          raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id]
          arguments = arguments.clone
          headers = arguments.delete(:headers) || {}
          body = nil
          _transform_id = arguments.delete(:transform_id)
          method = Elasticsearch::API::HTTP_POST
          path   = "_transform/#{Utils.__listify(_transform_id)}/_start"
          params = Utils.process_params(arguments)
          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
def start_transform ( arguments = { } ) raise ArgumentError , "Required argument 'transform_id' missing" unless arguments [ :transform_id ] arguments = arguments . clone headers = arguments . delete ( :headers ) || { } body = nil _transform_id = arguments . delete ( :transform_id ) method = Elasticsearch :: API :: HTTP_POST path = "_transform/#{Utils.__listify(_transform_id)}/_start" params = Utils . process_params ( arguments ) Elasticsearch :: API :: Response . new ( perform_request ( method , path , params , body , headers ) ) end
Starts one or more transforms.
Starts one or more transforms .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None