[[reference-connector-update_index_name]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.connector.updateIndexName Update the connector index name. Update the `index_name` field of a connector, specifying the index where the data ingested by the connector is stored. {ref}/update-connector-index-name-api.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (ConnectorUpdateIndexNameRequest, options?): Promise ---- [discrete] ===== `ConnectorUpdateIndexNameRequest` [source,ts] ---- interface ConnectorUpdateIndexNameRequest extends <> { connector_id: <> index_name: SpecUtilsWithNullValue<<>> } ---- [discrete] ===== `ConnectorUpdateIndexNameResponse` [source,ts] ---- interface ConnectorUpdateIndexNameResponse { result: <> } ----