API generation
This commit is contained in:
@ -26,7 +26,7 @@ function buildMlDeleteDataFrameAnalytics (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.delete_data_frame_analytics](undefined) request
|
||||
* Perform a [ml.delete_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html) request
|
||||
*
|
||||
* @param {string} id - The ID of the data frame analytics to delete
|
||||
*/
|
||||
|
||||
@ -26,7 +26,7 @@ function buildMlEvaluateDataFrame (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.evaluate_data_frame](undefined) request
|
||||
* Perform a [ml.evaluate_data_frame](http://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html) request
|
||||
*
|
||||
* @param {object} body - The evaluation definition
|
||||
*/
|
||||
|
||||
@ -26,7 +26,7 @@ function buildMlGetDataFrameAnalytics (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.get_data_frame_analytics](undefined) request
|
||||
* Perform a [ml.get_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html) request
|
||||
*
|
||||
* @param {string} id - The ID of the data frame analytics to fetch
|
||||
* @param {boolean} allow_no_match - Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)
|
||||
|
||||
@ -26,7 +26,7 @@ function buildMlGetDataFrameAnalyticsStats (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.get_data_frame_analytics_stats](undefined) request
|
||||
* Perform a [ml.get_data_frame_analytics_stats](http://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html) request
|
||||
*
|
||||
* @param {string} id - The ID of the data frame analytics stats to fetch
|
||||
* @param {boolean} allow_no_match - Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)
|
||||
|
||||
@ -26,7 +26,7 @@ function buildMlPutDataFrameAnalytics (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.put_data_frame_analytics](undefined) request
|
||||
* Perform a [ml.put_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html) request
|
||||
*
|
||||
* @param {string} id - The ID of the data frame analytics to create
|
||||
* @param {object} body - The data frame analytics configuration
|
||||
|
||||
@ -26,7 +26,7 @@ function buildMlStartDataFrameAnalytics (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.start_data_frame_analytics](undefined) request
|
||||
* Perform a [ml.start_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html) request
|
||||
*
|
||||
* @param {string} id - The ID of the data frame analytics to start
|
||||
* @param {time} timeout - Controls the time to wait until the task has started. Defaults to 20 seconds
|
||||
|
||||
@ -26,7 +26,7 @@ function buildMlStopDataFrameAnalytics (opts) {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
|
||||
/**
|
||||
* Perform a [ml.stop_data_frame_analytics](undefined) request
|
||||
* Perform a [ml.stop_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html) request
|
||||
*
|
||||
* @param {string} id - The ID of the data frame analytics to stop
|
||||
* @param {boolean} allow_no_match - Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)
|
||||
|
||||
Reference in New Issue
Block a user