tencentcloud-sdk-nodejs-dlc 4.0.554 → 4.0.556
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/CHANGELOG.md +555 -0
- package/SERVICE_CHANGELOG.md +703 -67
- package/package.json +1 -1
- package/products.md +58 -57
- package/src/services/dlc/v20210125/dlc_client.ts +561 -549
- package/src/services/dlc/v20210125/dlc_models.ts +123 -108
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +171 -167
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +255 -249
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +104 -91
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
DescribeResultDownloadResponse,
|
|
21
21
|
DescribeTaskResultResponse,
|
|
22
22
|
DescribeNotebookSessionStatementRequest,
|
|
23
|
+
NetworkConnection,
|
|
23
24
|
CancelNotebookSessionStatementRequest,
|
|
24
25
|
DescribeDatabasesRequest,
|
|
25
26
|
WorkGroupMessage,
|
|
@@ -94,6 +95,7 @@ import {
|
|
|
94
95
|
DescribeNotebookSessionsResponse,
|
|
95
96
|
DescribeDMSPartitionsRequest,
|
|
96
97
|
TPartition,
|
|
98
|
+
DescribeForbiddenTableProRequest,
|
|
97
99
|
CreateDataEngineResponse,
|
|
98
100
|
DescribeSparkAppJobsRequest,
|
|
99
101
|
DeleteNotebookSessionRequest,
|
|
@@ -161,7 +163,7 @@ import {
|
|
|
161
163
|
DataFormat,
|
|
162
164
|
DescribeNotebookSessionLogResponse,
|
|
163
165
|
ViewResponseInfo,
|
|
164
|
-
|
|
166
|
+
DescribeForbiddenTableProResponse,
|
|
165
167
|
CreateUserRequest,
|
|
166
168
|
ModifyWorkGroupRequest,
|
|
167
169
|
CancelTaskResponse,
|
|
@@ -254,16 +256,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
254
256
|
super("dlc.tencentcloudapi.com", "2021-01-25", clientConfig)
|
|
255
257
|
}
|
|
256
258
|
|
|
257
|
-
/**
|
|
258
|
-
* 解绑工作组鉴权策略
|
|
259
|
-
*/
|
|
260
|
-
async DetachWorkGroupPolicy(
|
|
261
|
-
req: DetachWorkGroupPolicyRequest,
|
|
262
|
-
cb?: (error: string, rep: DetachWorkGroupPolicyResponse) => void
|
|
263
|
-
): Promise<DetachWorkGroupPolicyResponse> {
|
|
264
|
-
return this.request("DetachWorkGroupPolicy", req, cb)
|
|
265
|
-
}
|
|
266
|
-
|
|
267
259
|
/**
|
|
268
260
|
* 本接口(CreateTask)用于创建sql查询任务。(推荐使用CreateTasks接口)
|
|
269
261
|
*/
|
|
@@ -275,33 +267,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
275
267
|
}
|
|
276
268
|
|
|
277
269
|
/**
|
|
278
|
-
*
|
|
279
|
-
*/
|
|
280
|
-
async CreateTasksInOrder(
|
|
281
|
-
req: CreateTasksInOrderRequest,
|
|
282
|
-
cb?: (error: string, rep: CreateTasksInOrderResponse) => void
|
|
283
|
-
): Promise<CreateTasksInOrderResponse> {
|
|
284
|
-
return this.request("CreateTasksInOrder", req, cb)
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* 元数据锁检查
|
|
289
|
-
*/
|
|
290
|
-
async CheckLockMetaData(
|
|
291
|
-
req: CheckLockMetaDataRequest,
|
|
292
|
-
cb?: (error: string, rep: CheckLockMetaDataResponse) => void
|
|
293
|
-
): Promise<CheckLockMetaDataResponse> {
|
|
294
|
-
return this.request("CheckLockMetaData", req, cb)
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* 该接口(CreateImportTask)用于创建导入任务
|
|
270
|
+
* 添加用户到工作组
|
|
299
271
|
*/
|
|
300
|
-
async
|
|
301
|
-
req:
|
|
302
|
-
cb?: (error: string, rep:
|
|
303
|
-
): Promise<
|
|
304
|
-
return this.request("
|
|
272
|
+
async AddUsersToWorkGroup(
|
|
273
|
+
req: AddUsersToWorkGroupRequest,
|
|
274
|
+
cb?: (error: string, rep: AddUsersToWorkGroupResponse) => void
|
|
275
|
+
): Promise<AddUsersToWorkGroupResponse> {
|
|
276
|
+
return this.request("AddUsersToWorkGroup", req, cb)
|
|
305
277
|
}
|
|
306
278
|
|
|
307
279
|
/**
|
|
@@ -314,6 +286,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
314
286
|
return this.request("AlterDMSTable", req, cb)
|
|
315
287
|
}
|
|
316
288
|
|
|
289
|
+
/**
|
|
290
|
+
* 本接口(DescribeForbiddenTablePro)用于获取被禁用的表属性列表
|
|
291
|
+
*/
|
|
292
|
+
async DescribeForbiddenTablePro(
|
|
293
|
+
req?: DescribeForbiddenTableProRequest,
|
|
294
|
+
cb?: (error: string, rep: DescribeForbiddenTableProResponse) => void
|
|
295
|
+
): Promise<DescribeForbiddenTableProResponse> {
|
|
296
|
+
return this.request("DescribeForbiddenTablePro", req, cb)
|
|
297
|
+
}
|
|
298
|
+
|
|
317
299
|
/**
|
|
318
300
|
* 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
|
319
301
|
*/
|
|
@@ -324,96 +306,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
324
306
|
return this.request("DescribeNotebookSession", req, cb)
|
|
325
307
|
}
|
|
326
308
|
|
|
327
|
-
/**
|
|
328
|
-
* 本接口(CancelNotebookSessionStatement)用于取消session statement
|
|
329
|
-
*/
|
|
330
|
-
async CancelNotebookSessionStatement(
|
|
331
|
-
req: CancelNotebookSessionStatementRequest,
|
|
332
|
-
cb?: (error: string, rep: CancelNotebookSessionStatementResponse) => void
|
|
333
|
-
): Promise<CancelNotebookSessionStatementResponse> {
|
|
334
|
-
return this.request("CancelNotebookSessionStatement", req, cb)
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* DMS元数据新增分区
|
|
339
|
-
*/
|
|
340
|
-
async AddDMSPartitions(
|
|
341
|
-
req: AddDMSPartitionsRequest,
|
|
342
|
-
cb?: (error: string, rep: AddDMSPartitionsResponse) => void
|
|
343
|
-
): Promise<AddDMSPartitionsResponse> {
|
|
344
|
-
return this.request("AddDMSPartitions", req, cb)
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* 该接口(DeleteScript)用于删除sql脚本。
|
|
349
|
-
*/
|
|
350
|
-
async DeleteScript(
|
|
351
|
-
req: DeleteScriptRequest,
|
|
352
|
-
cb?: (error: string, rep: DeleteScriptResponse) => void
|
|
353
|
-
): Promise<DeleteScriptResponse> {
|
|
354
|
-
return this.request("DeleteScript", req, cb)
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* 元数据锁
|
|
359
|
-
*/
|
|
360
|
-
async LockMetaData(
|
|
361
|
-
req: LockMetaDataRequest,
|
|
362
|
-
cb?: (error: string, rep: LockMetaDataResponse) => void
|
|
363
|
-
): Promise<LockMetaDataResponse> {
|
|
364
|
-
return this.request("LockMetaData", req, cb)
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* 本接口(CreateTable)用于生成建表SQL。
|
|
369
|
-
*/
|
|
370
|
-
async CreateTable(
|
|
371
|
-
req: CreateTableRequest,
|
|
372
|
-
cb?: (error: string, rep: CreateTableResponse) => void
|
|
373
|
-
): Promise<CreateTableResponse> {
|
|
374
|
-
return this.request("CreateTable", req, cb)
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* 查询任务结果
|
|
379
|
-
*/
|
|
380
|
-
async DescribeTaskResult(
|
|
381
|
-
req: DescribeTaskResultRequest,
|
|
382
|
-
cb?: (error: string, rep: DescribeTaskResultResponse) => void
|
|
383
|
-
): Promise<DescribeTaskResultResponse> {
|
|
384
|
-
return this.request("DescribeTaskResult", req, cb)
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* 本接口(CancelNotebookSessionStatementBatch)用于按批取消Session statement。
|
|
389
|
-
*/
|
|
390
|
-
async CancelNotebookSessionStatementBatch(
|
|
391
|
-
req: CancelNotebookSessionStatementBatchRequest,
|
|
392
|
-
cb?: (error: string, rep: CancelNotebookSessionStatementBatchResponse) => void
|
|
393
|
-
): Promise<CancelNotebookSessionStatementBatchResponse> {
|
|
394
|
-
return this.request("CancelNotebookSessionStatementBatch", req, cb)
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* 更新spark应用
|
|
399
|
-
*/
|
|
400
|
-
async ModifySparkApp(
|
|
401
|
-
req: ModifySparkAppRequest,
|
|
402
|
-
cb?: (error: string, rep: ModifySparkAppResponse) => void
|
|
403
|
-
): Promise<ModifySparkAppResponse> {
|
|
404
|
-
return this.request("ModifySparkApp", req, cb)
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* 删除spark应用
|
|
409
|
-
*/
|
|
410
|
-
async DeleteSparkApp(
|
|
411
|
-
req: DeleteSparkAppRequest,
|
|
412
|
-
cb?: (error: string, rep: DeleteSparkAppResponse) => void
|
|
413
|
-
): Promise<DeleteSparkAppResponse> {
|
|
414
|
-
return this.request("DeleteSparkApp", req, cb)
|
|
415
|
-
}
|
|
416
|
-
|
|
417
309
|
/**
|
|
418
310
|
* 本接口(CreateNotebookSession)用于创建notebook livy session
|
|
419
311
|
*/
|
|
@@ -424,36 +316,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
424
316
|
return this.request("CreateNotebookSession", req, cb)
|
|
425
317
|
}
|
|
426
318
|
|
|
427
|
-
/**
|
|
428
|
-
* 本接口(CreateTasks),用于批量创建任务
|
|
429
|
-
*/
|
|
430
|
-
async CreateTasks(
|
|
431
|
-
req: CreateTasksRequest,
|
|
432
|
-
cb?: (error: string, rep: CreateTasksResponse) => void
|
|
433
|
-
): Promise<CreateTasksResponse> {
|
|
434
|
-
return this.request("CreateTasks", req, cb)
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* 该接口(DescribeScripts)用于获取所有SQL查询。
|
|
439
|
-
*/
|
|
440
|
-
async DescribeScripts(
|
|
441
|
-
req: DescribeScriptsRequest,
|
|
442
|
-
cb?: (error: string, rep: DescribeScriptsResponse) => void
|
|
443
|
-
): Promise<DescribeScriptsResponse> {
|
|
444
|
-
return this.request("DescribeScripts", req, cb)
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* 查询具体的spark应用
|
|
449
|
-
*/
|
|
450
|
-
async DescribeSparkAppJob(
|
|
451
|
-
req: DescribeSparkAppJobRequest,
|
|
452
|
-
cb?: (error: string, rep: DescribeSparkAppJobResponse) => void
|
|
453
|
-
): Promise<DescribeSparkAppJobResponse> {
|
|
454
|
-
return this.request("DescribeSparkAppJob", req, cb)
|
|
455
|
-
}
|
|
456
|
-
|
|
457
319
|
/**
|
|
458
320
|
* 删除工作组
|
|
459
321
|
*/
|
|
@@ -474,26 +336,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
474
336
|
return this.request("UnlockMetaData", req, cb)
|
|
475
337
|
}
|
|
476
338
|
|
|
477
|
-
/**
|
|
478
|
-
* 查询结果下载任务
|
|
479
|
-
*/
|
|
480
|
-
async DescribeResultDownload(
|
|
481
|
-
req: DescribeResultDownloadRequest,
|
|
482
|
-
cb?: (error: string, rep: DescribeResultDownloadResponse) => void
|
|
483
|
-
): Promise<DescribeResultDownloadResponse> {
|
|
484
|
-
return this.request("DescribeResultDownload", req, cb)
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* 本接口(DescribeDataEngines)用于获取DataEngines信息列表
|
|
489
|
-
*/
|
|
490
|
-
async DescribeDataEngines(
|
|
491
|
-
req: DescribeDataEnginesRequest,
|
|
492
|
-
cb?: (error: string, rep: DescribeDataEnginesResponse) => void
|
|
493
|
-
): Promise<DescribeDataEnginesResponse> {
|
|
494
|
-
return this.request("DescribeDataEngines", req, cb)
|
|
495
|
-
}
|
|
496
|
-
|
|
497
339
|
/**
|
|
498
340
|
* 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
|
|
499
341
|
*/
|
|
@@ -504,46 +346,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
504
346
|
return this.request("CreateStoreLocation", req, cb)
|
|
505
347
|
}
|
|
506
348
|
|
|
507
|
-
/**
|
|
508
|
-
* DMS元数据获取表
|
|
509
|
-
*/
|
|
510
|
-
async DescribeDMSTable(
|
|
511
|
-
req: DescribeDMSTableRequest,
|
|
512
|
-
cb?: (error: string, rep: DescribeDMSTableResponse) => void
|
|
513
|
-
): Promise<DescribeDMSTableResponse> {
|
|
514
|
-
return this.request("DescribeDMSTable", req, cb)
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* 从工作组中删除用户
|
|
519
|
-
*/
|
|
520
|
-
async DeleteUsersFromWorkGroup(
|
|
521
|
-
req: DeleteUsersFromWorkGroupRequest,
|
|
522
|
-
cb?: (error: string, rep: DeleteUsersFromWorkGroupResponse) => void
|
|
523
|
-
): Promise<DeleteUsersFromWorkGroupResponse> {
|
|
524
|
-
return this.request("DeleteUsersFromWorkGroup", req, cb)
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* 上报元数据心跳
|
|
529
|
-
*/
|
|
530
|
-
async ReportHeartbeatMetaData(
|
|
531
|
-
req: ReportHeartbeatMetaDataRequest,
|
|
532
|
-
cb?: (error: string, rep: ReportHeartbeatMetaDataResponse) => void
|
|
533
|
-
): Promise<ReportHeartbeatMetaDataResponse> {
|
|
534
|
-
return this.request("ReportHeartbeatMetaData", req, cb)
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* 创建工作组
|
|
539
|
-
*/
|
|
540
|
-
async CreateWorkGroup(
|
|
541
|
-
req: CreateWorkGroupRequest,
|
|
542
|
-
cb?: (error: string, rep: CreateWorkGroupResponse) => void
|
|
543
|
-
): Promise<CreateWorkGroupResponse> {
|
|
544
|
-
return this.request("CreateWorkGroup", req, cb)
|
|
545
|
-
}
|
|
546
|
-
|
|
547
349
|
/**
|
|
548
350
|
* 本接口(CreateNotebookSessionStatementSupportBatchSQL)用于创建Statement批量运行SQL任务。
|
|
549
351
|
*/
|
|
@@ -554,16 +356,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
554
356
|
return this.request("CreateNotebookSessionStatementSupportBatchSQL", req, cb)
|
|
555
357
|
}
|
|
556
358
|
|
|
557
|
-
/**
|
|
558
|
-
* 本接口(DescribeNotebookSessionLog)用于获取notebook livy session日志
|
|
559
|
-
*/
|
|
560
|
-
async DescribeNotebookSessionLog(
|
|
561
|
-
req: DescribeNotebookSessionLogRequest,
|
|
562
|
-
cb?: (error: string, rep: DescribeNotebookSessionLogResponse) => void
|
|
563
|
-
): Promise<DescribeNotebookSessionLogResponse> {
|
|
564
|
-
return this.request("DescribeNotebookSessionLog", req, cb)
|
|
565
|
-
}
|
|
566
|
-
|
|
567
359
|
/**
|
|
568
360
|
* 切换主备集群
|
|
569
361
|
*/
|
|
@@ -585,183 +377,173 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
585
377
|
}
|
|
586
378
|
|
|
587
379
|
/**
|
|
588
|
-
*
|
|
380
|
+
* DMS元数据获取分区
|
|
589
381
|
*/
|
|
590
|
-
async
|
|
591
|
-
req:
|
|
592
|
-
cb?: (error: string, rep:
|
|
593
|
-
): Promise<
|
|
594
|
-
return this.request("
|
|
382
|
+
async DescribeDMSPartitions(
|
|
383
|
+
req: DescribeDMSPartitionsRequest,
|
|
384
|
+
cb?: (error: string, rep: DescribeDMSPartitionsResponse) => void
|
|
385
|
+
): Promise<DescribeDMSPartitionsResponse> {
|
|
386
|
+
return this.request("DescribeDMSPartitions", req, cb)
|
|
595
387
|
}
|
|
596
388
|
|
|
597
389
|
/**
|
|
598
|
-
*
|
|
390
|
+
* 查询任务结果
|
|
599
391
|
*/
|
|
600
|
-
async
|
|
601
|
-
req:
|
|
602
|
-
cb?: (error: string, rep:
|
|
603
|
-
): Promise<
|
|
604
|
-
return this.request("
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* 本接口(DeleteNotebookSession)用于删除notebook livy session
|
|
609
|
-
*/
|
|
610
|
-
async DeleteNotebookSession(
|
|
611
|
-
req: DeleteNotebookSessionRequest,
|
|
612
|
-
cb?: (error: string, rep: DeleteNotebookSessionResponse) => void
|
|
613
|
-
): Promise<DeleteNotebookSessionResponse> {
|
|
614
|
-
return this.request("DeleteNotebookSession", req, cb)
|
|
392
|
+
async DescribeTaskResult(
|
|
393
|
+
req: DescribeTaskResultRequest,
|
|
394
|
+
cb?: (error: string, rep: DescribeTaskResultResponse) => void
|
|
395
|
+
): Promise<DescribeTaskResultResponse> {
|
|
396
|
+
return this.request("DescribeTaskResult", req, cb)
|
|
615
397
|
}
|
|
616
398
|
|
|
617
399
|
/**
|
|
618
|
-
*
|
|
400
|
+
* DMS元数据获取表列表
|
|
619
401
|
*/
|
|
620
|
-
async
|
|
621
|
-
req:
|
|
622
|
-
cb?: (error: string, rep:
|
|
623
|
-
): Promise<
|
|
624
|
-
return this.request("
|
|
402
|
+
async DescribeDMSTables(
|
|
403
|
+
req: DescribeDMSTablesRequest,
|
|
404
|
+
cb?: (error: string, rep: DescribeDMSTablesResponse) => void
|
|
405
|
+
): Promise<DescribeDMSTablesResponse> {
|
|
406
|
+
return this.request("DescribeDMSTables", req, cb)
|
|
625
407
|
}
|
|
626
408
|
|
|
627
409
|
/**
|
|
628
|
-
*
|
|
410
|
+
* 该接口(DescribleTasks)用于查询任务列表
|
|
629
411
|
*/
|
|
630
|
-
async
|
|
631
|
-
req:
|
|
632
|
-
cb?: (error: string, rep:
|
|
633
|
-
): Promise<
|
|
634
|
-
return this.request("
|
|
412
|
+
async DescribeTasks(
|
|
413
|
+
req: DescribeTasksRequest,
|
|
414
|
+
cb?: (error: string, rep: DescribeTasksResponse) => void
|
|
415
|
+
): Promise<DescribeTasksResponse> {
|
|
416
|
+
return this.request("DescribeTasks", req, cb)
|
|
635
417
|
}
|
|
636
418
|
|
|
637
419
|
/**
|
|
638
|
-
*
|
|
420
|
+
* 该接口(DeleteScript)用于删除sql脚本。
|
|
639
421
|
*/
|
|
640
|
-
async
|
|
641
|
-
req:
|
|
642
|
-
cb?: (error: string, rep:
|
|
643
|
-
): Promise<
|
|
644
|
-
return this.request("
|
|
422
|
+
async DeleteScript(
|
|
423
|
+
req: DeleteScriptRequest,
|
|
424
|
+
cb?: (error: string, rep: DeleteScriptResponse) => void
|
|
425
|
+
): Promise<DeleteScriptResponse> {
|
|
426
|
+
return this.request("DeleteScript", req, cb)
|
|
645
427
|
}
|
|
646
428
|
|
|
647
429
|
/**
|
|
648
|
-
*
|
|
430
|
+
* 创建spark任务
|
|
649
431
|
*/
|
|
650
|
-
async
|
|
651
|
-
req:
|
|
652
|
-
cb?: (error: string, rep:
|
|
653
|
-
): Promise<
|
|
654
|
-
return this.request("
|
|
432
|
+
async CreateSparkAppTask(
|
|
433
|
+
req: CreateSparkAppTaskRequest,
|
|
434
|
+
cb?: (error: string, rep: CreateSparkAppTaskResponse) => void
|
|
435
|
+
): Promise<CreateSparkAppTaskResponse> {
|
|
436
|
+
return this.request("CreateSparkAppTask", req, cb)
|
|
655
437
|
}
|
|
656
438
|
|
|
657
439
|
/**
|
|
658
|
-
*
|
|
440
|
+
* 查询托管存储指定目录的Summary
|
|
659
441
|
*/
|
|
660
|
-
async
|
|
661
|
-
req
|
|
662
|
-
cb?: (error: string, rep:
|
|
663
|
-
): Promise<
|
|
664
|
-
return this.request("
|
|
442
|
+
async DescribeLakeFsDirSummary(
|
|
443
|
+
req?: DescribeLakeFsDirSummaryRequest,
|
|
444
|
+
cb?: (error: string, rep: DescribeLakeFsDirSummaryResponse) => void
|
|
445
|
+
): Promise<DescribeLakeFsDirSummaryResponse> {
|
|
446
|
+
return this.request("DescribeLakeFsDirSummary", req, cb)
|
|
665
447
|
}
|
|
666
448
|
|
|
667
449
|
/**
|
|
668
|
-
* 本接口(
|
|
450
|
+
* 本接口(DescribeDatabases)用于查询数据库列表。
|
|
669
451
|
*/
|
|
670
|
-
async
|
|
671
|
-
req:
|
|
672
|
-
cb?: (error: string, rep:
|
|
673
|
-
): Promise<
|
|
674
|
-
return this.request("
|
|
452
|
+
async DescribeDatabases(
|
|
453
|
+
req: DescribeDatabasesRequest,
|
|
454
|
+
cb?: (error: string, rep: DescribeDatabasesResponse) => void
|
|
455
|
+
): Promise<DescribeDatabasesResponse> {
|
|
456
|
+
return this.request("DescribeDatabases", req, cb)
|
|
675
457
|
}
|
|
676
458
|
|
|
677
459
|
/**
|
|
678
|
-
*
|
|
460
|
+
* 本接口(DescribeNotebookSessions)用于获取notebook livy session列表
|
|
679
461
|
*/
|
|
680
|
-
async
|
|
681
|
-
req:
|
|
682
|
-
cb?: (error: string, rep:
|
|
683
|
-
): Promise<
|
|
684
|
-
return this.request("
|
|
462
|
+
async DescribeNotebookSessions(
|
|
463
|
+
req: DescribeNotebookSessionsRequest,
|
|
464
|
+
cb?: (error: string, rep: DescribeNotebookSessionsResponse) => void
|
|
465
|
+
): Promise<DescribeNotebookSessionsResponse> {
|
|
466
|
+
return this.request("DescribeNotebookSessions", req, cb)
|
|
685
467
|
}
|
|
686
468
|
|
|
687
469
|
/**
|
|
688
|
-
*
|
|
470
|
+
* 创建用户
|
|
689
471
|
*/
|
|
690
|
-
async
|
|
691
|
-
req:
|
|
692
|
-
cb?: (error: string, rep:
|
|
693
|
-
): Promise<
|
|
694
|
-
return this.request("
|
|
472
|
+
async CreateUser(
|
|
473
|
+
req: CreateUserRequest,
|
|
474
|
+
cb?: (error: string, rep: CreateUserResponse) => void
|
|
475
|
+
): Promise<CreateUserResponse> {
|
|
476
|
+
return this.request("CreateUser", req, cb)
|
|
695
477
|
}
|
|
696
478
|
|
|
697
479
|
/**
|
|
698
|
-
*
|
|
480
|
+
* 本接口(DescribeTables)用于查询数据表列表。
|
|
699
481
|
*/
|
|
700
|
-
async
|
|
701
|
-
req:
|
|
702
|
-
cb?: (error: string, rep:
|
|
703
|
-
): Promise<
|
|
704
|
-
return this.request("
|
|
482
|
+
async DescribeTables(
|
|
483
|
+
req: DescribeTablesRequest,
|
|
484
|
+
cb?: (error: string, rep: DescribeTablesResponse) => void
|
|
485
|
+
): Promise<DescribeTablesResponse> {
|
|
486
|
+
return this.request("DescribeTables", req, cb)
|
|
705
487
|
}
|
|
706
488
|
|
|
707
489
|
/**
|
|
708
|
-
* DMS
|
|
490
|
+
* DMS元数据更新分区
|
|
709
491
|
*/
|
|
710
|
-
async
|
|
711
|
-
req:
|
|
712
|
-
cb?: (error: string, rep:
|
|
713
|
-
): Promise<
|
|
714
|
-
return this.request("
|
|
492
|
+
async AlterDMSPartition(
|
|
493
|
+
req: AlterDMSPartitionRequest,
|
|
494
|
+
cb?: (error: string, rep: AlterDMSPartitionResponse) => void
|
|
495
|
+
): Promise<AlterDMSPartitionResponse> {
|
|
496
|
+
return this.request("AlterDMSPartition", req, cb)
|
|
715
497
|
}
|
|
716
498
|
|
|
717
499
|
/**
|
|
718
|
-
*
|
|
500
|
+
* 元数据锁
|
|
719
501
|
*/
|
|
720
|
-
async
|
|
721
|
-
req:
|
|
722
|
-
cb?: (error: string, rep:
|
|
723
|
-
): Promise<
|
|
724
|
-
return this.request("
|
|
502
|
+
async LockMetaData(
|
|
503
|
+
req: LockMetaDataRequest,
|
|
504
|
+
cb?: (error: string, rep: LockMetaDataResponse) => void
|
|
505
|
+
): Promise<LockMetaDataResponse> {
|
|
506
|
+
return this.request("LockMetaData", req, cb)
|
|
725
507
|
}
|
|
726
508
|
|
|
727
509
|
/**
|
|
728
|
-
*
|
|
510
|
+
* 获取spark应用列表
|
|
729
511
|
*/
|
|
730
|
-
async
|
|
731
|
-
req:
|
|
732
|
-
cb?: (error: string, rep:
|
|
733
|
-
): Promise<
|
|
734
|
-
return this.request("
|
|
512
|
+
async DescribeSparkAppJobs(
|
|
513
|
+
req: DescribeSparkAppJobsRequest,
|
|
514
|
+
cb?: (error: string, rep: DescribeSparkAppJobsResponse) => void
|
|
515
|
+
): Promise<DescribeSparkAppJobsResponse> {
|
|
516
|
+
return this.request("DescribeSparkAppJobs", req, cb)
|
|
735
517
|
}
|
|
736
518
|
|
|
737
519
|
/**
|
|
738
|
-
*
|
|
520
|
+
* 获取用户列表信息
|
|
739
521
|
*/
|
|
740
|
-
async
|
|
741
|
-
req:
|
|
742
|
-
cb?: (error: string, rep:
|
|
743
|
-
): Promise<
|
|
744
|
-
return this.request("
|
|
522
|
+
async DescribeUsers(
|
|
523
|
+
req: DescribeUsersRequest,
|
|
524
|
+
cb?: (error: string, rep: DescribeUsersResponse) => void
|
|
525
|
+
): Promise<DescribeUsersResponse> {
|
|
526
|
+
return this.request("DescribeUsers", req, cb)
|
|
745
527
|
}
|
|
746
528
|
|
|
747
529
|
/**
|
|
748
|
-
*
|
|
530
|
+
* 本接口(CreateTasks),用于批量创建任务
|
|
749
531
|
*/
|
|
750
|
-
async
|
|
751
|
-
req:
|
|
752
|
-
cb?: (error: string, rep:
|
|
753
|
-
): Promise<
|
|
754
|
-
return this.request("
|
|
532
|
+
async CreateTasks(
|
|
533
|
+
req: CreateTasksRequest,
|
|
534
|
+
cb?: (error: string, rep: CreateTasksResponse) => void
|
|
535
|
+
): Promise<CreateTasksResponse> {
|
|
536
|
+
return this.request("CreateTasks", req, cb)
|
|
755
537
|
}
|
|
756
538
|
|
|
757
539
|
/**
|
|
758
|
-
*
|
|
540
|
+
* 该接口(DescribeScripts)用于获取所有SQL查询。
|
|
759
541
|
*/
|
|
760
|
-
async
|
|
761
|
-
req:
|
|
762
|
-
cb?: (error: string, rep:
|
|
763
|
-
): Promise<
|
|
764
|
-
return this.request("
|
|
542
|
+
async DescribeScripts(
|
|
543
|
+
req: DescribeScriptsRequest,
|
|
544
|
+
cb?: (error: string, rep: DescribeScriptsResponse) => void
|
|
545
|
+
): Promise<DescribeScriptsResponse> {
|
|
546
|
+
return this.request("DescribeScripts", req, cb)
|
|
765
547
|
}
|
|
766
548
|
|
|
767
549
|
/**
|
|
@@ -774,6 +556,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
774
556
|
return this.request("ModifyWorkGroup", req, cb)
|
|
775
557
|
}
|
|
776
558
|
|
|
559
|
+
/**
|
|
560
|
+
* 上报元数据心跳
|
|
561
|
+
*/
|
|
562
|
+
async ReportHeartbeatMetaData(
|
|
563
|
+
req: ReportHeartbeatMetaDataRequest,
|
|
564
|
+
cb?: (error: string, rep: ReportHeartbeatMetaDataResponse) => void
|
|
565
|
+
): Promise<ReportHeartbeatMetaDataResponse> {
|
|
566
|
+
return this.request("ReportHeartbeatMetaData", req, cb)
|
|
567
|
+
}
|
|
568
|
+
|
|
777
569
|
/**
|
|
778
570
|
* 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
|
|
779
571
|
*/
|
|
@@ -785,83 +577,63 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
785
577
|
}
|
|
786
578
|
|
|
787
579
|
/**
|
|
788
|
-
*
|
|
580
|
+
* 创建托管存储内表(该接口已废弃)
|
|
789
581
|
*/
|
|
790
|
-
async
|
|
791
|
-
req:
|
|
792
|
-
cb?: (error: string, rep:
|
|
793
|
-
): Promise<
|
|
794
|
-
return this.request("
|
|
582
|
+
async CreateInternalTable(
|
|
583
|
+
req: CreateInternalTableRequest,
|
|
584
|
+
cb?: (error: string, rep: CreateInternalTableResponse) => void
|
|
585
|
+
): Promise<CreateInternalTableResponse> {
|
|
586
|
+
return this.request("CreateInternalTable", req, cb)
|
|
795
587
|
}
|
|
796
588
|
|
|
797
589
|
/**
|
|
798
|
-
*
|
|
590
|
+
* 生成创建托管表语句
|
|
799
591
|
*/
|
|
800
|
-
async
|
|
801
|
-
req:
|
|
802
|
-
cb?: (error: string, rep:
|
|
803
|
-
): Promise<
|
|
804
|
-
return this.request("
|
|
592
|
+
async GenerateCreateMangedTableSql(
|
|
593
|
+
req: GenerateCreateMangedTableSqlRequest,
|
|
594
|
+
cb?: (error: string, rep: GenerateCreateMangedTableSqlResponse) => void
|
|
595
|
+
): Promise<GenerateCreateMangedTableSqlResponse> {
|
|
596
|
+
return this.request("GenerateCreateMangedTableSql", req, cb)
|
|
805
597
|
}
|
|
806
598
|
|
|
807
599
|
/**
|
|
808
|
-
*
|
|
600
|
+
* 绑定鉴权策略到工作组
|
|
809
601
|
*/
|
|
810
|
-
async
|
|
811
|
-
req:
|
|
812
|
-
cb?: (error: string, rep:
|
|
813
|
-
): Promise<
|
|
814
|
-
return this.request("
|
|
602
|
+
async AttachWorkGroupPolicy(
|
|
603
|
+
req: AttachWorkGroupPolicyRequest,
|
|
604
|
+
cb?: (error: string, rep: AttachWorkGroupPolicyResponse) => void
|
|
605
|
+
): Promise<AttachWorkGroupPolicyResponse> {
|
|
606
|
+
return this.request("AttachWorkGroupPolicy", req, cb)
|
|
815
607
|
}
|
|
816
608
|
|
|
817
609
|
/**
|
|
818
|
-
*
|
|
610
|
+
* 创建spark应用
|
|
819
611
|
*/
|
|
820
|
-
async
|
|
821
|
-
req:
|
|
822
|
-
cb?: (error: string, rep:
|
|
823
|
-
): Promise<
|
|
824
|
-
return this.request("
|
|
612
|
+
async CreateSparkApp(
|
|
613
|
+
req: CreateSparkAppRequest,
|
|
614
|
+
cb?: (error: string, rep: CreateSparkAppResponse) => void
|
|
615
|
+
): Promise<CreateSparkAppResponse> {
|
|
616
|
+
return this.request("CreateSparkApp", req, cb)
|
|
825
617
|
}
|
|
826
618
|
|
|
827
619
|
/**
|
|
828
|
-
*
|
|
620
|
+
* 本接口(CreateDatabase)用于生成建库SQL语句。
|
|
829
621
|
*/
|
|
830
|
-
async
|
|
831
|
-
req:
|
|
832
|
-
cb?: (error: string, rep:
|
|
833
|
-
): Promise<
|
|
834
|
-
return this.request("
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* DMS元数据获取库
|
|
839
|
-
*/
|
|
840
|
-
async DescribeDMSDatabase(
|
|
841
|
-
req: DescribeDMSDatabaseRequest,
|
|
842
|
-
cb?: (error: string, rep: DescribeDMSDatabaseResponse) => void
|
|
843
|
-
): Promise<DescribeDMSDatabaseResponse> {
|
|
844
|
-
return this.request("DescribeDMSDatabase", req, cb)
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* 该接口(DescribleTasks)用于查询任务列表
|
|
849
|
-
*/
|
|
850
|
-
async DescribeTasks(
|
|
851
|
-
req: DescribeTasksRequest,
|
|
852
|
-
cb?: (error: string, rep: DescribeTasksResponse) => void
|
|
853
|
-
): Promise<DescribeTasksResponse> {
|
|
854
|
-
return this.request("DescribeTasks", req, cb)
|
|
622
|
+
async CreateDatabase(
|
|
623
|
+
req: CreateDatabaseRequest,
|
|
624
|
+
cb?: (error: string, rep: CreateDatabaseResponse) => void
|
|
625
|
+
): Promise<CreateDatabaseResponse> {
|
|
626
|
+
return this.request("CreateDatabase", req, cb)
|
|
855
627
|
}
|
|
856
628
|
|
|
857
629
|
/**
|
|
858
|
-
*
|
|
630
|
+
* 本接口(DescribeNotebookSessionStatements)用于获取Session Statement列表。
|
|
859
631
|
*/
|
|
860
|
-
async
|
|
861
|
-
req:
|
|
862
|
-
cb?: (error: string, rep:
|
|
863
|
-
): Promise<
|
|
864
|
-
return this.request("
|
|
632
|
+
async DescribeNotebookSessionStatements(
|
|
633
|
+
req: DescribeNotebookSessionStatementsRequest,
|
|
634
|
+
cb?: (error: string, rep: DescribeNotebookSessionStatementsResponse) => void
|
|
635
|
+
): Promise<DescribeNotebookSessionStatementsResponse> {
|
|
636
|
+
return this.request("DescribeNotebookSessionStatements", req, cb)
|
|
865
637
|
}
|
|
866
638
|
|
|
867
639
|
/**
|
|
@@ -874,96 +646,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
874
646
|
return this.request("SuspendResumeDataEngine", req, cb)
|
|
875
647
|
}
|
|
876
648
|
|
|
877
|
-
/**
|
|
878
|
-
* 创建spark任务
|
|
879
|
-
*/
|
|
880
|
-
async CreateSparkAppTask(
|
|
881
|
-
req: CreateSparkAppTaskRequest,
|
|
882
|
-
cb?: (error: string, rep: CreateSparkAppTaskResponse) => void
|
|
883
|
-
): Promise<CreateSparkAppTaskResponse> {
|
|
884
|
-
return this.request("CreateSparkAppTask", req, cb)
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* DMS元数据删除分区
|
|
889
|
-
*/
|
|
890
|
-
async DropDMSPartitions(
|
|
891
|
-
req: DropDMSPartitionsRequest,
|
|
892
|
-
cb?: (error: string, rep: DropDMSPartitionsResponse) => void
|
|
893
|
-
): Promise<DropDMSPartitionsResponse> {
|
|
894
|
-
return this.request("DropDMSPartitions", req, cb)
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* 修改用户信息
|
|
899
|
-
*/
|
|
900
|
-
async ModifyUser(
|
|
901
|
-
req: ModifyUserRequest,
|
|
902
|
-
cb?: (error: string, rep: ModifyUserResponse) => void
|
|
903
|
-
): Promise<ModifyUserResponse> {
|
|
904
|
-
return this.request("ModifyUser", req, cb)
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* 删除用户
|
|
909
|
-
*/
|
|
910
|
-
async DeleteUser(
|
|
911
|
-
req: DeleteUserRequest,
|
|
912
|
-
cb?: (error: string, rep: DeleteUserResponse) => void
|
|
913
|
-
): Promise<DeleteUserResponse> {
|
|
914
|
-
return this.request("DeleteUser", req, cb)
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* 查询托管存储指定目录的Summary
|
|
919
|
-
*/
|
|
920
|
-
async DescribeLakeFsDirSummary(
|
|
921
|
-
req?: DescribeLakeFsDirSummaryRequest,
|
|
922
|
-
cb?: (error: string, rep: DescribeLakeFsDirSummaryResponse) => void
|
|
923
|
-
): Promise<DescribeLakeFsDirSummaryResponse> {
|
|
924
|
-
return this.request("DescribeLakeFsDirSummary", req, cb)
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* 本接口根据引擎ID获取数据引擎资源使用情况
|
|
929
|
-
*/
|
|
930
|
-
async DescribeEngineUsageInfo(
|
|
931
|
-
req: DescribeEngineUsageInfoRequest,
|
|
932
|
-
cb?: (error: string, rep: DescribeEngineUsageInfoResponse) => void
|
|
933
|
-
): Promise<DescribeEngineUsageInfoResponse> {
|
|
934
|
-
return this.request("DescribeEngineUsageInfo", req, cb)
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* 本接口(DescribeDatabases)用于查询数据库列表。
|
|
939
|
-
*/
|
|
940
|
-
async DescribeDatabases(
|
|
941
|
-
req: DescribeDatabasesRequest,
|
|
942
|
-
cb?: (error: string, rep: DescribeDatabasesResponse) => void
|
|
943
|
-
): Promise<DescribeDatabasesResponse> {
|
|
944
|
-
return this.request("DescribeDatabases", req, cb)
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* 添加用户到工作组
|
|
949
|
-
*/
|
|
950
|
-
async AddUsersToWorkGroup(
|
|
951
|
-
req: AddUsersToWorkGroupRequest,
|
|
952
|
-
cb?: (error: string, rep: AddUsersToWorkGroupResponse) => void
|
|
953
|
-
): Promise<AddUsersToWorkGroupResponse> {
|
|
954
|
-
return this.request("AddUsersToWorkGroup", req, cb)
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* 查询计算结果存储位置。
|
|
959
|
-
*/
|
|
960
|
-
async DescribeStoreLocation(
|
|
961
|
-
req?: DescribeStoreLocationRequest,
|
|
962
|
-
cb?: (error: string, rep: DescribeStoreLocationResponse) => void
|
|
963
|
-
): Promise<DescribeStoreLocationResponse> {
|
|
964
|
-
return this.request("DescribeStoreLocation", req, cb)
|
|
965
|
-
}
|
|
966
|
-
|
|
967
649
|
/**
|
|
968
650
|
* DMS元数据创建库
|
|
969
651
|
*/
|
|
@@ -974,16 +656,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
974
656
|
return this.request("CreateDMSDatabase", req, cb)
|
|
975
657
|
}
|
|
976
658
|
|
|
977
|
-
/**
|
|
978
|
-
* DMS元数据更新分区
|
|
979
|
-
*/
|
|
980
|
-
async AlterDMSPartition(
|
|
981
|
-
req: AlterDMSPartitionRequest,
|
|
982
|
-
cb?: (error: string, rep: AlterDMSPartitionResponse) => void
|
|
983
|
-
): Promise<AlterDMSPartitionResponse> {
|
|
984
|
-
return this.request("AlterDMSPartition", req, cb)
|
|
985
|
-
}
|
|
986
|
-
|
|
987
659
|
/**
|
|
988
660
|
* 绑定鉴权策略到用户
|
|
989
661
|
*/
|
|
@@ -995,13 +667,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
995
667
|
}
|
|
996
668
|
|
|
997
669
|
/**
|
|
998
|
-
*
|
|
670
|
+
* 修改数据治理事件阈值
|
|
999
671
|
*/
|
|
1000
|
-
async
|
|
1001
|
-
req
|
|
1002
|
-
cb?: (error: string, rep:
|
|
1003
|
-
): Promise<
|
|
1004
|
-
return this.request("
|
|
672
|
+
async ModifyGovernEventRule(
|
|
673
|
+
req?: ModifyGovernEventRuleRequest,
|
|
674
|
+
cb?: (error: string, rep: ModifyGovernEventRuleResponse) => void
|
|
675
|
+
): Promise<ModifyGovernEventRuleResponse> {
|
|
676
|
+
return this.request("ModifyGovernEventRule", req, cb)
|
|
1005
677
|
}
|
|
1006
678
|
|
|
1007
679
|
/**
|
|
@@ -1015,33 +687,33 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1015
687
|
}
|
|
1016
688
|
|
|
1017
689
|
/**
|
|
1018
|
-
*
|
|
690
|
+
* 本接口(DescribeNotebookSessionStatementSqlResult)用于获取statement运行结果。
|
|
1019
691
|
*/
|
|
1020
|
-
async
|
|
1021
|
-
req
|
|
1022
|
-
cb?: (error: string, rep:
|
|
1023
|
-
): Promise<
|
|
1024
|
-
return this.request("
|
|
692
|
+
async DescribeNotebookSessionStatementSqlResult(
|
|
693
|
+
req: DescribeNotebookSessionStatementSqlResultRequest,
|
|
694
|
+
cb?: (error: string, rep: DescribeNotebookSessionStatementSqlResultResponse) => void
|
|
695
|
+
): Promise<DescribeNotebookSessionStatementSqlResultResponse> {
|
|
696
|
+
return this.request("DescribeNotebookSessionStatementSqlResult", req, cb)
|
|
1025
697
|
}
|
|
1026
698
|
|
|
1027
699
|
/**
|
|
1028
|
-
*
|
|
700
|
+
* 本接口(CreateNotebookSessionStatement)用于创建session statement
|
|
1029
701
|
*/
|
|
1030
|
-
async
|
|
1031
|
-
req:
|
|
1032
|
-
cb?: (error: string, rep:
|
|
1033
|
-
): Promise<
|
|
1034
|
-
return this.request("
|
|
702
|
+
async CreateNotebookSessionStatement(
|
|
703
|
+
req: CreateNotebookSessionStatementRequest,
|
|
704
|
+
cb?: (error: string, rep: CreateNotebookSessionStatementResponse) => void
|
|
705
|
+
): Promise<CreateNotebookSessionStatementResponse> {
|
|
706
|
+
return this.request("CreateNotebookSessionStatement", req, cb)
|
|
1035
707
|
}
|
|
1036
708
|
|
|
1037
709
|
/**
|
|
1038
|
-
* 本接口(
|
|
710
|
+
* 本接口(DescribeDataEngines)用于获取DataEngines信息列表
|
|
1039
711
|
*/
|
|
1040
|
-
async
|
|
1041
|
-
req:
|
|
1042
|
-
cb?: (error: string, rep:
|
|
1043
|
-
): Promise<
|
|
1044
|
-
return this.request("
|
|
712
|
+
async DescribeDataEngines(
|
|
713
|
+
req: DescribeDataEnginesRequest,
|
|
714
|
+
cb?: (error: string, rep: DescribeDataEnginesResponse) => void
|
|
715
|
+
): Promise<DescribeDataEnginesResponse> {
|
|
716
|
+
return this.request("DescribeDataEngines", req, cb)
|
|
1045
717
|
}
|
|
1046
718
|
|
|
1047
719
|
/**
|
|
@@ -1055,52 +727,392 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1055
727
|
}
|
|
1056
728
|
|
|
1057
729
|
/**
|
|
1058
|
-
*
|
|
730
|
+
* DMS元数据新增分区
|
|
1059
731
|
*/
|
|
1060
|
-
async
|
|
1061
|
-
req:
|
|
1062
|
-
cb?: (error: string, rep:
|
|
1063
|
-
): Promise<
|
|
1064
|
-
return this.request("
|
|
732
|
+
async AddDMSPartitions(
|
|
733
|
+
req: AddDMSPartitionsRequest,
|
|
734
|
+
cb?: (error: string, rep: AddDMSPartitionsResponse) => void
|
|
735
|
+
): Promise<AddDMSPartitionsResponse> {
|
|
736
|
+
return this.request("AddDMSPartitions", req, cb)
|
|
1065
737
|
}
|
|
1066
738
|
|
|
1067
739
|
/**
|
|
1068
|
-
* 本接口(
|
|
740
|
+
* 本接口(CancelNotebookSessionStatementBatch)用于按批取消Session statement。
|
|
1069
741
|
*/
|
|
1070
|
-
async
|
|
1071
|
-
req:
|
|
1072
|
-
cb?: (error: string, rep:
|
|
1073
|
-
): Promise<
|
|
1074
|
-
return this.request("
|
|
742
|
+
async CancelNotebookSessionStatementBatch(
|
|
743
|
+
req: CancelNotebookSessionStatementBatchRequest,
|
|
744
|
+
cb?: (error: string, rep: CancelNotebookSessionStatementBatchResponse) => void
|
|
745
|
+
): Promise<CancelNotebookSessionStatementBatchResponse> {
|
|
746
|
+
return this.request("CancelNotebookSessionStatementBatch", req, cb)
|
|
1075
747
|
}
|
|
1076
748
|
|
|
1077
749
|
/**
|
|
1078
|
-
*
|
|
750
|
+
* 删除spark应用
|
|
1079
751
|
*/
|
|
1080
|
-
async
|
|
1081
|
-
req
|
|
1082
|
-
cb?: (error: string, rep:
|
|
1083
|
-
): Promise<
|
|
1084
|
-
return this.request("
|
|
752
|
+
async DeleteSparkApp(
|
|
753
|
+
req: DeleteSparkAppRequest,
|
|
754
|
+
cb?: (error: string, rep: DeleteSparkAppResponse) => void
|
|
755
|
+
): Promise<DeleteSparkAppResponse> {
|
|
756
|
+
return this.request("DeleteSparkApp", req, cb)
|
|
1085
757
|
}
|
|
1086
758
|
|
|
1087
759
|
/**
|
|
1088
|
-
* 本接口(
|
|
760
|
+
* 本接口(DescribeNotebookSessionLog)用于获取notebook livy session日志
|
|
1089
761
|
*/
|
|
1090
|
-
async
|
|
1091
|
-
req:
|
|
1092
|
-
cb?: (error: string, rep:
|
|
1093
|
-
): Promise<
|
|
1094
|
-
return this.request("
|
|
762
|
+
async DescribeNotebookSessionLog(
|
|
763
|
+
req: DescribeNotebookSessionLogRequest,
|
|
764
|
+
cb?: (error: string, rep: DescribeNotebookSessionLogResponse) => void
|
|
765
|
+
): Promise<DescribeNotebookSessionLogResponse> {
|
|
766
|
+
return this.request("DescribeNotebookSessionLog", req, cb)
|
|
1095
767
|
}
|
|
1096
768
|
|
|
1097
769
|
/**
|
|
1098
|
-
*
|
|
770
|
+
* 查询结果下载任务
|
|
1099
771
|
*/
|
|
1100
|
-
async
|
|
1101
|
-
req:
|
|
1102
|
-
cb?: (error: string, rep:
|
|
1103
|
-
): Promise<
|
|
1104
|
-
return this.request("
|
|
772
|
+
async DescribeResultDownload(
|
|
773
|
+
req: DescribeResultDownloadRequest,
|
|
774
|
+
cb?: (error: string, rep: DescribeResultDownloadResponse) => void
|
|
775
|
+
): Promise<DescribeResultDownloadResponse> {
|
|
776
|
+
return this.request("DescribeResultDownload", req, cb)
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* DMS元数据获取表
|
|
781
|
+
*/
|
|
782
|
+
async DescribeDMSTable(
|
|
783
|
+
req: DescribeDMSTableRequest,
|
|
784
|
+
cb?: (error: string, rep: DescribeDMSTableResponse) => void
|
|
785
|
+
): Promise<DescribeDMSTableResponse> {
|
|
786
|
+
return this.request("DescribeDMSTable", req, cb)
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* DMS元数据删除分区
|
|
791
|
+
*/
|
|
792
|
+
async DropDMSPartitions(
|
|
793
|
+
req: DropDMSPartitionsRequest,
|
|
794
|
+
cb?: (error: string, rep: DropDMSPartitionsResponse) => void
|
|
795
|
+
): Promise<DropDMSPartitionsResponse> {
|
|
796
|
+
return this.request("DropDMSPartitions", req, cb)
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* 创建工作组
|
|
801
|
+
*/
|
|
802
|
+
async CreateWorkGroup(
|
|
803
|
+
req: CreateWorkGroupRequest,
|
|
804
|
+
cb?: (error: string, rep: CreateWorkGroupResponse) => void
|
|
805
|
+
): Promise<CreateWorkGroupResponse> {
|
|
806
|
+
return this.request("CreateWorkGroup", req, cb)
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* 本接口(CancelTask),用于取消任务执行
|
|
811
|
+
*/
|
|
812
|
+
async CancelTask(
|
|
813
|
+
req: CancelTaskRequest,
|
|
814
|
+
cb?: (error: string, rep: CancelTaskResponse) => void
|
|
815
|
+
): Promise<CancelTaskResponse> {
|
|
816
|
+
return this.request("CancelTask", req, cb)
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* 更新spark应用
|
|
821
|
+
*/
|
|
822
|
+
async ModifySparkApp(
|
|
823
|
+
req: ModifySparkAppRequest,
|
|
824
|
+
cb?: (error: string, rep: ModifySparkAppResponse) => void
|
|
825
|
+
): Promise<ModifySparkAppResponse> {
|
|
826
|
+
return this.request("ModifySparkApp", req, cb)
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* 删除用户
|
|
831
|
+
*/
|
|
832
|
+
async DeleteUser(
|
|
833
|
+
req: DeleteUserRequest,
|
|
834
|
+
cb?: (error: string, rep: DeleteUserResponse) => void
|
|
835
|
+
): Promise<DeleteUserResponse> {
|
|
836
|
+
return this.request("DeleteUser", req, cb)
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* 本接口根据引擎ID获取数据引擎资源使用情况
|
|
841
|
+
*/
|
|
842
|
+
async DescribeEngineUsageInfo(
|
|
843
|
+
req: DescribeEngineUsageInfoRequest,
|
|
844
|
+
cb?: (error: string, rep: DescribeEngineUsageInfoResponse) => void
|
|
845
|
+
): Promise<DescribeEngineUsageInfoResponse> {
|
|
846
|
+
return this.request("DescribeEngineUsageInfo", req, cb)
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)
|
|
851
|
+
*/
|
|
852
|
+
async CreateTasksInOrder(
|
|
853
|
+
req: CreateTasksInOrderRequest,
|
|
854
|
+
cb?: (error: string, rep: CreateTasksInOrderResponse) => void
|
|
855
|
+
): Promise<CreateTasksInOrderResponse> {
|
|
856
|
+
return this.request("CreateTasksInOrder", req, cb)
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* 此接口用于更新行过滤规则。注意只能更新过滤规则,不能更新规格对象catalog,database和table。
|
|
861
|
+
*/
|
|
862
|
+
async UpdateRowFilter(
|
|
863
|
+
req: UpdateRowFilterRequest,
|
|
864
|
+
cb?: (error: string, rep: UpdateRowFilterResponse) => void
|
|
865
|
+
): Promise<UpdateRowFilterResponse> {
|
|
866
|
+
return this.request("UpdateRowFilter", req, cb)
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* DMS元数据创建表
|
|
871
|
+
*/
|
|
872
|
+
async CreateDMSTable(
|
|
873
|
+
req: CreateDMSTableRequest,
|
|
874
|
+
cb?: (error: string, rep: CreateDMSTableResponse) => void
|
|
875
|
+
): Promise<CreateDMSTableResponse> {
|
|
876
|
+
return this.request("CreateDMSTable", req, cb)
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* 解绑用户鉴权策略
|
|
881
|
+
*/
|
|
882
|
+
async DetachUserPolicy(
|
|
883
|
+
req: DetachUserPolicyRequest,
|
|
884
|
+
cb?: (error: string, rep: DetachUserPolicyResponse) => void
|
|
885
|
+
): Promise<DetachUserPolicyResponse> {
|
|
886
|
+
return this.request("DetachUserPolicy", req, cb)
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* 解绑工作组鉴权策略
|
|
891
|
+
*/
|
|
892
|
+
async DetachWorkGroupPolicy(
|
|
893
|
+
req: DetachWorkGroupPolicyRequest,
|
|
894
|
+
cb?: (error: string, rep: DetachWorkGroupPolicyResponse) => void
|
|
895
|
+
): Promise<DetachWorkGroupPolicyResponse> {
|
|
896
|
+
return this.request("DetachWorkGroupPolicy", req, cb)
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* DMS元数据删除表
|
|
901
|
+
*/
|
|
902
|
+
async DropDMSTable(
|
|
903
|
+
req: DropDMSTableRequest,
|
|
904
|
+
cb?: (error: string, rep: DropDMSTableResponse) => void
|
|
905
|
+
): Promise<DropDMSTableResponse> {
|
|
906
|
+
return this.request("DropDMSTable", req, cb)
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* 元数据锁检查
|
|
911
|
+
*/
|
|
912
|
+
async CheckLockMetaData(
|
|
913
|
+
req: CheckLockMetaDataRequest,
|
|
914
|
+
cb?: (error: string, rep: CheckLockMetaDataResponse) => void
|
|
915
|
+
): Promise<CheckLockMetaDataResponse> {
|
|
916
|
+
return this.request("CheckLockMetaData", req, cb)
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* 该接口(CreateImportTask)用于创建导入任务
|
|
921
|
+
*/
|
|
922
|
+
async CreateImportTask(
|
|
923
|
+
req: CreateImportTaskRequest,
|
|
924
|
+
cb?: (error: string, rep: CreateImportTaskResponse) => void
|
|
925
|
+
): Promise<CreateImportTaskResponse> {
|
|
926
|
+
return this.request("CreateImportTask", req, cb)
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* 本接口(CreateTable)用于生成建表SQL。
|
|
931
|
+
*/
|
|
932
|
+
async CreateTable(
|
|
933
|
+
req: CreateTableRequest,
|
|
934
|
+
cb?: (error: string, rep: CreateTableResponse) => void
|
|
935
|
+
): Promise<CreateTableResponse> {
|
|
936
|
+
return this.request("CreateTable", req, cb)
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* 该接口(CreateExportTask)用于创建导出任务
|
|
941
|
+
*/
|
|
942
|
+
async CreateExportTask(
|
|
943
|
+
req: CreateExportTaskRequest,
|
|
944
|
+
cb?: (error: string, rep: CreateExportTaskResponse) => void
|
|
945
|
+
): Promise<CreateExportTaskResponse> {
|
|
946
|
+
return this.request("CreateExportTask", req, cb)
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* 从工作组中删除用户
|
|
951
|
+
*/
|
|
952
|
+
async DeleteUsersFromWorkGroup(
|
|
953
|
+
req: DeleteUsersFromWorkGroupRequest,
|
|
954
|
+
cb?: (error: string, rep: DeleteUsersFromWorkGroupResponse) => void
|
|
955
|
+
): Promise<DeleteUsersFromWorkGroupResponse> {
|
|
956
|
+
return this.request("DeleteUsersFromWorkGroup", req, cb)
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* 为用户创建数据引擎
|
|
961
|
+
*/
|
|
962
|
+
async CreateDataEngine(
|
|
963
|
+
req: CreateDataEngineRequest,
|
|
964
|
+
cb?: (error: string, rep: CreateDataEngineResponse) => void
|
|
965
|
+
): Promise<CreateDataEngineResponse> {
|
|
966
|
+
return this.request("CreateDataEngine", req, cb)
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* 解绑用户上的用户组
|
|
971
|
+
*/
|
|
972
|
+
async UnbindWorkGroupsFromUser(
|
|
973
|
+
req: UnbindWorkGroupsFromUserRequest,
|
|
974
|
+
cb?: (error: string, rep: UnbindWorkGroupsFromUserResponse) => void
|
|
975
|
+
): Promise<UnbindWorkGroupsFromUserResponse> {
|
|
976
|
+
return this.request("UnbindWorkGroupsFromUser", req, cb)
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* 获取工作组列表
|
|
981
|
+
*/
|
|
982
|
+
async DescribeWorkGroups(
|
|
983
|
+
req: DescribeWorkGroupsRequest,
|
|
984
|
+
cb?: (error: string, rep: DescribeWorkGroupsResponse) => void
|
|
985
|
+
): Promise<DescribeWorkGroupsResponse> {
|
|
986
|
+
return this.request("DescribeWorkGroups", req, cb)
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* 该接口(CreateScript)用于创建sql脚本。
|
|
991
|
+
*/
|
|
992
|
+
async CreateScript(
|
|
993
|
+
req: CreateScriptRequest,
|
|
994
|
+
cb?: (error: string, rep: CreateScriptResponse) => void
|
|
995
|
+
): Promise<CreateScriptResponse> {
|
|
996
|
+
return this.request("CreateScript", req, cb)
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* 本接口(DescribeNotebookSessionStatement)用于获取session statement信息
|
|
1001
|
+
*/
|
|
1002
|
+
async DescribeNotebookSessionStatement(
|
|
1003
|
+
req: DescribeNotebookSessionStatementRequest,
|
|
1004
|
+
cb?: (error: string, rep: DescribeNotebookSessionStatementResponse) => void
|
|
1005
|
+
): Promise<DescribeNotebookSessionStatementResponse> {
|
|
1006
|
+
return this.request("DescribeNotebookSessionStatement", req, cb)
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* 本接口(DescribeTable),用于查询单个表的详细信息。
|
|
1011
|
+
*/
|
|
1012
|
+
async DescribeTable(
|
|
1013
|
+
req: DescribeTableRequest,
|
|
1014
|
+
cb?: (error: string, rep: DescribeTableResponse) => void
|
|
1015
|
+
): Promise<DescribeTableResponse> {
|
|
1016
|
+
return this.request("DescribeTable", req, cb)
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* 本接口(DescribeViews)用于查询数据视图列表。
|
|
1021
|
+
*/
|
|
1022
|
+
async DescribeViews(
|
|
1023
|
+
req: DescribeViewsRequest,
|
|
1024
|
+
cb?: (error: string, rep: DescribeViewsResponse) => void
|
|
1025
|
+
): Promise<DescribeViewsResponse> {
|
|
1026
|
+
return this.request("DescribeViews", req, cb)
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* DMS元数据获取库
|
|
1031
|
+
*/
|
|
1032
|
+
async DescribeDMSDatabase(
|
|
1033
|
+
req: DescribeDMSDatabaseRequest,
|
|
1034
|
+
cb?: (error: string, rep: DescribeDMSDatabaseResponse) => void
|
|
1035
|
+
): Promise<DescribeDMSDatabaseResponse> {
|
|
1036
|
+
return this.request("DescribeDMSDatabase", req, cb)
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* 绑定工作组到用户
|
|
1041
|
+
*/
|
|
1042
|
+
async BindWorkGroupsToUser(
|
|
1043
|
+
req: BindWorkGroupsToUserRequest,
|
|
1044
|
+
cb?: (error: string, rep: BindWorkGroupsToUserResponse) => void
|
|
1045
|
+
): Promise<BindWorkGroupsToUserResponse> {
|
|
1046
|
+
return this.request("BindWorkGroupsToUser", req, cb)
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* 修改用户信息
|
|
1051
|
+
*/
|
|
1052
|
+
async ModifyUser(
|
|
1053
|
+
req: ModifyUserRequest,
|
|
1054
|
+
cb?: (error: string, rep: ModifyUserResponse) => void
|
|
1055
|
+
): Promise<ModifyUserResponse> {
|
|
1056
|
+
return this.request("ModifyUser", req, cb)
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* 本接口(DeleteNotebookSession)用于删除notebook livy session
|
|
1061
|
+
*/
|
|
1062
|
+
async DeleteNotebookSession(
|
|
1063
|
+
req: DeleteNotebookSessionRequest,
|
|
1064
|
+
cb?: (error: string, rep: DeleteNotebookSessionResponse) => void
|
|
1065
|
+
): Promise<DeleteNotebookSessionResponse> {
|
|
1066
|
+
return this.request("DeleteNotebookSession", req, cb)
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* 本接口(CancelNotebookSessionStatement)用于取消session statement
|
|
1071
|
+
*/
|
|
1072
|
+
async CancelNotebookSessionStatement(
|
|
1073
|
+
req: CancelNotebookSessionStatementRequest,
|
|
1074
|
+
cb?: (error: string, rep: CancelNotebookSessionStatementResponse) => void
|
|
1075
|
+
): Promise<CancelNotebookSessionStatementResponse> {
|
|
1076
|
+
return this.request("CancelNotebookSessionStatement", req, cb)
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* 查询计算结果存储位置。
|
|
1081
|
+
*/
|
|
1082
|
+
async DescribeStoreLocation(
|
|
1083
|
+
req?: DescribeStoreLocationRequest,
|
|
1084
|
+
cb?: (error: string, rep: DescribeStoreLocationResponse) => void
|
|
1085
|
+
): Promise<DescribeStoreLocationResponse> {
|
|
1086
|
+
return this.request("DescribeStoreLocation", req, cb)
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* 查询具体的spark应用
|
|
1091
|
+
*/
|
|
1092
|
+
async DescribeSparkAppJob(
|
|
1093
|
+
req: DescribeSparkAppJobRequest,
|
|
1094
|
+
cb?: (error: string, rep: DescribeSparkAppJobResponse) => void
|
|
1095
|
+
): Promise<DescribeSparkAppJobResponse> {
|
|
1096
|
+
return this.request("DescribeSparkAppJob", req, cb)
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* 查询spark应用的运行任务实例列表
|
|
1101
|
+
*/
|
|
1102
|
+
async DescribeSparkAppTasks(
|
|
1103
|
+
req: DescribeSparkAppTasksRequest,
|
|
1104
|
+
cb?: (error: string, rep: DescribeSparkAppTasksResponse) => void
|
|
1105
|
+
): Promise<DescribeSparkAppTasksResponse> {
|
|
1106
|
+
return this.request("DescribeSparkAppTasks", req, cb)
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* 查询用户的托管存储信息
|
|
1111
|
+
*/
|
|
1112
|
+
async DescribeLakeFsInfo(
|
|
1113
|
+
req?: DescribeLakeFsInfoRequest,
|
|
1114
|
+
cb?: (error: string, rep: DescribeLakeFsInfoResponse) => void
|
|
1115
|
+
): Promise<DescribeLakeFsInfoResponse> {
|
|
1116
|
+
return this.request("DescribeLakeFsInfo", req, cb)
|
|
1105
1117
|
}
|
|
1106
1118
|
}
|