Files
elasticsearch-js/docs/reference-connector-update_name.asciidoc
2024-12-05 14:46:46 -06:00

65 lines
3.9 KiB
Plaintext

[[reference-connector-update_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 <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
=== client.connector.updateName
Update the connector name and description.
{ref}/update-connector-name-description-api.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(ConnectorUpdateNameRequest, options?): Promise<ConnectorUpdateNameResponse>
----
[discrete]
===== `ConnectorUpdateNameRequest`
[source,ts]
----
interface ConnectorUpdateNameRequest extends <<shared-type-request-base, RequestBase>> {
connector_id: <<shared-type-id, Id>>
name?: string
description?: string
}
----
[discrete]
===== `ConnectorUpdateNameResponse`
[source,ts]
----
interface ConnectorUpdateNameResponse {
result: <<shared-type-result, Result>>
}
----