tencentcloud-sdk-nodejs 4.0.516 → 4.0.517

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 (62) hide show
  1. package/CHANGELOG.md +243 -0
  2. package/SERVICE_CHANGELOG.md +338 -296
  3. package/package.json +1 -1
  4. package/products.md +9 -8
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/api/v20201106/api_models.ts +63 -3
  7. package/src/services/cdn/v20180606/cdn_models.ts +12 -2
  8. package/src/services/dts/v20211206/dts_client.ts +71 -34
  9. package/src/services/dts/v20211206/dts_models.ts +285 -116
  10. package/src/services/faceid/v20180301/faceid_client.ts +1 -14
  11. package/src/services/faceid/v20180301/faceid_models.ts +25 -65
  12. package/src/services/hasim/index.ts +5 -0
  13. package/src/services/hasim/v20210716/hasim_client.ts +309 -0
  14. package/src/services/hasim/v20210716/hasim_models.ts +1833 -0
  15. package/src/services/hasim/v20210716/index.ts +6 -0
  16. package/src/services/index.ts +1 -0
  17. package/src/services/mongodb/v20190725/mongodb_client.ts +3 -3
  18. package/src/services/mongodb/v20190725/mongodb_models.ts +3 -3
  19. package/src/services/rum/v20210622/rum_client.ts +19 -7
  20. package/src/services/rum/v20210622/rum_models.ts +64 -4
  21. package/src/services/ssa/v20180608/ssa_client.ts +106 -94
  22. package/src/services/ssa/v20180608/ssa_models.ts +188 -130
  23. package/src/services/vpc/v20170312/vpc_client.ts +226 -77
  24. package/src/services/vpc/v20170312/vpc_models.ts +726 -168
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/api/v20201106/api_models.d.ts +53 -3
  28. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -2
  29. package/tencentcloud/services/dts/v20211206/dts_client.d.ts +25 -13
  30. package/tencentcloud/services/dts/v20211206/dts_client.js +36 -18
  31. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +248 -103
  32. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -6
  33. package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -7
  34. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +22 -56
  35. package/tencentcloud/services/hasim/index.d.ts +6 -0
  36. package/tencentcloud/services/hasim/index.js +7 -0
  37. package/tencentcloud/services/hasim/v20210716/hasim_client.d.ts +98 -0
  38. package/tencentcloud/services/hasim/v20210716/hasim_client.js +163 -0
  39. package/tencentcloud/services/hasim/v20210716/hasim_models.d.ts +1536 -0
  40. package/tencentcloud/services/hasim/v20210716/hasim_models.js +18 -0
  41. package/tencentcloud/services/hasim/v20210716/index.d.ts +6 -0
  42. package/tencentcloud/services/hasim/v20210716/index.js +9 -0
  43. package/tencentcloud/services/index.d.ts +1 -0
  44. package/tencentcloud/services/index.js +2 -0
  45. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +3 -3
  46. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +3 -3
  47. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +3 -3
  48. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +7 -3
  49. package/tencentcloud/services/rum/v20210622/rum_client.js +9 -3
  50. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +54 -4
  51. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +37 -33
  52. package/tencentcloud/services/ssa/v20180608/ssa_client.js +54 -48
  53. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +158 -109
  54. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +82 -34
  55. package/tencentcloud/services/vpc/v20170312/vpc_client.js +113 -41
  56. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +636 -159
  57. package/test/dts.v20211206.test.js +46 -16
  58. package/test/faceid.v20180301.test.js +0 -10
  59. package/test/hasim.v20210716.test.js +241 -0
  60. package/test/rum.v20210622.test.js +12 -2
  61. package/test/ssa.v20180608.test.js +44 -34
  62. package/test/vpc.v20170312.test.js +136 -16
