Skip to content

Commit af1a1f9

Browse files
committed
[API] Updates Machine Learning APIs
The following APIs have been migrated from Beta to Stable: `ml.delete_data_frame_analytics`, `ml.delete_trained_model`, `ml.delete_trained_model_alias`, `ml.evaluate_data_frame`, `ml.explain_data_frame_analytics`, `ml.get_data_frame_analytics`, `ml.get_data_frame_analytics_stats`, `ml.get_trained_models`, `ml.get_trained_models_stats`, `ml.preview_data_frame_analytics`, `ml.put_data_frame_analytics`, `ml.put_trained_model`, `ml.put_trained_model_alias`, `ml.start_data_frame_analytics`, `ml.stop_data_frame_analytics`, `ml.update_data_frame_analytics`.
1 parent 17bd697 commit af1a1f9

17 files changed

+1
-65
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_settings.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Actions
2727
# @option arguments [Boolean] :include_defaults Whether to return all default clusters setting.
2828
# @option arguments [Hash] :headers Custom HTTP headers
2929
#
30-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cluster-update-settings.html
30+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cluster-get-settings.html
3131
#
3232
def get_settings(arguments = {})
3333
headers = arguments.delete(:headers) || {}

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/delete_data_frame_analytics.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Deletes an existing data frame analytics job.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :id The ID of the data frame analytics to delete
3026
# @option arguments [Boolean] :force True if the job should be forcefully deleted

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/delete_trained_model.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :model_id The ID of the trained model to delete
3026
# @option arguments [Hash] :headers Custom HTTP headers

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/delete_trained_model_alias.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Deletes a model alias that refers to the trained model
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :model_alias The trained model alias to delete
3026
# @option arguments [String] :model_id The trained model where the model alias is assigned

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/evaluate_data_frame.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Evaluates the data frame analytics for an annotated index.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [Hash] :headers Custom HTTP headers
3026
# @option arguments [Hash] :body The evaluation definition (*Required*)

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/explain_data_frame_analytics.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Explains a data frame analytics config.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :id The ID of the data frame analytics to explain
3026
# @option arguments [Hash] :headers Custom HTTP headers

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/get_data_frame_analytics.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Retrieves configuration information for data frame analytics jobs.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :id The ID of the data frame analytics to fetch
3026
# @option arguments [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)

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/get_data_frame_analytics_stats.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Retrieves usage information for data frame analytics jobs.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :id The ID of the data frame analytics stats to fetch
3026
# @option arguments [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)

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Retrieves configuration information for a trained inference model.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :model_id The ID of the trained models to fetch
3026
# @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models_stats.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ module API
2121
module MachineLearning
2222
module Actions
2323
# Retrieves usage information for trained inference models.
24-
# This functionality is in Beta and is subject to change. The design and
25-
# code is less mature than official GA features and is being provided
26-
# as-is with no warranties. Beta features are not subject to the support
27-
# SLA of official GA features.
2824
#
2925
# @option arguments [String] :model_id The ID of the trained models stats to fetch
3026
# @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)

0 commit comments

Comments
 (0)