tencentcloud-sdk-nodejs 4.0.387 → 4.0.391
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 +604 -0
- package/SERVICE_CHANGELOG.md +1047 -191
- package/package.json +1 -1
- package/products.md +49 -45
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_models.ts +15 -5
- package/src/services/antiddos/v20200309/antiddos_models.ts +42 -0
- package/src/services/as/v20180419/as_client.ts +1 -0
- package/src/services/as/v20180419/as_models.ts +65 -3
- package/src/services/bma/index.ts +5 -0
- package/src/services/bma/v20210624/bma_client.ts +178 -0
- package/src/services/bma/v20210624/bma_models.ts +856 -0
- package/src/services/bma/v20210624/index.ts +6 -0
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cdb/v20170320/cdb_client.ts +12 -0
- package/src/services/cdb/v20170320/cdb_models.ts +30 -0
- package/src/services/cdc/v20201214/cdc_models.ts +30 -0
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +5 -0
- package/src/services/cfs/v20190719/cfs_models.ts +1 -1
- package/src/services/cfw/v20190904/cfw_client.ts +1 -1
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cii/index.ts +2 -2
- package/src/services/ckafka/v20190819/ckafka_client.ts +200 -40
- package/src/services/ckafka/v20190819/ckafka_models.ts +1641 -341
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +6 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +6 -0
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +39 -14
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +137 -32
- package/src/services/dataintegration/index.ts +5 -0
- package/src/services/dataintegration/v20220613/dataintegration_client.ts +40 -0
- package/src/services/dataintegration/v20220613/dataintegration_models.ts +61 -0
- package/src/services/dataintegration/v20220613/index.ts +6 -0
- package/src/services/dbdc/v20201029/dbdc_models.ts +31 -4
- package/src/services/dlc/v20210125/dlc_models.ts +17 -1
- package/src/services/eis/index.ts +2 -2
- package/src/services/emr/v20190103/emr_client.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +26 -1
- package/src/services/ess/v20201111/ess_models.ts +265 -123
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +5 -0
- package/src/services/faceid/v20180301/faceid_client.ts +3 -1
- package/src/services/faceid/v20180301/faceid_models.ts +106 -18
- package/src/services/gaap/v20180529/gaap_models.ts +251 -29
- package/src/services/iai/index.ts +2 -2
- package/src/services/index.ts +4 -0
- package/src/services/iotvideo/index.ts +4 -4
- package/src/services/live/v20180801/live_models.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +10 -0
- package/src/services/mmps/v20200710/mmps_models.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/mps/v20190612/mps_models.ts +2 -2
- package/src/services/oceanus/v20190422/oceanus_client.ts +10 -9
- package/src/services/oceanus/v20190422/oceanus_models.ts +105 -52
- package/src/services/ocr/v20181119/ocr_client.ts +22 -8
- package/src/services/ocr/v20181119/ocr_models.ts +7 -6
- package/src/services/organization/index.ts +2 -2
- package/src/services/privatedns/v20201028/privatedns_models.ts +6 -0
- package/src/services/pts/index.ts +5 -0
- package/src/services/pts/v20210728/index.ts +6 -0
- package/src/services/pts/v20210728/pts_client.ts +597 -0
- package/src/services/pts/v20210728/pts_models.ts +3903 -0
- package/src/services/redis/v20180412/redis_client.ts +85 -61
- package/src/services/redis/v20180412/redis_models.ts +71 -6
- package/src/services/region/index.ts +5 -0
- package/src/services/region/v20220627/index.ts +6 -0
- package/src/services/region/v20220627/region_client.ts +70 -0
- package/src/services/region/v20220627/region_models.ts +210 -0
- package/src/services/sms/index.ts +2 -2
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +10 -0
- package/src/services/tcb/v20180608/tcb_client.ts +25 -12
- package/src/services/tcb/v20180608/tcb_models.ts +233 -93
- package/src/services/tdmq/v20200217/tdmq_client.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +4 -3
- package/src/services/tem/index.ts +2 -2
- package/src/services/tem/v20210701/tem_client.ts +99 -70
- package/src/services/tem/v20210701/tem_models.ts +1436 -1159
- package/src/services/teo/v20220106/teo_client.ts +2 -0
- package/src/services/teo/v20220106/teo_models.ts +90 -0
- package/src/services/tiia/v20190529/tiia_client.ts +11 -30
- package/src/services/tiia/v20190529/tiia_models.ts +30 -168
- package/src/services/tione/index.ts +2 -2
- package/src/services/tke/v20180525/tke_client.ts +89 -29
- package/src/services/tke/v20180525/tke_models.ts +239 -96
- package/src/services/trp/v20210515/trp_models.ts +21 -1
- package/src/services/tsf/v20180326/tsf_models.ts +6 -1
- package/src/services/tsw/index.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +19 -4
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +28 -1
- package/src/services/waf/v20180125/waf_client.ts +21 -7
- package/src/services/waf/v20180125/waf_models.ts +174 -121
- package/src/services/yinsuda/v20220527/yinsuda_client.ts +1 -1
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +7 -0
- 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/acp/v20220105/acp_models.d.ts +13 -5
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +34 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +56 -3
- package/tencentcloud/services/bma/index.d.ts +6 -0
- package/tencentcloud/services/bma/index.js +7 -0
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +58 -0
- package/tencentcloud/services/bma/v20210624/bma_client.js +103 -0
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +698 -0
- package/tencentcloud/services/bma/v20210624/bma_models.js +18 -0
- package/tencentcloud/services/bma/v20210624/index.d.ts +6 -0
- package/tencentcloud/services/bma/v20210624/index.js +9 -0
- 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 +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +26 -0
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +25 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +4 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +1 -1
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cii/index.d.ts +4 -4
- package/tencentcloud/services/cii/index.js +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +57 -9
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +84 -12
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1370 -267
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +5 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +13 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +18 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +116 -28
- package/tencentcloud/services/dataintegration/index.d.ts +6 -0
- package/tencentcloud/services/dataintegration/index.js +7 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_client.d.ts +14 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_client.js +37 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_models.d.ts +39 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_models.js +18 -0
- package/tencentcloud/services/dataintegration/v20220613/index.d.ts +6 -0
- package/tencentcloud/services/dataintegration/v20220613/index.js +9 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +26 -4
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +14 -1
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +229 -109
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +91 -14
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +211 -26
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/index.d.ts +4 -0
- package/tencentcloud/services/index.js +8 -0
- package/tencentcloud/services/iotvideo/index.d.ts +6 -6
- package/tencentcloud/services/iotvideo/index.js +4 -4
- package/tencentcloud/services/live/v20180801/live_models.d.ts +10 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +8 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +2 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +0 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +92 -48
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +14 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +14 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -6
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +5 -0
- package/tencentcloud/services/pts/index.d.ts +6 -0
- package/tencentcloud/services/pts/index.js +7 -0
- package/tencentcloud/services/pts/v20210728/index.d.ts +6 -0
- package/tencentcloud/services/pts/v20210728/index.js +9 -0
- package/tencentcloud/services/pts/v20210728/pts_client.d.ts +182 -0
- package/tencentcloud/services/pts/v20210728/pts_client.js +289 -0
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +3285 -0
- package/tencentcloud/services/pts/v20210728/pts_models.js +18 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +29 -21
- package/tencentcloud/services/redis/v20180412/redis_client.js +42 -30
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +62 -6
- package/tencentcloud/services/region/index.d.ts +6 -0
- package/tencentcloud/services/region/index.js +7 -0
- package/tencentcloud/services/region/v20220627/index.d.ts +6 -0
- package/tencentcloud/services/region/v20220627/index.js +9 -0
- package/tencentcloud/services/region/v20220627/region_client.d.ts +22 -0
- package/tencentcloud/services/region/v20220627/region_client.js +49 -0
- package/tencentcloud/services/region/v20220627/region_models.d.ts +173 -0
- package/tencentcloud/services/region/v20220627/region_models.js +18 -0
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +8 -0
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +7 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +9 -3
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +204 -85
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -2
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +13 -5
- package/tencentcloud/services/tem/v20210701/tem_client.js +18 -6
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +1343 -1108
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +76 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +6 -14
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +6 -16
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +30 -149
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +29 -9
- package/tencentcloud/services/tke/v20180525/tke_client.js +42 -12
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +205 -80
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +17 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -1
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -4
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +25 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +150 -104
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +1 -1
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +1 -1
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +6 -0
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/bma.v20210624.test.js +141 -0
- package/test/cdb.v20170320.test.js +10 -0
- package/test/ckafka.v20190819.test.js +128 -8
- package/test/cynosdb.v20190107.test.js +24 -4
- package/test/dataintegration.v20220613.test.js +31 -0
- package/test/ess.v20201111.test.js +20 -0
- package/test/pts.v20210728.test.js +451 -0
- package/test/redis.v20180412.test.js +40 -20
- package/test/region.v20220627.test.js +51 -0
- package/test/tcb.v20180608.test.js +12 -2
- package/test/tem.v20210701.test.js +24 -4
- package/test/tiia.v20190529.test.js +2 -12
- package/test/tke.v20180525.test.js +58 -8
- package/test/waf.v20180125.test.js +10 -0
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.pts.v20210728.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("pts.v20210728.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("pts.v20210728.DescribeScenarioWithJobs", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeScenarioWithJobs({})
|
|
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("pts.v20210728.UpdateJob", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.UpdateJob({})
|
|
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("pts.v20210728.UpdateCronJob", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.UpdateCronJob({})
|
|
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("pts.v20210728.StartJob", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.StartJob({})
|
|
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("pts.v20210728.UpdateScenario", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.UpdateScenario({})
|
|
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("pts.v20210728.DescribeFiles", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeFiles({})
|
|
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("pts.v20210728.DeleteProjects", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DeleteProjects({})
|
|
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("pts.v20210728.DescribeSampleQuery", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeSampleQuery({})
|
|
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("pts.v20210728.DescribeJobs", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeJobs({})
|
|
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("pts.v20210728.CreateScenario", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateScenario({})
|
|
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("pts.v20210728.DeleteFiles", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DeleteFiles({})
|
|
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("pts.v20210728.DescribeCheckSummary", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeCheckSummary({})
|
|
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("pts.v20210728.DescribeSampleMatrixBatchQuery", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeSampleMatrixBatchQuery({})
|
|
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("pts.v20210728.DescribeSampleMatrixQuery", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeSampleMatrixQuery({})
|
|
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("pts.v20210728.DescribeRequestSummary", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeRequestSummary({})
|
|
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("pts.v20210728.DeleteScenarios", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteScenarios({})
|
|
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("pts.v20210728.DescribeProjects", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeProjects({})
|
|
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("pts.v20210728.DescribeAlertRecords", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeAlertRecords({})
|
|
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("pts.v20210728.DescribeAlertChannels", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeAlertChannels({})
|
|
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("pts.v20210728.DescribeAvailableMetrics", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeAvailableMetrics({})
|
|
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("pts.v20210728.DescribeLabelValues", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeLabelValues({})
|
|
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("pts.v20210728.AbortCronJobs", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.AbortCronJobs({})
|
|
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("pts.v20210728.UpdateFileScenarioRelation", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.UpdateFileScenarioRelation({})
|
|
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("pts.v20210728.RestartCronJobs", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.RestartCronJobs({})
|
|
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("pts.v20210728.CreateAlertChannel", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.CreateAlertChannel({})
|
|
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("pts.v20210728.DescribeSampleBatchQuery", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeSampleBatchQuery({})
|
|
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("pts.v20210728.DeleteJobs", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DeleteJobs({})
|
|
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("pts.v20210728.DescribeNormalLogs", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeNormalLogs({})
|
|
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("pts.v20210728.DescribeRegions", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeRegions({})
|
|
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("pts.v20210728.CopyScenario", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CopyScenario({})
|
|
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("pts.v20210728.DescribeSampleLogs", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DescribeSampleLogs({})
|
|
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("pts.v20210728.DescribeScenarios", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DescribeScenarios({})
|
|
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("pts.v20210728.DeleteCronJobs", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DeleteCronJobs({})
|
|
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("pts.v20210728.DescribeCronJobs", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DescribeCronJobs({})
|
|
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("pts.v20210728.DeleteAlertChannel", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DeleteAlertChannel({})
|
|
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("pts.v20210728.CreateFile", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.CreateFile({})
|
|
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
|
+
it("pts.v20210728.AdjustJobSpeed", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.AdjustJobSpeed({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
391
|
+
it("pts.v20210728.CreateProject", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.CreateProject({})
|
|
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
|
+
|
|
401
|
+
it("pts.v20210728.AbortJob", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.AbortJob({})
|
|
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
|
+
|
|
411
|
+
it("pts.v20210728.UpdateProject", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.UpdateProject({})
|
|
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
|
+
|
|
421
|
+
it("pts.v20210728.GenerateTmpKey", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.GenerateTmpKey({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
431
|
+
it("pts.v20210728.DescribeMetricLabelWithValues", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.DescribeMetricLabelWithValues({})
|
|
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
|
+
|
|
441
|
+
it("pts.v20210728.CreateCronJob", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.CreateCronJob({})
|
|
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
|
+
})
|
|
@@ -158,9 +158,9 @@ it("redis.v20180412.DescribeParamTemplateInfo", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("redis.v20180412.
|
|
161
|
+
it("redis.v20180412.DescribeInstanceBackups", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeInstanceBackups({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,9 @@ it("redis.v20180412.DescribeInstanceAccount", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("redis.v20180412.
|
|
171
|
+
it("redis.v20180412.DescribeInstanceDTSInfo", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeInstanceDTSInfo({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -308,9 +308,9 @@ it("redis.v20180412.DisableReplicaReadonly", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
-
it("redis.v20180412.
|
|
311
|
+
it("redis.v20180412.DescribeAutoBackupConfig", async function () {
|
|
312
312
|
try {
|
|
313
|
-
const data = await client.
|
|
313
|
+
const data = await client.DescribeAutoBackupConfig({})
|
|
314
314
|
expect(data).to.be.ok
|
|
315
315
|
} catch(error) {
|
|
316
316
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +348,9 @@ it("redis.v20180412.DescribeInstanceMonitorSIP", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
-
it("redis.v20180412.
|
|
351
|
+
it("redis.v20180412.ClearInstance", async function () {
|
|
352
352
|
try {
|
|
353
|
-
const data = await client.
|
|
353
|
+
const data = await client.ClearInstance({})
|
|
354
354
|
expect(data).to.be.ok
|
|
355
355
|
} catch(error) {
|
|
356
356
|
expect(error.requestId).to.be.ok
|
|
@@ -428,9 +428,9 @@ it("redis.v20180412.DescribeTaskInfo", async function () {
|
|
|
428
428
|
}
|
|
429
429
|
})
|
|
430
430
|
|
|
431
|
-
it("redis.v20180412.
|
|
431
|
+
it("redis.v20180412.DescribeBackupUrl", async function () {
|
|
432
432
|
try {
|
|
433
|
-
const data = await client.
|
|
433
|
+
const data = await client.DescribeBackupUrl({})
|
|
434
434
|
expect(data).to.be.ok
|
|
435
435
|
} catch(error) {
|
|
436
436
|
expect(error.requestId).to.be.ok
|
|
@@ -478,6 +478,16 @@ it("redis.v20180412.AssociateSecurityGroups", async function () {
|
|
|
478
478
|
}
|
|
479
479
|
})
|
|
480
480
|
|
|
481
|
+
it("redis.v20180412.UpgradeProxyVersion", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.UpgradeProxyVersion({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
481
491
|
it("redis.v20180412.ModifyInstanceParams", async function () {
|
|
482
492
|
try {
|
|
483
493
|
const data = await client.ModifyInstanceParams({})
|
|
@@ -488,9 +498,9 @@ it("redis.v20180412.ModifyInstanceParams", async function () {
|
|
|
488
498
|
}
|
|
489
499
|
})
|
|
490
500
|
|
|
491
|
-
it("redis.v20180412.
|
|
501
|
+
it("redis.v20180412.DescribeInstanceDealDetail", async function () {
|
|
492
502
|
try {
|
|
493
|
-
const data = await client.
|
|
503
|
+
const data = await client.DescribeInstanceDealDetail({})
|
|
494
504
|
expect(data).to.be.ok
|
|
495
505
|
} catch(error) {
|
|
496
506
|
expect(error.requestId).to.be.ok
|
|
@@ -578,6 +588,16 @@ it("redis.v20180412.DescribeInstanceMonitorBigKeyTypeDist", async function () {
|
|
|
578
588
|
}
|
|
579
589
|
})
|
|
580
590
|
|
|
591
|
+
it("redis.v20180412.ChangeMasterInstance", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.ChangeMasterInstance({})
|
|
594
|
+
expect(data).to.be.ok
|
|
595
|
+
} catch(error) {
|
|
596
|
+
expect(error.requestId).to.be.ok
|
|
597
|
+
expect(error.code).to.be.ok
|
|
598
|
+
}
|
|
599
|
+
})
|
|
600
|
+
|
|
581
601
|
it("redis.v20180412.ResetPassword", async function () {
|
|
582
602
|
try {
|
|
583
603
|
const data = await client.ResetPassword({})
|
|
@@ -728,9 +748,9 @@ it("redis.v20180412.DescribeInstanceParamRecords", async function () {
|
|
|
728
748
|
}
|
|
729
749
|
})
|
|
730
750
|
|
|
731
|
-
it("redis.v20180412.
|
|
751
|
+
it("redis.v20180412.CreateInstances", async function () {
|
|
732
752
|
try {
|
|
733
|
-
const data = await client.
|
|
753
|
+
const data = await client.CreateInstances({})
|
|
734
754
|
expect(data).to.be.ok
|
|
735
755
|
} catch(error) {
|
|
736
756
|
expect(error.requestId).to.be.ok
|
|
@@ -748,9 +768,9 @@ it("redis.v20180412.DescribeInstanceZoneInfo", async function () {
|
|
|
748
768
|
}
|
|
749
769
|
})
|
|
750
770
|
|
|
751
|
-
it("redis.v20180412.
|
|
771
|
+
it("redis.v20180412.AllocateWanAddress", async function () {
|
|
752
772
|
try {
|
|
753
|
-
const data = await client.
|
|
773
|
+
const data = await client.AllocateWanAddress({})
|
|
754
774
|
expect(data).to.be.ok
|
|
755
775
|
} catch(error) {
|
|
756
776
|
expect(error.requestId).to.be.ok
|
|
@@ -768,9 +788,9 @@ it("redis.v20180412.DeleteInstanceAccount", async function () {
|
|
|
768
788
|
}
|
|
769
789
|
})
|
|
770
790
|
|
|
771
|
-
it("redis.v20180412.
|
|
791
|
+
it("redis.v20180412.DescribeInstanceAccount", async function () {
|
|
772
792
|
try {
|
|
773
|
-
const data = await client.
|
|
793
|
+
const data = await client.DescribeInstanceAccount({})
|
|
774
794
|
expect(data).to.be.ok
|
|
775
795
|
} catch(error) {
|
|
776
796
|
expect(error.requestId).to.be.ok
|
|
@@ -818,9 +838,9 @@ it("redis.v20180412.DescribeInstanceMonitorTookDist", async function () {
|
|
|
818
838
|
}
|
|
819
839
|
})
|
|
820
840
|
|
|
821
|
-
it("redis.v20180412.
|
|
841
|
+
it("redis.v20180412.ChangeInstanceRole", async function () {
|
|
822
842
|
try {
|
|
823
|
-
const data = await client.
|
|
843
|
+
const data = await client.ChangeInstanceRole({})
|
|
824
844
|
expect(data).to.be.ok
|
|
825
845
|
} catch(error) {
|
|
826
846
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.region.v20220627.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("region.v20220627.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("region.v20220627.DescribeProducts", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeProducts({})
|
|
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("region.v20220627.DescribeRegions", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeRegions({})
|
|
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("region.v20220627.DescribeZones", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeZones({})
|
|
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
|
+
})
|
|
@@ -88,6 +88,16 @@ it("tcb.v20180608.DeleteWxGatewayRoute", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("tcb.v20180608.DescribeUserActivityInfo", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeUserActivityInfo({})
|
|
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
|
+
|
|
91
101
|
it("tcb.v20180608.BindEnvGateway", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.BindEnvGateway({})
|
|
@@ -288,9 +298,9 @@ it("tcb.v20180608.ReplaceActivityRecord", async function () {
|
|
|
288
298
|
}
|
|
289
299
|
})
|
|
290
300
|
|
|
291
|
-
it("tcb.v20180608.
|
|
301
|
+
it("tcb.v20180608.DescribeBaasPackageList", async function () {
|
|
292
302
|
try {
|
|
293
|
-
const data = await client.
|
|
303
|
+
const data = await client.DescribeBaasPackageList({})
|
|
294
304
|
expect(data).to.be.ok
|
|
295
305
|
} catch(error) {
|
|
296
306
|
expect(error.requestId).to.be.ok
|