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

73 lines
3.9 KiB
Plaintext

[[reference-connector-update_native]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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.updateNative]]
=== client.connector.updateNative
Update the connector is_native flag.
[discrete]
==== Function signature
[source,ts]
----
(ConnectorUpdateNativeRequest, options?): Promise<ConnectorUpdateNativeResponse>
----
[discrete]
==== ConnectorUpdateNativeRequest
[pass]
++++
<pre>
++++
interface ConnectorUpdateNativeRequest extends <<RequestBase>> {
connector_id: <<Id>>
is_native: boolean
}
[pass]
++++
</pre>
++++
[discrete]
==== ConnectorUpdateNativeResponse
[pass]
++++
<pre>
++++
interface ConnectorUpdateNativeResponse {
result: <<Result>>
}
[pass]
++++
</pre>
++++