80 lines
4.1 KiB
Plaintext
80 lines
4.1 KiB
Plaintext
[[reference-ingest-put_pipeline]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| 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.ingest.putPipeline
|
|
|
|
Creates or updates an ingest pipeline. Changes made using this API take effect immediately.
|
|
|
|
{ref}/ingest.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(IngestPutPipelineRequest, options?): Promise<IngestPutPipelineResponse>
|
|
----
|
|
|
|
[discrete]
|
|
==== IngestPutPipelineRequest
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface IngestPutPipelineRequest extends <<RequestBase>> {
|
|
id: <<Id>>
|
|
master_timeout?: <<Duration>>
|
|
timeout?: <<Duration>>
|
|
if_version?: <<VersionNumber>>
|
|
_meta?: <<Metadata>>
|
|
description?: string
|
|
on_failure?: IngestProcessorContainer[]
|
|
processors?: IngestProcessorContainer[]
|
|
version?: <<VersionNumber>>
|
|
deprecated?: boolean
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
[discrete]
|
|
==== IngestPutPipelineResponse
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
type IngestPutPipelineResponse = <<AcknowledgedResponseBase>>
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|