2019-06-25 13:29:11 -04:00
|
|
|
--
|
|
|
|
:api: stop-data-frame-analytics
|
|
|
|
:request: StopDataFrameAnalyticsRequest
|
|
|
|
:response: StopDataFrameAnalyticsResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2019-06-25 13:29:11 -04:00
|
|
|
[id="{upid}-{api}"]
|
|
|
|
=== Stop Data Frame Analytics API
|
|
|
|
|
|
|
|
The Stop Data Frame Analytics API is used to stop a running {dataframe-analytics-config}.
|
|
|
|
It accepts a +{request}+ object and responds with a +{response}+ object.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
|
|
|
==== Stop Data Frame Analytics Request
|
|
|
|
|
|
|
|
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 stop request referencing an existing {dataframe-analytics-config}
|
2019-07-03 05:41:56 -04:00
|
|
|
<2> Optionally used to stop a failed task
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
|
|
|
The returned +{response}+ object acknowledges the {dataframe-job} has stopped.
|