tencentcloud-sdk-nodejs 4.0.331 → 4.0.332
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 +265 -0
- package/SERVICE_CHANGELOG.md +748 -200
- package/package.json +1 -1
- package/products.md +43 -42
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +12 -0
- package/src/services/apm/v20210622/apm_client.ts +12 -0
- package/src/services/apm/v20210622/apm_models.ts +66 -0
- package/src/services/as/v20180419/as_client.ts +12 -0
- package/src/services/as/v20180419/as_models.ts +99 -15
- package/src/services/asr/v20190614/asr_client.ts +2 -2
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/bda/v20200324/bda_client.ts +18 -18
- package/src/services/bda/v20200324/bda_models.ts +37 -37
- package/src/services/cat/v20180409/cat_models.ts +10 -0
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +80 -2
- package/src/services/cls/v20201016/cls_models.ts +2 -2
- package/src/services/cme/v20191029/cme_client.ts +1 -0
- package/src/services/cme/v20191029/cme_models.ts +43 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +126 -59
- package/src/services/cpdp/v20190820/cpdp_models.ts +1008 -433
- package/src/services/cwp/v20180228/cwp_client.ts +4 -78
- package/src/services/cwp/v20180228/cwp_models.ts +58 -281
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +3 -3
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +30 -0
- package/src/services/dlc/v20210125/dlc_models.ts +5 -0
- package/src/services/dts/v20180330/dts_client.ts +3 -0
- package/src/services/dts/v20180330/dts_models.ts +89 -36
- package/src/services/emr/v20190103/emr_client.ts +51 -3
- package/src/services/emr/v20190103/emr_models.ts +219 -72
- package/src/services/ess/v20201111/ess_client.ts +15 -0
- package/src/services/ess/v20201111/ess_models.ts +109 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +28 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +228 -112
- package/src/services/faceid/v20180301/faceid_client.ts +3 -3
- package/src/services/faceid/v20180301/faceid_models.ts +2 -2
- package/src/services/iai/v20180301/iai_client.ts +14 -79
- package/src/services/iai/v20180301/iai_models.ts +53 -201
- package/src/services/iai/v20200303/iai_client.ts +31 -96
- package/src/services/iai/v20200303/iai_models.ts +49 -199
- package/src/services/index.ts +1 -0
- package/src/services/ivld/v20210903/ivld_models.ts +18 -4
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +12 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +58 -1
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +6 -3
- package/src/services/postgres/v20170312/postgres_client.ts +17 -4
- package/src/services/postgres/v20170312/postgres_models.ts +156 -89
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/smh/v20210712/smh_models.ts +12 -2
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +21 -21
- package/src/services/ssa/v20180608/ssa_models.ts +1 -1
- package/src/services/sts/v20180813/sts_client.ts +23 -11
- package/src/services/sts/v20180813/sts_models.ts +61 -6
- package/src/services/tcb/v20180608/tcb_models.ts +17 -0
- package/src/services/tem/v20210701/tem_client.ts +1 -0
- package/src/services/tem/v20210701/tem_models.ts +28 -0
- package/src/services/teo/index.ts +5 -0
- package/src/services/teo/v20220106/index.ts +6 -0
- package/src/services/teo/v20220106/teo_client.ts +57 -0
- package/src/services/teo/v20220106/teo_models.ts +193 -0
- package/src/services/thpc/v20211109/thpc_models.ts +5 -0
- package/src/services/thpc/v20220401/thpc_models.ts +6 -1
- package/src/services/tiia/v20190529/tiia_client.ts +1 -1
- package/src/services/tiia/v20190529/tiia_models.ts +3 -2
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/tse/v20201207/tse_models.ts +36 -0
- package/src/services/tsf/v20180326/tsf_client.ts +18 -68
- package/src/services/tsf/v20180326/tsf_models.ts +0 -314
- package/src/services/vod/v20180717/vod_models.ts +16 -3
- package/src/services/vpc/v20170312/vpc_models.ts +10 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +10 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +55 -0
- package/tencentcloud/services/as/v20180419/as_client.d.ts +5 -1
- package/tencentcloud/services/as/v20180419/as_client.js +6 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +87 -14
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
- package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/bda/v20200324/bda_client.d.ts +18 -18
- package/tencentcloud/services/bda/v20200324/bda_client.js +18 -18
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +37 -37
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +8 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +68 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +37 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +38 -18
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +55 -25
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +849 -357
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -25
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -36
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +50 -246
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +3 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +26 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4 -0
- package/tencentcloud/services/dts/v20180330/dts_client.d.ts +2 -0
- package/tencentcloud/services/dts/v20180330/dts_client.js +2 -0
- package/tencentcloud/services/dts/v20180330/dts_models.d.ts +80 -36
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +17 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +24 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +187 -61
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +7 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +93 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +12 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +188 -91
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +3 -3
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +3 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -2
- package/tencentcloud/services/iai/v20180301/iai_client.d.ts +6 -38
- package/tencentcloud/services/iai/v20180301/iai_client.js +6 -46
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +48 -177
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +16 -48
- package/tencentcloud/services/iai/v20200303/iai_client.js +18 -58
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +44 -175
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +13 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +5 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +6 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +52 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -3
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +5 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +6 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +133 -75
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +10 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +21 -21
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +1 -1
- package/tencentcloud/services/sts/v20180813/sts_client.d.ts +9 -5
- package/tencentcloud/services/sts/v20180813/sts_client.js +12 -6
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +52 -6
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +14 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +24 -0
- package/tencentcloud/services/teo/index.d.ts +6 -0
- package/tencentcloud/services/teo/index.js +7 -0
- package/tencentcloud/services/teo/v20220106/index.d.ts +6 -0
- package/tencentcloud/services/teo/v20220106/index.js +9 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +18 -0
- package/tencentcloud/services/teo/v20220106/teo_client.js +43 -0
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +149 -0
- package/tencentcloud/services/teo/v20220106/teo_models.js +18 -0
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +4 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +5 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +30 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +7 -23
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +9 -33
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +0 -266
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +16 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -0
- package/test/apm.v20210622.test.js +10 -0
- package/test/as.v20180419.test.js +10 -0
- package/test/cpdp.v20190820.test.js +72 -22
- package/test/cwp.v20180228.test.js +0 -60
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/emr.v20190103.test.js +40 -0
- package/test/ess.v20201111.test.js +10 -0
- package/test/essbasic.v20210526.test.js +20 -0
- package/test/iai.v20180301.test.js +2 -42
- package/test/iai.v20200303.test.js +6 -46
- package/test/lighthouse.v20200324.test.js +10 -0
- package/test/postgres.v20170312.test.js +10 -0
- package/test/sts.v20180813.test.js +14 -4
- package/test/teo.v20220106.test.js +41 -0
- package/test/tsf.v20180326.test.js +6 -46
|
@@ -248,16 +248,6 @@ it("cwp.v20180228.DeletePrivilegeEvents", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
-
it("cwp.v20180228.RenewProVersion", async function () {
|
|
252
|
-
try {
|
|
253
|
-
const data = await client.RenewProVersion({})
|
|
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
251
|
it("cwp.v20180228.ExportAttackLogs", async function () {
|
|
262
252
|
try {
|
|
263
253
|
const data = await client.ExportAttackLogs({})
|
|
@@ -958,16 +948,6 @@ it("cwp.v20180228.UpdateBaselineStrategy", async function () {
|
|
|
958
948
|
}
|
|
959
949
|
})
|
|
960
950
|
|
|
961
|
-
it("cwp.v20180228.CloseProVersion", async function () {
|
|
962
|
-
try {
|
|
963
|
-
const data = await client.CloseProVersion({})
|
|
964
|
-
expect(data).to.be.ok
|
|
965
|
-
} catch(error) {
|
|
966
|
-
expect(error.requestId).to.be.ok
|
|
967
|
-
expect(error.code).to.be.ok
|
|
968
|
-
}
|
|
969
|
-
})
|
|
970
|
-
|
|
971
951
|
it("cwp.v20180228.ScanVulSetting", async function () {
|
|
972
952
|
try {
|
|
973
953
|
const data = await client.ScanVulSetting({})
|
|
@@ -1208,16 +1188,6 @@ it("cwp.v20180228.DescribeScanTaskStatus", async function () {
|
|
|
1208
1188
|
}
|
|
1209
1189
|
})
|
|
1210
1190
|
|
|
1211
|
-
it("cwp.v20180228.OpenProVersionPrepaid", async function () {
|
|
1212
|
-
try {
|
|
1213
|
-
const data = await client.OpenProVersionPrepaid({})
|
|
1214
|
-
expect(data).to.be.ok
|
|
1215
|
-
} catch(error) {
|
|
1216
|
-
expect(error.requestId).to.be.ok
|
|
1217
|
-
expect(error.code).to.be.ok
|
|
1218
|
-
}
|
|
1219
|
-
})
|
|
1220
|
-
|
|
1221
1191
|
it("cwp.v20180228.DescribeSearchTemplates", async function () {
|
|
1222
1192
|
try {
|
|
1223
1193
|
const data = await client.DescribeSearchTemplates({})
|
|
@@ -1708,16 +1678,6 @@ it("cwp.v20180228.UntrustMalwares", async function () {
|
|
|
1708
1678
|
}
|
|
1709
1679
|
})
|
|
1710
1680
|
|
|
1711
|
-
it("cwp.v20180228.OpenProVersion", async function () {
|
|
1712
|
-
try {
|
|
1713
|
-
const data = await client.OpenProVersion({})
|
|
1714
|
-
expect(data).to.be.ok
|
|
1715
|
-
} catch(error) {
|
|
1716
|
-
expect(error.requestId).to.be.ok
|
|
1717
|
-
expect(error.code).to.be.ok
|
|
1718
|
-
}
|
|
1719
|
-
})
|
|
1720
|
-
|
|
1721
1681
|
it("cwp.v20180228.DescribeAssetWebFrameList", async function () {
|
|
1722
1682
|
try {
|
|
1723
1683
|
const data = await client.DescribeAssetWebFrameList({})
|
|
@@ -1798,16 +1758,6 @@ it("cwp.v20180228.DescribeVulList", async function () {
|
|
|
1798
1758
|
}
|
|
1799
1759
|
})
|
|
1800
1760
|
|
|
1801
|
-
it("cwp.v20180228.ModifyProVersionRenewFlag", async function () {
|
|
1802
|
-
try {
|
|
1803
|
-
const data = await client.ModifyProVersionRenewFlag({})
|
|
1804
|
-
expect(data).to.be.ok
|
|
1805
|
-
} catch(error) {
|
|
1806
|
-
expect(error.requestId).to.be.ok
|
|
1807
|
-
expect(error.code).to.be.ok
|
|
1808
|
-
}
|
|
1809
|
-
})
|
|
1810
|
-
|
|
1811
1761
|
it("cwp.v20180228.DescribeAssetCoreModuleInfo", async function () {
|
|
1812
1762
|
try {
|
|
1813
1763
|
const data = await client.DescribeAssetCoreModuleInfo({})
|
|
@@ -2128,16 +2078,6 @@ it("cwp.v20180228.DescribeWebPageEventList", async function () {
|
|
|
2128
2078
|
}
|
|
2129
2079
|
})
|
|
2130
2080
|
|
|
2131
|
-
it("cwp.v20180228.InquiryPriceOpenProVersionPrepaid", async function () {
|
|
2132
|
-
try {
|
|
2133
|
-
const data = await client.InquiryPriceOpenProVersionPrepaid({})
|
|
2134
|
-
expect(data).to.be.ok
|
|
2135
|
-
} catch(error) {
|
|
2136
|
-
expect(error.requestId).to.be.ok
|
|
2137
|
-
expect(error.code).to.be.ok
|
|
2138
|
-
}
|
|
2139
|
-
})
|
|
2140
|
-
|
|
2141
2081
|
it("cwp.v20180228.DescribeMalwareFile", async function () {
|
|
2142
2082
|
try {
|
|
2143
2083
|
const data = await client.DescribeMalwareFile({})
|
|
@@ -508,6 +508,16 @@ it("dcdb.v20180411.CloneAccount", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
+
it("dcdb.v20180411.ModifyDBInstanceName", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.ModifyDBInstanceName({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
511
521
|
it("dcdb.v20180411.CreateHourDCDBInstance", async function () {
|
|
512
522
|
try {
|
|
513
523
|
const data = await client.CreateHourDCDBInstance({})
|
|
@@ -68,6 +68,16 @@ it("emr.v20190103.DescribeClusterNodes", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("emr.v20190103.ModifyResourceScheduler", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyResourceScheduler({})
|
|
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("emr.v20190103.InquiryPriceRenewInstance", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.InquiryPriceRenewInstance({})
|
|
@@ -88,6 +98,16 @@ it("emr.v20190103.CreateInstance", async function () {
|
|
|
88
98
|
}
|
|
89
99
|
})
|
|
90
100
|
|
|
101
|
+
it("emr.v20190103.ModifyResourcePools", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ModifyResourcePools({})
|
|
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
|
+
|
|
91
111
|
it("emr.v20190103.InquiryPriceCreateInstance", async function () {
|
|
92
112
|
try {
|
|
93
113
|
const data = await client.InquiryPriceCreateInstance({})
|
|
@@ -108,6 +128,16 @@ it("emr.v20190103.InquirePriceRenewEmr", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
131
|
+
it("emr.v20190103.DescribeResourceSchedule", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeResourceSchedule({})
|
|
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
|
+
|
|
111
141
|
it("emr.v20190103.InquiryPriceScaleOutInstance", async function () {
|
|
112
142
|
try {
|
|
113
143
|
const data = await client.InquiryPriceScaleOutInstance({})
|
|
@@ -118,6 +148,16 @@ it("emr.v20190103.InquiryPriceScaleOutInstance", async function () {
|
|
|
118
148
|
}
|
|
119
149
|
})
|
|
120
150
|
|
|
151
|
+
it("emr.v20190103.ModifyResourceScheduleConfig", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyResourceScheduleConfig({})
|
|
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
|
+
|
|
121
161
|
it("emr.v20190103.DescribeJobFlow", async function () {
|
|
122
162
|
try {
|
|
123
163
|
const data = await client.DescribeJobFlow({})
|
|
@@ -108,4 +108,14 @@ it("ess.v20201111.CreateFlowByFiles", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("ess.v20201111.UploadFiles", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.UploadFiles({})
|
|
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
|
+
|
|
111
121
|
})
|
|
@@ -48,6 +48,16 @@ it("essbasic.v20210526.DescribeTemplates", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("essbasic.v20210526.ChannelCreateFlowByFiles", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ChannelCreateFlowByFiles({})
|
|
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
|
+
|
|
51
61
|
it("essbasic.v20210526.PrepareFlows", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.PrepareFlows({})
|
|
@@ -68,6 +78,16 @@ it("essbasic.v20210526.OperateChannelTemplate", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("essbasic.v20210526.CreateSealByImage", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateSealByImage({})
|
|
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("essbasic.v20210526.CreateSignUrls", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.CreateSignUrls({})
|
|
@@ -48,16 +48,6 @@ it("iai.v20180301.CreateGroup", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("iai.v20180301.GetCheckSimilarPersonJobIdList", async function () {
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.GetCheckSimilarPersonJobIdList({})
|
|
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
51
|
it("iai.v20180301.GetPersonBaseInfo", async function () {
|
|
62
52
|
try {
|
|
63
53
|
const data = await client.GetPersonBaseInfo({})
|
|
@@ -158,9 +148,9 @@ it("iai.v20180301.CopyPerson", async function () {
|
|
|
158
148
|
}
|
|
159
149
|
})
|
|
160
150
|
|
|
161
|
-
it("iai.v20180301.
|
|
151
|
+
it("iai.v20180301.VerifyFace", async function () {
|
|
162
152
|
try {
|
|
163
|
-
const data = await client.
|
|
153
|
+
const data = await client.VerifyFace({})
|
|
164
154
|
expect(data).to.be.ok
|
|
165
155
|
} catch(error) {
|
|
166
156
|
expect(error.requestId).to.be.ok
|
|
@@ -208,16 +198,6 @@ it("iai.v20180301.UpgradeGroupFaceModelVersion", async function () {
|
|
|
208
198
|
}
|
|
209
199
|
})
|
|
210
200
|
|
|
211
|
-
it("iai.v20180301.GetSimilarPersonResult", async function () {
|
|
212
|
-
try {
|
|
213
|
-
const data = await client.GetSimilarPersonResult({})
|
|
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
201
|
it("iai.v20180301.RevertGroupFaceModelVersion", async function () {
|
|
222
202
|
try {
|
|
223
203
|
const data = await client.RevertGroupFaceModelVersion({})
|
|
@@ -318,16 +298,6 @@ it("iai.v20180301.ModifyPersonGroupInfo", async function () {
|
|
|
318
298
|
}
|
|
319
299
|
})
|
|
320
300
|
|
|
321
|
-
it("iai.v20180301.VerifyFace", async function () {
|
|
322
|
-
try {
|
|
323
|
-
const data = await client.VerifyFace({})
|
|
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
301
|
it("iai.v20180301.SearchPersons", async function () {
|
|
332
302
|
try {
|
|
333
303
|
const data = await client.SearchPersons({})
|
|
@@ -368,16 +338,6 @@ it("iai.v20180301.GetGroupList", async function () {
|
|
|
368
338
|
}
|
|
369
339
|
})
|
|
370
340
|
|
|
371
|
-
it("iai.v20180301.EstimateCheckSimilarPersonCostTime", async function () {
|
|
372
|
-
try {
|
|
373
|
-
const data = await client.EstimateCheckSimilarPersonCostTime({})
|
|
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
341
|
it("iai.v20180301.DeleteFace", async function () {
|
|
382
342
|
try {
|
|
383
343
|
const data = await client.DeleteFace({})
|
|
@@ -38,19 +38,9 @@ it("iai.v20200303.SearchFacesReturnsByGroup", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("iai.v20200303.
|
|
42
|
-
try {
|
|
43
|
-
const data = await client.GetPersonGroupInfo({})
|
|
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("iai.v20200303.GetCheckSimilarPersonJobIdList", async function () {
|
|
41
|
+
it("iai.v20200303.CreateGroup", async function () {
|
|
52
42
|
try {
|
|
53
|
-
const data = await client.
|
|
43
|
+
const data = await client.CreateGroup({})
|
|
54
44
|
expect(data).to.be.ok
|
|
55
45
|
} catch(error) {
|
|
56
46
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +98,9 @@ it("iai.v20200303.GetPersonListNum", async function () {
|
|
|
108
98
|
}
|
|
109
99
|
})
|
|
110
100
|
|
|
111
|
-
it("iai.v20200303.
|
|
101
|
+
it("iai.v20200303.GetPersonGroupInfo", async function () {
|
|
112
102
|
try {
|
|
113
|
-
const data = await client.
|
|
103
|
+
const data = await client.GetPersonGroupInfo({})
|
|
114
104
|
expect(data).to.be.ok
|
|
115
105
|
} catch(error) {
|
|
116
106
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +148,9 @@ it("iai.v20200303.CopyPerson", async function () {
|
|
|
158
148
|
}
|
|
159
149
|
})
|
|
160
150
|
|
|
161
|
-
it("iai.v20200303.
|
|
151
|
+
it("iai.v20200303.VerifyFace", async function () {
|
|
162
152
|
try {
|
|
163
|
-
const data = await client.
|
|
153
|
+
const data = await client.VerifyFace({})
|
|
164
154
|
expect(data).to.be.ok
|
|
165
155
|
} catch(error) {
|
|
166
156
|
expect(error.requestId).to.be.ok
|
|
@@ -208,16 +198,6 @@ it("iai.v20200303.UpgradeGroupFaceModelVersion", async function () {
|
|
|
208
198
|
}
|
|
209
199
|
})
|
|
210
200
|
|
|
211
|
-
it("iai.v20200303.GetSimilarPersonResult", async function () {
|
|
212
|
-
try {
|
|
213
|
-
const data = await client.GetSimilarPersonResult({})
|
|
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
201
|
it("iai.v20200303.RevertGroupFaceModelVersion", async function () {
|
|
222
202
|
try {
|
|
223
203
|
const data = await client.RevertGroupFaceModelVersion({})
|
|
@@ -338,16 +318,6 @@ it("iai.v20200303.ModifyPersonGroupInfo", async function () {
|
|
|
338
318
|
}
|
|
339
319
|
})
|
|
340
320
|
|
|
341
|
-
it("iai.v20200303.VerifyFace", async function () {
|
|
342
|
-
try {
|
|
343
|
-
const data = await client.VerifyFace({})
|
|
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
321
|
it("iai.v20200303.SearchPersons", async function () {
|
|
352
322
|
try {
|
|
353
323
|
const data = await client.SearchPersons({})
|
|
@@ -388,16 +358,6 @@ it("iai.v20200303.GetGroupList", async function () {
|
|
|
388
358
|
}
|
|
389
359
|
})
|
|
390
360
|
|
|
391
|
-
it("iai.v20200303.EstimateCheckSimilarPersonCostTime", async function () {
|
|
392
|
-
try {
|
|
393
|
-
const data = await client.EstimateCheckSimilarPersonCostTime({})
|
|
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
361
|
it("iai.v20200303.DeleteFace", async function () {
|
|
402
362
|
try {
|
|
403
363
|
const data = await client.DeleteFace({})
|
|
@@ -528,6 +528,16 @@ it("lighthouse.v20200324.TerminateInstances", async function () {
|
|
|
528
528
|
}
|
|
529
529
|
})
|
|
530
530
|
|
|
531
|
+
it("lighthouse.v20200324.RenewInstances", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.RenewInstances({})
|
|
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
|
+
|
|
531
541
|
it("lighthouse.v20200324.DescribeInstanceVncUrl", async function () {
|
|
532
542
|
try {
|
|
533
543
|
const data = await client.DescribeInstanceVncUrl({})
|
|
@@ -28,6 +28,16 @@ it("postgres.v20170312.CreateReadOnlyGroupNetworkAccess", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("postgres.v20170312.DescribeEncryptionKeys", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeEncryptionKeys({})
|
|
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
|
+
|
|
31
41
|
it("postgres.v20170312.ModifyDBInstancesProject", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.ModifyDBInstancesProject({})
|
|
@@ -38,9 +38,9 @@ it("sts.v20180813.QueryApiKey", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("sts.v20180813.
|
|
41
|
+
it("sts.v20180813.AssumeRole", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.AssumeRole({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("sts.v20180813.AssumeRoleWithSAML", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("sts.v20180813.
|
|
51
|
+
it("sts.v20180813.AssumeRoleWithWebIdentity", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.AssumeRoleWithWebIdentity({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -68,4 +68,14 @@ it("sts.v20180813.GetCallerIdentity", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("sts.v20180813.AssumeRoleWithSAML", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.AssumeRoleWithSAML({})
|
|
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
|
})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.teo.v20220106.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("teo.v20220106.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("teo.v20220106.CreatePurgeTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreatePurgeTask({})
|
|
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("teo.v20220106.DescribePurgeTasks", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribePurgeTasks({})
|
|
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
|
+
})
|
|
@@ -78,16 +78,6 @@ it("tsf.v20180326.ShrinkInstances", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("tsf.v20180326.EnableTaskFlow", async function () {
|
|
82
|
-
try {
|
|
83
|
-
const data = await client.EnableTaskFlow({})
|
|
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
81
|
it("tsf.v20180326.DisableUnitRule", async function () {
|
|
92
82
|
try {
|
|
93
83
|
const data = await client.DisableUnitRule({})
|
|
@@ -358,16 +348,6 @@ it("tsf.v20180326.DisableUnitRoute", async function () {
|
|
|
358
348
|
}
|
|
359
349
|
})
|
|
360
350
|
|
|
361
|
-
it("tsf.v20180326.DeployServerlessGroup", async function () {
|
|
362
|
-
try {
|
|
363
|
-
const data = await client.DeployServerlessGroup({})
|
|
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
351
|
it("tsf.v20180326.CreateConfig", async function () {
|
|
372
352
|
try {
|
|
373
353
|
const data = await client.CreateConfig({})
|
|
@@ -498,16 +478,6 @@ it("tsf.v20180326.CreateUnitRule", async function () {
|
|
|
498
478
|
}
|
|
499
479
|
})
|
|
500
480
|
|
|
501
|
-
it("tsf.v20180326.DescribeServerlessGroups", async function () {
|
|
502
|
-
try {
|
|
503
|
-
const data = await client.DescribeServerlessGroups({})
|
|
504
|
-
expect(data).to.be.ok
|
|
505
|
-
} catch(error) {
|
|
506
|
-
expect(error.requestId).to.be.ok
|
|
507
|
-
expect(error.code).to.be.ok
|
|
508
|
-
}
|
|
509
|
-
})
|
|
510
|
-
|
|
511
481
|
it("tsf.v20180326.DescribeGroupUseDetail", async function () {
|
|
512
482
|
try {
|
|
513
483
|
const data = await client.DescribeGroupUseDetail({})
|
|
@@ -618,9 +588,9 @@ it("tsf.v20180326.CreateApiRateLimitRule", async function () {
|
|
|
618
588
|
}
|
|
619
589
|
})
|
|
620
590
|
|
|
621
|
-
it("tsf.v20180326.
|
|
591
|
+
it("tsf.v20180326.DeleteMicroservice", async function () {
|
|
622
592
|
try {
|
|
623
|
-
const data = await client.
|
|
593
|
+
const data = await client.DeleteMicroservice({})
|
|
624
594
|
expect(data).to.be.ok
|
|
625
595
|
} catch(error) {
|
|
626
596
|
expect(error.requestId).to.be.ok
|
|
@@ -1288,9 +1258,9 @@ it("tsf.v20180326.ModifyMicroservice", async function () {
|
|
|
1288
1258
|
}
|
|
1289
1259
|
})
|
|
1290
1260
|
|
|
1291
|
-
it("tsf.v20180326.
|
|
1261
|
+
it("tsf.v20180326.EnableTaskFlow", async function () {
|
|
1292
1262
|
try {
|
|
1293
|
-
const data = await client.
|
|
1263
|
+
const data = await client.EnableTaskFlow({})
|
|
1294
1264
|
expect(data).to.be.ok
|
|
1295
1265
|
} catch(error) {
|
|
1296
1266
|
expect(error.requestId).to.be.ok
|
|
@@ -1518,9 +1488,9 @@ it("tsf.v20180326.DescribeApiRateLimitRules", async function () {
|
|
|
1518
1488
|
}
|
|
1519
1489
|
})
|
|
1520
1490
|
|
|
1521
|
-
it("tsf.v20180326.
|
|
1491
|
+
it("tsf.v20180326.DeleteNamespace", async function () {
|
|
1522
1492
|
try {
|
|
1523
|
-
const data = await client.
|
|
1493
|
+
const data = await client.DeleteNamespace({})
|
|
1524
1494
|
expect(data).to.be.ok
|
|
1525
1495
|
} catch(error) {
|
|
1526
1496
|
expect(error.requestId).to.be.ok
|
|
@@ -1648,16 +1618,6 @@ it("tsf.v20180326.DescribeEnabledUnitRule", async function () {
|
|
|
1648
1618
|
}
|
|
1649
1619
|
})
|
|
1650
1620
|
|
|
1651
|
-
it("tsf.v20180326.DescribeServerlessGroup", async function () {
|
|
1652
|
-
try {
|
|
1653
|
-
const data = await client.DescribeServerlessGroup({})
|
|
1654
|
-
expect(data).to.be.ok
|
|
1655
|
-
} catch(error) {
|
|
1656
|
-
expect(error.requestId).to.be.ok
|
|
1657
|
-
expect(error.code).to.be.ok
|
|
1658
|
-
}
|
|
1659
|
-
})
|
|
1660
|
-
|
|
1661
1621
|
it("tsf.v20180326.DescribeRepository", async function () {
|
|
1662
1622
|
try {
|
|
1663
1623
|
const data = await client.DescribeRepository({})
|