tencentcloud-sdk-nodejs 4.0.513 → 4.0.515

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 (60) hide show
  1. package/CHANGELOG.md +421 -0
  2. package/SERVICE_CHANGELOG.md +478 -48
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cls/v20201016/cls_client.ts +1 -1
  7. package/src/services/cls/v20201016/cls_models.ts +5 -4
  8. package/src/services/cwp/v20180228/cwp_models.ts +2 -2
  9. package/src/services/cynosdb/v20190107/cynosdb_client.ts +140 -38
  10. package/src/services/cynosdb/v20190107/cynosdb_models.ts +567 -103
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  12. package/src/services/live/v20180801/live_models.ts +128 -110
  13. package/src/services/mongodb/v20190725/mongodb_client.ts +18 -6
  14. package/src/services/mongodb/v20190725/mongodb_models.ts +50 -0
  15. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  16. package/src/services/monitor/v20180724/monitor_models.ts +80 -0
  17. package/src/services/tcr/v20190924/tcr_client.ts +2 -14
  18. package/src/services/tcr/v20190924/tcr_models.ts +9 -44
  19. package/src/services/tdid/v20210519/tdid_client.ts +8 -4
  20. package/src/services/tdmq/v20200217/tdmq_models.ts +10 -0
  21. package/src/services/teo/v20220901/teo_client.ts +27 -0
  22. package/src/services/teo/v20220901/teo_models.ts +157 -0
  23. package/src/services/tione/v20211111/tione_models.ts +15 -4
  24. package/src/services/vod/v20180717/vod_client.ts +27 -18
  25. package/src/services/vod/v20180717/vod_models.ts +153 -84
  26. package/src/services/wedata/v20210820/wedata_client.ts +1 -0
  27. package/src/services/wedata/v20210820/wedata_models.ts +41 -1
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  31. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  32. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -4
  33. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  34. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +45 -13
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +65 -17
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +490 -94
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  38. package/tencentcloud/services/live/v20180801/live_models.d.ts +94 -76
  39. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +7 -3
  40. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +9 -3
  41. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +42 -0
  42. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +65 -0
  43. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -5
  44. package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -6
  45. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -38
  46. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +6 -2
  47. package/tencentcloud/services/tdid/v20210519/tdid_client.js +6 -2
  48. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +8 -0
  49. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
  50. package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
  51. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +135 -0
  52. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -4
  53. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +15 -7
  54. package/tencentcloud/services/vod/v20180717/vod_client.js +15 -7
  55. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +138 -80
  56. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +35 -1
  57. package/test/cynosdb.v20190107.test.js +90 -10
  58. package/test/mongodb.v20190725.test.js +12 -2
  59. package/test/tcr.v20190924.test.js +0 -10
  60. package/test/teo.v20220901.test.js +20 -0
@@ -18,9 +18,19 @@ const client = new tencentcloud.cynosdb.v20190107.Client({
18
18
  })
