tencentcloud-sdk-nodejs 4.0.283 → 4.0.287
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 +365 -0
- package/SERVICE_CHANGELOG.md +509 -75
- package/package.json +1 -1
- package/products.md +25 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +15 -2
- package/src/services/ame/v20190916/ame_models.ts +103 -18
- package/src/services/antiddos/v20200309/antiddos_client.ts +327 -68
- package/src/services/antiddos/v20200309/antiddos_models.ts +1382 -244
- package/src/services/ccc/v20200210/ccc_client.ts +128 -91
- package/src/services/ccc/v20200210/ccc_models.ts +183 -6
- package/src/services/cdb/v20170320/cdb_models.ts +14 -4
- package/src/services/cfs/v20190719/cfs_models.ts +5 -0
- package/src/services/cii/v20210408/cii_client.ts +2 -2
- package/src/services/cii/v20210408/cii_models.ts +14 -6
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +30 -0
- package/src/services/clb/v20180317/clb_models.ts +4 -3
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +12 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +15 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +15 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +122 -22
- package/src/services/facefusion/v20181201/facefusion_models.ts +2 -2
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/index.ts +2 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
- package/src/services/lowcode/index.ts +5 -0
- package/src/services/lowcode/v20210108/index.ts +6 -0
- package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
- package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +65 -0
- package/src/services/organization/v20210331/organization_models.ts +2 -2
- package/src/services/rum/v20210622/rum_client.ts +585 -47
- package/src/services/rum/v20210622/rum_models.ts +3049 -338
- package/src/services/smh/index.ts +5 -0
- package/src/services/smh/v20210712/index.ts +6 -0
- package/src/services/smh/v20210712/smh_client.ts +155 -0
- package/src/services/smh/v20210712/smh_models.ts +655 -0
- package/src/services/ssl/v20191205/ssl_models.ts +6 -0
- package/src/services/ssm/v20190923/ssm_models.ts +3 -3
- package/src/services/tat/v20201028/tat_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +35 -2
- package/src/services/vod/v20180717/vod_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +5 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +6 -0
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +87 -15
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +103 -19
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +153 -27
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1205 -244
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +47 -35
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +69 -51
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +154 -5
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -4
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +2 -2
- package/tencentcloud/services/cii/v20210408/cii_client.js +2 -2
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +11 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +26 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +5 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +13 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +104 -21
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +2 -2
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/lowcode/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/index.js +7 -0
- package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +55 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +2 -2
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +198 -13
- package/tencentcloud/services/rum/v20210622/rum_client.js +289 -18
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +2593 -328
- package/tencentcloud/services/smh/index.d.ts +6 -0
- package/tencentcloud/services/smh/index.js +7 -0
- package/tencentcloud/services/smh/v20210712/index.d.ts +6 -0
- package/tencentcloud/services/smh/v20210712/index.js +9 -0
- package/tencentcloud/services/smh/v20210712/smh_client.d.ts +50 -0
- package/tencentcloud/services/smh/v20210712/smh_client.js +91 -0
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +538 -0
- package/tencentcloud/services/smh/v20210712/smh_models.js +18 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +3 -3
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +3 -3
- package/test/ame.v20190916.test.js +10 -0
- package/test/antiddos.v20200309.test.js +228 -18
- package/test/ccc.v20200210.test.js +66 -36
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/cloudaudit.v20190319.test.js +10 -0
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/lowcode.v20210108.test.js +31 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/rum.v20210622.test.js +442 -12
- package/test/smh.v20210712.test.js +121 -0
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.antiddos.v20200309.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("antiddos.v20200309.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("antiddos.v20200309.ModifyCcBlackWhiteIpList", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyCcBlackWhiteIpList({})
|
|
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
|
+
|
|
21
31
|
it("antiddos.v20200309.AssociateDDoSEipAddress", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.AssociateDDoSEipAddress({})
|
|
@@ -28,9 +38,9 @@ it("antiddos.v20200309.AssociateDDoSEipAddress", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
31
|
-
it("antiddos.v20200309.
|
|
41
|
+
it("antiddos.v20200309.ModifyDDoSThreshold", async function () {
|
|
32
42
|
try {
|
|
33
|
-
const data = await client.
|
|
43
|
+
const data = await client.ModifyDDoSThreshold({})
|
|
34
44
|
expect(data).to.be.ok
|
|
35
45
|
} catch(error) {
|
|
36
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,6 +58,16 @@ it("antiddos.v20200309.DescribeListWaterPrintConfig", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteDDoSBlackWhiteIpList({})
|
|
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("antiddos.v20200309.DeleteDDoSSpeedLimitConfig", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.DeleteDDoSSpeedLimitConfig({})
|
|
@@ -88,9 +108,19 @@ it("antiddos.v20200309.DeleteDDoSGeoIPBlockConfig", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
91
|
-
it("antiddos.v20200309.
|
|
111
|
+
it("antiddos.v20200309.ModifyDomainUsrName", async function () {
|
|
92
112
|
try {
|
|
93
|
-
const data = await client.
|
|
113
|
+
const data = await client.ModifyDomainUsrName({})
|
|
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("antiddos.v20200309.DescribeCCPrecisionPlyList", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeCCPrecisionPlyList({})
|
|
94
124
|
expect(data).to.be.ok
|
|
95
125
|
} catch(error) {
|
|
96
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +148,9 @@ it("antiddos.v20200309.CreatePacketFilterConfig", async function () {
|
|
|
118
148
|
}
|
|
119
149
|
})
|
|
120
150
|
|
|
121
|
-
it("antiddos.v20200309.
|
|
151
|
+
it("antiddos.v20200309.DeleteCCPrecisionPolicy", async function () {
|
|
122
152
|
try {
|
|
123
|
-
const data = await client.
|
|
153
|
+
const data = await client.DeleteCCPrecisionPolicy({})
|
|
124
154
|
expect(data).to.be.ok
|
|
125
155
|
} catch(error) {
|
|
126
156
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +168,26 @@ it("antiddos.v20200309.DescribeListBGPIPInstances", async function () {
|
|
|
138
168
|
}
|
|
139
169
|
})
|
|
140
170
|
|
|
171
|
+
it("antiddos.v20200309.DescribeListIPAlarmConfig", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeListIPAlarmConfig({})
|
|
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("antiddos.v20200309.DescribeDDoSTrend", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeDDoSTrend({})
|
|
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
|
+
|
|
141
191
|
it("antiddos.v20200309.DescribeDefaultAlarmThreshold", async function () {
|
|
142
192
|
try {
|
|
143
193
|
const data = await client.DescribeDefaultAlarmThreshold({})
|
|
@@ -168,9 +218,19 @@ it("antiddos.v20200309.ModifyNewDomainRules", async function () {
|
|
|
168
218
|
}
|
|
169
219
|
})
|
|
170
220
|
|
|
171
|
-
it("antiddos.v20200309.
|
|
221
|
+
it("antiddos.v20200309.ModifyCCReqLimitPolicy", async function () {
|
|
172
222
|
try {
|
|
173
|
-
const data = await client.
|
|
223
|
+
const data = await client.ModifyCCReqLimitPolicy({})
|
|
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("antiddos.v20200309.DescribeCcBlackWhiteIpList", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeCcBlackWhiteIpList({})
|
|
174
234
|
expect(data).to.be.ok
|
|
175
235
|
} catch(error) {
|
|
176
236
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +248,29 @@ it("antiddos.v20200309.DisassociateDDoSEipAddress", async function () {
|
|
|
188
248
|
}
|
|
189
249
|
})
|
|
190
250
|
|
|
191
|
-
it("antiddos.v20200309.
|
|
251
|
+
it("antiddos.v20200309.DescribeCcGeoIPBlockConfigList", async function () {
|
|
192
252
|
try {
|
|
193
|
-
const data = await client.
|
|
253
|
+
const data = await client.DescribeCcGeoIPBlockConfigList({})
|
|
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("antiddos.v20200309.ModifyDDoSLevel", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.ModifyDDoSLevel({})
|
|
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("antiddos.v20200309.ModifyCCThresholdPolicy", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.ModifyCCThresholdPolicy({})
|
|
194
274
|
expect(data).to.be.ok
|
|
195
275
|
} catch(error) {
|
|
196
276
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +288,9 @@ it("antiddos.v20200309.CreateBoundIP", async function () {
|
|
|
208
288
|
}
|
|
209
289
|
})
|
|
210
290
|
|
|
211
|
-
it("antiddos.v20200309.
|
|
291
|
+
it("antiddos.v20200309.DeleteCcGeoIPBlockConfig", async function () {
|
|
212
292
|
try {
|
|
213
|
-
const data = await client.
|
|
293
|
+
const data = await client.DeleteCcGeoIPBlockConfig({})
|
|
214
294
|
expect(data).to.be.ok
|
|
215
295
|
} catch(error) {
|
|
216
296
|
expect(error.requestId).to.be.ok
|
|
@@ -258,6 +338,16 @@ it("antiddos.v20200309.DescribeBlackWhiteIpList", async function () {
|
|
|
258
338
|
}
|
|
259
339
|
})
|
|
260
340
|
|
|
341
|
+
it("antiddos.v20200309.ModifyDDoSBlackWhiteIpList", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.ModifyDDoSBlackWhiteIpList({})
|
|
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
|
+
|
|
261
351
|
it("antiddos.v20200309.DescribeListDDoSAI", async function () {
|
|
262
352
|
try {
|
|
263
353
|
const data = await client.DescribeListDDoSAI({})
|
|
@@ -268,6 +358,16 @@ it("antiddos.v20200309.DescribeListDDoSAI", async function () {
|
|
|
268
358
|
}
|
|
269
359
|
})
|
|
270
360
|
|
|
361
|
+
it("antiddos.v20200309.DescribeCCReqLimitPolicyList", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeCCReqLimitPolicyList({})
|
|
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
|
+
|
|
271
371
|
it("antiddos.v20200309.CreateDDoSBlackWhiteIpList", async function () {
|
|
272
372
|
try {
|
|
273
373
|
const data = await client.CreateDDoSBlackWhiteIpList({})
|
|
@@ -288,6 +388,16 @@ it("antiddos.v20200309.DescribeCCTrend", async function () {
|
|
|
288
388
|
}
|
|
289
389
|
})
|
|
290
390
|
|
|
391
|
+
it("antiddos.v20200309.ModifyCCPrecisionPolicy", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.ModifyCCPrecisionPolicy({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
291
401
|
it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
|
|
292
402
|
try {
|
|
293
403
|
const data = await client.CreateIPAlarmThresholdConfig({})
|
|
@@ -298,6 +408,16 @@ it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
|
|
|
298
408
|
}
|
|
299
409
|
})
|
|
300
410
|
|
|
411
|
+
it("antiddos.v20200309.ModifyCCLevelPolicy", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.ModifyCCLevelPolicy({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
301
421
|
it("antiddos.v20200309.DescribeL7RulesBySSLCertId", async function () {
|
|
302
422
|
try {
|
|
303
423
|
const data = await client.DescribeL7RulesBySSLCertId({})
|
|
@@ -318,9 +438,19 @@ it("antiddos.v20200309.DescribeListPacketFilterConfig", async function () {
|
|
|
318
438
|
}
|
|
319
439
|
})
|
|
320
440
|
|
|
321
|
-
it("antiddos.v20200309.
|
|
441
|
+
it("antiddos.v20200309.DeletePortAclConfig", async function () {
|
|
322
442
|
try {
|
|
323
|
-
const data = await client.
|
|
443
|
+
const data = await client.DeletePortAclConfig({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
451
|
+
it("antiddos.v20200309.DeleteCcBlackWhiteIpList", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.DeleteCcBlackWhiteIpList({})
|
|
324
454
|
expect(data).to.be.ok
|
|
325
455
|
} catch(error) {
|
|
326
456
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +538,9 @@ it("antiddos.v20200309.CreateBlackWhiteIpList", async function () {
|
|
|
408
538
|
}
|
|
409
539
|
})
|
|
410
540
|
|
|
411
|
-
it("antiddos.v20200309.
|
|
541
|
+
it("antiddos.v20200309.ModifyPacketFilterConfig", async function () {
|
|
412
542
|
try {
|
|
413
|
-
const data = await client.
|
|
543
|
+
const data = await client.ModifyPacketFilterConfig({})
|
|
414
544
|
expect(data).to.be.ok
|
|
415
545
|
} catch(error) {
|
|
416
546
|
expect(error.requestId).to.be.ok
|
|
@@ -418,9 +548,29 @@ it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
|
|
|
418
548
|
}
|
|
419
549
|
})
|
|
420
550
|
|
|
421
|
-
it("antiddos.v20200309.
|
|
551
|
+
it("antiddos.v20200309.DescribeListDDoSSpeedLimitConfig", async function () {
|
|
422
552
|
try {
|
|
423
|
-
const data = await client.
|
|
553
|
+
const data = await client.DescribeListDDoSSpeedLimitConfig({})
|
|
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
|
+
|
|
561
|
+
it("antiddos.v20200309.DescribeListDDoSGeoIPBlockConfig", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeListDDoSGeoIPBlockConfig({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
571
|
+
it("antiddos.v20200309.CreateCCPrecisionPolicy", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.CreateCCPrecisionPolicy({})
|
|
424
574
|
expect(data).to.be.ok
|
|
425
575
|
} catch(error) {
|
|
426
576
|
expect(error.requestId).to.be.ok
|
|
@@ -458,6 +608,26 @@ it("antiddos.v20200309.DeleteWaterPrintConfig", async function () {
|
|
|
458
608
|
}
|
|
459
609
|
})
|
|
460
610
|
|
|
611
|
+
it("antiddos.v20200309.DescribeDDoSConnectLimitList", async function () {
|
|
612
|
+
try {
|
|
613
|
+
const data = await client.DescribeDDoSConnectLimitList({})
|
|
614
|
+
expect(data).to.be.ok
|
|
615
|
+
} catch(error) {
|
|
616
|
+
expect(error.requestId).to.be.ok
|
|
617
|
+
expect(error.code).to.be.ok
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
|
|
621
|
+
it("antiddos.v20200309.CreateCCReqLimitPolicy", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.CreateCCReqLimitPolicy({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
461
631
|
it("antiddos.v20200309.CreateDDoSAI", async function () {
|
|
462
632
|
try {
|
|
463
633
|
const data = await client.CreateDDoSAI({})
|
|
@@ -518,6 +688,16 @@ it("antiddos.v20200309.DescribeDDoSBlackWhiteIpList", async function () {
|
|
|
518
688
|
}
|
|
519
689
|
})
|
|
520
690
|
|
|
691
|
+
it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.ModifyL7RulesEdge({})
|
|
694
|
+
expect(data).to.be.ok
|
|
695
|
+
} catch(error) {
|
|
696
|
+
expect(error.requestId).to.be.ok
|
|
697
|
+
expect(error.code).to.be.ok
|
|
698
|
+
}
|
|
699
|
+
})
|
|
700
|
+
|
|
521
701
|
it("antiddos.v20200309.CreateWaterPrintKey", async function () {
|
|
522
702
|
try {
|
|
523
703
|
const data = await client.CreateWaterPrintKey({})
|
|
@@ -568,6 +748,16 @@ it("antiddos.v20200309.DescribeListPortAclList", async function () {
|
|
|
568
748
|
}
|
|
569
749
|
})
|
|
570
750
|
|
|
751
|
+
it("antiddos.v20200309.CreateCcGeoIPBlockConfig", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.CreateCcGeoIPBlockConfig({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
571
761
|
it("antiddos.v20200309.ModifyDDoSGeoIPBlockConfig", async function () {
|
|
572
762
|
try {
|
|
573
763
|
const data = await client.ModifyDDoSGeoIPBlockConfig({})
|
|
@@ -578,6 +768,16 @@ it("antiddos.v20200309.ModifyDDoSGeoIPBlockConfig", async function () {
|
|
|
578
768
|
}
|
|
579
769
|
})
|
|
580
770
|
|
|
771
|
+
it("antiddos.v20200309.ModifyPortAclConfig", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.ModifyPortAclConfig({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
581
781
|
it("antiddos.v20200309.DescribeListListener", async function () {
|
|
582
782
|
try {
|
|
583
783
|
const data = await client.DescribeListListener({})
|
|
@@ -588,4 +788,14 @@ it("antiddos.v20200309.DescribeListListener", async function () {
|
|
|
588
788
|
}
|
|
589
789
|
})
|
|
590
790
|
|
|
791
|
+
it("antiddos.v20200309.DeleteCCRequestLimitPolicy", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.DeleteCCRequestLimitPolicy({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
591
801
|
})
|
|
@@ -18,9 +18,29 @@ 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.DescribeStaffInfoList", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeStaffInfoList({})
|
|
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.DescribePSTNActiveSessionList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribePSTNActiveSessionList({})
|
|
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("ccc.v20200210.BindStaffSkillGroupList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.BindStaffSkillGroupList({})
|
|
24
44
|
expect(data).to.be.ok
|
|
25
45
|
} catch(error) {
|
|
26
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +68,9 @@ it("ccc.v20200210.DescribeIMCdrs", async function () {
|
|
|
48
68
|
}
|
|
49
69
|
})
|
|
50
70
|
|
|
51
|
-
it("ccc.v20200210.
|
|
71
|
+
it("ccc.v20200210.DeleteStaff", async function () {
|
|
52
72
|
try {
|
|
53
|
-
const data = await client.
|
|
73
|
+
const data = await client.DeleteStaff({})
|
|
54
74
|
expect(data).to.be.ok
|
|
55
75
|
} catch(error) {
|
|
56
76
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +78,9 @@ it("ccc.v20200210.DescribeTelSession", async function () {
|
|
|
58
78
|
}
|
|
59
79
|
})
|
|
60
80
|
|
|
61
|
-
it("ccc.v20200210.
|
|
81
|
+
it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
|
|
62
82
|
try {
|
|
63
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeAutoCalloutTasks({})
|
|
64
84
|
expect(data).to.be.ok
|
|
65
85
|
} catch(error) {
|
|
66
86
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +88,9 @@ it("ccc.v20200210.CreateUserSig", async function () {
|
|
|
68
88
|
}
|
|
69
89
|
})
|
|
70
90
|
|
|
71
|
-
it("ccc.v20200210.
|
|
91
|
+
it("ccc.v20200210.CreateStaff", async function () {
|
|
72
92
|
try {
|
|
73
|
-
const data = await client.
|
|
93
|
+
const data = await client.CreateStaff({})
|
|
74
94
|
expect(data).to.be.ok
|
|
75
95
|
} catch(error) {
|
|
76
96
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +98,9 @@ it("ccc.v20200210.DeleteStaff", async function () {
|
|
|
78
98
|
}
|
|
79
99
|
})
|
|
80
100
|
|
|
81
|
-
it("ccc.v20200210.
|
|
101
|
+
it("ccc.v20200210.DescribeTelSession", async function () {
|
|
82
102
|
try {
|
|
83
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribeTelSession({})
|
|
84
104
|
expect(data).to.be.ok
|
|
85
105
|
} catch(error) {
|
|
86
106
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +108,9 @@ it("ccc.v20200210.DescribeSkillGroupInfoList", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
91
|
-
it("ccc.v20200210.
|
|
111
|
+
it("ccc.v20200210.CreateCallOutSession", async function () {
|
|
92
112
|
try {
|
|
93
|
-
const data = await client.
|
|
113
|
+
const data = await client.CreateCallOutSession({})
|
|
94
114
|
expect(data).to.be.ok
|
|
95
115
|
} catch(error) {
|
|
96
116
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +118,9 @@ it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
101
|
-
it("ccc.v20200210.
|
|
121
|
+
it("ccc.v20200210.DescribeAutoCalloutTask", async function () {
|
|
102
122
|
try {
|
|
103
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeAutoCalloutTask({})
|
|
104
124
|
expect(data).to.be.ok
|
|
105
125
|
} catch(error) {
|
|
106
126
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +128,9 @@ it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
111
|
-
it("ccc.v20200210.
|
|
131
|
+
it("ccc.v20200210.DescribeTelCdr", async function () {
|
|
112
132
|
try {
|
|
113
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeTelCdr({})
|
|
114
134
|
expect(data).to.be.ok
|
|
115
135
|
} catch(error) {
|
|
116
136
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +138,9 @@ it("ccc.v20200210.DescribeTelCallInfo", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
121
|
-
it("ccc.v20200210.
|
|
141
|
+
it("ccc.v20200210.DescribeSkillGroupInfoList", async function () {
|
|
122
142
|
try {
|
|
123
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeSkillGroupInfoList({})
|
|
124
144
|
expect(data).to.be.ok
|
|
125
145
|
} catch(error) {
|
|
126
146
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +148,9 @@ it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
131
|
-
it("ccc.v20200210.
|
|
151
|
+
it("ccc.v20200210.StopAutoCalloutTask", async function () {
|
|
132
152
|
try {
|
|
133
|
-
const data = await client.
|
|
153
|
+
const data = await client.StopAutoCalloutTask({})
|
|
134
154
|
expect(data).to.be.ok
|
|
135
155
|
} catch(error) {
|
|
136
156
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +158,9 @@ it("ccc.v20200210.DescribeCallInMetrics", async function () {
|
|
|
138
158
|
}
|
|
139
159
|
})
|
|
140
160
|
|
|
141
|
-
it("ccc.v20200210.
|
|
161
|
+
it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
|
|
142
162
|
try {
|
|
143
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeCCCBuyInfoList({})
|
|
144
164
|
expect(data).to.be.ok
|
|
145
165
|
} catch(error) {
|
|
146
166
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +168,9 @@ it("ccc.v20200210.CreateSDKLoginToken", async function () {
|
|
|
148
168
|
}
|
|
149
169
|
})
|
|
150
170
|
|
|
151
|
-
it("ccc.v20200210.
|
|
171
|
+
it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
|
|
152
172
|
try {
|
|
153
|
-
const data = await client.
|
|
173
|
+
const data = await client.UnbindStaffSkillGroupList({})
|
|
154
174
|
expect(data).to.be.ok
|
|
155
175
|
} catch(error) {
|
|
156
176
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +178,9 @@ it("ccc.v20200210.DescribeSeatUserList", async function () {
|
|
|
158
178
|
}
|
|
159
179
|
})
|
|
160
180
|
|
|
161
|
-
it("ccc.v20200210.
|
|
181
|
+
it("ccc.v20200210.DescribeStaffStatusMetrics", async function () {
|
|
162
182
|
try {
|
|
163
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeStaffStatusMetrics({})
|
|
164
184
|
expect(data).to.be.ok
|
|
165
185
|
} catch(error) {
|
|
166
186
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +188,9 @@ it("ccc.v20200210.CreateCallOutSession", async function () {
|
|
|
168
188
|
}
|
|
169
189
|
})
|
|
170
190
|
|
|
171
|
-
it("ccc.v20200210.
|
|
191
|
+
it("ccc.v20200210.DescribeTelCallInfo", async function () {
|
|
172
192
|
try {
|
|
173
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeTelCallInfo({})
|
|
174
194
|
expect(data).to.be.ok
|
|
175
195
|
} catch(error) {
|
|
176
196
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +198,9 @@ it("ccc.v20200210.DescribePSTNActiveSessionList", async function () {
|
|
|
178
198
|
}
|
|
179
199
|
})
|
|
180
200
|
|
|
181
|
-
it("ccc.v20200210.
|
|
201
|
+
it("ccc.v20200210.CreateAutoCalloutTask", async function () {
|
|
182
202
|
try {
|
|
183
|
-
const data = await client.
|
|
203
|
+
const data = await client.CreateAutoCalloutTask({})
|
|
184
204
|
expect(data).to.be.ok
|
|
185
205
|
} catch(error) {
|
|
186
206
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +208,9 @@ it("ccc.v20200210.DescribeStaffInfoList", async function () {
|
|
|
188
208
|
}
|
|
189
209
|
})
|
|
190
210
|
|
|
191
|
-
it("ccc.v20200210.
|
|
211
|
+
it("ccc.v20200210.CreateUserSig", async function () {
|
|
192
212
|
try {
|
|
193
|
-
const data = await client.
|
|
213
|
+
const data = await client.CreateUserSig({})
|
|
194
214
|
expect(data).to.be.ok
|
|
195
215
|
} catch(error) {
|
|
196
216
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +218,9 @@ it("ccc.v20200210.CreateStaff", async function () {
|
|
|
198
218
|
}
|
|
199
219
|
})
|
|
200
220
|
|
|
201
|
-
it("ccc.v20200210.
|
|
221
|
+
it("ccc.v20200210.DescribeCallInMetrics", async function () {
|
|
202
222
|
try {
|
|
203
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeCallInMetrics({})
|
|
204
224
|
expect(data).to.be.ok
|
|
205
225
|
} catch(error) {
|
|
206
226
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +228,19 @@ it("ccc.v20200210.BindStaffSkillGroupList", async function () {
|
|
|
208
228
|
}
|
|
209
229
|
})
|
|
210
230
|
|
|
211
|
-
it("ccc.v20200210.
|
|
231
|
+
it("ccc.v20200210.CreateSDKLoginToken", async function () {
|
|
212
232
|
try {
|
|
213
|
-
const data = await client.
|
|
233
|
+
const data = await client.CreateSDKLoginToken({})
|
|
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("ccc.v20200210.DescribeSeatUserList", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeSeatUserList({})
|
|
214
244
|
expect(data).to.be.ok
|
|
215
245
|
} catch(error) {
|
|
216
246
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +138,16 @@ it("ckafka.v20190819.ModifyInstanceAttributes", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("ckafka.v20190819.DeleteGroup", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DeleteGroup({})
|
|
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("ckafka.v20190819.DescribeUser", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.DescribeUser({})
|
|
@@ -78,6 +78,16 @@ it("cloudaudit.v20190319.StopLogging", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("cloudaudit.v20190319.DescribeAuditTracks", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeAuditTracks({})
|
|
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
|
+
|
|
81
91
|
it("cloudaudit.v20190319.InquireAuditCredit", async function () {
|
|
82
92
|
try {
|
|
83
93
|
const data = await client.InquireAuditCredit({})
|
|
@@ -338,4 +338,14 @@ it("dbbrain.v20210527.CreateDBDiagReportUrl", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
+
it("dbbrain.v20210527.DescribeProxySessionKillTasks", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeProxySessionKillTasks({})
|
|
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
|
+
|
|
341
351
|
})
|