Skip to content

Commit 3541b9e

Browse files
Auto-generated API code
1 parent 8bf11b6 commit 3541b9e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

docs/reference/api-reference.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13529,8 +13529,6 @@ Multi-target syntax is supported.
1352913529
- **`master_timeout` (Optional, string | -1 | 0)**: The period to wait for the master node.
1353013530
If the master node is not available before the timeout expires, the request fails and returns an error.
1353113531
To indicate that the request should never timeout, set it to `-1`.
13532-
- **`timeout` (Optional, string | -1 | 0)**: The period of time to wait for a response.
13533-
If no response is received before the timeout expires, the request fails and returns an error.
1353413532

1353513533
## client.snapshot.create [_snapshot.create]
1353613534
Create a snapshot.

src/api/api/snapshot.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ export default class Snapshot {
5555
'indices'
5656
],
5757
query: [
58-
'master_timeout',
59-
'timeout'
58+
'master_timeout'
6059
]
6160
},
6261
'snapshot.create': {

src/api/types.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33924,16 +33924,13 @@ export interface SnapshotCloneRequest extends RequestBase {
3392433924
* If the master node is not available before the timeout expires, the request fails and returns an error.
3392533925
* To indicate that the request should never timeout, set it to `-1`. */
3392633926
master_timeout?: Duration
33927-
/** The period of time to wait for a response.
33928-
* If no response is received before the timeout expires, the request fails and returns an error. */
33929-
timeout?: Duration
3393033927
/** A comma-separated list of indices to include in the snapshot.
3393133928
* Multi-target syntax is supported. */
3393233929
indices: string
3393333930
/** All values in `body` will be added to the request body. */
33934-
body?: string | { [key: string]: any } & { repository?: never, snapshot?: never, target_snapshot?: never, master_timeout?: never, timeout?: never, indices?: never }
33931+
body?: string | { [key: string]: any } & { repository?: never, snapshot?: never, target_snapshot?: never, master_timeout?: never, indices?: never }
3393533932
/** All values in `querystring` will be added to the request querystring. */
33936-
querystring?: { [key: string]: any } & { repository?: never, snapshot?: never, target_snapshot?: never, master_timeout?: never, timeout?: never, indices?: never }
33933+
querystring?: { [key: string]: any } & { repository?: never, snapshot?: never, target_snapshot?: never, master_timeout?: never, indices?: never }
3393733934
}
3393833935

3393933936
export type SnapshotCloneResponse = AcknowledgedResponseBase

0 commit comments

Comments
 (0)