Module: Elasticsearch::API::DataFrameTransformDeprecated::Actions
- Included in:
- DataFrameTransformDeprecatedClient
- Defined in:
- lib/elasticsearch/api/namespace/data_frame_transform_deprecated.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/get_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/put_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/stop_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/start_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/delete_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/update_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/preview_transform.rb,
lib/elasticsearch/api/actions/data_frame_transform_deprecated/get_transform_stats.rb
Instance Method Summary collapse
-
#delete_transform(arguments = {}) ⇒ Object
Deletes an existing transform.
-
#get_transform(arguments = {}) ⇒ Object
Retrieves configuration information for transforms.
-
#get_transform_stats(arguments = {}) ⇒ Object
Retrieves usage information for transforms.
-
#preview_transform(arguments = {}) ⇒ Object
Previews a transform.
-
#put_transform(arguments = {}) ⇒ Object
Instantiates a transform.
-
#start_transform(arguments = {}) ⇒ Object
Starts one or more transforms.
-
#stop_transform(arguments = {}) ⇒ Object
Stops one or more transforms.
-
#update_transform(arguments = {}) ⇒ Object
Updates certain properties of a transform.
Instance Method Details
#delete_transform(arguments = {}) ⇒ Object
Deletes an existing transform. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/delete_transform.rb', line 39 def delete_transform(arguments = {}) raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] headers = arguments.delete(:headers) || {} body = nil arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_DELETE path = "_data_frame/transforms/#{Utils.__listify(_transform_id)}" params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |
#get_transform(arguments = {}) ⇒ Object
Retrieves configuration information for transforms. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/get_transform.rb', line 42 def get_transform(arguments = {}) headers = arguments.delete(:headers) || {} body = nil arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_GET path = if _transform_id "_data_frame/transforms/#{Utils.__listify(_transform_id)}" else "_data_frame/transforms" end params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |
#get_transform_stats(arguments = {}) ⇒ Object
Retrieves usage information for transforms. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/get_transform_stats.rb', line 41 def get_transform_stats(arguments = {}) raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] headers = arguments.delete(:headers) || {} body = nil arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_GET path = "_data_frame/transforms/#{Utils.__listify(_transform_id)}/_stats" params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |
#preview_transform(arguments = {}) ⇒ Object
Previews a transform. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/preview_transform.rb', line 38 def preview_transform(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] headers = arguments.delete(:headers) || {} body = arguments.delete(:body) arguments = arguments.clone method = Elasticsearch::API::HTTP_POST path = "_data_frame/transforms/_preview" params = {} perform_request(method, path, params, body, headers).body end |
#put_transform(arguments = {}) ⇒ Object
Instantiates a transform. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/put_transform.rb', line 40 def put_transform(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] headers = arguments.delete(:headers) || {} body = arguments.delete(:body) arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_PUT path = "_data_frame/transforms/#{Utils.__listify(_transform_id)}" params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |
#start_transform(arguments = {}) ⇒ Object
Starts one or more transforms. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/start_transform.rb', line 39 def start_transform(arguments = {}) raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] headers = arguments.delete(:headers) || {} body = nil arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_POST path = "_data_frame/transforms/#{Utils.__listify(_transform_id)}/_start" params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |
#stop_transform(arguments = {}) ⇒ Object
Stops one or more transforms. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/stop_transform.rb', line 41 def stop_transform(arguments = {}) raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] headers = arguments.delete(:headers) || {} body = nil arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_POST path = "_data_frame/transforms/#{Utils.__listify(_transform_id)}/_stop" params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |
#update_transform(arguments = {}) ⇒ Object
Updates certain properties of a transform. This functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
*Deprecation notice*:
- _data_frame/transforms/
-
is deprecated, use [_transform/] in the future.
Deprecated since version 7.5.0
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/elasticsearch/api/actions/data_frame_transform_deprecated/update_transform.rb', line 40 def update_transform(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] headers = arguments.delete(:headers) || {} body = arguments.delete(:body) arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_POST path = "_data_frame/transforms/#{Utils.__listify(_transform_id)}/_update" params = Utils.process_params(arguments) perform_request(method, path, params, body, headers).body end |