tencentcloud-sdk-nodejs-dlc 4.0.371 → 4.0.374
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 +676 -0
- package/SERVICE_CHANGELOG.md +637 -210
- package/package.json +1 -1
- package/products.md +31 -29
- package/src/services/dlc/v20210125/dlc_client.ts +243 -43
- package/src/services/dlc/v20210125/dlc_models.ts +1538 -281
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +77 -13
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +114 -18
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1238 -184
|
@@ -18,11 +18,16 @@
|
|
|
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
|
+
DescribeDMSDatabaseResponse,
|
|
30
|
+
DropDMSDatabaseRequest,
|
|
26
31
|
CreateScriptResponse,
|
|
27
32
|
CreateTasksInOrderResponse,
|
|
28
33
|
DescribeTablesResponse,
|
|
@@ -35,19 +40,28 @@ import {
|
|
|
35
40
|
DetachUserPolicyRequest,
|
|
36
41
|
DescribeSparkAppTasksResponse,
|
|
37
42
|
DescribeTasksResponse,
|
|
43
|
+
DescribeDMSTableResponse,
|
|
44
|
+
DropDMSPartitionsRequest,
|
|
38
45
|
CreateTasksInOrderRequest,
|
|
46
|
+
AddDMSPartitionsResponse,
|
|
39
47
|
DetachWorkGroupPolicyResponse,
|
|
40
48
|
CSVSerde,
|
|
41
49
|
ModifySparkAppRequest,
|
|
50
|
+
StreamingStatistics,
|
|
42
51
|
CreateDatabaseRequest,
|
|
52
|
+
DescribeDMSTablesResponse,
|
|
43
53
|
UserIdSetOfWorkGroupId,
|
|
54
|
+
AlterDMSPartitionRequest,
|
|
44
55
|
ViewBaseInfo,
|
|
56
|
+
CheckLockMetaDataRequest,
|
|
57
|
+
Asset,
|
|
45
58
|
CreateDatabaseResponse,
|
|
46
59
|
DescribeTasksRequest,
|
|
47
60
|
CreateSparkAppTaskRequest,
|
|
48
61
|
DeleteWorkGroupRequest,
|
|
49
62
|
KVPair,
|
|
50
63
|
TableBaseInfo,
|
|
64
|
+
UnlockMetaDataRequest,
|
|
51
65
|
AttachUserPolicyRequest,
|
|
52
66
|
ListTaskJobLogDetailRequest,
|
|
53
67
|
TasksInfo,
|
|
@@ -55,26 +69,33 @@ import {
|
|
|
55
69
|
CreateUserResponse,
|
|
56
70
|
DeleteUserResponse,
|
|
57
71
|
CreateStoreLocationRequest,
|
|
72
|
+
LockComponentInfo,
|
|
73
|
+
DescribeDMSPartitionsRequest,
|
|
58
74
|
DescribeSparkAppJobsRequest,
|
|
75
|
+
CreateDMSTableResponse,
|
|
59
76
|
Partition,
|
|
60
77
|
CreateTaskRequest,
|
|
61
78
|
ModifySparkAppResponse,
|
|
62
79
|
CSV,
|
|
63
80
|
CreateTableRequest,
|
|
64
81
|
DescribeWorkGroupsResponse,
|
|
65
|
-
|
|
82
|
+
CreateImportTaskRequest,
|
|
66
83
|
DescribeScriptsRequest,
|
|
67
84
|
DescribeSparkAppJobResponse,
|
|
68
85
|
DeleteUsersFromWorkGroupResponse,
|
|
69
86
|
AddUsersToWorkGroupRequest,
|
|
70
87
|
DescribeStoreLocationRequest,
|
|
71
|
-
|
|
88
|
+
AddUsersToWorkGroupResponse,
|
|
72
89
|
UserInfo,
|
|
73
90
|
CreateExportTaskRequest,
|
|
91
|
+
CreateDMSTableRequest,
|
|
92
|
+
DropDMSTableRequest,
|
|
93
|
+
DMSTable,
|
|
74
94
|
AttachWorkGroupPolicyResponse,
|
|
75
95
|
ModifyWorkGroupResponse,
|
|
96
|
+
DescribeDMSTablesRequest,
|
|
76
97
|
ModifyUserRequest,
|
|
77
|
-
|
|
98
|
+
DMSSds,
|
|
78
99
|
CreateSparkAppTaskResponse,
|
|
79
100
|
CancelTaskRequest,
|
|
80
101
|
TaskResponseInfo,
|
|
@@ -82,7 +103,9 @@ import {
|
|
|
82
103
|
BindWorkGroupsToUserResponse,
|
|
83
104
|
DescribeStoreLocationResponse,
|
|
84
105
|
DeleteScriptRequest,
|
|
106
|
+
AddDMSPartitionsRequest,
|
|
85
107
|
Script,
|
|
108
|
+
AlterDMSTableRequest,
|
|
86
109
|
CreateImportTaskResponse,
|
|
87
110
|
Execution,
|
|
88
111
|
CreateTableResponse,
|
|
@@ -98,45 +121,62 @@ import {
|
|
|
98
121
|
CreateUserRequest,
|
|
99
122
|
ModifyWorkGroupRequest,
|
|
100
123
|
CancelTaskResponse,
|
|
124
|
+
UnlockMetaDataResponse,
|
|
101
125
|
DeleteWorkGroupResponse,
|
|
126
|
+
DropDMSTableResponse,
|
|
102
127
|
WorkGroupIdSetOfUserId,
|
|
103
128
|
CreateWorkGroupResponse,
|
|
104
129
|
TaskResultInfo,
|
|
105
130
|
DescribeTablesRequest,
|
|
106
131
|
DescribeDatabasesResponse,
|
|
132
|
+
DMSTableInfo,
|
|
133
|
+
DMSPartition,
|
|
107
134
|
DatabaseInfo,
|
|
108
|
-
|
|
135
|
+
DescribeDMSPartitionsResponse,
|
|
109
136
|
CreateExportTaskResponse,
|
|
110
137
|
UnbindWorkGroupsFromUserRequest,
|
|
138
|
+
DescribeDMSDatabaseRequest,
|
|
111
139
|
DescribeTableRequest,
|
|
140
|
+
Policy,
|
|
112
141
|
JobLogResult,
|
|
113
142
|
Other,
|
|
143
|
+
DropDMSDatabaseResponse,
|
|
144
|
+
DescribeUsersRequest,
|
|
114
145
|
DeleteUsersFromWorkGroupRequest,
|
|
115
|
-
|
|
146
|
+
DMSColumnOrder,
|
|
116
147
|
CreateSparkAppResponse,
|
|
117
148
|
CreateTaskResponse,
|
|
118
149
|
DeleteSparkAppResponse,
|
|
150
|
+
AlterDMSPartitionResponse,
|
|
119
151
|
CreateTasksRequest,
|
|
120
152
|
DescribeTableResponse,
|
|
121
153
|
DescribeSparkAppJobsResponse,
|
|
122
154
|
TableResponseInfo,
|
|
123
|
-
|
|
155
|
+
DescribeViewsRequest,
|
|
156
|
+
LockMetaDataRequest,
|
|
124
157
|
DetachUserPolicyResponse,
|
|
125
158
|
DescribeWorkGroupsRequest,
|
|
126
159
|
CreateTasksResponse,
|
|
127
160
|
CreateSparkAppRequest,
|
|
128
161
|
UnbindWorkGroupsFromUserResponse,
|
|
129
|
-
|
|
162
|
+
DropDMSPartitionsResponse,
|
|
163
|
+
AlterDMSDatabaseResponse,
|
|
130
164
|
CreateWorkGroupRequest,
|
|
131
165
|
DescribeSparkAppTasksRequest,
|
|
166
|
+
LockMetaDataResponse,
|
|
167
|
+
CheckLockMetaDataResponse,
|
|
168
|
+
AlterDMSDatabaseRequest,
|
|
132
169
|
SQLTask,
|
|
133
170
|
UserMessage,
|
|
134
171
|
Property,
|
|
135
172
|
AttachUserPolicyResponse,
|
|
173
|
+
CreateDMSDatabaseRequest,
|
|
136
174
|
DetachWorkGroupPolicyRequest,
|
|
175
|
+
DescribeDMSTableRequest,
|
|
137
176
|
DescribeViewsResponse,
|
|
138
177
|
DataFormat,
|
|
139
178
|
DatabaseResponseInfo,
|
|
179
|
+
DMSColumn,
|
|
140
180
|
} from "./dlc_models"
|
|
141
181
|
|
|
142
182
|
/**
|
|
@@ -169,13 +209,23 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
169
209
|
}
|
|
170
210
|
|
|
171
211
|
/**
|
|
172
|
-
*
|
|
212
|
+
* 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)
|
|
173
213
|
*/
|
|
174
|
-
async
|
|
175
|
-
req:
|
|
176
|
-
cb?: (error: string, rep:
|
|
177
|
-
): Promise<
|
|
178
|
-
return this.request("
|
|
214
|
+
async CreateTasksInOrder(
|
|
215
|
+
req: CreateTasksInOrderRequest,
|
|
216
|
+
cb?: (error: string, rep: CreateTasksInOrderResponse) => void
|
|
217
|
+
): Promise<CreateTasksInOrderResponse> {
|
|
218
|
+
return this.request("CreateTasksInOrder", req, cb)
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* 元数据锁检查
|
|
223
|
+
*/
|
|
224
|
+
async CheckLockMetaData(
|
|
225
|
+
req: CheckLockMetaDataRequest,
|
|
226
|
+
cb?: (error: string, rep: CheckLockMetaDataResponse) => void
|
|
227
|
+
): Promise<CheckLockMetaDataResponse> {
|
|
228
|
+
return this.request("CheckLockMetaData", req, cb)
|
|
179
229
|
}
|
|
180
230
|
|
|
181
231
|
/**
|
|
@@ -189,23 +239,53 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
189
239
|
}
|
|
190
240
|
|
|
191
241
|
/**
|
|
192
|
-
*
|
|
242
|
+
* DMS元数据更新表
|
|
193
243
|
*/
|
|
194
|
-
async
|
|
195
|
-
req:
|
|
196
|
-
cb?: (error: string, rep:
|
|
197
|
-
): Promise<
|
|
198
|
-
return this.request("
|
|
244
|
+
async AlterDMSTable(
|
|
245
|
+
req: AlterDMSTableRequest,
|
|
246
|
+
cb?: (error: string, rep: AlterDMSTableResponse) => void
|
|
247
|
+
): Promise<AlterDMSTableResponse> {
|
|
248
|
+
return this.request("AlterDMSTable", req, cb)
|
|
199
249
|
}
|
|
200
250
|
|
|
201
251
|
/**
|
|
202
|
-
*
|
|
252
|
+
* DMS元数据删除库
|
|
203
253
|
*/
|
|
204
|
-
async
|
|
205
|
-
req
|
|
206
|
-
cb?: (error: string, rep:
|
|
207
|
-
): Promise<
|
|
208
|
-
return this.request("
|
|
254
|
+
async DropDMSDatabase(
|
|
255
|
+
req?: DropDMSDatabaseRequest,
|
|
256
|
+
cb?: (error: string, rep: DropDMSDatabaseResponse) => void
|
|
257
|
+
): Promise<DropDMSDatabaseResponse> {
|
|
258
|
+
return this.request("DropDMSDatabase", req, cb)
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* DMS元数据新增分区
|
|
263
|
+
*/
|
|
264
|
+
async AddDMSPartitions(
|
|
265
|
+
req: AddDMSPartitionsRequest,
|
|
266
|
+
cb?: (error: string, rep: AddDMSPartitionsResponse) => void
|
|
267
|
+
): Promise<AddDMSPartitionsResponse> {
|
|
268
|
+
return this.request("AddDMSPartitions", req, cb)
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* 该接口(DeleteScript)用于删除sql脚本。
|
|
273
|
+
*/
|
|
274
|
+
async DeleteScript(
|
|
275
|
+
req: DeleteScriptRequest,
|
|
276
|
+
cb?: (error: string, rep: DeleteScriptResponse) => void
|
|
277
|
+
): Promise<DeleteScriptResponse> {
|
|
278
|
+
return this.request("DeleteScript", req, cb)
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 元数据锁
|
|
283
|
+
*/
|
|
284
|
+
async LockMetaData(
|
|
285
|
+
req: LockMetaDataRequest,
|
|
286
|
+
cb?: (error: string, rep: LockMetaDataResponse) => void
|
|
287
|
+
): Promise<LockMetaDataResponse> {
|
|
288
|
+
return this.request("LockMetaData", req, cb)
|
|
209
289
|
}
|
|
210
290
|
|
|
211
291
|
/**
|
|
@@ -218,6 +298,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
218
298
|
return this.request("CreateTable", req, cb)
|
|
219
299
|
}
|
|
220
300
|
|
|
301
|
+
/**
|
|
302
|
+
* 查询任务结果
|
|
303
|
+
*/
|
|
304
|
+
async DescribeTaskResult(
|
|
305
|
+
req: DescribeTaskResultRequest,
|
|
306
|
+
cb?: (error: string, rep: DescribeTaskResultResponse) => void
|
|
307
|
+
): Promise<DescribeTaskResultResponse> {
|
|
308
|
+
return this.request("DescribeTaskResult", req, cb)
|
|
309
|
+
}
|
|
310
|
+
|
|
221
311
|
/**
|
|
222
312
|
* 该接口(CreateExportTask)用于创建导出任务
|
|
223
313
|
*/
|
|
@@ -278,6 +368,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
278
368
|
return this.request("DeleteWorkGroup", req, cb)
|
|
279
369
|
}
|
|
280
370
|
|
|
371
|
+
/**
|
|
372
|
+
* 元数据解锁
|
|
373
|
+
*/
|
|
374
|
+
async UnlockMetaData(
|
|
375
|
+
req: UnlockMetaDataRequest,
|
|
376
|
+
cb?: (error: string, rep: UnlockMetaDataResponse) => void
|
|
377
|
+
): Promise<UnlockMetaDataResponse> {
|
|
378
|
+
return this.request("UnlockMetaData", req, cb)
|
|
379
|
+
}
|
|
380
|
+
|
|
281
381
|
/**
|
|
282
382
|
* 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
|
|
283
383
|
*/
|
|
@@ -288,6 +388,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
288
388
|
return this.request("CreateStoreLocation", req, cb)
|
|
289
389
|
}
|
|
290
390
|
|
|
391
|
+
/**
|
|
392
|
+
* DMS元数据获取表
|
|
393
|
+
*/
|
|
394
|
+
async DescribeDMSTable(
|
|
395
|
+
req: DescribeDMSTableRequest,
|
|
396
|
+
cb?: (error: string, rep: DescribeDMSTableResponse) => void
|
|
397
|
+
): Promise<DescribeDMSTableResponse> {
|
|
398
|
+
return this.request("DescribeDMSTable", req, cb)
|
|
399
|
+
}
|
|
400
|
+
|
|
291
401
|
/**
|
|
292
402
|
* 从工作组中删除用户
|
|
293
403
|
*/
|
|
@@ -318,6 +428,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
318
428
|
return this.request("ListTaskJobLogDetail", req, cb)
|
|
319
429
|
}
|
|
320
430
|
|
|
431
|
+
/**
|
|
432
|
+
* DMS元数据更新库
|
|
433
|
+
*/
|
|
434
|
+
async AlterDMSDatabase(
|
|
435
|
+
req?: AlterDMSDatabaseRequest,
|
|
436
|
+
cb?: (error: string, rep: AlterDMSDatabaseResponse) => void
|
|
437
|
+
): Promise<AlterDMSDatabaseResponse> {
|
|
438
|
+
return this.request("AlterDMSDatabase", req, cb)
|
|
439
|
+
}
|
|
440
|
+
|
|
321
441
|
/**
|
|
322
442
|
* 解绑用户上的用户组
|
|
323
443
|
*/
|
|
@@ -338,6 +458,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
338
458
|
return this.request("AttachWorkGroupPolicy", req, cb)
|
|
339
459
|
}
|
|
340
460
|
|
|
461
|
+
/**
|
|
462
|
+
* DMS元数据获取分区
|
|
463
|
+
*/
|
|
464
|
+
async DescribeDMSPartitions(
|
|
465
|
+
req: DescribeDMSPartitionsRequest,
|
|
466
|
+
cb?: (error: string, rep: DescribeDMSPartitionsResponse) => void
|
|
467
|
+
): Promise<DescribeDMSPartitionsResponse> {
|
|
468
|
+
return this.request("DescribeDMSPartitions", req, cb)
|
|
469
|
+
}
|
|
470
|
+
|
|
341
471
|
/**
|
|
342
472
|
* 创建spark应用
|
|
343
473
|
*/
|
|
@@ -358,6 +488,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
358
488
|
return this.request("CancelTask", req, cb)
|
|
359
489
|
}
|
|
360
490
|
|
|
491
|
+
/**
|
|
492
|
+
* DMS元数据删除表
|
|
493
|
+
*/
|
|
494
|
+
async DropDMSTable(
|
|
495
|
+
req: DropDMSTableRequest,
|
|
496
|
+
cb?: (error: string, rep: DropDMSTableResponse) => void
|
|
497
|
+
): Promise<DropDMSTableResponse> {
|
|
498
|
+
return this.request("DropDMSTable", req, cb)
|
|
499
|
+
}
|
|
500
|
+
|
|
361
501
|
/**
|
|
362
502
|
* 该接口(CreateScript)用于创建sql脚本。
|
|
363
503
|
*/
|
|
@@ -368,6 +508,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
368
508
|
return this.request("CreateScript", req, cb)
|
|
369
509
|
}
|
|
370
510
|
|
|
511
|
+
/**
|
|
512
|
+
* DMS元数据获取表列表
|
|
513
|
+
*/
|
|
514
|
+
async DescribeDMSTables(
|
|
515
|
+
req: DescribeDMSTablesRequest,
|
|
516
|
+
cb?: (error: string, rep: DescribeDMSTablesResponse) => void
|
|
517
|
+
): Promise<DescribeDMSTablesResponse> {
|
|
518
|
+
return this.request("DescribeDMSTables", req, cb)
|
|
519
|
+
}
|
|
520
|
+
|
|
371
521
|
/**
|
|
372
522
|
* 本接口(CreateDatabase)用于生成建库SQL语句。
|
|
373
523
|
*/
|
|
@@ -428,6 +578,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
428
578
|
return this.request("DescribeTable", req, cb)
|
|
429
579
|
}
|
|
430
580
|
|
|
581
|
+
/**
|
|
582
|
+
* DMS元数据获取库
|
|
583
|
+
*/
|
|
584
|
+
async DescribeDMSDatabase(
|
|
585
|
+
req?: DescribeDMSDatabaseRequest,
|
|
586
|
+
cb?: (error: string, rep: DescribeDMSDatabaseResponse) => void
|
|
587
|
+
): Promise<DescribeDMSDatabaseResponse> {
|
|
588
|
+
return this.request("DescribeDMSDatabase", req, cb)
|
|
589
|
+
}
|
|
590
|
+
|
|
431
591
|
/**
|
|
432
592
|
* 该接口(DescribleTasks)用于查询任务列表
|
|
433
593
|
*/
|
|
@@ -439,13 +599,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
439
599
|
}
|
|
440
600
|
|
|
441
601
|
/**
|
|
442
|
-
*
|
|
602
|
+
* 绑定工作组到用户
|
|
443
603
|
*/
|
|
444
|
-
async
|
|
445
|
-
req:
|
|
446
|
-
cb?: (error: string, rep:
|
|
447
|
-
): Promise<
|
|
448
|
-
return this.request("
|
|
604
|
+
async BindWorkGroupsToUser(
|
|
605
|
+
req: BindWorkGroupsToUserRequest,
|
|
606
|
+
cb?: (error: string, rep: BindWorkGroupsToUserResponse) => void
|
|
607
|
+
): Promise<BindWorkGroupsToUserResponse> {
|
|
608
|
+
return this.request("BindWorkGroupsToUser", req, cb)
|
|
449
609
|
}
|
|
450
610
|
|
|
451
611
|
/**
|
|
@@ -458,6 +618,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
458
618
|
return this.request("CreateSparkAppTask", req, cb)
|
|
459
619
|
}
|
|
460
620
|
|
|
621
|
+
/**
|
|
622
|
+
* DMS元数据删除分区
|
|
623
|
+
*/
|
|
624
|
+
async DropDMSPartitions(
|
|
625
|
+
req: DropDMSPartitionsRequest,
|
|
626
|
+
cb?: (error: string, rep: DropDMSPartitionsResponse) => void
|
|
627
|
+
): Promise<DropDMSPartitionsResponse> {
|
|
628
|
+
return this.request("DropDMSPartitions", req, cb)
|
|
629
|
+
}
|
|
630
|
+
|
|
461
631
|
/**
|
|
462
632
|
* 修改用户信息
|
|
463
633
|
*/
|
|
@@ -489,13 +659,43 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
489
659
|
}
|
|
490
660
|
|
|
491
661
|
/**
|
|
492
|
-
*
|
|
662
|
+
* 添加用户到工作组
|
|
493
663
|
*/
|
|
494
|
-
async
|
|
495
|
-
req:
|
|
496
|
-
cb?: (error: string, rep:
|
|
497
|
-
): Promise<
|
|
498
|
-
return this.request("
|
|
664
|
+
async AddUsersToWorkGroup(
|
|
665
|
+
req: AddUsersToWorkGroupRequest,
|
|
666
|
+
cb?: (error: string, rep: AddUsersToWorkGroupResponse) => void
|
|
667
|
+
): Promise<AddUsersToWorkGroupResponse> {
|
|
668
|
+
return this.request("AddUsersToWorkGroup", req, cb)
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* 查询计算结果存储位置。
|
|
673
|
+
*/
|
|
674
|
+
async DescribeStoreLocation(
|
|
675
|
+
req?: DescribeStoreLocationRequest,
|
|
676
|
+
cb?: (error: string, rep: DescribeStoreLocationResponse) => void
|
|
677
|
+
): Promise<DescribeStoreLocationResponse> {
|
|
678
|
+
return this.request("DescribeStoreLocation", req, cb)
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* DMS元数据创建库
|
|
683
|
+
*/
|
|
684
|
+
async CreateDMSDatabase(
|
|
685
|
+
req: CreateDMSDatabaseRequest,
|
|
686
|
+
cb?: (error: string, rep: CreateDMSDatabaseResponse) => void
|
|
687
|
+
): Promise<CreateDMSDatabaseResponse> {
|
|
688
|
+
return this.request("CreateDMSDatabase", req, cb)
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* DMS元数据更新分区
|
|
693
|
+
*/
|
|
694
|
+
async AlterDMSPartition(
|
|
695
|
+
req: AlterDMSPartitionRequest,
|
|
696
|
+
cb?: (error: string, rep: AlterDMSPartitionResponse) => void
|
|
697
|
+
): Promise<AlterDMSPartitionResponse> {
|
|
698
|
+
return this.request("AlterDMSPartition", req, cb)
|
|
499
699
|
}
|
|
500
700
|
|
|
501
701
|
/**
|
|
@@ -509,13 +709,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
509
709
|
}
|
|
510
710
|
|
|
511
711
|
/**
|
|
512
|
-
*
|
|
712
|
+
* DMS元数据创建表
|
|
513
713
|
*/
|
|
514
|
-
async
|
|
515
|
-
req
|
|
516
|
-
cb?: (error: string, rep:
|
|
517
|
-
): Promise<
|
|
518
|
-
return this.request("
|
|
714
|
+
async CreateDMSTable(
|
|
715
|
+
req: CreateDMSTableRequest,
|
|
716
|
+
cb?: (error: string, rep: CreateDMSTableResponse) => void
|
|
717
|
+
): Promise<CreateDMSTableResponse> {
|
|
718
|
+
return this.request("CreateDMSTable", req, cb)
|
|
519
719
|
}
|
|
520
720
|
|
|
521
721
|
/**
|