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)
|
||||
|
||||
@ -4764,6 +4764,7 @@ client.ml.deleteCalendarJob([params] [, options] [, callback])
|
||||
----
|
||||
client.ml.deleteDataFrameAnalytics([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/delete-dfanalytics.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
@ -4869,6 +4870,7 @@ link:{ref}/ml-delete-snapshot.html[Reference]
|
||||
----
|
||||
client.ml.evaluateDataFrame([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/evaluate-dfanalytics.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`body`
|
||||
@ -5107,6 +5109,7 @@ link:{ref}/ml-get-category.html[Reference]
|
||||
----
|
||||
client.ml.getDataFrameAnalytics([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/get-dfanalytics.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
@ -5130,6 +5133,7 @@ _Default:_ `100`
|
||||
----
|
||||
client.ml.getDataFrameAnalyticsStats([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/get-dfanalytics-stats.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
@ -5495,6 +5499,7 @@ client.ml.putCalendarJob([params] [, options] [, callback])
|
||||
----
|
||||
client.ml.putDataFrameAnalytics([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/put-dfanalytics.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
@ -5595,6 +5600,7 @@ link:{ref}/ml-set-upgrade-mode.html[Reference]
|
||||
----
|
||||
client.ml.startDataFrameAnalytics([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/start-dfanalytics.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
@ -5638,6 +5644,7 @@ link:{ref}/ml-start-datafeed.html[Reference]
|
||||
----
|
||||
client.ml.stopDataFrameAnalytics([params] [, options] [, callback])
|
||||
----
|
||||
link:{ref}/stop-dfanalytics.html[Reference]
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
|
||||
Reference in New Issue
Block a user