2019-06-25 13:29:11 -04:00
|
|
|
--
|
|
|
|
:api: start-data-frame-analytics
|
|
|
|
:request: StartDataFrameAnalyticsRequest
|
|
|
|
:response: AcknowledgedResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2019-06-25 13:29:11 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 11:28:19 -04:00
|
|
|
=== Start {dfanalytics} API
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
The start {dfanalytics} API is used to start an existing {dataframe-analytics-config}.
|
2019-06-25 13:29:11 -04:00
|
|
|
It accepts a +{request}+ object and responds with a +{response}+ object.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 11:28:19 -04:00
|
|
|
==== Start {dfanalytics} Request
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
A +{request}+ object requires a {dataframe-analytics-config} id.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
---------------------------------------------------
|
|
|
|
<1> Constructing a new start request referencing an existing {dataframe-analytics-config}
|
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
The returned +{response}+ object acknowledges the {dfanalytics-job} has started.
|