API generation

This commit is contained in:
delvedor
2020-06-17 08:33:01 +02:00
parent 9e9f2a7ff2
commit da98f735a9
3 changed files with 9 additions and 3 deletions

View File

@ -12,7 +12,8 @@ function buildMlDeleteDataFrameAnalytics (opts) {
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
const acceptedQuerystring = [
'force'
'force',
'timeout'
]
const snakeCase = {

View File

@ -1769,6 +1769,7 @@ export interface MlDeleteCalendarJob extends Generic {
export interface MlDeleteDataFrameAnalytics extends Generic {
id: string;
force?: boolean;
timeout?: string;
}
export interface MlDeleteDatafeed extends Generic {

View File

@ -3778,7 +3778,7 @@ link:{ref}/indices-shrink-index.html[Documentation] +
|===
=== indices.simulateIndexTemplate
*Stability:* experimental
[source,ts]
----
client.indices.simulateIndexTemplate({
@ -7207,7 +7207,8 @@ link:{ref}/ml-delete-calendar-job.html[Documentation] +
----
client.ml.deleteDataFrameAnalytics({
id: string,
force: boolean
force: boolean,
timeout: string
})
----
link:{ref}/delete-dfanalytics.html[Documentation] +
@ -7219,6 +7220,9 @@ link:{ref}/delete-dfanalytics.html[Documentation] +
|`force`
|`boolean` - True if the job should be forcefully deleted
|`timeout`
|`string` - Controls the time to wait until a job is deleted. Defaults to 1 minute
|===
=== ml.deleteDatafeed