diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 2ed7300db4..145317310a 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -10475,6 +10475,7 @@ { "in": "query", "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -10484,6 +10485,7 @@ { "in": "query", "name": "timeout", + "description": "Explicit operation timeout", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -10518,6 +10520,7 @@ { "in": "query", "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -10527,6 +10530,7 @@ { "in": "query", "name": "timeout", + "description": "Explicit operation timeout", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -31961,6 +31965,12 @@ "parameters": [ { "$ref": "#/components/parameters/slm.get_lifecycle#policy_id" + }, + { + "$ref": "#/components/parameters/slm.get_lifecycle#master_timeout" + }, + { + "$ref": "#/components/parameters/slm.get_lifecycle#timeout" } ], "responses": { @@ -32069,6 +32079,26 @@ "$ref": "#/components/schemas/_types:Name" }, "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], "responses": { @@ -32105,6 +32135,26 @@ "$ref": "#/components/schemas/_types:Name" }, "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], "responses": { @@ -32138,6 +32188,28 @@ "summary": "Run a retention policy", "description": "Manually apply the retention policy to force immediate removal of snapshots that are expired according to the snapshot lifecycle policy retention rules.\nThe retention policy is normally applied according to its schedule.", "operationId": "slm-execute-retention", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], "responses": { "200": { "description": "", @@ -32161,6 +32233,14 @@ "summary": "Get policy information", "description": "Get snapshot lifecycle policy definitions and information about the latest snapshot attempts.", "operationId": "slm-get-lifecycle-1", + "parameters": [ + { + "$ref": "#/components/parameters/slm.get_lifecycle#master_timeout" + }, + { + "$ref": "#/components/parameters/slm.get_lifecycle#timeout" + } + ], "responses": { "200": { "$ref": "#/components/responses/slm.get_lifecycle#200" @@ -32177,6 +32257,28 @@ "summary": "Get snapshot lifecycle management statistics", "description": "Get global and policy-level statistics about actions taken by snapshot lifecycle management.", "operationId": "slm-get-stats", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], "responses": { "200": { "description": "", @@ -32246,6 +32348,28 @@ ], "summary": "Get the snapshot lifecycle management status", "operationId": "slm-get-status", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], "responses": { "200": { "description": "", @@ -32277,6 +32401,28 @@ "summary": "Start snapshot lifecycle management", "description": "Snapshot lifecycle management (SLM) starts automatically when a cluster is formed.\nManually starting SLM is necessary only if it has been stopped using the stop SLM API.", "operationId": "slm-start", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], "responses": { "200": { "description": "", @@ -32300,6 +32446,28 @@ "summary": "Stop snapshot lifecycle management", "description": "Stop all snapshot lifecycle management (SLM) operations and the SLM plugin.\nThis API is useful when you are performing maintenance on a cluster and need to prevent SLM from performing any actions on your data streams or indices.\nStopping SLM does not stop any snapshots that are in progress.\nYou can manually trigger snapshots with the run snapshot lifecycle policy API even if SLM is stopped.\n\nThe API returns a response as soon as the request is acknowledged, but the plugin might continue to run until in-progress operations complete and it can be safely stopped.\nUse the get snapshot lifecycle management status API to see if SLM is running.", "operationId": "slm-stop", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], "responses": { "200": { "description": "", @@ -103493,6 +103661,26 @@ }, "style": "simple" }, + "slm.get_lifecycle#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "slm.get_lifecycle#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, "snapshot.create#repository": { "in": "path", "name": "repository", diff --git a/output/schema/schema.json b/output/schema/schema.json index 2d27f3ccf1..e86ca94c1f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -124204,6 +124204,7 @@ "path": [], "query": [ { + "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { @@ -124215,6 +124216,7 @@ } }, { + "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { @@ -124268,6 +124270,7 @@ "path": [], "query": [ { + "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { @@ -124279,6 +124282,7 @@ } }, { + "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { @@ -202949,8 +202953,35 @@ } } ], - "query": [], - "specLocation": "slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts#L23-L36" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts#L24-L49" }, { "kind": "response", @@ -203003,8 +203034,35 @@ } } ], - "query": [], - "specLocation": "slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts#L23-L36" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts#L24-L49" }, { "kind": "response", @@ -203050,8 +203108,35 @@ "namespace": "slm.execute_retention" }, "path": [], - "query": [], - "specLocation": "slm/execute_retention/ExecuteRetentionRequest.ts#L22-L31" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/execute_retention/ExecuteRetentionRequest.ts#L23-L45" }, { "kind": "response", @@ -203104,8 +203189,35 @@ } } ], - "query": [], - "specLocation": "slm/get_lifecycle/GetSnapshotLifecycleRequest.ts#L23-L38" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/get_lifecycle/GetSnapshotLifecycleRequest.ts#L24-L51" }, { "kind": "response", @@ -203156,8 +203268,35 @@ "namespace": "slm.get_stats" }, "path": [], - "query": [], - "specLocation": "slm/get_stats/GetSnapshotLifecycleStatsRequest.ts#L22-L30" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/get_stats/GetSnapshotLifecycleStatsRequest.ts#L23-L44" }, { "kind": "response", @@ -203314,8 +203453,35 @@ "namespace": "slm.get_status" }, "path": [], - "query": [], - "specLocation": "slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts#L22-L29" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts#L23-L43" }, { "kind": "response", @@ -203504,8 +203670,35 @@ "namespace": "slm.start" }, "path": [], - "query": [], - "specLocation": "slm/start/StartSnapshotLifecycleManagementRequest.ts#L22-L31" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/start/StartSnapshotLifecycleManagementRequest.ts#L23-L45" }, { "kind": "response", @@ -203545,8 +203738,35 @@ "namespace": "slm.stop" }, "path": [], - "query": [], - "specLocation": "slm/stop/StopSnapshotLifecycleManagementRequest.ts#L22-L35" + "query": [ + { + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "master_timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + }, + { + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "slm/stop/StopSnapshotLifecycleManagementRequest.ts#L23-L49" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index fb67b5ff43..c17b2de784 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -282,8 +282,6 @@ "eql.search": { "request": [ "Request: query parameter 'allow_no_indices' does not exist in the json spec", - "Request: query parameter 'allow_partial_search_results' does not exist in the json spec", - "Request: query parameter 'allow_partial_sequence_results' does not exist in the json spec", "Request: query parameter 'expand_wildcards' does not exist in the json spec", "Request: query parameter 'ignore_unavailable' does not exist in the json spec" ], @@ -337,44 +335,8 @@ ], "response": [] }, - "ilm.delete_lifecycle": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, "ilm.explain_lifecycle": { "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "ilm.get_lifecycle": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "ilm.put_lifecycle": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "ilm.start": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "ilm.stop": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", "Request: query parameter 'timeout' does not exist in the json spec" ], "response": [] @@ -456,20 +418,6 @@ ], "response": [] }, - "ingest.delete_geoip_database": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "ingest.delete_ip_location_database": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, "ingest.get_geoip_database": { "request": [ "Request: query parameter 'master_timeout' does not exist in the json spec" @@ -482,20 +430,6 @@ ], "response": [] }, - "ingest.put_geoip_database": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "ingest.put_ip_location_database": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, "license.delete": { "request": [ "Request: missing json spec query parameter 'master_timeout'", @@ -710,27 +644,6 @@ ], "response": [] }, - "slm.put_lifecycle": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec", - "Request: query parameter 'timeout' does not exist in the json spec" - ], - "response": [] - }, - "slm.start": { - "request": [ - "Request: missing json spec query parameter 'master_timeout'", - "Request: missing json spec query parameter 'timeout'" - ], - "response": [] - }, - "slm.stop": { - "request": [ - "Request: missing json spec query parameter 'master_timeout'", - "Request: missing json spec query parameter 'timeout'" - ], - "response": [] - }, "snapshot.clone": { "request": [ "Request: query parameter 'timeout' does not exist in the json spec" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index c19bb268e1..9396346eb0 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -19155,12 +19155,16 @@ export interface SlmStatistics { export interface SlmDeleteLifecycleRequest extends RequestBase { policy_id: Name + master_timeout?: Duration + timeout?: Duration } export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase export interface SlmExecuteLifecycleRequest extends RequestBase { policy_id: Name + master_timeout?: Duration + timeout?: Duration } export interface SlmExecuteLifecycleResponse { @@ -19168,17 +19172,23 @@ export interface SlmExecuteLifecycleResponse { } export interface SlmExecuteRetentionRequest extends RequestBase { + master_timeout?: Duration + timeout?: Duration } export type SlmExecuteRetentionResponse = AcknowledgedResponseBase export interface SlmGetLifecycleRequest extends RequestBase { policy_id?: Names + master_timeout?: Duration + timeout?: Duration } export type SlmGetLifecycleResponse = Record export interface SlmGetStatsRequest extends RequestBase { + master_timeout?: Duration + timeout?: Duration } export interface SlmGetStatsResponse { @@ -19195,6 +19205,8 @@ export interface SlmGetStatsResponse { } export interface SlmGetStatusRequest extends RequestBase { + master_timeout?: Duration + timeout?: Duration } export interface SlmGetStatusResponse { @@ -19217,11 +19229,15 @@ export interface SlmPutLifecycleRequest extends RequestBase { export type SlmPutLifecycleResponse = AcknowledgedResponseBase export interface SlmStartRequest extends RequestBase { + master_timeout?: Duration + timeout?: Duration } export type SlmStartResponse = AcknowledgedResponseBase export interface SlmStopRequest extends RequestBase { + master_timeout?: Duration + timeout?: Duration } export type SlmStopResponse = AcknowledgedResponseBase diff --git a/specification/_json_spec/eql.search.json b/specification/_json_spec/eql.search.json index 430a2a5ac8..3818508320 100644 --- a/specification/_json_spec/eql.search.json +++ b/specification/_json_spec/eql.search.json @@ -38,6 +38,16 @@ "type": "time", "description": "Update the time interval in which the results (partial or final) for this search will be available", "default": "5d" + }, + "allow_partial_search_results": { + "type": "boolean", + "description": "Control whether the query should keep running in case of shard failures, and return partial results", + "default": false + }, + "allow_partial_sequence_results": { + "type": "boolean", + "description": "Control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true.", + "default": false } }, "body": { diff --git a/specification/_json_spec/ilm.delete_lifecycle.json b/specification/_json_spec/ilm.delete_lifecycle.json index d3e83b77b3..32f55522b0 100644 --- a/specification/_json_spec/ilm.delete_lifecycle.json +++ b/specification/_json_spec/ilm.delete_lifecycle.json @@ -23,6 +23,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/ilm.explain_lifecycle.json b/specification/_json_spec/ilm.explain_lifecycle.json index 993c9fc0c8..76a815e79b 100644 --- a/specification/_json_spec/ilm.explain_lifecycle.json +++ b/specification/_json_spec/ilm.explain_lifecycle.json @@ -31,6 +31,10 @@ "only_errors": { "type": "boolean", "description": "filters the indices included in the response to ones in an ILM error state, implies only_managed" + }, + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" } } } diff --git a/specification/_json_spec/ilm.get_lifecycle.json b/specification/_json_spec/ilm.get_lifecycle.json index 1e5037edb9..44c3ea878c 100644 --- a/specification/_json_spec/ilm.get_lifecycle.json +++ b/specification/_json_spec/ilm.get_lifecycle.json @@ -27,6 +27,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/ilm.put_lifecycle.json b/specification/_json_spec/ilm.put_lifecycle.json index 2ae9227811..381956a35c 100644 --- a/specification/_json_spec/ilm.put_lifecycle.json +++ b/specification/_json_spec/ilm.put_lifecycle.json @@ -24,7 +24,16 @@ } ] }, - "params": {}, + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + }, "body": { "description": "The lifecycle policy definition to register" } diff --git a/specification/_json_spec/ilm.start.json b/specification/_json_spec/ilm.start.json index 722ad25ee2..893c8c98ba 100644 --- a/specification/_json_spec/ilm.start.json +++ b/specification/_json_spec/ilm.start.json @@ -17,6 +17,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/ilm.stop.json b/specification/_json_spec/ilm.stop.json index 7a9643962a..b60cd2223d 100644 --- a/specification/_json_spec/ilm.stop.json +++ b/specification/_json_spec/ilm.stop.json @@ -17,6 +17,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/ingest.delete_geoip_database.json b/specification/_json_spec/ingest.delete_geoip_database.json index ce4d2b7173..d56019cf4f 100644 --- a/specification/_json_spec/ingest.delete_geoip_database.json +++ b/specification/_json_spec/ingest.delete_geoip_database.json @@ -23,6 +23,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/ingest.delete_ip_location_database.json b/specification/_json_spec/ingest.delete_ip_location_database.json index 629ea86961..427cbe9817 100644 --- a/specification/_json_spec/ingest.delete_ip_location_database.json +++ b/specification/_json_spec/ingest.delete_ip_location_database.json @@ -23,6 +23,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/ingest.put_geoip_database.json b/specification/_json_spec/ingest.put_geoip_database.json index f27c28fd73..c732652c34 100644 --- a/specification/_json_spec/ingest.put_geoip_database.json +++ b/specification/_json_spec/ingest.put_geoip_database.json @@ -24,7 +24,16 @@ } ] }, - "params": {}, + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + }, "body": { "description": "The database configuration definition", "required": true diff --git a/specification/_json_spec/ingest.put_ip_location_database.json b/specification/_json_spec/ingest.put_ip_location_database.json index b10e290bd4..87a2adab72 100644 --- a/specification/_json_spec/ingest.put_ip_location_database.json +++ b/specification/_json_spec/ingest.put_ip_location_database.json @@ -24,7 +24,16 @@ } ] }, - "params": {}, + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + }, "body": { "description": "The database configuration definition", "required": true diff --git a/specification/_json_spec/slm.delete_lifecycle.json b/specification/_json_spec/slm.delete_lifecycle.json index a27bc3e650..3017931873 100644 --- a/specification/_json_spec/slm.delete_lifecycle.json +++ b/specification/_json_spec/slm.delete_lifecycle.json @@ -23,6 +23,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/slm.execute_lifecycle.json b/specification/_json_spec/slm.execute_lifecycle.json index 181345955e..4625097a98 100644 --- a/specification/_json_spec/slm.execute_lifecycle.json +++ b/specification/_json_spec/slm.execute_lifecycle.json @@ -23,6 +23,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/slm.execute_retention.json b/specification/_json_spec/slm.execute_retention.json index ad0c65fefc..eb5c31c0f0 100644 --- a/specification/_json_spec/slm.execute_retention.json +++ b/specification/_json_spec/slm.execute_retention.json @@ -17,6 +17,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/slm.get_lifecycle.json b/specification/_json_spec/slm.get_lifecycle.json index b32057a5fc..6d71517825 100644 --- a/specification/_json_spec/slm.get_lifecycle.json +++ b/specification/_json_spec/slm.get_lifecycle.json @@ -27,6 +27,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/slm.get_stats.json b/specification/_json_spec/slm.get_stats.json index 92c27a4abe..2d9899c8e8 100644 --- a/specification/_json_spec/slm.get_stats.json +++ b/specification/_json_spec/slm.get_stats.json @@ -17,6 +17,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/slm.get_status.json b/specification/_json_spec/slm.get_status.json index 9617adc746..10b0c02a12 100644 --- a/specification/_json_spec/slm.get_status.json +++ b/specification/_json_spec/slm.get_status.json @@ -17,6 +17,15 @@ } ] }, - "params": {} + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + } } } diff --git a/specification/_json_spec/slm.put_lifecycle.json b/specification/_json_spec/slm.put_lifecycle.json index f9037c4055..5a605362e8 100644 --- a/specification/_json_spec/slm.put_lifecycle.json +++ b/specification/_json_spec/slm.put_lifecycle.json @@ -24,7 +24,16 @@ } ] }, - "params": {}, + "params": { + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + } + }, "body": { "description": "The snapshot lifecycle policy definition to register" } diff --git a/specification/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts b/specification/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts index 3699ce3608..8c73037abd 100644 --- a/specification/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts +++ b/specification/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts @@ -19,6 +19,7 @@ import { RequestBase } from '@_types/Base' import { Name } from '@_types/common' +import { Duration } from '@_types/Time' /** * Delete a policy. @@ -33,4 +34,16 @@ export interface Request extends RequestBase { path_parts: { policy_id: Name } + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } } diff --git a/specification/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts b/specification/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts index 5ca42d3cce..719319c97b 100644 --- a/specification/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts +++ b/specification/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts @@ -19,6 +19,7 @@ import { RequestBase } from '@_types/Base' import { Name } from '@_types/common' +import { Duration } from '@_types/Time' /** * Run a policy. @@ -33,4 +34,16 @@ export interface Request extends RequestBase { path_parts: { policy_id: Name } + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } } diff --git a/specification/slm/execute_retention/ExecuteRetentionRequest.ts b/specification/slm/execute_retention/ExecuteRetentionRequest.ts index 458fd23372..f6e5973918 100644 --- a/specification/slm/execute_retention/ExecuteRetentionRequest.ts +++ b/specification/slm/execute_retention/ExecuteRetentionRequest.ts @@ -18,6 +18,7 @@ */ import { RequestBase } from '@_types/Base' +import { Duration } from '@_types/Time' /** * Run a retention policy. @@ -28,4 +29,17 @@ import { RequestBase } from '@_types/Base' * @availability serverless stability=stable visibility=private * @cluster_privileges manage_slm */ -export interface Request extends RequestBase {} +export interface Request extends RequestBase { + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } +} diff --git a/specification/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts b/specification/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts index b1e6ad614d..f04c26b874 100644 --- a/specification/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts +++ b/specification/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts @@ -19,6 +19,7 @@ import { RequestBase } from '@_types/Base' import { Names } from '@_types/common' +import { Duration } from '@_types/Time' /** * Get policy information. @@ -35,4 +36,16 @@ export interface Request extends RequestBase { */ policy_id?: Names } + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } } diff --git a/specification/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts b/specification/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts index fc55ea2ef9..12a0f69110 100644 --- a/specification/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts +++ b/specification/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts @@ -18,6 +18,7 @@ */ import { RequestBase } from '@_types/Base' +import { Duration } from '@_types/Time' /** * Get snapshot lifecycle management statistics. @@ -27,4 +28,17 @@ import { RequestBase } from '@_types/Base' * @availability serverless stability=stable visibility=private * @cluster_privileges manage_slm */ -export interface Request extends RequestBase {} +export interface Request extends RequestBase { + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } +} diff --git a/specification/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts b/specification/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts index 7ffec86da8..d633936cda 100644 --- a/specification/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts +++ b/specification/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts @@ -18,6 +18,7 @@ */ import { RequestBase } from '@_types/Base' +import { Duration } from '@_types/Time' /** * Get the snapshot lifecycle management status. @@ -26,4 +27,17 @@ import { RequestBase } from '@_types/Base' * @availability serverless stability=stable visibility=private * @cluster_privileges read_slm */ -export interface Request extends RequestBase {} +export interface Request extends RequestBase { + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } +} diff --git a/specification/slm/start/StartSnapshotLifecycleManagementRequest.ts b/specification/slm/start/StartSnapshotLifecycleManagementRequest.ts index 04612c9ee1..c4d3431715 100644 --- a/specification/slm/start/StartSnapshotLifecycleManagementRequest.ts +++ b/specification/slm/start/StartSnapshotLifecycleManagementRequest.ts @@ -18,6 +18,7 @@ */ import { RequestBase } from '@_types/Base' +import { Duration } from '@_types/Time' /** * Start snapshot lifecycle management. @@ -28,4 +29,17 @@ import { RequestBase } from '@_types/Base' * @availability serverless stability=stable visibility=private * @cluster_privileges manage_slm */ -export interface Request extends RequestBase {} +export interface Request extends RequestBase { + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } +} diff --git a/specification/slm/stop/StopSnapshotLifecycleManagementRequest.ts b/specification/slm/stop/StopSnapshotLifecycleManagementRequest.ts index 32a9ea2062..8436aead0d 100644 --- a/specification/slm/stop/StopSnapshotLifecycleManagementRequest.ts +++ b/specification/slm/stop/StopSnapshotLifecycleManagementRequest.ts @@ -18,6 +18,7 @@ */ import { RequestBase } from '@_types/Base' +import { Duration } from '@_types/Time' /** * Stop snapshot lifecycle management. @@ -32,4 +33,17 @@ import { RequestBase } from '@_types/Base' * @availability stack since=7.6.0 stability=stable * @availability serverless stability=stable visibility=private */ -export interface Request extends RequestBase {} +export interface Request extends RequestBase { + query_parameters: { + /** + * Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + master_timeout?: Duration + /** + * Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ + timeout?: Duration + } +}