[[reference-ml-stop_datafeed]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.ml.stopDatafeed Stop datafeeds. A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle. {ref}/ml-stop-datafeed.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (MlStopDatafeedRequest, options?): Promise ---- [discrete] ===== `MlStopDatafeedRequest` [source,ts] ---- interface MlStopDatafeedRequest extends <> { datafeed_id: <> allow_no_match?: boolean force?: boolean timeout?: <> } ---- [discrete] ===== `MlStopDatafeedResponse` [source,ts] ---- interface MlStopDatafeedResponse { stopped: boolean } ----