Skip to content

Commit 13923b3

Browse files
Auto-generated code for main (#1987)
1 parent 6e1c209 commit 13923b3

File tree

3 files changed

+13
-50
lines changed

3 files changed

+13
-50
lines changed

docs/reference.asciidoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6786,9 +6786,10 @@ client.nodes.reloadSecureSettings({ ... })
67866786
==== Arguments
67876787

67886788
* *Request (object):*
6789-
** *`node_id` (Optional, string | string[])*: A list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes.
6790-
** *`secure_settings_password` (Optional, string)*
6791-
** *`timeout` (Optional, string | -1 | 0)*: Explicit operation timeout
6789+
** *`node_id` (Optional, string | string[])*: The names of particular nodes in the cluster to target.
6790+
** *`secure_settings_password` (Optional, string)*: The password for the Elasticsearch keystore.
6791+
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response.
6792+
If no response is received before the timeout expires, the request fails and returns an error.
67926793

67936794
[discrete]
67946795
==== stats
@@ -6816,7 +6817,7 @@ client.nodes.stats({ ... })
68166817
** *`master_timeout` (Optional, string | -1 | 0)*: 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.
68176818
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
68186819
** *`types` (Optional, string[])*: A list of document types for the indexing index metric.
6819-
** *`include_unloaded_segments` (Optional, boolean)*: If set to true segment stats will include stats for segments that are not currently loaded into memory
6820+
** *`include_unloaded_segments` (Optional, boolean)*: If `true`, the response includes information from segments that are not loaded into memory.
68206821

68216822
[discrete]
68226823
==== usage
@@ -6833,8 +6834,10 @@ client.nodes.usage({ ... })
68336834

68346835
* *Request (object):*
68356836
** *`node_id` (Optional, string | string[])*: A list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
6836-
** *`metric` (Optional, string | string[])*: Limit the information returned to the specified metrics
6837-
** *`timeout` (Optional, string | -1 | 0)*: Explicit operation timeout
6837+
** *`metric` (Optional, string | string[])*: Limits the information returned to the specific metrics.
6838+
A list of the following options: `_all`, `rest_actions`.
6839+
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response.
6840+
If no response is received before the timeout expires, the request fails and returns an error.
68386841

68396842
[discrete]
68406843
=== query_ruleset

src/api/types.ts

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17169,7 +17169,7 @@ export interface TasksTaskInfo {
1716917169
running_time?: Duration
1717017170
running_time_in_nanos: DurationValue<UnitNanos>
1717117171
start_time_in_millis: EpochTime<UnitMillis>
17172-
status?: TasksTaskStatus
17172+
status?: any
1717317173
type: string
1717417174
parent_task_id?: TaskId
1717517175
}
@@ -17183,26 +17183,6 @@ export interface TasksTaskListResponseBase {
1718317183
tasks?: TasksTaskInfos
1718417184
}
1718517185

17186-
export interface TasksTaskStatus {
17187-
batches: long
17188-
canceled?: string
17189-
created: long
17190-
deleted: long
17191-
noops: long
17192-
failures?: string[]
17193-
requests_per_second: float
17194-
retries: Retries
17195-
throttled?: Duration
17196-
throttled_millis: DurationValue<UnitMillis>
17197-
throttled_until?: Duration
17198-
throttled_until_millis: DurationValue<UnitMillis>
17199-
timed_out?: boolean
17200-
took?: DurationValue<UnitMillis>
17201-
total: long
17202-
updated: long
17203-
version_conflicts: long
17204-
}
17205-
1720617186
export interface TasksCancelRequest extends RequestBase {
1720717187
task_id?: TaskId
1720817188
actions?: string | string[]
@@ -17222,7 +17202,7 @@ export interface TasksGetRequest extends RequestBase {
1722217202
export interface TasksGetResponse {
1722317203
completed: boolean
1722417204
task: TasksTaskInfo
17225-
response?: TasksTaskStatus
17205+
response?: any
1722617206
error?: ErrorCause
1722717207
}
1722817208

src/api/typesWithBodyKey.ts

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17576,7 +17576,7 @@ export interface TasksTaskInfo {
1757617576
running_time?: Duration
1757717577
running_time_in_nanos: DurationValue<UnitNanos>
1757817578
start_time_in_millis: EpochTime<UnitMillis>
17579-
status?: TasksTaskStatus
17579+
status?: any
1758017580
type: string
1758117581
parent_task_id?: TaskId
1758217582
}
@@ -17590,26 +17590,6 @@ export interface TasksTaskListResponseBase {
1759017590
tasks?: TasksTaskInfos
1759117591
}
1759217592

17593-
export interface TasksTaskStatus {
17594-
batches: long
17595-
canceled?: string
17596-
created: long
17597-
deleted: long
17598-
noops: long
17599-
failures?: string[]
17600-
requests_per_second: float
17601-
retries: Retries
17602-
throttled?: Duration
17603-
throttled_millis: DurationValue<UnitMillis>
17604-
throttled_until?: Duration
17605-
throttled_until_millis: DurationValue<UnitMillis>
17606-
timed_out?: boolean
17607-
took?: DurationValue<UnitMillis>
17608-
total: long
17609-
updated: long
17610-
version_conflicts: long
17611-
}
17612-
1761317593
export interface TasksCancelRequest extends RequestBase {
1761417594
task_id?: TaskId
1761517595
actions?: string | string[]
@@ -17629,7 +17609,7 @@ export interface TasksGetRequest extends RequestBase {
1762917609
export interface TasksGetResponse {
1763017610
completed: boolean
1763117611
task: TasksTaskInfo
17632-
response?: TasksTaskStatus
17612+
response?: any
1763317613
error?: ErrorCause
1763417614
}
1763517615

0 commit comments

Comments
 (0)