62 lines
3.8 KiB
Plaintext
62 lines
3.8 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
|
|
|
|
Update the connector is_native flag.
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(ConnectorUpdateNativeRequest, options?): Promise<ConnectorUpdateNativeResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `ConnectorUpdateNativeRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface ConnectorUpdateNativeRequest extends <<shared-type-request-base, RequestBase>> {
|
|
connector_id: <<shared-type-id, Id>>
|
|
is_native: boolean
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `ConnectorUpdateNativeResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
interface ConnectorUpdateNativeResponse {
|
|
result: <<shared-type-result, Result>>
|
|
}
|
|
----
|
|
|