19
19
  describe("cynosdb.v20190107.test.js", function () {
20
20
 
21
- it("cynosdb.v20190107.ResumeServerless", async function () {
21
+ it("cynosdb.v20190107.ModifyAuditService", async function () {
22
22
  try {
23
- const data = await client.ResumeServerless({})
23
+ const data = await client.ModifyAuditService({})
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("cynosdb.v20190107.OfflineInstance", async function () {
32
+ try {
33
+ const data = await client.OfflineInstance({})
24
34
  expect(data).to.be.ok
25
35
  } catch(error) {
26
36
  expect(error.requestId).to.be.ok
@@ -138,9 +148,19 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
138
148
  }
139
149
  })
140
150
 
141
- it("cynosdb.v20190107.SearchClusterDatabases", async function () {
151
+ it("cynosdb.v20190107.OpenAuditService", async function () {
142
152
  try {
143
- const data = await client.SearchClusterDatabases({})
153
+ const data = await client.OpenAuditService({})
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
+
161
+ it("cynosdb.v20190107.CreateAuditRuleTemplate", async function () {
162
+ try {
163
+ const data = await client.CreateAuditRuleTemplate({})
144
164
  expect(data).to.be.ok
145
165
  } catch(error) {
146
166
  expect(error.requestId).to.be.ok
@@ -188,6 +208,16 @@ it("cynosdb.v20190107.DescribeInstanceDetail", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("cynosdb.v20190107.DescribeAuditRuleTemplates", async function () {
212
+ try {
213
+ const data = await client.DescribeAuditRuleTemplates({})
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
+
191
221
  it("cynosdb.v20190107.DescribeRollbackTimeRange", async function () {
192
222
  try {
193
223
  const data = await client.DescribeRollbackTimeRange({})
@@ -218,9 +248,9 @@ it("cynosdb.v20190107.DescribeInstances", async function () {
218
248
  }
219
249
  })
220
250
 
221
- it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
251
+ it("cynosdb.v20190107.DeleteAuditRuleTemplates", async function () {
222
252
  try {
223
- const data = await client.GrantAccountPrivileges({})
253
+ const data = await client.DeleteAuditRuleTemplates({})
224
254
  expect(data).to.be.ok
225
255
  } catch(error) {
226
256
  expect(error.requestId).to.be.ok
@@ -298,9 +328,9 @@ it("cynosdb.v20190107.CreateBackup", async function () {
298
328
  }
299
329
  })
300
330
 
301
- it("cynosdb.v20190107.OfflineInstance", async function () {
331
+ it("cynosdb.v20190107.CloseAuditService", async function () {
302
332
  try {
303
- const data = await client.OfflineInstance({})
333
+ const data = await client.CloseAuditService({})
304
334
  expect(data).to.be.ok
305
335
  } catch(error) {
306
336
  expect(error.requestId).to.be.ok
@@ -328,6 +358,16 @@ it("cynosdb.v20190107.DescribeMaintainPeriod", async function () {
328
358
  }
329
359
  })
330
360
 
361
+ it("cynosdb.v20190107.ResumeServerless", async function () {
362
+ try {
363
+ const data = await client.ResumeServerless({})
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
+
331
371
  it("cynosdb.v20190107.SwitchProxyVpc", async function () {
332
372
  try {
333
373
  const data = await client.SwitchProxyVpc({})
@@ -428,9 +468,9 @@ it("cynosdb.v20190107.DescribeClusterDetail", async function () {
428
468
  }
429
469
  })
430
470
 
431
- it("cynosdb.v20190107.ModifyDBInstanceSecurityGroups", async function () {
471
+ it("cynosdb.v20190107.DescribeAuditRuleWithInstanceIds", async function () {
432
472
  try {
433
- const data = await client.ModifyDBInstanceSecurityGroups({})
473
+ const data = await client.DescribeAuditRuleWithInstanceIds({})
434
474
  expect(data).to.be.ok
435
475
  } catch(error) {
436
476
  expect(error.requestId).to.be.ok
@@ -508,6 +548,16 @@ it("cynosdb.v20190107.DescribeResourcesByDealName", async function () {
508
548
  }
509
549
  })
510
550
 
551
+ it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
552
+ try {
553
+ const data = await client.GrantAccountPrivileges({})
554
+ expect(data).to.be.ok
555
+ } catch(error) {
556
+ expect(error.requestId).to.be.ok
557
+ expect(error.code).to.be.ok
558
+ }
559
+ })
560
+
511
561
  it("cynosdb.v20190107.PauseServerless", async function () {
512
562
  try {
513
563
  const data = await client.PauseServerless({})
@@ -628,6 +678,26 @@ it("cynosdb.v20190107.SetRenewFlag", async function () {
628
678
  }
629
679
  })
630
680
 
681
+ it("cynosdb.v20190107.SearchClusterDatabases", async function () {
682
+ try {
683
+ const data = await client.SearchClusterDatabases({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
691
+ it("cynosdb.v20190107.ModifyAuditRuleTemplates", async function () {
692
+ try {
693
+ const data = await client.ModifyAuditRuleTemplates({})
694
+ expect(data).to.be.ok
695
+ } catch(error) {
696
+ expect(error.requestId).to.be.ok
697
+ expect(error.code).to.be.ok
698
+ }
699
+ })
700
+
631
701
  it("cynosdb.v20190107.SearchClusterTables", async function () {
632
702
  try {
633
703
  const data = await client.SearchClusterTables({})
@@ -678,6 +748,16 @@ it("cynosdb.v20190107.DescribeRollbackTimeValidity", async function () {
678
748
  }
679
749
  })
680
750
 
751
+ it("cynosdb.v20190107.ModifyDBInstanceSecurityGroups", async function () {
752
+ try {
753
+ const data = await client.ModifyDBInstanceSecurityGroups({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
681
761
  it("cynosdb.v20190107.AddInstances", async function () {
682
762
  try {
683
763
  const data = await client.AddInstances({})
@@ -148,9 +148,9 @@ it("mongodb.v20190725.DescribeAsyncRequestInfo", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("mongodb.v20190725.ModifyDBInstanceNetworkAddress", async function () {
151
+ it("mongodb.v20190725.CreateAccountUser", async function () {
152
152
  try {
153
- const data = await client.ModifyDBInstanceNetworkAddress({})
153
+ const data = await client.CreateAccountUser({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -228,6 +228,16 @@ it("mongodb.v20190725.DescribeSlowLogs", async function () {
228
228
  }
229
229
  })
230
230
 
231
+ it("mongodb.v20190725.ModifyDBInstanceNetworkAddress", async function () {
232
+ try {
233
+ const data = await client.ModifyDBInstanceNetworkAddress({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
231
241
  it("mongodb.v20190725.CreateDBInstance", async function () {
232
242
  try {
233
243
  const data = await client.CreateDBInstance({})
@@ -828,16 +828,6 @@ it("tcr.v20190924.DescribeNamespaces", async function () {
828
828
  }
829
829
  })
830
830
 
831
- it("tcr.v20190924.CreateSecurityPolicies", async function () {
832
- try {
833
- const data = await client.CreateSecurityPolicies({})
834
- expect(data).to.be.ok
835
- } catch(error) {
836
- expect(error.requestId).to.be.ok
837
- expect(error.code).to.be.ok
838
- }
839
- })
840
-
841
831
  it("tcr.v20190924.CreateSignature", async function () {
842
832
  try {
843
833
  const data = await client.CreateSignature({})
@@ -458,6 +458,16 @@ it("teo.v20220901.DeleteOriginGroup", async function () {
458
458
  }
459
459
  })
460
460
 
461
+ it("teo.v20220901.UpdateOriginProtectionIPWhitelist", async function () {
462
+ try {
463
+ const data = await client.UpdateOriginProtectionIPWhitelist({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
461
471
  it("teo.v20220901.DownloadL4Logs", async function () {
462
472
  try {
463
473
  const data = await client.DownloadL4Logs({})
@@ -1048,6 +1058,16 @@ it("teo.v20220901.DescribeHostsSetting", async function () {
1048
1058
  }
1049
1059
  })
1050
1060
 
1061
+ it("teo.v20220901.DescribeOriginProtection", async function () {
1062
+ try {
1063
+ const data = await client.DescribeOriginProtection({})
1064
+ expect(data).to.be.ok
1065
+ } catch(error) {
1066
+ expect(error.requestId).to.be.ok
1067
+ expect(error.code).to.be.ok
1068
+ }
1069
+ })
1070
+
1051
1071
  it("teo.v20220901.DescribeLogSets", async function () {
1052
1072
  try {
1053
1073
  const data = await client.DescribeLogSets({})