tencentcloud-sdk-nodejs 4.0.901 → 4.0.903

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +552 -0
  2. package/SERVICE_CHANGELOG.md +642 -64
  3. package/package.json +1 -1
  4. package/products.md +27 -27
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +29 -3
  7. package/src/services/cam/v20190116/cam_models.ts +5 -0
  8. package/src/services/ccc/v20200210/ccc_models.ts +5 -0
  9. package/src/services/cdb/v20170320/cdb_client.ts +2 -1
  10. package/src/services/cdb/v20170320/cdb_models.ts +20 -0
  11. package/src/services/cdwch/v20200915/cdwch_client.ts +1 -0
  12. package/src/services/cdwch/v20200915/cdwch_models.ts +16 -0
  13. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -0
  14. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +16 -0
  15. package/src/services/cynosdb/v20190107/cynosdb_models.ts +1 -1
  16. package/src/services/dts/v20211206/dts_models.ts +4 -0
  17. package/src/services/ess/v20201111/ess_client.ts +19 -0
  18. package/src/services/ess/v20201111/ess_models.ts +44 -0
  19. package/src/services/gaap/v20180529/gaap_models.ts +17 -17
  20. package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -1
  21. package/src/services/iss/v20230517/iss_models.ts +2 -1
  22. package/src/services/mongodb/v20190725/mongodb_client.ts +71 -4
  23. package/src/services/mongodb/v20190725/mongodb_models.ts +282 -35
  24. package/src/services/monitor/v20180724/monitor_models.ts +31 -19
  25. package/src/services/mps/v20190612/mps_models.ts +2 -2
  26. package/src/services/oceanus/v20190422/oceanus_models.ts +4 -0
  27. package/src/services/postgres/v20170312/postgres_client.ts +149 -62
  28. package/src/services/postgres/v20170312/postgres_models.ts +401 -111
  29. package/src/services/rce/v20201103/rce_client.ts +1 -0
  30. package/src/services/rce/v20201103/rce_models.ts +72 -0
  31. package/src/services/tcr/v20190924/tcr_client.ts +2 -2
  32. package/src/services/tcr/v20190924/tcr_models.ts +30 -18
  33. package/src/services/tem/v20210701/tem_models.ts +14 -2
  34. package/src/services/thpc/v20230321/thpc_client.ts +40 -16
  35. package/src/services/thpc/v20230321/thpc_models.ts +236 -146
  36. package/src/services/tke/v20220501/tke_models.ts +4 -0
  37. package/src/services/vclm/v20240523/vclm_models.ts +6 -0
  38. package/src/services/vpc/v20170312/vpc_models.ts +29 -0
  39. package/src/services/waf/v20180125/waf_models.ts +206 -39
  40. package/src/services/wedata/v20210820/wedata_models.ts +24 -7
  41. package/tencentcloud/common/sdk_version.d.ts +1 -1
  42. package/tencentcloud/common/sdk_version.js +1 -1
  43. package/tencentcloud/services/as/v20180419/as_models.d.ts +29 -3
  44. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +5 -0
  45. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
  46. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  47. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  48. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +19 -0
  49. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +15 -0
  50. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +15 -0
  51. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -1
  52. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +4 -0
  53. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -1
  54. package/tencentcloud/services/ess/v20201111/ess_client.js +13 -0
  55. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +42 -0
  56. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +17 -17
  57. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -1
  58. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +2 -1
  59. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +26 -1
  60. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +35 -0
  61. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +270 -35
  62. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +31 -19
  63. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
  64. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
  65. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +47 -19
  66. package/tencentcloud/services/postgres/v20170312/postgres_client.js +69 -27
  67. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +384 -111
  68. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +71 -0
  69. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +2 -2
  70. package/tencentcloud/services/tcr/v20190924/tcr_client.js +2 -2
  71. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +30 -18
  72. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +14 -2
  73. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +14 -6
  74. package/tencentcloud/services/thpc/v20230321/thpc_client.js +18 -6
  75. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +232 -146
  76. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +4 -0
  77. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +6 -0
  78. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +29 -0
  79. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +206 -39
  80. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +24 -7
  81. package/test/ess.v20201111.test.js +10 -0
  82. package/test/mongodb.v20190725.test.js +50 -0
  83. package/test/postgres.v20170312.test.js +88 -18
  84. package/test/thpc.v20230321.test.js +22 -2
