tencentcloud-sdk-nodejs 4.0.739 → 4.0.741
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 +416 -0
- package/SERVICE_CHANGELOG.md +461 -324
- package/package.json +1 -1
- package/products.md +20 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/billing/v20180709/billing_models.ts +4 -0
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cdb/v20170320/cdb_client.ts +168 -54
- package/src/services/cdb/v20170320/cdb_models.ts +716 -135
- package/src/services/cfg/v20210820/cfg_client.ts +32 -7
- package/src/services/cfg/v20210820/cfg_models.ts +108 -3
- package/src/services/config/index.ts +5 -0
- package/src/services/config/v20220802/config_client.ts +62 -0
- package/src/services/config/v20220802/config_models.ts +424 -0
- package/src/services/config/v20220802/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +6 -2
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/es/v20180416/es_models.ts +41 -9
- package/src/services/ess/v20201111/ess_models.ts +20 -4
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +20 -4
- package/src/services/hai/v20230812/hai_models.ts +5 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/organization/index.ts +2 -2
- package/src/services/tbaas/v20180416/tbaas_models.ts +12 -2
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tcr/v20190924/tcr_client.ts +16 -8
- package/src/services/tdmq/v20200217/tdmq_models.ts +39 -29
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/index.ts +2 -2
- package/src/services/teo/v20220901/teo_client.ts +3 -3
- package/src/services/teo/v20220901/teo_models.ts +38 -38
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/tke/v20180525/tke_models.ts +11 -6
- package/src/services/tse/v20201207/tse_client.ts +85 -9
- package/src/services/tse/v20201207/tse_models.ts +301 -18
- package/src/services/vm/index.ts +2 -2
- package/src/services/vod/v20180717/vod_client.ts +4 -1
- package/src/services/vod/v20180717/vod_models.ts +129 -19
- package/src/services/waf/v20180125/waf_models.ts +2 -2
- package/src/services/wedata/v20210820/wedata_client.ts +21 -7
- package/src/services/wedata/v20210820/wedata_models.ts +115 -6
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -0
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +59 -23
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +82 -28
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +680 -123
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +11 -3
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +15 -3
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +103 -3
- package/tencentcloud/services/config/index.d.ts +6 -0
- package/tencentcloud/services/config/index.js +7 -0
- package/tencentcloud/services/config/v20220802/config_client.d.ts +18 -0
- package/tencentcloud/services/config/v20220802/config_client.js +43 -0
- package/tencentcloud/services/config/v20220802/config_models.d.ts +397 -0
- package/tencentcloud/services/config/v20220802/config_models.js +18 -0
- package/tencentcloud/services/config/v20220802/index.d.ts +6 -0
- package/tencentcloud/services/config/v20220802/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -2
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/es/v20180416/es_models.d.ts +41 -9
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +20 -4
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +20 -4
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +12 -2
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +12 -4
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +12 -4
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +39 -29
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +3 -3
- package/tencentcloud/services/teo/v20220901/teo_client.js +3 -3
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +38 -38
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -6
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +27 -3
- package/tencentcloud/services/tse/v20201207/tse_client.js +39 -3
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +285 -18
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +126 -19
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +2 -2
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +7 -3
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +9 -3
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +111 -6
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/cdb.v20170320.test.js +102 -12
- package/test/cfg.v20210820.test.js +22 -2
- package/test/config.v20220802.test.js +41 -0
- package/test/tse.v20201207.test.js +62 -2
- package/test/wedata.v20210820.test.js +12 -2
|
@@ -58,9 +58,9 @@ it("cdb.v20170320.DescribeDBFeatures", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("cdb.v20170320.
|
|
61
|
+
it("cdb.v20170320.CreateAuditRuleTemplate", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateAuditRuleTemplate({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -178,6 +178,16 @@ it("cdb.v20170320.DescribeCdbZoneConfig", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("cdb.v20170320.CloseAuditService", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CloseAuditService({})
|
|
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
|
+
|
|
181
191
|
it("cdb.v20170320.StopRollback", async function () {
|
|
182
192
|
try {
|
|
183
193
|
const data = await client.StopRollback({})
|
|
@@ -278,6 +288,16 @@ it("cdb.v20170320.DescribeBackupConfig", async function () {
|
|
|
278
288
|
}
|
|
279
289
|
})
|
|
280
290
|
|
|
291
|
+
it("cdb.v20170320.OpenDBInstanceEncryption", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.OpenDBInstanceEncryption({})
|
|
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
|
+
|
|
281
301
|
it("cdb.v20170320.CloseWanService", async function () {
|
|
282
302
|
try {
|
|
283
303
|
const data = await client.CloseWanService({})
|
|
@@ -308,9 +328,9 @@ it("cdb.v20170320.DescribeAuditPolicies", async function () {
|
|
|
308
328
|
}
|
|
309
329
|
})
|
|
310
330
|
|
|
311
|
-
it("cdb.v20170320.
|
|
331
|
+
it("cdb.v20170320.DeleteDatabase", async function () {
|
|
312
332
|
try {
|
|
313
|
-
const data = await client.
|
|
333
|
+
const data = await client.DeleteDatabase({})
|
|
314
334
|
expect(data).to.be.ok
|
|
315
335
|
} catch(error) {
|
|
316
336
|
expect(error.requestId).to.be.ok
|
|
@@ -358,9 +378,9 @@ it("cdb.v20170320.SwitchDBInstanceMasterSlave", async function () {
|
|
|
358
378
|
}
|
|
359
379
|
})
|
|
360
380
|
|
|
361
|
-
it("cdb.v20170320.
|
|
381
|
+
it("cdb.v20170320.CreateDatabase", async function () {
|
|
362
382
|
try {
|
|
363
|
-
const data = await client.
|
|
383
|
+
const data = await client.CreateDatabase({})
|
|
364
384
|
expect(data).to.be.ok
|
|
365
385
|
} catch(error) {
|
|
366
386
|
expect(error.requestId).to.be.ok
|
|
@@ -408,6 +428,16 @@ it("cdb.v20170320.DescribeAccountPrivileges", async function () {
|
|
|
408
428
|
}
|
|
409
429
|
})
|
|
410
430
|
|
|
431
|
+
it("cdb.v20170320.DescribeDataBackupOverview", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.DescribeDataBackupOverview({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
411
441
|
it("cdb.v20170320.ReleaseIsolatedDBInstances", async function () {
|
|
412
442
|
try {
|
|
413
443
|
const data = await client.ReleaseIsolatedDBInstances({})
|
|
@@ -478,9 +508,9 @@ it("cdb.v20170320.SwitchForUpgrade", async function () {
|
|
|
478
508
|
}
|
|
479
509
|
})
|
|
480
510
|
|
|
481
|
-
it("cdb.v20170320.
|
|
511
|
+
it("cdb.v20170320.DeleteAuditRuleTemplates", async function () {
|
|
482
512
|
try {
|
|
483
|
-
const data = await client.
|
|
513
|
+
const data = await client.DeleteAuditRuleTemplates({})
|
|
484
514
|
expect(data).to.be.ok
|
|
485
515
|
} catch(error) {
|
|
486
516
|
expect(error.requestId).to.be.ok
|
|
@@ -498,6 +528,16 @@ it("cdb.v20170320.DescribeBackups", async function () {
|
|
|
498
528
|
}
|
|
499
529
|
})
|
|
500
530
|
|
|
531
|
+
it("cdb.v20170320.DescribeCdbProxyInfo", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.DescribeCdbProxyInfo({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
501
541
|
it("cdb.v20170320.CreateParamTemplate", async function () {
|
|
502
542
|
try {
|
|
503
543
|
const data = await client.CreateParamTemplate({})
|
|
@@ -588,9 +628,9 @@ it("cdb.v20170320.CreateCdbProxyAddress", async function () {
|
|
|
588
628
|
}
|
|
589
629
|
})
|
|
590
630
|
|
|
591
|
-
it("cdb.v20170320.
|
|
631
|
+
it("cdb.v20170320.DeleteAuditPolicy", async function () {
|
|
592
632
|
try {
|
|
593
|
-
const data = await client.
|
|
633
|
+
const data = await client.DeleteAuditPolicy({})
|
|
594
634
|
expect(data).to.be.ok
|
|
595
635
|
} catch(error) {
|
|
596
636
|
expect(error.requestId).to.be.ok
|
|
@@ -918,9 +958,9 @@ it("cdb.v20170320.AdjustCdbProxyAddress", async function () {
|
|
|
918
958
|
}
|
|
919
959
|
})
|
|
920
960
|
|
|
921
|
-
it("cdb.v20170320.
|
|
961
|
+
it("cdb.v20170320.DescribeAuditInstanceList", async function () {
|
|
922
962
|
try {
|
|
923
|
-
const data = await client.
|
|
963
|
+
const data = await client.DescribeAuditInstanceList({})
|
|
924
964
|
expect(data).to.be.ok
|
|
925
965
|
} catch(error) {
|
|
926
966
|
expect(error.requestId).to.be.ok
|
|
@@ -1158,6 +1198,16 @@ it("cdb.v20170320.ResetRootAccount", async function () {
|
|
|
1158
1198
|
}
|
|
1159
1199
|
})
|
|
1160
1200
|
|
|
1201
|
+
it("cdb.v20170320.ModifyAuditRuleTemplates", async function () {
|
|
1202
|
+
try {
|
|
1203
|
+
const data = await client.ModifyAuditRuleTemplates({})
|
|
1204
|
+
expect(data).to.be.ok
|
|
1205
|
+
} catch(error) {
|
|
1206
|
+
expect(error.requestId).to.be.ok
|
|
1207
|
+
expect(error.code).to.be.ok
|
|
1208
|
+
}
|
|
1209
|
+
})
|
|
1210
|
+
|
|
1161
1211
|
it("cdb.v20170320.ModifyAccountPassword", async function () {
|
|
1162
1212
|
try {
|
|
1163
1213
|
const data = await client.ModifyAccountPassword({})
|
|
@@ -1218,6 +1268,16 @@ it("cdb.v20170320.DeleteAuditLogFile", async function () {
|
|
|
1218
1268
|
}
|
|
1219
1269
|
})
|
|
1220
1270
|
|
|
1271
|
+
it("cdb.v20170320.DescribeAuditRuleTemplates", async function () {
|
|
1272
|
+
try {
|
|
1273
|
+
const data = await client.DescribeAuditRuleTemplates({})
|
|
1274
|
+
expect(data).to.be.ok
|
|
1275
|
+
} catch(error) {
|
|
1276
|
+
expect(error.requestId).to.be.ok
|
|
1277
|
+
expect(error.code).to.be.ok
|
|
1278
|
+
}
|
|
1279
|
+
})
|
|
1280
|
+
|
|
1221
1281
|
it("cdb.v20170320.ModifyBackupConfig", async function () {
|
|
1222
1282
|
try {
|
|
1223
1283
|
const data = await client.ModifyBackupConfig({})
|
|
@@ -1278,6 +1338,16 @@ it("cdb.v20170320.DescribeDBInstanceLogToCLS", async function () {
|
|
|
1278
1338
|
}
|
|
1279
1339
|
})
|
|
1280
1340
|
|
|
1341
|
+
it("cdb.v20170320.DescribeAuditRuleTemplateModifyHistory", async function () {
|
|
1342
|
+
try {
|
|
1343
|
+
const data = await client.DescribeAuditRuleTemplateModifyHistory({})
|
|
1344
|
+
expect(data).to.be.ok
|
|
1345
|
+
} catch(error) {
|
|
1346
|
+
expect(error.requestId).to.be.ok
|
|
1347
|
+
expect(error.code).to.be.ok
|
|
1348
|
+
}
|
|
1349
|
+
})
|
|
1350
|
+
|
|
1281
1351
|
it("cdb.v20170320.CreateCdbProxy", async function () {
|
|
1282
1352
|
try {
|
|
1283
1353
|
const data = await client.CreateCdbProxy({})
|
|
@@ -1308,6 +1378,16 @@ it("cdb.v20170320.SwitchCDBProxy", async function () {
|
|
|
1308
1378
|
}
|
|
1309
1379
|
})
|
|
1310
1380
|
|
|
1381
|
+
it("cdb.v20170320.ModifyAuditService", async function () {
|
|
1382
|
+
try {
|
|
1383
|
+
const data = await client.ModifyAuditService({})
|
|
1384
|
+
expect(data).to.be.ok
|
|
1385
|
+
} catch(error) {
|
|
1386
|
+
expect(error.requestId).to.be.ok
|
|
1387
|
+
expect(error.code).to.be.ok
|
|
1388
|
+
}
|
|
1389
|
+
})
|
|
1390
|
+
|
|
1311
1391
|
it("cdb.v20170320.ModifyCdbProxyParam", async function () {
|
|
1312
1392
|
try {
|
|
1313
1393
|
const data = await client.ModifyCdbProxyParam({})
|
|
@@ -1408,6 +1488,16 @@ it("cdb.v20170320.DescribeSupportedPrivileges", async function () {
|
|
|
1408
1488
|
}
|
|
1409
1489
|
})
|
|
1410
1490
|
|
|
1491
|
+
it("cdb.v20170320.DeleteParamTemplate", async function () {
|
|
1492
|
+
try {
|
|
1493
|
+
const data = await client.DeleteParamTemplate({})
|
|
1494
|
+
expect(data).to.be.ok
|
|
1495
|
+
} catch(error) {
|
|
1496
|
+
expect(error.requestId).to.be.ok
|
|
1497
|
+
expect(error.code).to.be.ok
|
|
1498
|
+
}
|
|
1499
|
+
})
|
|
1500
|
+
|
|
1411
1501
|
it("cdb.v20170320.UpgradeCDBProxyVersion", async function () {
|
|
1412
1502
|
try {
|
|
1413
1503
|
const data = await client.UpgradeCDBProxyVersion({})
|
|
@@ -68,6 +68,16 @@ it("cfg.v20210820.ModifyTaskRunStatus", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("cfg.v20210820.TriggerPolicy", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.TriggerPolicy({})
|
|
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
|
+
|
|
71
81
|
it("cfg.v20210820.DescribeTaskList", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeTaskList({})
|
|
@@ -98,6 +108,16 @@ it("cfg.v20210820.DescribeTask", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
111
|
+
it("cfg.v20210820.DeleteTask", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DeleteTask({})
|
|
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
|
+
|
|
101
121
|
it("cfg.v20210820.ExecuteTask", async function () {
|
|
102
122
|
try {
|
|
103
123
|
const data = await client.ExecuteTask({})
|
|
@@ -108,9 +128,9 @@ it("cfg.v20210820.ExecuteTask", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
111
|
-
it("cfg.v20210820.
|
|
131
|
+
it("cfg.v20210820.DescribeTaskPolicyTriggerLog", async function () {
|
|
112
132
|
try {
|
|
113
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeTaskPolicyTriggerLog({})
|
|
114
134
|
expect(data).to.be.ok
|
|
115
135
|
} catch(error) {
|
|
116
136
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.config.v20220802.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("config.v20220802.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("config.v20220802.ListConfigRules", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ListConfigRules({})
|
|
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("config.v20220802.ListAggregateConfigRules", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ListAggregateConfigRules({})
|
|
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
|
+
})
|
|
@@ -38,6 +38,16 @@ it("tse.v20201207.DescribeUpstreamHealthCheckConfig", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("tse.v20201207.DescribeZookeeperReplicas", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeZookeeperReplicas({})
|
|
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("tse.v20201207.ModifyNativeGatewayServerGroup", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.ModifyNativeGatewayServerGroup({})
|
|
@@ -68,6 +78,16 @@ it("tse.v20201207.DeleteCloudNativeAPIGatewayServiceRateLimit", async function (
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("tse.v20201207.CreateWafDomains", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateWafDomains({})
|
|
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
|
+
|
|
71
91
|
it("tse.v20201207.DescribeZookeeperServerInterfaces", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.DescribeZookeeperServerInterfaces({})
|
|
@@ -128,6 +148,16 @@ it("tse.v20201207.ModifyCloudNativeAPIGatewayCanaryRule", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
151
|
+
it("tse.v20201207.DeleteWafDomains", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DeleteWafDomains({})
|
|
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
|
+
|
|
131
161
|
it("tse.v20201207.DeleteCloudNativeAPIGatewayService", async function () {
|
|
132
162
|
try {
|
|
133
163
|
const data = await client.DeleteCloudNativeAPIGatewayService({})
|
|
@@ -278,9 +308,9 @@ it("tse.v20201207.ModifyCloudNativeAPIGatewayRoute", async function () {
|
|
|
278
308
|
}
|
|
279
309
|
})
|
|
280
310
|
|
|
281
|
-
it("tse.v20201207.
|
|
311
|
+
it("tse.v20201207.CloseWafProtection", async function () {
|
|
282
312
|
try {
|
|
283
|
-
const data = await client.
|
|
313
|
+
const data = await client.CloseWafProtection({})
|
|
284
314
|
expect(data).to.be.ok
|
|
285
315
|
} catch(error) {
|
|
286
316
|
expect(error.requestId).to.be.ok
|
|
@@ -318,6 +348,16 @@ it("tse.v20201207.DescribeCloudNativeAPIGatewayRouteRateLimit", async function (
|
|
|
318
348
|
}
|
|
319
349
|
})
|
|
320
350
|
|
|
351
|
+
it("tse.v20201207.DescribeWafProtection", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DescribeWafProtection({})
|
|
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
|
+
|
|
321
361
|
it("tse.v20201207.DescribeCloudNativeAPIGatewayConfig", async function () {
|
|
322
362
|
try {
|
|
323
363
|
const data = await client.DescribeCloudNativeAPIGatewayConfig({})
|
|
@@ -358,6 +398,16 @@ it("tse.v20201207.CreateCloudNativeAPIGatewayCanaryRule", async function () {
|
|
|
358
398
|
}
|
|
359
399
|
})
|
|
360
400
|
|
|
401
|
+
it("tse.v20201207.DescribeWafDomains", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeWafDomains({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
361
411
|
it("tse.v20201207.DescribeCloudNativeAPIGatewayCertificateDetails", async function () {
|
|
362
412
|
try {
|
|
363
413
|
const data = await client.DescribeCloudNativeAPIGatewayCertificateDetails({})
|
|
@@ -378,6 +428,16 @@ it("tse.v20201207.UpdateEngineInternetAccess", async function () {
|
|
|
378
428
|
}
|
|
379
429
|
})
|
|
380
430
|
|
|
431
|
+
it("tse.v20201207.OpenWafProtection", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.OpenWafProtection({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
381
441
|
it("tse.v20201207.ModifyCloudNativeAPIGateway", async function () {
|
|
382
442
|
try {
|
|
383
443
|
const data = await client.ModifyCloudNativeAPIGateway({})
|
|
@@ -1288,9 +1288,9 @@ it("wedata.v20210820.CreateBaseline", async function () {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
})
|
|
1290
1290
|
|
|
1291
|
-
it("wedata.v20210820.
|
|
1291
|
+
it("wedata.v20210820.DescribeColumnsMeta", async function () {
|
|
1292
1292
|
try {
|
|
1293
|
-
const data = await client.
|
|
1293
|
+
const data = await client.DescribeColumnsMeta({})
|
|
1294
1294
|
expect(data).to.be.ok
|
|
1295
1295
|
} catch(error) {
|
|
1296
1296
|
expect(error.requestId).to.be.ok
|
|
@@ -1448,6 +1448,16 @@ it("wedata.v20210820.DescribeOperateTasks", async function () {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
})
|
|
1450
1450
|
|
|
1451
|
+
it("wedata.v20210820.DiagnosePlus", async function () {
|
|
1452
|
+
try {
|
|
1453
|
+
const data = await client.DiagnosePlus({})
|
|
1454
|
+
expect(data).to.be.ok
|
|
1455
|
+
} catch(error) {
|
|
1456
|
+
expect(error.requestId).to.be.ok
|
|
1457
|
+
expect(error.code).to.be.ok
|
|
1458
|
+
}
|
|
1459
|
+
})
|
|
1460
|
+
|
|
1451
1461
|
it("wedata.v20210820.FreezeOpsTasks", async function () {
|
|
1452
1462
|
try {
|
|
1453
1463
|
const data = await client.FreezeOpsTasks({})
|