[[reference-cluster-exists_component_template]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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 || || || || || || || =========================================================================================================================== //////// ++++ ++++ [[client.cluster.existsComponentTemplate]] == client.cluster.existsComponentTemplate Check component templates. Returns information about whether a particular component template exists. {ref}/indices-component-template.html[{es} documentation] [discrete] == Function signature [source,ts] ---- (ClusterExistsComponentTemplateRequest, options?): Promise ---- [discrete] === Request [source,ts,subs=+macros] ---- interface ClusterExistsComponentTemplateRequest extends <> { name: <> master_timeout?: <> local?: boolean } ---- [discrete] === Response [source,ts,subs=+macros] ---- type ClusterExistsComponentTemplateResponse = boolean ----