tencentcloud-sdk-nodejs 4.0.329 → 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 +685 -0
- package/SERVICE_CHANGELOG.md +1237 -6
- package/package.json +1 -1
- package/products.md +54 -52
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +12 -0
- package/src/services/apigateway/v20180808/apigateway_client.ts +5 -5
- package/src/services/apigateway/v20180808/apigateway_models.ts +129 -88
- 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/car/index.ts +5 -0
- package/src/services/car/v20220110/car_client.ts +67 -0
- package/src/services/car/v20220110/car_models.ts +106 -0
- package/src/services/car/v20220110/index.ts +6 -0
- 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 +3 -3
- package/src/services/cdn/v20180606/cdn_client.ts +4 -1
- package/src/services/cdn/v20180606/cdn_models.ts +147 -11
- package/src/services/ckafka/v20190819/ckafka_models.ts +12 -2
- package/src/services/clb/v20180317/clb_models.ts +5 -4
- package/src/services/cls/v20201016/cls_models.ts +14 -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/cvm/v20170312/cvm_models.ts +17 -0
- 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 +145 -34
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +646 -91
- 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 +29 -1
- package/src/services/domain/v20180808/domain_client.ts +15 -2
- package/src/services/domain/v20180808/domain_models.ts +202 -30
- 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 +113 -3
- package/src/services/essbasic/v20210526/essbasic_client.ts +28 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +229 -113
- 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 +2 -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/mongodb/v20190725/mongodb_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +11 -6
- 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/rce/v20201103/rce_models.ts +11 -0
- package/src/services/redis/v20180412/redis_client.ts +38 -14
- package/src/services/redis/v20180412/redis_models.ts +114 -54
- 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/tcss/v20201101/tcss_models.ts +83 -13
- 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 +38 -5
- package/src/services/vpc/v20170312/vpc_models.ts +10 -0
- package/src/services/waf/v20180125/waf_client.ts +14 -0
- package/src/services/waf/v20180125/waf_models.ts +73 -2
- 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/apigateway/v20180808/apigateway_client.d.ts +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +121 -88
- 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/car/index.d.ts +6 -0
- package/tencentcloud/services/car/index.js +7 -0
- package/tencentcloud/services/car/v20220110/car_client.d.ts +22 -0
- package/tencentcloud/services/car/v20220110/car_client.js +49 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +78 -0
- package/tencentcloud/services/car/v20220110/car_models.js +18 -0
- package/tencentcloud/services/car/v20220110/index.d.ts +6 -0
- package/tencentcloud/services/car/v20220110/index.js +9 -0
- 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 +3 -3
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +125 -10
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +12 -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/cvm/v20170312/cvm_models.d.ts +14 -0
- 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 +47 -11
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +69 -15
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +534 -69
- 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 +24 -1
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +179 -30
- 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 +96 -2
- 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 +189 -92
- 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 +2 -0
- package/tencentcloud/services/index.js +4 -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/mongodb/v20190725/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -5
- 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/rce/v20201103/rce_models.d.ts +9 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +14 -6
- package/tencentcloud/services/redis/v20180412/redis_client.js +19 -7
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +97 -45
- 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/tcss/v20201101/tcss_models.d.ts +70 -11
- 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 +34 -5
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -0
- 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 +62 -2
- package/test/apm.v20210622.test.js +10 -0
- package/test/as.v20180419.test.js +10 -0
- package/test/car.v20220110.test.js +51 -0
- package/test/cpdp.v20190820.test.js +72 -22
- package/test/cwp.v20180228.test.js +0 -60
- package/test/dbbrain.v20210527.test.js +100 -10
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/domain.v20180808.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/redis.v20180412.test.js +24 -4
- package/test/sts.v20180813.test.js +14 -4
- package/test/teo.v20220106.test.js +41 -0
- package/test/tsf.v20180326.test.js +6 -46
- package/test/waf.v20180125.test.js +10 -0
|
@@ -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({})
|
|
@@ -88,6 +88,16 @@ it("redis.v20180412.DescribeParamTemplates", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("redis.v20180412.ReleaseWanAddress", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ReleaseWanAddress({})
|
|
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("redis.v20180412.DescribeSlowLog", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.DescribeSlowLog({})
|
|
@@ -408,9 +418,9 @@ it("redis.v20180412.DescribeTaskInfo", async function () {
|
|
|
408
418
|
}
|
|
409
419
|
})
|
|
410
420
|
|
|
411
|
-
it("redis.v20180412.
|
|
421
|
+
it("redis.v20180412.AllocateWanAddress", async function () {
|
|
412
422
|
try {
|
|
413
|
-
const data = await client.
|
|
423
|
+
const data = await client.AllocateWanAddress({})
|
|
414
424
|
expect(data).to.be.ok
|
|
415
425
|
} catch(error) {
|
|
416
426
|
expect(error.requestId).to.be.ok
|
|
@@ -518,6 +528,16 @@ it("redis.v20180412.DescribeInstanceMonitorBigKey", async function () {
|
|
|
518
528
|
}
|
|
519
529
|
})
|
|
520
530
|
|
|
531
|
+
it("redis.v20180412.SwitchInstanceVip", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.SwitchInstanceVip({})
|
|
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
|
+
|
|
521
541
|
it("redis.v20180412.DescribeInstanceSecurityGroup", async function () {
|
|
522
542
|
try {
|
|
523
543
|
const data = await client.DescribeInstanceSecurityGroup({})
|
|
@@ -768,9 +788,9 @@ it("redis.v20180412.DescribeInstanceMonitorTookDist", async function () {
|
|
|
768
788
|
}
|
|
769
789
|
})
|
|
770
790
|
|
|
771
|
-
it("redis.v20180412.
|
|
791
|
+
it("redis.v20180412.DescribeBackupUrl", async function () {
|
|
772
792
|
try {
|
|
773
|
-
const data = await client.
|
|
793
|
+
const data = await client.DescribeBackupUrl({})
|
|
774
794
|
expect(data).to.be.ok
|
|
775
795
|
} catch(error) {
|
|
776
796
|
expect(error.requestId).to.be.ok
|
|
@@ -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({})
|
|
@@ -68,6 +68,16 @@ it("waf.v20180125.DeleteDomainWhiteRules", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("waf.v20180125.DescribeDomains", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeDomains({})
|
|
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("waf.v20180125.DescribeAccessIndex", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeAccessIndex({})
|