@@ -278,6 +278,16 @@ it("vpc.v20170312.DescribeNetworkInterfaceLimit", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("vpc.v20170312.EnableSnapshotPolicies", async function () {
282
+ try {
283
+ const data = await client.EnableSnapshotPolicies({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
281
291
  it("vpc.v20170312.DescribeNetDetects", async function () {
282
292
  try {
283
293
  const data = await client.DescribeNetDetects({})
@@ -318,9 +328,9 @@ it("vpc.v20170312.DescribeGatewayFlowMonitorDetail", async function () {
318
328
  }
319
329
  })
320
330
 
321
- it("vpc.v20170312.EnableGatewayFlowMonitor", async function () {
331
+ it("vpc.v20170312.AttachSnapshotInstances", async function () {
322
332
  try {
323
- const data = await client.EnableGatewayFlowMonitor({})
333
+ const data = await client.AttachSnapshotInstances({})
324
334
  expect(data).to.be.ok
325
335
  } catch(error) {
326
336
  expect(error.requestId).to.be.ok
@@ -358,6 +368,16 @@ it("vpc.v20170312.DeleteVpnConnection", async function () {
358
368
  }
359
369
  })
360
370
 
371
+ it("vpc.v20170312.DeleteSnapshotPolicies", async function () {
372
+ try {
373
+ const data = await client.DeleteSnapshotPolicies({})
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
+
361
381
  it("vpc.v20170312.EnableVpcEndPointConnect", async function () {
362
382
  try {
363
383
  const data = await client.EnableVpcEndPointConnect({})
@@ -548,6 +568,16 @@ it("vpc.v20170312.DescribeVpcEndPointService", async function () {
548
568
  }
549
569
  })
550
570
 
571
+ it("vpc.v20170312.ModifyVpcEndPointServiceWhiteList", async function () {
572
+ try {
573
+ const data = await client.ModifyVpcEndPointServiceWhiteList({})
574
+ expect(data).to.be.ok
575
+ } catch(error) {
576
+ expect(error.requestId).to.be.ok
577
+ expect(error.code).to.be.ok
578
+ }
579
+ })
580
+
551
581
  it("vpc.v20170312.DescribeCrossBorderFlowMonitor", async function () {
552
582
  try {
553
583
  const data = await client.DescribeCrossBorderFlowMonitor({})
@@ -578,9 +608,9 @@ it("vpc.v20170312.CreateAndAttachNetworkInterface", async function () {
578
608
  }
579
609
  })
580
610
 
581
- it("vpc.v20170312.ModifyVpcEndPointServiceWhiteList", async function () {
611
+ it("vpc.v20170312.ModifySnapshotPolicies", async function () {
582
612
  try {
583
- const data = await client.ModifyVpcEndPointServiceWhiteList({})
613
+ const data = await client.ModifySnapshotPolicies({})
584
614
  expect(data).to.be.ok
585
615
  } catch(error) {
586
616
  expect(error.requestId).to.be.ok
@@ -858,6 +888,16 @@ it("vpc.v20170312.ResetAttachCcnInstances", async function () {
858
888
  }
859
889
  })
860
890
 
891
+ it("vpc.v20170312.ModifyHaVipAttribute", async function () {
892
+ try {
893
+ const data = await client.ModifyHaVipAttribute({})
894
+ expect(data).to.be.ok
895
+ } catch(error) {
896
+ expect(error.requestId).to.be.ok
897
+ expect(error.code).to.be.ok
898
+ }
899
+ })
900
+
861
901
  it("vpc.v20170312.DeleteSecurityGroupPolicies", async function () {
862
902
  try {
863
903
  const data = await client.DeleteSecurityGroupPolicies({})
@@ -988,6 +1028,16 @@ it("vpc.v20170312.SetVpnGatewaysRenewFlag", async function () {
988
1028
  }
989
1029
  })
990
1030
 
1031
+ it("vpc.v20170312.DisableSnapshotPolicies", async function () {
1032
+ try {
1033
+ const data = await client.DisableSnapshotPolicies({})
1034
+ expect(data).to.be.ok
1035
+ } catch(error) {
1036
+ expect(error.requestId).to.be.ok
1037
+ expect(error.code).to.be.ok
1038
+ }
1039
+ })
1040
+
991
1041
  it("vpc.v20170312.DescribeDhcpIps", async function () {
992
1042
  try {
993
1043
  const data = await client.DescribeDhcpIps({})
@@ -1108,6 +1158,16 @@ it("vpc.v20170312.DeleteDirectConnectGateway", async function () {
1108
1158
  }
1109
1159
  })
1110
1160
 
1161
+ it("vpc.v20170312.DescribeSnapshotAttachedInstances", async function () {
1162
+ try {
1163
+ const data = await client.DescribeSnapshotAttachedInstances({})
1164
+ expect(data).to.be.ok
1165
+ } catch(error) {
1166
+ expect(error.requestId).to.be.ok
1167
+ expect(error.code).to.be.ok
1168
+ }
1169
+ })
1170
+
1111
1171
  it("vpc.v20170312.DescribeDirectConnectGatewayCcnRoutes", async function () {
1112
1172
  try {
1113
1173
  const data = await client.DescribeDirectConnectGatewayCcnRoutes({})
@@ -1348,6 +1408,16 @@ it("vpc.v20170312.RenewAddresses", async function () {
1348
1408
  }
1349
1409
  })
1350
1410
 
1411
+ it("vpc.v20170312.EnableGatewayFlowMonitor", async function () {
1412
+ try {
1413
+ const data = await client.EnableGatewayFlowMonitor({})
1414
+ expect(data).to.be.ok
1415
+ } catch(error) {
1416
+ expect(error.requestId).to.be.ok
1417
+ expect(error.code).to.be.ok
1418
+ }
1419
+ })
1420
+
1351
1421
  it("vpc.v20170312.DescribeFlowLog", async function () {
1352
1422
  try {
1353
1423
  const data = await client.DescribeFlowLog({})
@@ -1678,6 +1748,16 @@ it("vpc.v20170312.CreateServiceTemplate", async function () {
1678
1748
  }
1679
1749
  })
1680
1750
 
1751
+ it("vpc.v20170312.ReturnNormalAddresses", async function () {
1752
+ try {
1753
+ const data = await client.ReturnNormalAddresses({})
1754
+ expect(data).to.be.ok
1755
+ } catch(error) {
1756
+ expect(error.requestId).to.be.ok
1757
+ expect(error.code).to.be.ok
1758
+ }
1759
+ })
1760
+
1681
1761
  it("vpc.v20170312.WithdrawNotifyRoutes", async function () {
1682
1762
  try {
1683
1763
  const data = await client.WithdrawNotifyRoutes({})
@@ -1728,6 +1808,16 @@ it("vpc.v20170312.DisableFlowLogs", async function () {
1728
1808
  }
1729
1809
  })
1730
1810
 
1811
+ it("vpc.v20170312.DescribeSgSnapshotFileContent", async function () {
1812
+ try {
1813
+ const data = await client.DescribeSgSnapshotFileContent({})
1814
+ expect(data).to.be.ok
1815
+ } catch(error) {
1816
+ expect(error.requestId).to.be.ok
1817
+ expect(error.code).to.be.ok
1818
+ }
1819
+ })
1820
+
1731
1821
  it("vpc.v20170312.DescribeNetworkInterfaces", async function () {
1732
1822
  try {
1733
1823
  const data = await client.DescribeNetworkInterfaces({})
@@ -1948,9 +2038,9 @@ it("vpc.v20170312.DisassociateAddress", async function () {
1948
2038
  }
1949
2039
  })
1950
2040
 
1951
- it("vpc.v20170312.ReturnNormalAddresses", async function () {
2041
+ it("vpc.v20170312.ReleaseAddresses", async function () {
1952
2042
  try {
1953
- const data = await client.ReturnNormalAddresses({})
2043
+ const data = await client.ReleaseAddresses({})
1954
2044
  expect(data).to.be.ok
1955
2045
  } catch(error) {
1956
2046
  expect(error.requestId).to.be.ok
@@ -2038,6 +2128,16 @@ it("vpc.v20170312.DescribeIpGeolocationInfos", async function () {
2038
2128
  }
2039
2129
  })
2040
2130
 
2131
+ it("vpc.v20170312.DetachSnapshotInstances", async function () {
2132
+ try {
2133
+ const data = await client.DetachSnapshotInstances({})
2134
+ expect(data).to.be.ok
2135
+ } catch(error) {
2136
+ expect(error.requestId).to.be.ok
2137
+ expect(error.code).to.be.ok
2138
+ }
2139
+ })
2140
+
2041
2141
  it("vpc.v20170312.DescribeServiceTemplates", async function () {
2042
2142
  try {
2043
2143
  const data = await client.DescribeServiceTemplates({})
@@ -2158,6 +2258,16 @@ it("vpc.v20170312.DescribeHaVips", async function () {
2158
2258
  }
2159
2259
  })
2160
2260
 
2261
+ it("vpc.v20170312.UnassignIpv6SubnetCidrBlock", async function () {
2262
+ try {
2263
+ const data = await client.UnassignIpv6SubnetCidrBlock({})
2264
+ expect(data).to.be.ok
2265
+ } catch(error) {
2266
+ expect(error.requestId).to.be.ok
2267
+ expect(error.code).to.be.ok
2268
+ }
2269
+ })
2270
+
2161
2271
  it("vpc.v20170312.CreateLocalGateway", async function () {
2162
2272
  try {
2163
2273
  const data = await client.CreateLocalGateway({})
@@ -2598,9 +2708,9 @@ it("vpc.v20170312.CreateNetDetect", async function () {
2598
2708
  }
2599
2709
  })
2600
2710
 
2601
- it("vpc.v20170312.ModifyHaVipAttribute", async function () {
2711
+ it("vpc.v20170312.CreateSnapshotPolicies", async function () {
2602
2712
  try {
2603
- const data = await client.ModifyHaVipAttribute({})
2713
+ const data = await client.CreateSnapshotPolicies({})
2604
2714
  expect(data).to.be.ok
2605
2715
  } catch(error) {
2606
2716
  expect(error.requestId).to.be.ok
@@ -2608,9 +2718,9 @@ it("vpc.v20170312.ModifyHaVipAttribute", async function () {
2608
2718
  }
2609
2719
  })
2610
2720
 
2611
- it("vpc.v20170312.ReleaseAddresses", async function () {
2721
+ it("vpc.v20170312.DescribeSnapshotFiles", async function () {
2612
2722
  try {
2613
- const data = await client.ReleaseAddresses({})
2723
+ const data = await client.DescribeSnapshotFiles({})
2614
2724
  expect(data).to.be.ok
2615
2725
  } catch(error) {
2616
2726
  expect(error.requestId).to.be.ok
@@ -2688,6 +2798,16 @@ it("vpc.v20170312.ModifyCcnAttribute", async function () {
2688
2798
  }
2689
2799
  })
2690
2800
 
2801
+ it("vpc.v20170312.ResumeSnapshotInstance", async function () {
2802
+ try {
2803
+ const data = await client.ResumeSnapshotInstance({})
2804
+ expect(data).to.be.ok
2805
+ } catch(error) {
2806
+ expect(error.requestId).to.be.ok
2807
+ expect(error.code).to.be.ok
2808
+ }
2809
+ })
2810
+
2691
2811
  it("vpc.v20170312.DescribeSecurityGroupReferences", async function () {
2692
2812
  try {
2693
2813
  const data = await client.DescribeSecurityGroupReferences({})
@@ -2708,9 +2828,9 @@ it("vpc.v20170312.DescribeSecurityGroupAssociationStatistics", async function ()
2708
2828
  }
2709
2829
  })
2710
2830
 
2711
- it("vpc.v20170312.UnassignIpv6SubnetCidrBlock", async function () {
2831
+ it("vpc.v20170312.DescribeSnapshotPolicies", async function () {
2712
2832
  try {
2713
- const data = await client.UnassignIpv6SubnetCidrBlock({})
2833
+ const data = await client.DescribeSnapshotPolicies({})
2714
2834
  expect(data).to.be.ok
2715
2835
  } catch(error) {
2716
2836
  expect(error.requestId).to.be.ok
@@ -2808,9 +2928,9 @@ it("vpc.v20170312.DetachClassicLinkVpc", async function () {
2808
2928
  }
2809
2929
  })
2810
2930
 
2811
- it("vpc.v20170312.CreateSecurityGroupWithPolicies", async function () {
2931
+ it("vpc.v20170312.CreateVpnGatewayRoutes", async function () {
2812
2932
  try {
2813
- const data = await client.CreateSecurityGroupWithPolicies({})
2933
+ const data = await client.CreateVpnGatewayRoutes({})
2814
2934
  expect(data).to.be.ok
2815
2935
  } catch(error) {
2816
2936
  expect(error.requestId).to.be.ok
@@ -2868,9 +2988,9 @@ it("vpc.v20170312.DescribeVpcEndPoint", async function () {
2868
2988
  }
2869
2989
  })
2870
2990
 
2871
- it("vpc.v20170312.CreateVpnGatewayRoutes", async function () {
2991
+ it("vpc.v20170312.CreateSecurityGroupWithPolicies", async function () {
2872
2992
  try {
2873
- const data = await client.CreateVpnGatewayRoutes({})
2993
+ const data = await client.CreateSecurityGroupWithPolicies({})
2874
2994
  expect(data).to.be.ok
2875
2995
  } catch(error) {
2876
2996
  expect(error.requestId).to.be.ok