[[reference-indices-modify_data_stream]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.indices.modifyDataStream]] === client.indices.modifyDataStream Update data streams. Performs one or more data stream modification actions in a single atomic operation. {ref}/data-streams.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (IndicesModifyDataStreamRequest, options?): Promise ---- [discrete] ==== IndicesModifyDataStreamRequest [pass] ++++
++++
interface IndicesModifyDataStreamRequest extends <> {
  actions: IndicesModifyDataStreamAction[]
}

[pass]
++++
++++ [discrete] ==== IndicesModifyDataStreamResponse [pass] ++++
++++
type IndicesModifyDataStreamResponse = <>

[pass]
++++
++++