[[reference-migration-deprecations]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.migration.deprecations Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version. {ref}/migration-api-deprecation.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (MigrationDeprecationsRequest, options?): Promise ---- [discrete] ===== `MigrationDeprecationsRequest` [source,ts] ---- interface MigrationDeprecationsRequest extends <> { index?: <> } ---- [discrete] ===== `MigrationDeprecationsResponse` [source,ts] ---- interface MigrationDeprecationsResponse { cluster_settings: MigrationDeprecationsDeprecation[] index_settings: Record node_settings: MigrationDeprecationsDeprecation[] ml_settings: MigrationDeprecationsDeprecation[] } ----