[[reference-indices-get_data_lifecycle]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.getDataLifecycle Get data stream lifecycles. Retrieves the data stream lifecycle configuration of one or more data streams. {ref}/data-streams-get-lifecycle.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (IndicesGetDataLifecycleRequest, options?): Promise ---- [discrete] ===== `IndicesGetDataLifecycleRequest` [source,ts] ---- interface IndicesGetDataLifecycleRequest extends <> { name: <> expand_wildcards?: <> include_defaults?: boolean master_timeout?: <> } ---- [discrete] ===== `IndicesGetDataLifecycleResponse` [source,ts] ---- interface IndicesGetDataLifecycleResponse { data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[] } ----