Files
elasticsearch-js/docs/reference-shared-types-put_script.asciidoc

66 lines
3.7 KiB
Plaintext

[[reference-shared-types-put_script]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
== Shared PutScript types
[discrete]
[[PutScriptRequest]]
=== PutScriptRequest
[pass]
++++
<pre>
++++
interface PutScriptRequest extends <<RequestBase>> {
id: <<Id>>
context?: <<Name>>
master_timeout?: <<Duration>>
timeout?: <<Duration>>
script: <<StoredScript>>
}
[pass]
++++
</pre>
++++
[discrete]
[[PutScriptResponse]]
=== PutScriptResponse
[pass]
++++
<pre>
++++
type PutScriptResponse = <<AcknowledgedResponseBase>>
[pass]
++++
</pre>
++++