@@ -58,9 +58,19 @@ it("postgres.v20170312.DescribeDBInstanceHAConfig", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("postgres.v20170312.RebalanceReadOnlyGroup", async function () {
61
+ it("postgres.v20170312.DescribeBackupOverview", async function () {
62
62
  try {
63
- const data = await client.RebalanceReadOnlyGroup({})
63
+ const data = await client.DescribeBackupOverview({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("postgres.v20170312.DescribeDatabaseObjects", async function () {
72
+ try {
73
+ const data = await client.DescribeDatabaseObjects({})
64
74
  expect(data).to.be.ok
65
75
  } catch(error) {
66
76
  expect(error.requestId).to.be.ok
@@ -158,9 +168,9 @@ it("postgres.v20170312.ModifyDBInstanceSecurityGroups", async function () {
158
168
  }
159
169
  })
160
170
 
161
- it("postgres.v20170312.CreateServerlessDBInstance", async function () {
171
+ it("postgres.v20170312.RenewInstance", async function () {
162
172
  try {
163
- const data = await client.CreateServerlessDBInstance({})
173
+ const data = await client.RenewInstance({})
164
174
  expect(data).to.be.ok
165
175
  } catch(error) {
166
176
  expect(error.requestId).to.be.ok
@@ -208,6 +218,16 @@ it("postgres.v20170312.DescribeDBSlowlogs", async function () {
208
218
  }
209
219
  })
210
220
 
221
+ it("postgres.v20170312.DescribeAccountPrivileges", async function () {
222
+ try {
223
+ const data = await client.DescribeAccountPrivileges({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
211
231
  it("postgres.v20170312.DeleteReadOnlyGroupNetworkAccess", async function () {
212
232
  try {
213
233
  const data = await client.DeleteReadOnlyGroupNetworkAccess({})
@@ -228,6 +248,16 @@ it("postgres.v20170312.ModifyDBInstanceChargeType", async function () {
228
248
  }
229
249
  })
230
250
 
251
+ it("postgres.v20170312.UnlockAccount", async function () {
252
+ try {
253
+ const data = await client.UnlockAccount({})
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
+
231
261
  it("postgres.v20170312.DestroyDBInstance", async function () {
232
262
  try {
233
263
  const data = await client.DestroyDBInstance({})
@@ -298,6 +328,16 @@ it("postgres.v20170312.DescribeParameterTemplateAttributes", async function () {
298
328
  }
299
329
  })
300
330
 
331
+ it("postgres.v20170312.RestoreDBInstanceObjects", async function () {
332
+ try {
333
+ const data = await client.RestoreDBInstanceObjects({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
301
341
  it("postgres.v20170312.CloseServerlessDBExtranetAccess", async function () {
302
342
  try {
303
343
  const data = await client.CloseServerlessDBExtranetAccess({})
@@ -318,9 +358,19 @@ it("postgres.v20170312.ModifyDBInstanceDeployment", async function () {
318
358
  }
319
359
  })
320
360
 
321
- it("postgres.v20170312.RenewInstance", async function () {
361
+ it("postgres.v20170312.CreateServerlessDBInstance", async function () {
322
362
  try {
323
- const data = await client.RenewInstance({})
363
+ const data = await client.CreateServerlessDBInstance({})
364
+ expect(data).to.be.ok
365
+ } catch(error) {
366
+ expect(error.requestId).to.be.ok
367
+ expect(error.code).to.be.ok
368
+ }
369
+ })
370
+
371
+ it("postgres.v20170312.CreateAccount", async function () {
372
+ try {
373
+ const data = await client.CreateAccount({})
324
374
  expect(data).to.be.ok
325
375
  } catch(error) {
326
376
  expect(error.requestId).to.be.ok
@@ -478,9 +528,9 @@ it("postgres.v20170312.UpgradeDBInstanceMajorVersion", async function () {
478
528
  }
479
529
  })
480
530
 
481
- it("postgres.v20170312.DescribeBackupOverview", async function () {
531
+ it("postgres.v20170312.RebalanceReadOnlyGroup", async function () {
482
532
  try {
483
- const data = await client.DescribeBackupOverview({})
533
+ const data = await client.RebalanceReadOnlyGroup({})
484
534
  expect(data).to.be.ok
485
535
  } catch(error) {
486
536
  expect(error.requestId).to.be.ok
@@ -538,9 +588,9 @@ it("postgres.v20170312.ResetAccountPassword", async function () {
538
588
  }
539
589
  })
540
590
 
541
- it("postgres.v20170312.RestoreDBInstanceObjects", async function () {
591
+ it("postgres.v20170312.RestartDBInstance", async function () {
542
592
  try {
543
- const data = await client.RestoreDBInstanceObjects({})
593
+ const data = await client.RestartDBInstance({})
544
594
  expect(data).to.be.ok
545
595
  } catch(error) {
546
596
  expect(error.requestId).to.be.ok
@@ -578,9 +628,9 @@ it("postgres.v20170312.DescribeDBXlogs", async function () {
578
628
  }
579
629
  })
580
630
 
581
- it("postgres.v20170312.RestartDBInstance", async function () {
631
+ it("postgres.v20170312.DescribeDBInstanceAttribute", async function () {
582
632
  try {
583
- const data = await client.RestartDBInstance({})
633
+ const data = await client.DescribeDBInstanceAttribute({})
584
634
  expect(data).to.be.ok
585
635
  } catch(error) {
586
636
  expect(error.requestId).to.be.ok
@@ -638,9 +688,9 @@ it("postgres.v20170312.ModifyBaseBackupExpireTime", async function () {
638
688
  }
639
689
  })
640
690
 
641
- it("postgres.v20170312.CreateReadOnlyGroup", async function () {
691
+ it("postgres.v20170312.ModifyAccountPrivileges", async function () {
642
692
  try {
643
- const data = await client.CreateReadOnlyGroup({})
693
+ const data = await client.ModifyAccountPrivileges({})
644
694
  expect(data).to.be.ok
645
695
  } catch(error) {
646
696
  expect(error.requestId).to.be.ok
@@ -818,6 +868,16 @@ it("postgres.v20170312.OpenDBExtranetAccess", async function () {
818
868
  }
819
869
  })
820
870
 
871
+ it("postgres.v20170312.DeleteAccount", async function () {
872
+ try {
873
+ const data = await client.DeleteAccount({})
874
+ expect(data).to.be.ok
875
+ } catch(error) {
876
+ expect(error.requestId).to.be.ok
877
+ expect(error.code).to.be.ok
878
+ }
879
+ })
880
+
821
881
  it("postgres.v20170312.ModifyBackupPlan", async function () {
822
882
  try {
823
883
  const data = await client.ModifyBackupPlan({})
@@ -858,6 +918,16 @@ it("postgres.v20170312.InquiryPriceUpgradeDBInstance", async function () {
858
918
  }
859
919
  })
860
920
 
921
+ it("postgres.v20170312.CreateReadOnlyGroup", async function () {
922
+ try {
923
+ const data = await client.CreateReadOnlyGroup({})
924
+ expect(data).to.be.ok
925
+ } catch(error) {
926
+ expect(error.requestId).to.be.ok
927
+ expect(error.code).to.be.ok
928
+ }
929
+ })
930
+
861
931
  it("postgres.v20170312.InquiryPriceRenewDBInstance", async function () {
862
932
  try {
863
933
  const data = await client.InquiryPriceRenewDBInstance({})
@@ -888,9 +958,9 @@ it("postgres.v20170312.DeleteBaseBackup", async function () {
888
958
  }
889
959
  })
890
960
 
891
- it("postgres.v20170312.DescribeReadOnlyGroups", async function () {
961
+ it("postgres.v20170312.LockAccount", async function () {
892
962
  try {
893
- const data = await client.DescribeReadOnlyGroups({})
963
+ const data = await client.LockAccount({})
894
964
  expect(data).to.be.ok
895
965
  } catch(error) {
896
966
  expect(error.requestId).to.be.ok
@@ -898,9 +968,9 @@ it("postgres.v20170312.DescribeReadOnlyGroups", async function () {
898
968
  }
899
969
  })
900
970
 
901
- it("postgres.v20170312.DescribeDBInstanceAttribute", async function () {
971
+ it("postgres.v20170312.DescribeReadOnlyGroups", async function () {
902
972
  try {
903
- const data = await client.DescribeDBInstanceAttribute({})
973
+ const data = await client.DescribeReadOnlyGroups({})
904
974
  expect(data).to.be.ok
905
975
  } catch(error) {
906
976
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("thpc.v20230321.DescribeInitNodeScripts", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("thpc.v20230321.DeleteQueue", async function () {
111
+ it("thpc.v20230321.AttachNodes", async function () {
112
112
  try {
113
- const data = await client.DeleteQueue({})
113
+ const data = await client.AttachNodes({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -158,6 +158,16 @@ it("thpc.v20230321.DescribeClusters", async function () {
158
158
  }
159
159
  })
160
160
 
161
+ it("thpc.v20230321.DetachNodes", async function () {
162
+ try {
163
+ const data = await client.DetachNodes({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
161
171
  it("thpc.v20230321.DeleteCluster", async function () {
162
172
  try {
163
173
  const data = await client.DeleteCluster({})
@@ -188,4 +198,14 @@ it("thpc.v20230321.DescribeQueues", async function () {
188
198
  }
189
199
  })
190
200
 
201
+ it("thpc.v20230321.DeleteQueue", async function () {
202
+ try {
203
+ const data = await client.DeleteQueue({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
191
211
  })