tencentcloud-sdk-nodejs 4.0.332 → 4.0.335
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 +375 -0
- package/SERVICE_CHANGELOG.md +529 -278
- package/package.json +1 -1
- package/products.md +31 -31
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +546 -498
- package/src/services/antiddos/v20200309/antiddos_models.ts +281 -16
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/bda/v20200324/bda_client.ts +1 -1
- package/src/services/cam/v20190116/cam_client.ts +81 -33
- package/src/services/cam/v20190116/cam_models.ts +357 -202
- package/src/services/cdb/v20170320/cdb_models.ts +10 -0
- package/src/services/cdn/v20180606/cdn_client.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +40 -0
- package/src/services/cls/v20201016/cls_client.ts +3 -1
- package/src/services/cls/v20201016/cls_models.ts +37 -0
- package/src/services/cpdp/v20190820/cpdp_client.ts +15 -2
- package/src/services/cpdp/v20190820/cpdp_models.ts +70 -23
- package/src/services/cvm/v20170312/cvm_client.ts +14 -2
- package/src/services/cvm/v20170312/cvm_models.ts +71 -16
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +1 -1
- package/src/services/es/v20180416/es_models.ts +5 -5
- package/src/services/ess/v20201111/ess_models.ts +16 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +5 -4
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +11 -11
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +19 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +29 -1
- package/src/services/mps/v20190612/mps_models.ts +8 -0
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +9 -9
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/scf/v20180416/scf_models.ts +7 -1
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +81 -20
- package/src/services/tcss/v20201101/tcss_models.ts +40 -0
- package/src/services/teo/v20220106/teo_client.ts +41 -2
- package/src/services/teo/v20220106/teo_models.ts +286 -35
- package/src/services/tiia/v20190529/tiia_models.ts +4 -3
- package/src/services/tke/v20180525/tke_client.ts +4 -16
- package/src/services/tke/v20180525/tke_models.ts +23 -73
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/tsf/v20180326/tsf_client.ts +18 -2
- package/src/services/tsf/v20180326/tsf_models.ts +257 -12
- package/src/services/vod/v20180717/vod_client.ts +45 -9
- package/src/services/vod/v20180717/vod_models.ts +127 -34
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +183 -167
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +272 -248
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +236 -16
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/bda/v20200324/bda_client.d.ts +1 -1
- package/tencentcloud/services/bda/v20200324/bda_client.js +1 -1
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +23 -7
- package/tencentcloud/services/cam/v20190116/cam_client.js +33 -9
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +305 -173
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +34 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +32 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +6 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +7 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +61 -21
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +61 -15
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -5
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +13 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -3
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +11 -11
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +12 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +13 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +26 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +7 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +9 -9
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +6 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +69 -20
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +32 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +13 -1
- package/tencentcloud/services/teo/v20220106/teo_client.js +18 -0
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +241 -29
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +4 -3
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +0 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +22 -64
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +219 -11
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +23 -4
- package/tencentcloud/services/vod/v20180717/vod_client.js +27 -4
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +112 -31
- package/test/antiddos.v20200309.test.js +204 -164
- package/test/cam.v20190116.test.js +46 -6
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/cpdp.v20190820.test.js +10 -0
- package/test/cvm.v20170312.test.js +10 -0
- package/test/lighthouse.v20200324.test.js +10 -0
- package/test/teo.v20220106.test.js +30 -0
- package/test/tke.v20180525.test.js +0 -10
- package/test/tsf.v20180326.test.js +10 -0
- package/test/vod.v20180717.test.js +22 -2
|
@@ -258,6 +258,16 @@ it("cam.v20190116.UpdateUser", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("cam.v20190116.CreateUserOIDCConfig", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.CreateUserOIDCConfig({})
|
|
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
|
+
|
|
261
271
|
it("cam.v20190116.GetPolicy", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.GetPolicy({})
|
|
@@ -308,6 +318,16 @@ it("cam.v20190116.DeleteGroup", async function () {
|
|
|
308
318
|
}
|
|
309
319
|
})
|
|
310
320
|
|
|
321
|
+
it("cam.v20190116.UpdateOIDCConfig", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.UpdateOIDCConfig({})
|
|
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
|
+
|
|
311
331
|
it("cam.v20190116.DeleteRole", async function () {
|
|
312
332
|
try {
|
|
313
333
|
const data = await client.DeleteRole({})
|
|
@@ -338,6 +358,16 @@ it("cam.v20190116.DeleteUserPermissionsBoundary", async function () {
|
|
|
338
358
|
}
|
|
339
359
|
})
|
|
340
360
|
|
|
361
|
+
it("cam.v20190116.DescribeOIDCConfig", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeOIDCConfig({})
|
|
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
|
+
|
|
341
371
|
it("cam.v20190116.ListAttachedGroupPolicies", async function () {
|
|
342
372
|
try {
|
|
343
373
|
const data = await client.ListAttachedGroupPolicies({})
|
|
@@ -388,9 +418,9 @@ it("cam.v20190116.ConsumeCustomMFAToken", async function () {
|
|
|
388
418
|
}
|
|
389
419
|
})
|
|
390
420
|
|
|
391
|
-
it("cam.v20190116.
|
|
421
|
+
it("cam.v20190116.CreateOIDCConfig", async function () {
|
|
392
422
|
try {
|
|
393
|
-
const data = await client.
|
|
423
|
+
const data = await client.CreateOIDCConfig({})
|
|
394
424
|
expect(data).to.be.ok
|
|
395
425
|
} catch(error) {
|
|
396
426
|
expect(error.requestId).to.be.ok
|
|
@@ -558,6 +588,16 @@ it("cam.v20190116.UpdateRoleDescription", async function () {
|
|
|
558
588
|
}
|
|
559
589
|
})
|
|
560
590
|
|
|
591
|
+
it("cam.v20190116.ListEntitiesForPolicy", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.ListEntitiesForPolicy({})
|
|
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
|
+
|
|
561
601
|
it("cam.v20190116.ListAttachedUserPolicies", async function () {
|
|
562
602
|
try {
|
|
563
603
|
const data = await client.ListAttachedUserPolicies({})
|
|
@@ -668,9 +708,9 @@ it("cam.v20190116.AttachUserPolicy", async function () {
|
|
|
668
708
|
}
|
|
669
709
|
})
|
|
670
710
|
|
|
671
|
-
it("cam.v20190116.
|
|
711
|
+
it("cam.v20190116.GetGroup", async function () {
|
|
672
712
|
try {
|
|
673
|
-
const data = await client.
|
|
713
|
+
const data = await client.GetGroup({})
|
|
674
714
|
expect(data).to.be.ok
|
|
675
715
|
} catch(error) {
|
|
676
716
|
expect(error.requestId).to.be.ok
|
|
@@ -678,9 +718,9 @@ it("cam.v20190116.ListEntitiesForPolicy", async function () {
|
|
|
678
718
|
}
|
|
679
719
|
})
|
|
680
720
|
|
|
681
|
-
it("cam.v20190116.
|
|
721
|
+
it("cam.v20190116.DeleteOIDCConfig", async function () {
|
|
682
722
|
try {
|
|
683
|
-
const data = await client.
|
|
723
|
+
const data = await client.DeleteOIDCConfig({})
|
|
684
724
|
expect(data).to.be.ok
|
|
685
725
|
} catch(error) {
|
|
686
726
|
expect(error.requestId).to.be.ok
|
|
@@ -78,6 +78,16 @@ it("ckafka.v20190819.BatchModifyTopicAttributes", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("ckafka.v20190819.DeleteRoute", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DeleteRoute({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
81
91
|
it("ckafka.v20190819.SendMessage", async function () {
|
|
82
92
|
try {
|
|
83
93
|
const data = await client.SendMessage({})
|
|
@@ -1268,6 +1268,16 @@ it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
})
|
|
1270
1270
|
|
|
1271
|
+
it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
|
|
1272
|
+
try {
|
|
1273
|
+
const data = await client.GetDistributeBillDownloadUrl({})
|
|
1274
|
+
expect(data).to.be.ok
|
|
1275
|
+
} catch(error) {
|
|
1276
|
+
expect(error.requestId).to.be.ok
|
|
1277
|
+
expect(error.code).to.be.ok
|
|
1278
|
+
}
|
|
1279
|
+
})
|
|
1280
|
+
|
|
1271
1281
|
it("cpdp.v20190820.QueryOrderStatus", async function () {
|
|
1272
1282
|
try {
|
|
1273
1283
|
const data = await client.QueryOrderStatus({})
|
|
@@ -578,6 +578,16 @@ it("cvm.v20170312.ModifyInstancesProject", async function () {
|
|
|
578
578
|
}
|
|
579
579
|
})
|
|
580
580
|
|
|
581
|
+
it("cvm.v20170312.ExportImages", async function () {
|
|
582
|
+
try {
|
|
583
|
+
const data = await client.ExportImages({})
|
|
584
|
+
expect(data).to.be.ok
|
|
585
|
+
} catch(error) {
|
|
586
|
+
expect(error.requestId).to.be.ok
|
|
587
|
+
expect(error.code).to.be.ok
|
|
588
|
+
}
|
|
589
|
+
})
|
|
590
|
+
|
|
581
591
|
it("cvm.v20170312.ResetInstance", async function () {
|
|
582
592
|
try {
|
|
583
593
|
const data = await client.ResetInstance({})
|
|
@@ -58,6 +58,16 @@ it("lighthouse.v20200324.DescribeInstancesDiskNum", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("lighthouse.v20200324.IsolateInstances", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.IsolateInstances({})
|
|
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
|
+
|
|
61
71
|
it("lighthouse.v20200324.ModifyInstancesRenewFlag", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyInstancesRenewFlag({})
|
|
@@ -38,4 +38,34 @@ it("teo.v20220106.DescribePurgeTasks", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("teo.v20220106.CreatePrefetchTask", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreatePrefetchTask({})
|
|
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("teo.v20220106.DescribePrefetchTasks", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribePrefetchTasks({})
|
|
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("teo.v20220106.DescribeZones", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeZones({})
|
|
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
|
+
|
|
41
71
|
})
|
|
@@ -338,16 +338,6 @@ it("tke.v20180525.AddVpcCniSubnets", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
-
it("tke.v20180525.CreateClusterAsGroup", async function () {
|
|
342
|
-
try {
|
|
343
|
-
const data = await client.CreateClusterAsGroup({})
|
|
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
341
|
it("tke.v20180525.DescribeExistedInstances", async function () {
|
|
352
342
|
try {
|
|
353
343
|
const data = await client.DescribeExistedInstances({})
|
|
@@ -978,6 +978,16 @@ it("tsf.v20180326.CreateApiGroup", async function () {
|
|
|
978
978
|
}
|
|
979
979
|
})
|
|
980
980
|
|
|
981
|
+
it("tsf.v20180326.DescribePrograms", async function () {
|
|
982
|
+
try {
|
|
983
|
+
const data = await client.DescribePrograms({})
|
|
984
|
+
expect(data).to.be.ok
|
|
985
|
+
} catch(error) {
|
|
986
|
+
expect(error.requestId).to.be.ok
|
|
987
|
+
expect(error.code).to.be.ok
|
|
988
|
+
}
|
|
989
|
+
})
|
|
990
|
+
|
|
981
991
|
it("tsf.v20180326.DescribeSimpleApplications", async function () {
|
|
982
992
|
try {
|
|
983
993
|
const data = await client.DescribeSimpleApplications({})
|
|
@@ -578,9 +578,9 @@ it("vod.v20180717.DeleteMedia", async function () {
|
|
|
578
578
|
}
|
|
579
579
|
})
|
|
580
580
|
|
|
581
|
-
it("vod.v20180717.
|
|
581
|
+
it("vod.v20180717.DescribeImageReviewUsageData", async function () {
|
|
582
582
|
try {
|
|
583
|
-
const data = await client.
|
|
583
|
+
const data = await client.DescribeImageReviewUsageData({})
|
|
584
584
|
expect(data).to.be.ok
|
|
585
585
|
} catch(error) {
|
|
586
586
|
expect(error.requestId).to.be.ok
|
|
@@ -658,6 +658,16 @@ it("vod.v20180717.DescribeEventsState", async function () {
|
|
|
658
658
|
}
|
|
659
659
|
})
|
|
660
660
|
|
|
661
|
+
it("vod.v20180717.CreateSuperPlayerConfig", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.CreateSuperPlayerConfig({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
661
671
|
it("vod.v20180717.ModifyVodDomainConfig", async function () {
|
|
662
672
|
try {
|
|
663
673
|
const data = await client.ModifyVodDomainConfig({})
|
|
@@ -1138,6 +1148,16 @@ it("vod.v20180717.ModifyMediaInfo", async function () {
|
|
|
1138
1148
|
}
|
|
1139
1149
|
})
|
|
1140
1150
|
|
|
1151
|
+
it("vod.v20180717.ReviewImage", async function () {
|
|
1152
|
+
try {
|
|
1153
|
+
const data = await client.ReviewImage({})
|
|
1154
|
+
expect(data).to.be.ok
|
|
1155
|
+
} catch(error) {
|
|
1156
|
+
expect(error.requestId).to.be.ok
|
|
1157
|
+
expect(error.code).to.be.ok
|
|
1158
|
+
}
|
|
1159
|
+
})
|
|
1160
|
+
|
|
1141
1161
|
it("vod.v20180717.DeleteSampleSnapshotTemplate", async function () {
|
|
1142
1162
|
try {
|
|
1143
1163
|
const data = await client.DeleteSampleSnapshotTemplate({})
|