tencentcloud-sdk-nodejs 4.0.470 → 4.0.472
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 +446 -0
- package/SERVICE_CHANGELOG.md +516 -217
- package/package.json +1 -1
- package/products.md +52 -52
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +13 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +87 -47
- package/src/services/asr/v20190614/asr_models.ts +2 -2
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/ccc/v20200210/ccc_client.ts +143 -70
- package/src/services/ccc/v20200210/ccc_models.ts +1373 -1083
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +17 -0
- package/src/services/clb/v20180317/clb_client.ts +4 -2
- package/src/services/clb/v20180317/clb_models.ts +80 -20
- package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +8 -8
- package/src/services/cls/v20201016/cls_models.ts +25 -1
- package/src/services/cvm/v20170312/cvm_client.ts +0 -1
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +19 -7
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +29 -4
- package/src/services/dts/index.ts +2 -0
- package/src/services/dts/v20211206/dts_client.ts +520 -0
- package/src/services/dts/v20211206/dts_models.ts +3518 -0
- package/src/services/dts/v20211206/index.ts +6 -0
- package/src/services/ess/v20201111/ess_models.ts +6 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +5 -0
- package/src/services/ivld/v20210903/ivld_models.ts +3 -3
- package/src/services/kms/v20190118/kms_models.ts +3 -3
- package/src/services/soe/v20180724/soe_models.ts +70 -0
- package/src/services/tcm/v20210413/tcm_client.ts +25 -1
- package/src/services/tcm/v20210413/tcm_models.ts +54 -9
- package/src/services/tcss/v20201101/tcss_client.ts +1 -0
- package/src/services/tcss/v20201101/tcss_models.ts +34 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +26 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +169 -0
- package/src/services/teo/v20220901/teo_client.ts +12 -73
- package/src/services/teo/v20220901/teo_models.ts +236 -477
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +18 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +74 -41
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +31 -7
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +45 -9
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1260 -1015
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +15 -0
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +70 -20
- package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +8 -8
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +21 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +0 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +0 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +26 -4
- package/tencentcloud/services/dts/index.d.ts +4 -0
- package/tencentcloud/services/dts/index.js +2 -0
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +163 -0
- package/tencentcloud/services/dts/v20211206/dts_client.js +256 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2989 -0
- package/tencentcloud/services/dts/v20211206/dts_models.js +18 -0
- package/tencentcloud/services/dts/v20211206/index.d.ts +6 -0
- package/tencentcloud/services/dts/v20211206/index.js +9 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +3 -3
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +3 -3
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +58 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +9 -1
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +12 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +48 -8
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +29 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +9 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +12 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +142 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +3 -23
- package/tencentcloud/services/teo/v20220901/teo_client.js +3 -33
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +177 -385
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +16 -4
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/ccc.v20200210.test.js +66 -6
- package/test/cynosdb.v20190107.test.js +12 -2
- package/test/dts.v20211206.test.js +381 -0
- package/test/tcm.v20210413.test.js +20 -0
- package/test/tdmq.v20200217.test.js +20 -0
- package/test/teo.v20220901.test.js +2 -52
|
@@ -6059,7 +6059,7 @@ export interface EnhancedService {
|
|
|
6059
6059
|
*/
|
|
6060
6060
|
MonitorService?: RunMonitorServiceEnabled;
|
|
6061
6061
|
/**
|
|
6062
|
-
*
|
|
6062
|
+
* 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,则公共镜像默认开启云自动化助手服务,其他镜像默认不开启云自动化助手服务。
|
|
6063
6063
|
*/
|
|
6064
6064
|
AutomationService?: RunAutomationServiceEnabled;
|
|
6065
6065
|
}
|
|
@@ -341,6 +341,12 @@ export interface AudioTrackItem {
|
|
|
341
341
|
* 音频片段的时长,单位为秒。默认和素材本身长度一致,表示截取全部素材。
|
|
342
342
|
*/
|
|
343
343
|
Duration?: number;
|
|
344
|
+
/**
|
|
345
|
+
* 音频片段目标时长,单位为秒。
|
|
346
|
+
<li>当 TargetDuration 不填或填0时,表示目标时长和 Duration 一致;</li>
|
|
347
|
+
<li>当 TargetDuration 取大于0的值时,将对音频片段做快进或慢放等处理,使得输出片段的时长等于 TargetDuration。</li>
|
|
348
|
+
*/
|
|
349
|
+
TargetDuration?: number;
|
|
344
350
|
/**
|
|
345
351
|
* 对音频片段进行的操作,如音量调节等。
|
|
346
352
|
*/
|
|
@@ -13402,6 +13408,12 @@ export interface VideoTrackItem {
|
|
|
13402
13408
|
* 视频片段时长,单位为秒。默认取视频素材本身长度,表示截取全部素材。如果源文件是图片,Duration需要大于0。
|
|
13403
13409
|
*/
|
|
13404
13410
|
Duration?: number;
|
|
13411
|
+
/**
|
|
13412
|
+
* 视频片段目标时长,单位为秒。
|
|
13413
|
+
<li>当 TargetDuration 不填或填0时,表示目标时长和 Duration 一致;</li>
|
|
13414
|
+
<li>当 TargetDuration 取大于0的值时,将对视频片段做快进或慢放等处理,使得输出片段的时长等于 TargetDuration。</li>
|
|
13415
|
+
*/
|
|
13416
|
+
TargetDuration?: number;
|
|
13405
13417
|
/**
|
|
13406
13418
|
* 视频原点位置,取值有:
|
|
13407
13419
|
<li>Center:坐标原点为中心位置,如画布中心。</li>
|
|
@@ -13440,14 +13452,14 @@ export interface VideoTrackItem {
|
|
|
13440
13452
|
<li>当 Width 非空,Height 为空,则 Height 按比例缩放。</li>
|
|
13441
13453
|
*/
|
|
13442
13454
|
Height?: string;
|
|
13443
|
-
/**
|
|
13444
|
-
* 对图像进行的操作,如图像旋转等。
|
|
13445
|
-
*/
|
|
13446
|
-
ImageOperations?: Array<ImageTransform>;
|
|
13447
13455
|
/**
|
|
13448
13456
|
* 对音频进行操作,如静音等。
|
|
13449
13457
|
*/
|
|
13450
13458
|
AudioOperations?: Array<AudioTransform>;
|
|
13459
|
+
/**
|
|
13460
|
+
* 对图像进行的操作,如图像旋转等。
|
|
13461
|
+
*/
|
|
13462
|
+
ImageOperations?: Array<ImageTransform>;
|
|
13451
13463
|
}
|
|
13452
13464
|
/**
|
|
13453
13465
|
* DescribeLicenseUsageData请求参数结构体
|
|
@@ -38,6 +38,16 @@ it("antiddos.v20200309.ModifyDDoSBlackWhiteIpList", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("antiddos.v20200309.DescribePendingRiskInfo", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribePendingRiskInfo({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("antiddos.v20200309.DescribeL7RulesBySSLCertId", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribeL7RulesBySSLCertId({})
|
|
@@ -18,9 +18,19 @@ const client = new tencentcloud.ccc.v20200210.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ccc.v20200210.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("ccc.v20200210.
|
|
21
|
+
it("ccc.v20200210.DescribeExtensions", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeExtensions({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("ccc.v20200210.CreateExtension", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateExtension({})
|
|
24
34
|
expect(data).to.be.ok
|
|
25
35
|
} catch(error) {
|
|
26
36
|
expect(error.requestId).to.be.ok
|
|
@@ -48,6 +58,16 @@ it("ccc.v20200210.DescribePSTNActiveSessionList", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("ccc.v20200210.DeleteExtension", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteExtension({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
51
71
|
it("ccc.v20200210.BindStaffSkillGroupList", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.BindStaffSkillGroupList({})
|
|
@@ -88,6 +108,16 @@ it("ccc.v20200210.DeleteStaff", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
111
|
+
it("ccc.v20200210.ModifyStaff", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ModifyStaff({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
91
121
|
it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
|
|
92
122
|
try {
|
|
93
123
|
const data = await client.DescribeAutoCalloutTasks({})
|
|
@@ -98,9 +128,29 @@ it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
|
|
|
98
128
|
}
|
|
99
129
|
})
|
|
100
130
|
|
|
101
|
-
it("ccc.v20200210.
|
|
131
|
+
it("ccc.v20200210.ResetExtensionPassword", async function () {
|
|
102
132
|
try {
|
|
103
|
-
const data = await client.
|
|
133
|
+
const data = await client.ResetExtensionPassword({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("ccc.v20200210.DescribeTelCallInfo", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeTelCallInfo({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("ccc.v20200210.DescribeExtension", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeExtension({})
|
|
104
154
|
expect(data).to.be.ok
|
|
105
155
|
} catch(error) {
|
|
106
156
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +268,9 @@ it("ccc.v20200210.DescribeStaffStatusMetrics", async function () {
|
|
|
218
268
|
}
|
|
219
269
|
})
|
|
220
270
|
|
|
221
|
-
it("ccc.v20200210.
|
|
271
|
+
it("ccc.v20200210.CreateStaff", async function () {
|
|
222
272
|
try {
|
|
223
|
-
const data = await client.
|
|
273
|
+
const data = await client.CreateStaff({})
|
|
224
274
|
expect(data).to.be.ok
|
|
225
275
|
} catch(error) {
|
|
226
276
|
expect(error.requestId).to.be.ok
|
|
@@ -238,6 +288,16 @@ it("ccc.v20200210.CreateAutoCalloutTask", async function () {
|
|
|
238
288
|
}
|
|
239
289
|
})
|
|
240
290
|
|
|
291
|
+
it("ccc.v20200210.ModifyExtension", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ModifyExtension({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
241
301
|
it("ccc.v20200210.CreateUserSig", async function () {
|
|
242
302
|
try {
|
|
243
303
|
const data = await client.CreateUserSig({})
|
|
@@ -108,9 +108,9 @@ it("cynosdb.v20190107.DescribeParamTemplates", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("cynosdb.v20190107.
|
|
111
|
+
it("cynosdb.v20190107.DeleteBackup", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DeleteBackup({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +138,16 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("cynosdb.v20190107.SetRenewFlag", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.SetRenewFlag({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("cynosdb.v20190107.ModifyBackupName", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.ModifyBackupName({})
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.dts.v20211206.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("dts.v20211206.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("dts.v20211206.ModifyMigrationJob", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyMigrationJob({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("dts.v20211206.DescribeSyncJobs", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeSyncJobs({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("dts.v20211206.CreateMigrationService", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateMigrationService({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("dts.v20211206.ModifyCompareTask", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ModifyCompareTask({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("dts.v20211206.StopCompare", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.StopCompare({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("dts.v20211206.CreateSyncJob", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateSyncJob({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("dts.v20211206.DeleteCompareTask", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DeleteCompareTask({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("dts.v20211206.StartSyncJob", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.StartSyncJob({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("dts.v20211206.StopSyncJob", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.StopSyncJob({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("dts.v20211206.CreateCheckSyncJob", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateCheckSyncJob({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
it("dts.v20211206.DescribeCompareReport", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeCompareReport({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("dts.v20211206.ConfigureSyncJob", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ConfigureSyncJob({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("dts.v20211206.ResizeSyncJob", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ResizeSyncJob({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("dts.v20211206.StartCompare", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.StartCompare({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
it("dts.v20211206.ResumeMigrateJob", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ResumeMigrateJob({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
it("dts.v20211206.StopMigrateJob", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.StopMigrateJob({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("dts.v20211206.DestroySyncJob", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DestroySyncJob({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("dts.v20211206.DescribeMigrateDBInstances", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeMigrateDBInstances({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("dts.v20211206.CreateMigrateCheckJob", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.CreateMigrateCheckJob({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
it("dts.v20211206.DescribeCheckSyncJobResult", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeCheckSyncJobResult({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("dts.v20211206.DescribeCompareTasks", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeCompareTasks({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("dts.v20211206.DescribeMigrationJobs", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeMigrationJobs({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
it("dts.v20211206.RecoverMigrateJob", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.RecoverMigrateJob({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("dts.v20211206.RecoverSyncJob", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.RecoverSyncJob({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("dts.v20211206.CreateCompareTask", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.CreateCompareTask({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
it("dts.v20211206.DestroyMigrateJob", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DestroyMigrateJob({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
it("dts.v20211206.DescribeMigrationDetail", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DescribeMigrationDetail({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("dts.v20211206.ResumeSyncJob", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ResumeSyncJob({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
it("dts.v20211206.DescribeMigrationCheckJob", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeMigrationCheckJob({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("dts.v20211206.StartMigrateJob", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.StartMigrateJob({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("dts.v20211206.ModifyMigrateJobSpec", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifyMigrateJobSpec({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
331
|
+
it("dts.v20211206.IsolateMigrateJob", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.IsolateMigrateJob({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
it("dts.v20211206.ModifyCompareTaskName", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.ModifyCompareTaskName({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("dts.v20211206.CompleteMigrateJob", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.CompleteMigrateJob({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
361
|
+
it("dts.v20211206.ModifyMigrateName", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyMigrateName({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
it("dts.v20211206.IsolateSyncJob", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.IsolateSyncJob({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
})
|
|
@@ -38,6 +38,16 @@ it("tcm.v20210413.LinkClusterList", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("tcm.v20210413.LinkPrometheus", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.LinkPrometheus({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("tcm.v20210413.DescribeMeshList", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribeMeshList({})
|
|
@@ -58,6 +68,16 @@ it("tcm.v20210413.UnlinkCluster", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
71
|
+
it("tcm.v20210413.UnlinkPrometheus", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UnlinkPrometheus({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
61
81
|
it("tcm.v20210413.ModifyMesh", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.ModifyMesh({})
|
|
@@ -128,6 +128,16 @@ it("tdmq.v20200217.DeleteRocketMQGroup", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("tdmq.v20200217.DescribeRabbitMQVipInstances", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeRabbitMQVipInstances({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("tdmq.v20200217.RewindCmqQueue", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.RewindCmqQueue({})
|
|
@@ -538,6 +548,16 @@ it("tdmq.v20200217.ResetMsgSubOffsetByTimestamp", async function () {
|
|
|
538
548
|
}
|
|
539
549
|
})
|
|
540
550
|
|
|
551
|
+
it("tdmq.v20200217.DescribeRabbitMQNodeList", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.DescribeRabbitMQNodeList({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
541
561
|
it("tdmq.v20200217.DescribeBindVpcs", async function () {
|
|
542
562
|
try {
|
|
543
563
|
const data = await client.DescribeBindVpcs({})
|