tencentcloud-sdk-nodejs-dlc 4.0.372 → 4.0.375

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.
@@ -18,11 +18,17 @@
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
20
  DescribeTaskResultResponse,
21
+ AlterDMSTableResponse,
21
22
  DescribeDatabasesRequest,
22
23
  WorkGroupMessage,
23
24
  DeleteUserRequest,
25
+ ListTaskJobLogDetailResponse,
24
26
  DescribeSparkAppJobRequest,
27
+ CreateDMSDatabaseResponse,
25
28
  CreateStoreLocationResponse,
29
+ ReportHeartbeatMetaDataRequest,
30
+ DescribeDMSDatabaseResponse,
31
+ DropDMSDatabaseRequest,
26
32
  CreateScriptResponse,
27
33
  CreateTasksInOrderResponse,
28
34
  DescribeTablesResponse,
@@ -35,19 +41,28 @@ import {
35
41
  DetachUserPolicyRequest,
36
42
  DescribeSparkAppTasksResponse,
37
43
  DescribeTasksResponse,
44
+ DescribeDMSTableResponse,
45
+ DropDMSPartitionsRequest,
38
46
  CreateTasksInOrderRequest,
47
+ AddDMSPartitionsResponse,
39
48
  DetachWorkGroupPolicyResponse,
40
49
  CSVSerde,
41
50
  ModifySparkAppRequest,
51
+ StreamingStatistics,
42
52
  CreateDatabaseRequest,
53
+ DescribeDMSTablesResponse,
43
54
  UserIdSetOfWorkGroupId,
55
+ AlterDMSPartitionRequest,
44
56
  ViewBaseInfo,
57
+ CheckLockMetaDataRequest,
58
+ Asset,
45
59
  CreateDatabaseResponse,
46
60
  DescribeTasksRequest,
47
61
  CreateSparkAppTaskRequest,
48
62
  DeleteWorkGroupRequest,
49
63
  KVPair,
50
64
  TableBaseInfo,
65
+ UnlockMetaDataRequest,
51
66
  AttachUserPolicyRequest,
52
67
  ListTaskJobLogDetailRequest,
53
68
  TasksInfo,
@@ -55,26 +70,34 @@ import {
55
70
  CreateUserResponse,
56
71
  DeleteUserResponse,
57
72
  CreateStoreLocationRequest,
73
+ LockComponentInfo,
74
+ DescribeDMSPartitionsRequest,
58
75
  DescribeSparkAppJobsRequest,
76
+ CreateDMSTableResponse,
59
77
  Partition,
60
78
  CreateTaskRequest,
61
79
  ModifySparkAppResponse,
62
80
  CSV,
63
81
  CreateTableRequest,
64
82
  DescribeWorkGroupsResponse,
65
- DescribeUsersRequest,
83
+ CreateImportTaskRequest,
66
84
  DescribeScriptsRequest,
67
85
  DescribeSparkAppJobResponse,
68
86
  DeleteUsersFromWorkGroupResponse,
69
87
  AddUsersToWorkGroupRequest,
70
88
  DescribeStoreLocationRequest,
71
- DescribeViewsRequest,
89
+ AddUsersToWorkGroupResponse,
72
90
  UserInfo,
73
91
  CreateExportTaskRequest,
92
+ ReportHeartbeatMetaDataResponse,
93
+ CreateDMSTableRequest,
94
+ DropDMSTableRequest,
95
+ DMSTable,
74
96
  AttachWorkGroupPolicyResponse,
75
97
  ModifyWorkGroupResponse,
98
+ DescribeDMSTablesRequest,
76
99
  ModifyUserRequest,
77
- StreamingStatistics,
100
+ DMSSds,
78
101
  CreateSparkAppTaskResponse,
79
102
  CancelTaskRequest,
80
103
  TaskResponseInfo,
@@ -82,7 +105,9 @@ import {
82
105
  BindWorkGroupsToUserResponse,
83
106
  DescribeStoreLocationResponse,
84
107
  DeleteScriptRequest,
108
+ AddDMSPartitionsRequest,
85
109
  Script,
110
+ AlterDMSTableRequest,
86
111
  CreateImportTaskResponse,
87
112
  Execution,
88
113
  CreateTableResponse,
@@ -98,45 +123,62 @@ import {
98
123
  CreateUserRequest,
99
124
  ModifyWorkGroupRequest,
100
125
  CancelTaskResponse,
126
+ UnlockMetaDataResponse,
101
127
  DeleteWorkGroupResponse,
128
+ DropDMSTableResponse,
102
129
  WorkGroupIdSetOfUserId,
103
130
  CreateWorkGroupResponse,
104
131
  TaskResultInfo,
105
132
  DescribeTablesRequest,
106
133
  DescribeDatabasesResponse,
134
+ DMSTableInfo,
135
+ DMSPartition,
107
136
  DatabaseInfo,
108
- CreateImportTaskRequest,
137
+ DescribeDMSPartitionsResponse,
109
138
  CreateExportTaskResponse,
110
139
  UnbindWorkGroupsFromUserRequest,
140
+ DescribeDMSDatabaseRequest,
111
141
  DescribeTableRequest,
142
+ Policy,
112
143
  JobLogResult,
113
144
  Other,
145
+ DropDMSDatabaseResponse,
146
+ DescribeUsersRequest,
114
147
  DeleteUsersFromWorkGroupRequest,
115
- Policy,
148
+ DMSColumnOrder,
116
149
  CreateSparkAppResponse,
117
150
  CreateTaskResponse,
118
151
  DeleteSparkAppResponse,
152
+ AlterDMSPartitionResponse,
119
153
  CreateTasksRequest,
120
154
  DescribeTableResponse,
121
155
  DescribeSparkAppJobsResponse,
122
156
  TableResponseInfo,
123
- AddUsersToWorkGroupResponse,
157
+ DescribeViewsRequest,
158
+ LockMetaDataRequest,
124
159
  DetachUserPolicyResponse,
125
160
  DescribeWorkGroupsRequest,
126
161
  CreateTasksResponse,
127
162
  CreateSparkAppRequest,
128
163
  UnbindWorkGroupsFromUserResponse,
129
- ListTaskJobLogDetailResponse,
164
+ DropDMSPartitionsResponse,
165
+ AlterDMSDatabaseResponse,
130
166
  CreateWorkGroupRequest,
131
167
  DescribeSparkAppTasksRequest,
168
+ LockMetaDataResponse,
169
+ CheckLockMetaDataResponse,
170
+ AlterDMSDatabaseRequest,
132
171
  SQLTask,
133
172
  UserMessage,
134
173
  Property,
135
174
  AttachUserPolicyResponse,
175
+ CreateDMSDatabaseRequest,
136
176
  DetachWorkGroupPolicyRequest,
177
+ DescribeDMSTableRequest,
137
178
  DescribeViewsResponse,
138
179
  DataFormat,
139
180
  DatabaseResponseInfo,
181
+ DMSColumn,
140
182
  } from "./dlc_models"
141
183
 
142
184
  /**
@@ -169,13 +211,23 @@ export class Client extends TencentCloudCommon.AbstractClient {
169
211
  }
170
212
 
171
213
  /**
172
- * 添加用户到工作组
214
+ * 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)
173
215
  */
174
- async AddUsersToWorkGroup(
175
- req: AddUsersToWorkGroupRequest,
176
- cb?: (error: string, rep: AddUsersToWorkGroupResponse) => void
177
- ): Promise<AddUsersToWorkGroupResponse> {
178
- return this.request("AddUsersToWorkGroup", req, cb)
216
+ async CreateTasksInOrder(
217
+ req: CreateTasksInOrderRequest,
218
+ cb?: (error: string, rep: CreateTasksInOrderResponse) => void
219
+ ): Promise<CreateTasksInOrderResponse> {
220
+ return this.request("CreateTasksInOrder", req, cb)
221
+ }
222
+
223
+ /**
224
+ * 元数据锁检查
225
+ */
226
+ async CheckLockMetaData(
227
+ req: CheckLockMetaDataRequest,
228
+ cb?: (error: string, rep: CheckLockMetaDataResponse) => void
229
+ ): Promise<CheckLockMetaDataResponse> {
230
+ return this.request("CheckLockMetaData", req, cb)
179
231
  }
180
232
 
181
233
  /**
@@ -189,23 +241,53 @@ export class Client extends TencentCloudCommon.AbstractClient {
189
241
  }
190
242
 
191
243
  /**
192
- * 查询任务结果
244
+ * DMS元数据更新表
193
245
  */
194
- async DescribeTaskResult(
195
- req: DescribeTaskResultRequest,
196
- cb?: (error: string, rep: DescribeTaskResultResponse) => void
197
- ): Promise<DescribeTaskResultResponse> {
198
- return this.request("DescribeTaskResult", req, cb)
246
+ async AlterDMSTable(
247
+ req: AlterDMSTableRequest,
248
+ cb?: (error: string, rep: AlterDMSTableResponse) => void
249
+ ): Promise<AlterDMSTableResponse> {
250
+ return this.request("AlterDMSTable", req, cb)
199
251
  }
200
252
 
201
253
  /**
202
- * 绑定工作组到用户
254
+ * DMS元数据删除库
203
255
  */
204
- async BindWorkGroupsToUser(
205
- req: BindWorkGroupsToUserRequest,
206
- cb?: (error: string, rep: BindWorkGroupsToUserResponse) => void
207
- ): Promise<BindWorkGroupsToUserResponse> {
208
- return this.request("BindWorkGroupsToUser", req, cb)
256
+ async DropDMSDatabase(
257
+ req?: DropDMSDatabaseRequest,
258
+ cb?: (error: string, rep: DropDMSDatabaseResponse) => void
259
+ ): Promise<DropDMSDatabaseResponse> {
260
+ return this.request("DropDMSDatabase", req, cb)
261
+ }
262
+
263
+ /**
264
+ * DMS元数据新增分区
265
+ */
266
+ async AddDMSPartitions(
267
+ req: AddDMSPartitionsRequest,
268
+ cb?: (error: string, rep: AddDMSPartitionsResponse) => void
269
+ ): Promise<AddDMSPartitionsResponse> {
270
+ return this.request("AddDMSPartitions", req, cb)
271
+ }
272
+
273
+ /**
274
+ * 该接口(DeleteScript)用于删除sql脚本。
275
+ */
276
+ async DeleteScript(
277
+ req: DeleteScriptRequest,
278
+ cb?: (error: string, rep: DeleteScriptResponse) => void
279
+ ): Promise<DeleteScriptResponse> {
280
+ return this.request("DeleteScript", req, cb)
281
+ }
282
+
283
+ /**
284
+ * 元数据锁
285
+ */
286
+ async LockMetaData(
287
+ req: LockMetaDataRequest,
288
+ cb?: (error: string, rep: LockMetaDataResponse) => void
289
+ ): Promise<LockMetaDataResponse> {
290
+ return this.request("LockMetaData", req, cb)
209
291
  }
210
292
 
211
293
  /**
@@ -218,6 +300,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
218
300
  return this.request("CreateTable", req, cb)
219
301
  }
220
302
 
303
+ /**
304
+ * 查询任务结果
305
+ */
306
+ async DescribeTaskResult(
307
+ req: DescribeTaskResultRequest,
308
+ cb?: (error: string, rep: DescribeTaskResultResponse) => void
309
+ ): Promise<DescribeTaskResultResponse> {
310
+ return this.request("DescribeTaskResult", req, cb)
311
+ }
312
+
221
313
  /**
222
314
  * 该接口(CreateExportTask)用于创建导出任务
223
315
  */
@@ -278,6 +370,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
278
370
  return this.request("DeleteWorkGroup", req, cb)
279
371
  }
280
372
 
373
+ /**
374
+ * 元数据解锁
375
+ */
376
+ async UnlockMetaData(
377
+ req: UnlockMetaDataRequest,
378
+ cb?: (error: string, rep: UnlockMetaDataResponse) => void
379
+ ): Promise<UnlockMetaDataResponse> {
380
+ return this.request("UnlockMetaData", req, cb)
381
+ }
382
+
281
383
  /**
282
384
  * 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
283
385
  */
@@ -288,6 +390,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
288
390
  return this.request("CreateStoreLocation", req, cb)
289
391
  }
290
392
 
393
+ /**
394
+ * DMS元数据获取表
395
+ */
396
+ async DescribeDMSTable(
397
+ req: DescribeDMSTableRequest,
398
+ cb?: (error: string, rep: DescribeDMSTableResponse) => void
399
+ ): Promise<DescribeDMSTableResponse> {
400
+ return this.request("DescribeDMSTable", req, cb)
401
+ }
402
+
291
403
  /**
292
404
  * 从工作组中删除用户
293
405
  */
@@ -298,6 +410,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
298
410
  return this.request("DeleteUsersFromWorkGroup", req, cb)
299
411
  }
300
412
 
413
+ /**
414
+ * 上报元数据心跳
415
+ */
416
+ async ReportHeartbeatMetaData(
417
+ req: ReportHeartbeatMetaDataRequest,
418
+ cb?: (error: string, rep: ReportHeartbeatMetaDataResponse) => void
419
+ ): Promise<ReportHeartbeatMetaDataResponse> {
420
+ return this.request("ReportHeartbeatMetaData", req, cb)
421
+ }
422
+
301
423
  /**
302
424
  * 创建工作组
303
425
  */
@@ -318,6 +440,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
318
440
  return this.request("ListTaskJobLogDetail", req, cb)
319
441
  }
320
442
 
443
+ /**
444
+ * DMS元数据更新库
445
+ */
446
+ async AlterDMSDatabase(
447
+ req?: AlterDMSDatabaseRequest,
448
+ cb?: (error: string, rep: AlterDMSDatabaseResponse) => void
449
+ ): Promise<AlterDMSDatabaseResponse> {
450
+ return this.request("AlterDMSDatabase", req, cb)
451
+ }
452
+
321
453
  /**
322
454
  * 解绑用户上的用户组
323
455
  */
@@ -338,6 +470,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
338
470
  return this.request("AttachWorkGroupPolicy", req, cb)
339
471
  }
340
472
 
473
+ /**
474
+ * DMS元数据获取分区
475
+ */
476
+ async DescribeDMSPartitions(
477
+ req: DescribeDMSPartitionsRequest,
478
+ cb?: (error: string, rep: DescribeDMSPartitionsResponse) => void
479
+ ): Promise<DescribeDMSPartitionsResponse> {
480
+ return this.request("DescribeDMSPartitions", req, cb)
481
+ }
482
+
341
483
  /**
342
484
  * 创建spark应用
343
485
  */
@@ -358,6 +500,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
358
500
  return this.request("CancelTask", req, cb)
359
501
  }
