@opensearch-project/opensearch 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/OpenSearchApi.d.ts +78 -8
- package/api/_core/count.js +1 -1
- package/api/_core/createPit.d.ts +1 -2
- package/api/_core/deleteAllPits.d.ts +2 -2
- package/api/_core/deleteByQuery.d.ts +2 -1
- package/api/_core/deleteByQuery.js +1 -1
- package/api/_core/deletePit.d.ts +2 -2
- package/api/_core/getAllPits.d.ts +2 -2
- package/api/_core/rankEval.d.ts +1 -1
- package/api/_core/reindex.d.ts +1 -0
- package/api/_core/reindex.js +1 -0
- package/api/_core/renderSearchTemplate.d.ts +1 -1
- package/api/_core/searchShards.d.ts +0 -11
- package/api/_core/searchShards.js +0 -1
- package/api/_core/updateByQuery.d.ts +2 -1
- package/api/_core/updateByQuery.js +1 -1
- package/api/_types/_common.aggregations.d.ts +37 -156
- package/api/_types/_common.d.ts +2 -10
- package/api/_types/_core.field_caps.d.ts +1 -1
- package/api/_types/{_core._common.d.ts → _core.pit.d.ts} +0 -12
- package/api/_types/_core.rank_eval.d.ts +3 -3
- package/api/_types/_core.termvectors.d.ts +1 -1
- package/api/_types/index.d.ts +2 -2
- package/api/_types/ml._common.d.ts +159 -28
- package/api/asynchronousSearch/delete.js +1 -1
- package/api/asynchronousSearch/get.js +1 -1
- package/api/asynchronousSearch/search.js +4 -4
- package/api/asynchronousSearch/stats.js +1 -1
- package/api/cat/aliases.js +1 -1
- package/api/cat/allPitSegments.js +1 -1
- package/api/cat/clusterManager.js +1 -1
- package/api/cat/count.js +1 -1
- package/api/cat/fielddata.js +1 -1
- package/api/cat/health.js +1 -1
- package/api/cat/indices.js +2 -2
- package/api/cat/master.js +1 -1
- package/api/cat/nodeattrs.js +1 -1
- package/api/cat/nodes.js +1 -1
- package/api/cat/pendingTasks.js +1 -1
- package/api/cat/pitSegments.js +1 -1
- package/api/cat/plugins.js +1 -1
- package/api/cat/recovery.js +1 -1
- package/api/cat/repositories.js +1 -1
- package/api/cat/segmentReplication.js +2 -2
- package/api/cat/shards.js +1 -1
- package/api/cat/snapshots.js +1 -1
- package/api/cat/tasks.js +1 -1
- package/api/cat/templates.js +1 -1
- package/api/cat/threadPool.js +1 -1
- package/api/index.d.ts +38 -6
- package/api/ml/_api.js +48 -0
- package/api/ml/createController.d.ts +39 -0
- package/api/ml/createController.js +50 -0
- package/api/ml/createModelMeta.d.ts +1 -1
- package/api/ml/deleteController.d.ts +30 -0
- package/api/ml/deleteController.js +49 -0
- package/api/ml/executeAgent.d.ts +36 -0
- package/api/ml/executeAgent.js +50 -0
- package/api/ml/getAgent.d.ts +30 -0
- package/api/ml/getAgent.js +49 -0
- package/api/ml/getAllMemories.d.ts +34 -0
- package/api/ml/getAllMemories.js +48 -0
- package/api/ml/getAllMessages.d.ts +35 -0
- package/api/ml/getAllMessages.js +51 -0
- package/api/ml/getAllTools.d.ts +28 -0
- package/api/ml/getAllTools.js +45 -0
- package/api/ml/getController.d.ts +34 -0
- package/api/ml/getController.js +49 -0
- package/api/ml/getMemory.d.ts +2 -8
- package/api/ml/getMemory.js +5 -5
- package/api/ml/getMessage.d.ts +2 -3
- package/api/ml/getMessage.js +6 -12
- package/api/ml/getMessageTraces.d.ts +6 -1
- package/api/ml/getMessageTraces.js +2 -0
- package/api/ml/getProfile.d.ts +30 -0
- package/api/ml/getProfile.js +47 -0
- package/api/ml/getProfileModels.d.ts +31 -0
- package/api/ml/getProfileModels.js +49 -0
- package/api/ml/getProfileTasks.d.ts +31 -0
- package/api/ml/getProfileTasks.js +49 -0
- package/api/ml/getStats.d.ts +31 -0
- package/api/ml/getStats.js +50 -0
- package/api/ml/getTool.d.ts +30 -0
- package/api/ml/getTool.js +49 -0
- package/api/ml/registerModel.d.ts +6 -2
- package/api/ml/registerModelMeta.d.ts +1 -1
- package/api/ml/searchAgents.d.ts +36 -0
- package/api/ml/searchAgents.js +47 -0
- package/api/ml/searchTasks.d.ts +36 -0
- package/api/ml/searchTasks.js +47 -0
- package/api/ml/undeployModel.d.ts +1 -1
- package/api/ml/unloadModel.d.ts +1 -1
- package/api/ml/updateController.d.ts +37 -0
- package/api/ml/updateController.js +50 -0
- package/api/ml/updateModel.d.ts +2 -1
- package/api/ml/uploadModel.d.ts +2 -1
- package/package.json +1 -1
|
@@ -29,10 +29,27 @@ export type Action = {
|
|
|
29
29
|
|
|
30
30
|
export type AdditionalInfo = Record<string, any>
|
|
31
31
|
|
|
32
|
+
export type Aggregation = {
|
|
33
|
+
field?: string;
|
|
34
|
+
sum?: Aggregation;
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}
|
|
37
|
+
|
|
32
38
|
export type Algorithm = {
|
|
33
|
-
value?:
|
|
39
|
+
value?: FunctionName;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type AlgorithmOperations = {
|
|
43
|
+
deploy?: ModelStats;
|
|
44
|
+
predict?: ModelStats;
|
|
45
|
+
register?: ModelStats;
|
|
46
|
+
train?: ModelStats;
|
|
47
|
+
train_predict?: ModelStats;
|
|
48
|
+
undeploy?: ModelStats;
|
|
34
49
|
}
|
|
35
50
|
|
|
51
|
+
export type Algorithms = Record<string, AlgorithmOperations>
|
|
52
|
+
|
|
36
53
|
export type BoolQuery = {
|
|
37
54
|
filter?: Filter[];
|
|
38
55
|
must?: Filter[];
|
|
@@ -80,6 +97,18 @@ export type Filter = {
|
|
|
80
97
|
terms?: Term;
|
|
81
98
|
}
|
|
82
99
|
|
|
100
|
+
export type FunctionName = 'AD_LIBSVM' | 'AGENT' | 'ANOMALY_LOCALIZATION' | 'BATCH_RCF' | 'CONNECTOR' | 'FIT_RCF' | 'KMEANS' | 'LINEAR_REGRESSION' | 'LOCAL_SAMPLE_CALCULATOR' | 'LOGISTIC_REGRESSION' | 'METRICS_CORRELATION' | 'QUESTION_ANSWERING' | 'RCF_SUMMARIZE' | 'REMOTE' | 'SAMPLE_ALGO' | 'SPARSE_ENCODING' | 'SPARSE_TOKENIZE' | 'TEXT_EMBEDDING' | 'TEXT_SIMILARITY'
|
|
101
|
+
|
|
102
|
+
export type GetAgentResponse = {
|
|
103
|
+
created_time?: number;
|
|
104
|
+
description?: string;
|
|
105
|
+
is_hidden?: boolean;
|
|
106
|
+
last_updated_time?: number;
|
|
107
|
+
name?: Common.Name;
|
|
108
|
+
tools?: ToolItems[];
|
|
109
|
+
type?: 'conversational' | 'conversational_flow' | 'flow';
|
|
110
|
+
}
|
|
111
|
+
|
|
83
112
|
export type GetConnectorResponse = {
|
|
84
113
|
actions?: Action[];
|
|
85
114
|
created_time?: number;
|
|
@@ -91,17 +120,19 @@ export type GetConnectorResponse = {
|
|
|
91
120
|
version?: Common.VersionString;
|
|
92
121
|
}
|
|
93
122
|
|
|
94
|
-
export type
|
|
95
|
-
|
|
96
|
-
next_token?: number;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export type GetMessageResponse = Message | {
|
|
100
|
-
messages?: Message[];
|
|
123
|
+
export type GetProfileResponse = {
|
|
124
|
+
nodes?: Nodes;
|
|
101
125
|
}
|
|
102
126
|
|
|
103
|
-
export type
|
|
104
|
-
|
|
127
|
+
export type GetStatsResponse = {
|
|
128
|
+
ml_config_index_status?: 'green' | 'non-existent' | 'red' | 'yellow';
|
|
129
|
+
ml_connector_count?: number;
|
|
130
|
+
ml_connector_index_status?: 'green' | 'non-existent' | 'red' | 'yellow';
|
|
131
|
+
ml_controller_index_status?: 'green' | 'non-existent' | 'red' | 'yellow';
|
|
132
|
+
ml_model_count?: number;
|
|
133
|
+
ml_model_index_status?: 'green' | 'non-existent' | 'red' | 'yellow';
|
|
134
|
+
ml_task_index_status?: 'green' | 'non-existent' | 'red' | 'yellow';
|
|
135
|
+
nodes?: NodeStats;
|
|
105
136
|
}
|
|
106
137
|
|
|
107
138
|
export type Guardrails = {
|
|
@@ -193,7 +224,7 @@ export type Model = {
|
|
|
193
224
|
model_config?: ModelConfig;
|
|
194
225
|
model_content_hash_value?: string;
|
|
195
226
|
model_content_size_in_bytes?: number;
|
|
196
|
-
model_format?:
|
|
227
|
+
model_format?: ModelFormat;
|
|
197
228
|
model_group_id?: string;
|
|
198
229
|
model_state: 'DEPLOYED' | 'DEPLOYING' | 'DEPLOY_FAILED' | 'PARTIALLY_DEPLOYED' | 'REGISTERED' | 'REGISTERING' | 'UNDEPLOYED';
|
|
199
230
|
model_version?: string;
|
|
@@ -208,6 +239,8 @@ export type ModelConfig = {
|
|
|
208
239
|
model_type?: string;
|
|
209
240
|
}
|
|
210
241
|
|
|
242
|
+
export type ModelFormat = 'ONNX' | 'TORCH_SCRIPT'
|
|
243
|
+
|
|
211
244
|
export type ModelGroup = {
|
|
212
245
|
access: 'private' | 'public' | 'restricted';
|
|
213
246
|
created_time?: number;
|
|
@@ -223,6 +256,30 @@ export type ModelGroupRegistration = {
|
|
|
223
256
|
status: string;
|
|
224
257
|
}
|
|
225
258
|
|
|
259
|
+
export type ModelProfile = {
|
|
260
|
+
deploy?: ModelStats;
|
|
261
|
+
memory_size_estimation_cpu?: number;
|
|
262
|
+
memory_size_estimation_gpu?: number;
|
|
263
|
+
model_state?: 'DEPLOYED' | 'DEPLOYING' | 'DEPLOY_FAILED' | 'PARTIALLY_DEPLOYED' | 'REGISTERED' | 'REGISTERING' | 'UNDEPLOYED';
|
|
264
|
+
predict?: ModelStats;
|
|
265
|
+
predict_request_stats?: PredictRequestStats;
|
|
266
|
+
predictor?: string;
|
|
267
|
+
register?: ModelStats;
|
|
268
|
+
target_worker_nodes?: Common.NodeIds[];
|
|
269
|
+
train?: ModelStats;
|
|
270
|
+
train_predict?: ModelStats;
|
|
271
|
+
undeploy?: ModelStats;
|
|
272
|
+
worker_nodes?: Common.NodeIds[];
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type Models = Record<string, ModelProfile>
|
|
276
|
+
|
|
277
|
+
export type ModelStats = {
|
|
278
|
+
ml_action_failure_count?: number;
|
|
279
|
+
ml_action_request_count?: number;
|
|
280
|
+
ml_executing_task_count?: number;
|
|
281
|
+
}
|
|
282
|
+
|
|
226
283
|
export type Nested = {
|
|
227
284
|
boost?: number;
|
|
228
285
|
ignore_unmapped?: boolean;
|
|
@@ -231,11 +288,32 @@ export type Nested = {
|
|
|
231
288
|
score_mode?: 'avg' | 'max' | 'min' | 'none' | 'sum';
|
|
232
289
|
}
|
|
233
290
|
|
|
291
|
+
export type Node = {
|
|
292
|
+
models?: Models;
|
|
293
|
+
tasks?: Tasks;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type Nodes = Record<string, Node>
|
|
297
|
+
|
|
298
|
+
export type NodeStats = Record<string, NodeStatsDetails>
|
|
299
|
+
|
|
300
|
+
export type NodeStatsDetails = {
|
|
301
|
+
algorithms?: Algorithms;
|
|
302
|
+
ml_circuit_breaker_trigger_count?: number;
|
|
303
|
+
ml_deployed_model_count?: number;
|
|
304
|
+
ml_executing_task_count?: number;
|
|
305
|
+
ml_failure_count?: number;
|
|
306
|
+
ml_jvm_heap_usage?: number;
|
|
307
|
+
ml_request_count?: number;
|
|
308
|
+
models?: Models;
|
|
309
|
+
}
|
|
310
|
+
|
|
234
311
|
export type Output = {
|
|
235
312
|
byte_buffer?: ByteBuffer;
|
|
236
313
|
data: number[];
|
|
237
314
|
data_type?: 'BOOLEAN' | 'FLOAT16' | 'FLOAT32' | 'FLOAT64' | 'INT32' | 'INT64' | 'INT8' | 'STRING' | 'UINT8' | 'UNKNOWN';
|
|
238
315
|
name?: string;
|
|
316
|
+
result?: string;
|
|
239
317
|
shape?: number[];
|
|
240
318
|
}
|
|
241
319
|
|
|
@@ -275,17 +353,36 @@ export type PredictModelResult = {
|
|
|
275
353
|
output?: PredictModelOutput[];
|
|
276
354
|
}
|
|
277
355
|
|
|
356
|
+
export type PredictRequestStats = {
|
|
357
|
+
average?: number;
|
|
358
|
+
count?: number;
|
|
359
|
+
max?: number;
|
|
360
|
+
min?: number;
|
|
361
|
+
p50?: number;
|
|
362
|
+
p90?: number;
|
|
363
|
+
p99?: number;
|
|
364
|
+
}
|
|
365
|
+
|
|
278
366
|
export type PredictResponse = {
|
|
279
367
|
inference_results?: InferenceResults[];
|
|
280
368
|
prediction_result?: PredictionResult;
|
|
281
369
|
status?: Status;
|
|
282
370
|
}
|
|
283
371
|
|
|
372
|
+
export type ProfileRequest = {
|
|
373
|
+
model_ids?: Common.Id[];
|
|
374
|
+
node_ids?: Common.Id[];
|
|
375
|
+
return_all_models?: boolean;
|
|
376
|
+
return_all_tasks?: boolean;
|
|
377
|
+
task_ids?: Common.Id[];
|
|
378
|
+
}
|
|
379
|
+
|
|
284
380
|
export type Query = {
|
|
285
381
|
bool?: BoolQuery;
|
|
286
382
|
match?: Match;
|
|
287
383
|
match_all?: MatchAllQuery;
|
|
288
384
|
term?: Term;
|
|
385
|
+
[key: string]: any;
|
|
289
386
|
}
|
|
290
387
|
|
|
291
388
|
export type Range = {
|
|
@@ -295,7 +392,7 @@ export type Range = {
|
|
|
295
392
|
}
|
|
296
393
|
|
|
297
394
|
export type RateLimiter = {
|
|
298
|
-
limit:
|
|
395
|
+
limit: Common.StringifiedDouble;
|
|
299
396
|
unit: 'DAYS' | 'HOURS' | 'MICROSECONDS' | 'MILLISECONDS' | 'MINUTES' | 'NANOSECONDS' | 'SECONDS';
|
|
300
397
|
}
|
|
301
398
|
|
|
@@ -303,6 +400,8 @@ export type Rows = {
|
|
|
303
400
|
values?: Values[];
|
|
304
401
|
}
|
|
305
402
|
|
|
403
|
+
export type SearchAgentsResponse = SearchResponse
|
|
404
|
+
|
|
306
405
|
export type SearchConnectorsResponse = SearchResponse
|
|
307
406
|
|
|
308
407
|
export type SearchHits = {
|
|
@@ -315,7 +414,7 @@ export type SearchHitsHit = {
|
|
|
315
414
|
_id?: Common.Id;
|
|
316
415
|
_index?: Common.IndexName;
|
|
317
416
|
_primary_term?: number;
|
|
318
|
-
_score: number;
|
|
417
|
+
_score: undefined | number;
|
|
319
418
|
_seq_no?: Common.SequenceNumber;
|
|
320
419
|
_source?: Source;
|
|
321
420
|
_version?: Common.VersionNumber;
|
|
@@ -338,6 +437,8 @@ export type SearchResponse = {
|
|
|
338
437
|
took?: number;
|
|
339
438
|
}
|
|
340
439
|
|
|
440
|
+
export type SearchTasksResponse = SearchResponse
|
|
441
|
+
|
|
341
442
|
export type Sort = {
|
|
342
443
|
_id?: SortOrder;
|
|
343
444
|
_index?: SortOrder;
|
|
@@ -363,6 +464,19 @@ export type Sort = {
|
|
|
363
464
|
total_chunks?: SortOrder;
|
|
364
465
|
}
|
|
365
466
|
|
|
467
|
+
export type SortAgent = {
|
|
468
|
+
_id?: SortOrder;
|
|
469
|
+
_index?: SortOrder;
|
|
470
|
+
_score?: SortOrder;
|
|
471
|
+
_seq_no?: SortOrder;
|
|
472
|
+
created_time?: SortOrder;
|
|
473
|
+
is_hidden?: SortOrder;
|
|
474
|
+
last_updated_time?: SortOrder;
|
|
475
|
+
parameters?: SortOrder;
|
|
476
|
+
tools?: SortOrder;
|
|
477
|
+
type?: SortOrder;
|
|
478
|
+
}
|
|
479
|
+
|
|
366
480
|
export type SortMemory = {
|
|
367
481
|
_id?: SortOrder;
|
|
368
482
|
_index?: SortOrder;
|
|
@@ -397,27 +511,34 @@ export type Source = {
|
|
|
397
511
|
actions?: Action[];
|
|
398
512
|
additional_info?: AdditionalInfo;
|
|
399
513
|
algorithm?: string;
|
|
514
|
+
app_type?: string;
|
|
400
515
|
application_type?: undefined | string;
|
|
401
516
|
auto_redeploy_retry_times?: number;
|
|
402
517
|
backend_roles?: string[];
|
|
403
518
|
chunk_number?: number;
|
|
404
519
|
connector_id?: string;
|
|
405
|
-
create_time?: string;
|
|
520
|
+
create_time?: string | number;
|
|
406
521
|
created_time?: number;
|
|
407
522
|
current_worker_node_count?: number;
|
|
408
523
|
deploy_to_all_nodes?: boolean;
|
|
409
524
|
description?: string;
|
|
525
|
+
error?: string;
|
|
526
|
+
function_name?: FunctionName;
|
|
410
527
|
input?: undefined | string;
|
|
528
|
+
input_type?: 'DATA_FRAME' | 'QUESTION_ANSWERING' | 'REMOTE' | 'SEARCH_QUERY' | 'TEXT_DOCS' | 'TEXT_SIMILARITY';
|
|
529
|
+
is_async?: boolean;
|
|
411
530
|
is_hidden?: boolean;
|
|
412
531
|
last_deployed_time?: number;
|
|
413
532
|
last_registered_time?: number;
|
|
533
|
+
last_update_time?: number;
|
|
414
534
|
last_updated_time?: number;
|
|
415
535
|
latest_version?: number;
|
|
536
|
+
memory?: Memory;
|
|
416
537
|
memory_id?: Common.Name;
|
|
417
538
|
model_config?: ModelConfig;
|
|
418
539
|
model_content_hash_value?: string;
|
|
419
540
|
model_content_size_in_bytes?: number;
|
|
420
|
-
model_format?:
|
|
541
|
+
model_format?: ModelFormat;
|
|
421
542
|
model_group_id?: string;
|
|
422
543
|
model_id?: Common.Name;
|
|
423
544
|
model_state?: 'DEPLOYED' | 'DEPLOYING' | 'DEPLOY_FAILED' | 'PARTIALLY_DEPLOYED' | 'REGISTERED' | 'REGISTERING' | 'UNDEPLOYED';
|
|
@@ -433,12 +554,17 @@ export type Source = {
|
|
|
433
554
|
prompt_template?: undefined | string;
|
|
434
555
|
protocol?: 'aws_sigv4' | 'http';
|
|
435
556
|
response?: undefined | string;
|
|
557
|
+
state?: Status;
|
|
558
|
+
task_type?: 'BATCH_INGEST' | 'BATCH_PREDICTION' | 'DEPLOY_MODEL' | 'EXECUTION' | 'PREDICTION' | 'REGISTER_MODEL' | 'TRAINING' | 'TRAINING_AND_PREDICTION';
|
|
559
|
+
tools?: ToolItems[];
|
|
436
560
|
total_chunks?: number;
|
|
437
561
|
trace_number?: undefined | string;
|
|
562
|
+
type?: 'conversational' | 'conversational_flow' | 'flow';
|
|
438
563
|
updated_time?: string;
|
|
439
564
|
url?: string;
|
|
440
565
|
user?: string;
|
|
441
566
|
version?: Common.VersionString;
|
|
567
|
+
worker_node?: Common.NodeIds[];
|
|
442
568
|
}
|
|
443
569
|
|
|
444
570
|
export type Status = 'CANCELLED' | 'COMPLETED' | 'COMPLETED_WITH_ERROR' | 'CREATED' | 'FAILED' | 'RUNNING'
|
|
@@ -446,25 +572,37 @@ export type Status = 'CANCELLED' | 'COMPLETED' | 'COMPLETED_WITH_ERROR' | 'CREAT
|
|
|
446
572
|
export type Task = {
|
|
447
573
|
create_time?: number;
|
|
448
574
|
error?: string;
|
|
449
|
-
function_name?:
|
|
575
|
+
function_name?: FunctionName;
|
|
450
576
|
is_async?: boolean;
|
|
451
577
|
last_update_time?: number;
|
|
452
578
|
model_id?: string;
|
|
453
579
|
state: 'CANCELLED' | 'CANCELLING' | 'COMPLETED' | 'COMPLETED_WITH_ERROR' | 'CREATED' | 'EXPIRED' | 'FAILED' | 'RUNNING';
|
|
454
580
|
task_id?: string;
|
|
455
|
-
task_type?: 'DEPLOY_MODEL' | 'REGISTER_MODEL';
|
|
581
|
+
task_type?: 'BATCH_INGEST' | 'BATCH_PREDICTION' | 'DEPLOY_MODEL' | 'EXECUTION' | 'PREDICTION' | 'REGISTER_MODEL' | 'TRAINING' | 'TRAINING_AND_PREDICTION';
|
|
456
582
|
worker_node?: Common.NodeIds[];
|
|
457
583
|
}
|
|
458
584
|
|
|
585
|
+
export type Tasks = Record<string, Task>
|
|
586
|
+
|
|
459
587
|
export type Term = {
|
|
460
588
|
_id?: Common.Id[];
|
|
461
589
|
algorithm?: Algorithm;
|
|
590
|
+
function_name?: FunctionName;
|
|
462
591
|
model_id?: Common.Name;
|
|
463
592
|
name?: OwnerNameKeyword;
|
|
464
593
|
'owner.name.keyword'?: OwnerNameKeyword;
|
|
594
|
+
type?: Type;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export type Tool = {
|
|
598
|
+
description?: string;
|
|
599
|
+
name?: Common.Name;
|
|
600
|
+
type?: string;
|
|
601
|
+
version?: Common.VersionString;
|
|
465
602
|
}
|
|
466
603
|
|
|
467
604
|
export type ToolItems = {
|
|
605
|
+
include_output_in_agent_response?: boolean;
|
|
468
606
|
name?: string;
|
|
469
607
|
parameters?: Parameters;
|
|
470
608
|
type?: string;
|
|
@@ -487,6 +625,10 @@ export type TrainResponse = {
|
|
|
487
625
|
status: Status;
|
|
488
626
|
}
|
|
489
627
|
|
|
628
|
+
export type Type = {
|
|
629
|
+
value?: 'conversational' | 'conversational_flow' | 'flow';
|
|
630
|
+
}
|
|
631
|
+
|
|
490
632
|
export type UndeployModelNode = {
|
|
491
633
|
stats?: UndeployModelNodeStats;
|
|
492
634
|
}
|
|
@@ -507,17 +649,6 @@ export type UpdateModelGroupResponse = {
|
|
|
507
649
|
status?: string;
|
|
508
650
|
}
|
|
509
651
|
|
|
510
|
-
export type UpdateModelResponse = {
|
|
511
|
-
_id?: Common.Id;
|
|
512
|
-
_index: Common.IndexName;
|
|
513
|
-
_primary_term?: number;
|
|
514
|
-
_seq_no?: Common.SequenceNumber;
|
|
515
|
-
_shards?: Common.ShardStatistics;
|
|
516
|
-
_version?: Common.VersionNumber;
|
|
517
|
-
forced_refresh?: boolean;
|
|
518
|
-
result?: Common.Result;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
652
|
export type Values = {
|
|
522
653
|
column_type?: 'BOOLEAN' | 'DOUBLE' | 'INTEGER' | 'STRING';
|
|
523
654
|
value?: number;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Deletes any responses from an asynchronous search.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/search-plugins/async/index/#delete-searches-and-results - asynchronous_search.delete}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Asynchronous-Search
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Gets partial responses from an asynchronous search.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/search-plugins/async/index/#get-partial-results - asynchronous_search.get}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Asynchronous-Search
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Performs an asynchronous search.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/search-plugins/async/index/#rest-api - asynchronous_search.search}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Asynchronous-Search
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {string} [params.index] - The name of the index to be searched. Can be an individual name, a comma-separated list of indexes, or a wildcard expression of index names.
|
|
29
|
-
* @param {string} [params.keep_alive] - The amount of time that the result is saved in the cluster. For example, `2d` means that the results are stored in the cluster for 48 hours.
|
|
30
|
-
* @param {boolean} [params.keep_on_completion] - Whether you want to save the results in the cluster after the search is complete.
|
|
31
|
-
* @param {string} [params.wait_for_completion_timeout] - The amount of time that you plan to wait for the results. You can poll the remaining results based on an ID. The maximum value is
|
|
29
|
+
* @param {string} [params.keep_alive] - The amount of time that the result is saved in the cluster. For example, `2d` means that the results are stored in the cluster for 48 hours. The saved search results are deleted after this period or if the search is canceled. Note that this includes the query execution time. If the query overruns this time, the process cancels this query automatically.
|
|
30
|
+
* @param {boolean} [params.keep_on_completion] - Whether you want to save the results in the cluster after the search is complete. You can examine the stored results at a later time.
|
|
31
|
+
* @param {string} [params.wait_for_completion_timeout] - The amount of time that you plan to wait for the results. You can poll the remaining results based on an ID. The maximum value is 300 seconds. Default is `1s`.
|
|
32
32
|
* @param {object} [params.body] - The search definition using the Query DSL.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Monitors any asynchronous searches that are `running`, `completed`, `persisted`.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/search-plugins/async/index/#monitor-stats - asynchronous_search.stats}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Asynchronous-Search
|
package/api/cat/aliases.js
CHANGED
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cat
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.expand_wildcards] -
|
|
28
|
+
* @param {string} [params.expand_wildcards] - Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
31
|
* @param {boolean} [params.help=false] - Returns help information.
|
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
33
33
|
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
34
34
|
*
|
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - A timeout for connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the HTTP `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - A timeout for connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/count.js
CHANGED
|
@@ -27,7 +27,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
29
29
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
30
|
-
* @param {boolean} [params.help=false] -
|
|
30
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
31
31
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
32
32
|
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
33
33
|
* @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
package/api/cat/fielddata.js
CHANGED
|
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
29
29
|
* @param {string} [params.fields] - A comma-separated list of fields used to limit the amount of returned information. To retrieve all fields, omit this parameter.
|
|
30
30
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
31
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
32
|
-
* @param {boolean} [params.help=false] -
|
|
32
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
33
33
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
34
34
|
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
35
35
|
*
|
package/api/cat/health.js
CHANGED
|
@@ -27,7 +27,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
29
29
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
30
|
-
* @param {boolean} [params.help=false] -
|
|
30
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
31
31
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
32
32
|
* @param {string} [params.time] - The unit used to display time values.
|
|
33
33
|
* @param {boolean} [params.ts=true] - When `true`, returns `HH:MM:SS` and Unix epoch timestamps.
|
package/api/cat/indices.js
CHANGED
|
@@ -27,11 +27,11 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
29
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
30
|
-
* @param {string} [params.expand_wildcards] -
|
|
30
|
+
* @param {string} [params.expand_wildcards] - Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
|
|
31
31
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
32
32
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
33
33
|
* @param {string} [params.health] - Limits indexes based on their health status. Supported values are `green`, `yellow`, and `red`.
|
|
34
|
-
* @param {boolean} [params.help=false] -
|
|
34
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
35
35
|
* @param {boolean} [params.include_unloaded_segments=false] - Whether to include information from segments not loaded into memory.
|
|
36
36
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
37
37
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
package/api/cat/master.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/nodeattrs.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/nodes.js
CHANGED
|
@@ -30,7 +30,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
30
30
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
31
|
* @param {string} [params.full_id] - When `true`, returns the full node ID. When `false`, returns the shortened node ID.
|
|
32
32
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
33
|
-
* @param {boolean} [params.help=false] -
|
|
33
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
34
34
|
* @param {boolean} [params.local=false] DEPRECATED - Returns local information but does not retrieve the state from the cluster manager node.
|
|
35
35
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
36
36
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/pendingTasks.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/pitSegments.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.bytes] - The units used to display byte values.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
33
33
|
* @param {boolean} [params.v=false] - Enables verbose mode, which displays column headers.
|
|
34
34
|
* @param {object} [params.body]
|
package/api/cat/plugins.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/recovery.js
CHANGED
|
@@ -30,7 +30,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
30
30
|
* @param {boolean} [params.detailed=false] - When `true`, includes detailed information about shard recoveries.
|
|
31
31
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
32
32
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
33
|
-
* @param {boolean} [params.help=false] -
|
|
33
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
34
34
|
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
|
35
35
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
36
36
|
* @param {string} [params.time] - Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
|
package/api/cat/repositories.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
|
@@ -31,10 +31,10 @@ These metrics provide information about how far behind the primary shard the rep
|
|
|
31
31
|
* @param {string} [params.bytes] - The units used to display byte values.
|
|
32
32
|
* @param {boolean} [params.completed_only=false] - When `true`, the response only includes the last-completed segment replication events.
|
|
33
33
|
* @param {boolean} [params.detailed=false] - When `true`, the response includes additional metrics for each stage of a segment replication event.
|
|
34
|
-
* @param {string} [params.expand_wildcards] -
|
|
34
|
+
* @param {string} [params.expand_wildcards] - Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
|
|
35
35
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
36
36
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
37
|
-
* @param {boolean} [params.help=false] -
|
|
37
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
38
38
|
* @param {boolean} [params.ignore_throttled] - Whether specified concrete, expanded, or aliased indexes should be ignored when throttled.
|
|
39
39
|
* @param {boolean} [params.ignore_unavailable] - Whether the specified concrete indexes should be ignored when missing or closed.
|
|
40
40
|
* @param {array} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
|
package/api/cat/shards.js
CHANGED
|
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
29
29
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
30
30
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
31
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
32
|
-
* @param {boolean} [params.help=false] -
|
|
32
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
33
33
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
34
34
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
35
35
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/snapshots.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.ignore_unavailable=false] - When `true`, the response does not include information from unavailable snapshots.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {string} [params.repository] - A comma-separated list of snapshot repositories used to limit the request. Accepts wildcard expressions. `_all` returns all repositories. If any repository fails during the request, OpenSearch returns an error.
|
package/api/cat/tasks.js
CHANGED
|
@@ -29,7 +29,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
29
29
|
* @param {boolean} [params.detailed=false] - If `true`, the response includes detailed information about shard recoveries.
|
|
30
30
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
31
31
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
32
|
-
* @param {boolean} [params.help=false] -
|
|
32
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
33
33
|
* @param {array} [params.nodes] - A comma-separated list of node IDs or names used to limit the returned information. Use `_local` to return information from the node to which you're connecting, specify a specific node from which to get information, or keep the parameter empty to get information from all nodes.
|
|
34
34
|
* @param {string} [params.parent_task_id] - The parent task identifier, which is used to limit the response.
|
|
35
35
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|
package/api/cat/templates.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
28
28
|
* @param {string} [params.cluster_manager_timeout] - The amount of time allowed to establish a connection to the cluster manager node.
|
|
29
29
|
* @param {string} [params.format] - A short version of the `Accept` header, such as `json` or `yaml`.
|
|
30
30
|
* @param {array} [params.h] - A comma-separated list of column names to display.
|
|
31
|
-
* @param {boolean} [params.help=false] -
|
|
31
|
+
* @param {boolean} [params.help=false] - Returns help information.
|
|
32
32
|
* @param {boolean} [params.local=false] - Returns local information but does not retrieve the state from the cluster manager node.
|
|
33
33
|
* @param {string} [params.master_timeout] DEPRECATED - The amount of time allowed to establish a connection to the cluster manager node.
|
|
34
34
|
* @param {array} [params.s] - A comma-separated list of column names or column aliases to sort by.
|