From ea3cd7dd58b5aade39fc3040fca619fb67a76a36 Mon Sep 17 00:00:00 2001 From: delvedor Date: Mon, 8 Jul 2019 16:31:46 +0200 Subject: [PATCH] API generation --- api/api/ml.delete_data_frame_analytics.js | 2 +- api/api/ml.evaluate_data_frame.js | 2 +- api/api/ml.get_data_frame_analytics.js | 2 +- api/api/ml.get_data_frame_analytics_stats.js | 2 +- api/api/ml.put_data_frame_analytics.js | 2 +- api/api/ml.start_data_frame_analytics.js | 2 +- api/api/ml.stop_data_frame_analytics.js | 2 +- docs/reference.asciidoc | 7 +++++++ 8 files changed, 14 insertions(+), 7 deletions(-) diff --git a/api/api/ml.delete_data_frame_analytics.js b/api/api/ml.delete_data_frame_analytics.js index 900260bcc..f1f9c10bb 100644 --- a/api/api/ml.delete_data_frame_analytics.js +++ b/api/api/ml.delete_data_frame_analytics.js @@ -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 */ diff --git a/api/api/ml.evaluate_data_frame.js b/api/api/ml.evaluate_data_frame.js index e8c29307e..861a649c0 100644 --- a/api/api/ml.evaluate_data_frame.js +++ b/api/api/ml.evaluate_data_frame.js @@ -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 */ diff --git a/api/api/ml.get_data_frame_analytics.js b/api/api/ml.get_data_frame_analytics.js index 1a221ffb1..809a46682 100644 --- a/api/api/ml.get_data_frame_analytics.js +++ b/api/api/ml.get_data_frame_analytics.js @@ -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) diff --git a/api/api/ml.get_data_frame_analytics_stats.js b/api/api/ml.get_data_frame_analytics_stats.js index a9411722e..a926eedb7 100644 --- a/api/api/ml.get_data_frame_analytics_stats.js +++ b/api/api/ml.get_data_frame_analytics_stats.js @@ -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) diff --git a/api/api/ml.put_data_frame_analytics.js b/api/api/ml.put_data_frame_analytics.js index 14d283749..f18e7912e 100644 --- a/api/api/ml.put_data_frame_analytics.js +++ b/api/api/ml.put_data_frame_analytics.js @@ -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 diff --git a/api/api/ml.start_data_frame_analytics.js b/api/api/ml.start_data_frame_analytics.js index a217a50e6..df5ff817f 100644 --- a/api/api/ml.start_data_frame_analytics.js +++ b/api/api/ml.start_data_frame_analytics.js @@ -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 diff --git a/api/api/ml.stop_data_frame_analytics.js b/api/api/ml.stop_data_frame_analytics.js index 6cb7823f2..212a59b9f 100644 --- a/api/api/ml.stop_data_frame_analytics.js +++ b/api/api/ml.stop_data_frame_analytics.js @@ -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) diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 1e82a6458..eb9b7c2a7 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -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`