tencentcloud-sdk-nodejs 4.0.334 → 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 +219 -0
- package/SERVICE_CHANGELOG.md +362 -24
- package/package.json +1 -1
- package/products.md +22 -22
- package/src/common/sdk_version.ts +1 -1
- 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/cvm/v20170312/cvm_client.ts +14 -2
- package/src/services/cvm/v20170312/cvm_models.ts +71 -16
- 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 +1 -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_models.ts +63 -2
- package/src/services/tcss/v20201101/tcss_models.ts +40 -0
- package/src/services/teo/v20220106/teo_client.ts +25 -0
- package/src/services/teo/v20220106/teo_models.ts +132 -0
- 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_models.ts +12 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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/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/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 +1 -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_models.d.ts +51 -2
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +32 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -1
- package/tencentcloud/services/teo/v20220106/teo_client.js +12 -0
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +111 -0
- 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_models.d.ts +12 -6
- package/test/cam.v20190116.test.js +46 -6
- package/test/cvm.v20170312.test.js +10 -0
- package/test/teo.v20220106.test.js +20 -0
- package/test/tke.v20180525.test.js +0 -10
- package/test/tsf.v20180326.test.js +10 -0
|
@@ -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
|
|
@@ -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({})
|
|
@@ -38,6 +38,26 @@ 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
|
+
|
|
41
61
|
it("teo.v20220106.DescribeZones", async function () {
|
|
42
62
|
try {
|
|
43
63
|
const data = await client.DescribeZones({})
|
|
@@ -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({})
|