360
502
 
503
+ /**
504
+ * DMS元数据删除表
505
+ */
506
+ async DropDMSTable(
507
+ req: DropDMSTableRequest,
508
+ cb?: (error: string, rep: DropDMSTableResponse) => void
509
+ ): Promise<DropDMSTableResponse> {
510
+ return this.request("DropDMSTable", req, cb)
511
+ }
512
+
361
513
  /**
362
514
  * 该接口(CreateScript)用于创建sql脚本。
363
515
  */
@@ -368,6 +520,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
368
520
  return this.request("CreateScript", req, cb)
369
521
  }
370
522
 
523
+ /**
524
+ * DMS元数据获取表列表
525
+ */
526
+ async DescribeDMSTables(
527
+ req: DescribeDMSTablesRequest,
528
+ cb?: (error: string, rep: DescribeDMSTablesResponse) => void
529
+ ): Promise<DescribeDMSTablesResponse> {
530
+ return this.request("DescribeDMSTables", req, cb)
531
+ }
532
+
371
533
  /**
372
534
  * 本接口(CreateDatabase)用于生成建库SQL语句。
373
535
  */
@@ -428,6 +590,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
428
590
  return this.request("DescribeTable", req, cb)
429
591
  }
430
592
 
593
+ /**
594
+ * DMS元数据获取库
595
+ */
596
+ async DescribeDMSDatabase(
597
+ req?: DescribeDMSDatabaseRequest,
598
+ cb?: (error: string, rep: DescribeDMSDatabaseResponse) => void
599
+ ): Promise<DescribeDMSDatabaseResponse> {
600
+ return this.request("DescribeDMSDatabase", req, cb)
601
+ }
602
+
431
603
  /**
432
604
  * 该接口(DescribleTasks)用于查询任务列表
433
605
  */
@@ -439,13 +611,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
439
611
  }
440
612
 
441
613
  /**
442
- * 该接口(DeleteScript)用于删除sql脚本。
614
+ * 绑定工作组到用户
443
615
  */
444
- async DeleteScript(
445
- req: DeleteScriptRequest,
446
- cb?: (error: string, rep: DeleteScriptResponse) => void
447
- ): Promise<DeleteScriptResponse> {
448
- return this.request("DeleteScript", req, cb)
616
+ async BindWorkGroupsToUser(
617
+ req: BindWorkGroupsToUserRequest,
618
+ cb?: (error: string, rep: BindWorkGroupsToUserResponse) => void
619
+ ): Promise<BindWorkGroupsToUserResponse> {
620
+ return this.request("BindWorkGroupsToUser", req, cb)
449
621
  }
450
622
 
451
623
  /**
@@ -458,6 +630,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
458
630
  return this.request("CreateSparkAppTask", req, cb)
459
631
  }
460
632
 
633
+ /**
634
+ * DMS元数据删除分区
635
+ */
636
+ async DropDMSPartitions(
637
+ req: DropDMSPartitionsRequest,
638
+ cb?: (error: string, rep: DropDMSPartitionsResponse) => void
639
+ ): Promise<DropDMSPartitionsResponse> {
640
+ return this.request("DropDMSPartitions", req, cb)
641
+ }
642
+
461
643
  /**
462
644
  * 修改用户信息
463
645
  */
@@ -489,13 +671,43 @@ export class Client extends TencentCloudCommon.AbstractClient {
489
671
  }
490
672
 
491
673
  /**
492
- * 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)
674
+ * 添加用户到工作组
493
675
  */
494
- async CreateTasksInOrder(
495
- req: CreateTasksInOrderRequest,
496
- cb?: (error: string, rep: CreateTasksInOrderResponse) => void
497
- ): Promise<CreateTasksInOrderResponse> {
498
- return this.request("CreateTasksInOrder", req, cb)
676
+ async AddUsersToWorkGroup(
677
+ req: AddUsersToWorkGroupRequest,
678
+ cb?: (error: string, rep: AddUsersToWorkGroupResponse) => void
679
+ ): Promise<AddUsersToWorkGroupResponse> {
680
+ return this.request("AddUsersToWorkGroup", req, cb)
681
+ }
682
+
683
+ /**
684
+ * 查询计算结果存储位置。
685
+ */
686
+ async DescribeStoreLocation(
687
+ req?: DescribeStoreLocationRequest,
688
+ cb?: (error: string, rep: DescribeStoreLocationResponse) => void
689
+ ): Promise<DescribeStoreLocationResponse> {
690
+ return this.request("DescribeStoreLocation", req, cb)
691
+ }
692
+
693
+ /**
694
+ * DMS元数据创建库
695
+ */
696
+ async CreateDMSDatabase(
697
+ req: CreateDMSDatabaseRequest,
698
+ cb?: (error: string, rep: CreateDMSDatabaseResponse) => void
699
+ ): Promise<CreateDMSDatabaseResponse> {
700
+ return this.request("CreateDMSDatabase", req, cb)
701
+ }
702
+
703
+ /**
704
+ * DMS元数据更新分区
705
+ */
706
+ async AlterDMSPartition(
707
+ req: AlterDMSPartitionRequest,
708
+ cb?: (error: string, rep: AlterDMSPartitionResponse) => void
709
+ ): Promise<AlterDMSPartitionResponse> {
710
+ return this.request("AlterDMSPartition", req, cb)
499
711
  }
500
712
 
501
713
  /**
@@ -509,13 +721,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
509
721
  }
510
722
 
511
723
  /**
512
- * 查询计算结果存储位置。
724
+ * DMS元数据创建表
513
725
  */
514
- async DescribeStoreLocation(
515
- req?: DescribeStoreLocationRequest,
516
- cb?: (error: string, rep: DescribeStoreLocationResponse) => void
517
- ): Promise<DescribeStoreLocationResponse> {
518
- return this.request("DescribeStoreLocation", req, cb)
726
+ async CreateDMSTable(
727
+ req: CreateDMSTableRequest,
728
+ cb?: (error: string, rep: CreateDMSTableResponse) => void
729
+ ): Promise<CreateDMSTableResponse> {
730
+ return this.request("CreateDMSTable", req, cb)
519
731
  }
520
732
 
521
733
  /**