tencentcloud-sdk-nodejs 4.0.385 → 4.0.386

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 (47) hide show
  1. package/CHANGELOG.md +189 -0
  2. package/SERVICE_CHANGELOG.md +233 -65
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cfg/v20210820/cfg_models.ts +12 -0
  7. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
  8. package/src/services/cvm/v20170312/cvm_models.ts +8 -0
  9. package/src/services/dcdb/v20180411/dcdb_models.ts +6 -0
  10. package/src/services/emr/v20190103/emr_client.ts +1 -1
  11. package/src/services/emr/v20190103/emr_models.ts +2 -2
  12. package/src/services/mariadb/v20170312/mariadb_models.ts +12 -0
  13. package/src/services/mmps/v20200710/mmps_client.ts +13 -1
  14. package/src/services/mmps/v20200710/mmps_models.ts +79 -24
  15. package/src/services/ses/v20201002/ses_models.ts +21 -1
  16. package/src/services/tem/v20210701/tem_client.ts +25 -13
  17. package/src/services/tem/v20210701/tem_models.ts +41 -11
  18. package/src/services/trtc/v20190722/trtc_client.ts +6 -5
  19. package/src/services/trtc/v20190722/trtc_models.ts +69 -49
  20. package/src/services/vpc/v20170312/vpc_client.ts +74 -26
  21. package/src/services/vpc/v20170312/vpc_models.ts +130 -30
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +10 -0
  25. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  26. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -0
  27. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +5 -0
  28. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
  29. package/tencentcloud/services/emr/v20190103/emr_client.js +1 -1
  30. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
  31. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +10 -0
  32. package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +5 -1
  33. package/tencentcloud/services/mmps/v20200710/mmps_client.js +6 -0
  34. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +69 -23
  35. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +17 -1
  36. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +9 -5
  37. package/tencentcloud/services/tem/v20210701/tem_client.js +12 -6
  38. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +36 -10
  39. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +5 -4
  40. package/tencentcloud/services/trtc/v20190722/trtc_client.js +5 -4
  41. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +51 -31
  42. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +25 -9
  43. package/tencentcloud/services/vpc/v20170312/vpc_client.js +36 -12
  44. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +113 -26
  45. package/test/mmps.v20200710.test.js +10 -0
  46. package/test/tem.v20210701.test.js +14 -4
  47. package/test/vpc.v20170312.test.js +48 -8
@@ -487,6 +487,19 @@ export interface DescribeVpnGatewaysResponse {
487
487
  */
488
488
  RequestId?: string;
489
489
  }
490
+ /**
491
+ * ModifyNetworkAclQuintupleEntries请求参数结构体
492
+ */
493
+ export interface ModifyNetworkAclQuintupleEntriesRequest {
494
+ /**
495
+ * 网络ACL实例ID。例如:acl-12345678。
496
+ */
497
+ NetworkAclId: string;
498
+ /**
499
+ * 网络五元组ACL规则集。
500
+ */
501
+ NetworkAclQuintupleSet: NetworkAclQuintupleEntries;
502
+ }
490
503
  /**
491
504
  * 协议端口模板集合
492
505
  */
@@ -611,6 +624,23 @@ export interface DescribeVpcEndPointRequest {
611
624
  */
612
625
  EndPointId?: Array<string>;
613
626
  }
627
+ /**
628
+ * AssignPrivateIpAddresses请求参数结构体
629
+ */
630
+ export interface AssignPrivateIpAddressesRequest {
631
+ /**
632
+ * 弹性网卡实例ID,例如:eni-m6dyj72l。
633
+ */
634
+ NetworkInterfaceId: string;
635
+ /**
636
+ * 指定的内网IP信息,单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。
637
+ */
638
+ PrivateIpAddresses?: Array<PrivateIpAddressSpecification>;
639
+ /**
640
+ * 新申请的内网IP地址个数,与PrivateIpAddresses至少提供一个。内网IP地址个数总和不能超过配额数,详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
641
+ */
642
+ SecondaryPrivateIpAddressCount?: number;
643
+ }
614
644
  /**
615
645
  * DetachClassicLinkVpc请求参数结构体
616
646
  */
@@ -1935,6 +1965,15 @@ export interface AcceptAttachCcnInstancesRequest {
1935
1965
  */
1936
1966
  Instances: Array<CcnInstance>;
1937
1967
  }
1968
+ /**
1969
+ * CreateNetworkAclQuintupleEntries返回参数结构体
1970
+ */
1971
+ export interface CreateNetworkAclQuintupleEntriesResponse {
1972
+ /**
1973
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1974
+ */
1975
+ RequestId?: string;
1976
+ }
1938
1977
  /**
1939
1978
  * DescribeGatewayFlowMonitorDetail返回参数结构体
1940
1979
  */
@@ -2094,6 +2133,15 @@ export interface DeleteVpcEndPointServiceResponse {
2094
2133
  */
2095
2134
  RequestId?: string;
2096
2135
  }
2136
+ /**
2137
+ * ModifyNetworkAclQuintupleEntries返回参数结构体
2138
+ */
2139
+ export interface ModifyNetworkAclQuintupleEntriesResponse {
2140
+ /**
2141
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2142
+ */
2143
+ RequestId?: string;
2144
+ }
2097
2145
  /**
2098
2146
  * AssignIpv6CidrBlock请求参数结构体
2099
2147
  */
@@ -5741,6 +5789,10 @@ export interface DescribeVpcEndPointResponse {
5741
5789
  */
5742
5790
  RequestId?: string;
5743
5791
  }
5792
+ /**
5793
+ * DescribeNetworkAclQuintupleEntries请求参数结构体
5794
+ */
5795
+ export declare type DescribeNetworkAclQuintupleEntriesRequest = null;
5744
5796
  /**
5745
5797
  * DisableGatewayFlowMonitor请求参数结构体
5746
5798
  */
@@ -6284,6 +6336,19 @@ export interface CreateServiceTemplateGroupRequest {
6284
6336
  */
6285
6337
  ServiceTemplateIds: Array<string>;
6286
6338
  }
6339
+ /**
6340
+ * CreateNetworkAclQuintupleEntries请求参数结构体
6341
+ */
6342
+ export interface CreateNetworkAclQuintupleEntriesRequest {
6343
+ /**
6344
+ * 网络ACL实例ID。例如:acl-12345678。
6345
+ */
6346
+ NetworkAclId: string;
6347
+ /**
6348
+ * 网络五元组ACL规则集。
6349
+ */
6350
+ NetworkAclQuintupleSet: NetworkAclQuintupleEntries;
6351
+ }
6287
6352
  /**
6288
6353
  * DescribeClassicLinkInstances返回参数结构体
6289
6354
  */
@@ -6744,6 +6809,23 @@ export interface DescribeNetworkAclsRequest {
6744
6809
  */
6745
6810
  Limit?: number;
6746
6811
  }
6812
+ /**
6813
+ * DescribeNetworkAclQuintupleEntries返回参数结构体
6814
+ */
6815
+ export interface DescribeNetworkAclQuintupleEntriesResponse {
6816
+ /**
6817
+ * 网络ACL条目列表(NetworkAclTuple5Entry)
6818
+ */
6819
+ NetworkAclQuintupleSet: Array<NetworkAclQuintupleEntry>;
6820
+ /**
6821
+ * 符合条件的实例数量。
6822
+ */
6823
+ TotalCount: number;
6824
+ /**
6825
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6826
+ */
6827
+ RequestId?: string;
6828
+ }
6747
6829
  /**
6748
6830
  * DescribeSubnets请求参数结构体
6749
6831
  */
@@ -9344,6 +9426,27 @@ export interface CreateAddressTemplateGroupResponse {
9344
9426
  */
9345
9427
  RequestId?: string;
9346
9428
  }
9429
+ /**
9430
+ * DownloadVpnGatewaySslClientCert 使用
9431
+ */
9432
+ export interface SslClientConfig {
9433
+ /**
9434
+ * 客户端配置
9435
+ */
9436
+ SslVpnClientConfiguration: string;
9437
+ /**
9438
+ * 更证书
9439
+ */
9440
+ SslVpnRootCert: string;
9441
+ /**
9442
+ * 客户端密钥
9443
+ */
9444
+ SslVpnKey: string;
9445
+ /**
9446
+ * 客户端证书
9447
+ */
9448
+ SslVpnCert: string;
9449
+ }
9347
9450
  /**
9348
9451
  * DescribeBandwidthPackageQuota返回参数结构体
9349
9452
  */
@@ -9835,25 +9938,17 @@ export interface ModifyServiceTemplateGroupAttributeResponse {
9835
9938
  RequestId?: string;
9836
9939
  }
9837
9940
  /**
9838
- * DownloadVpnGatewaySslClientCert 使用
9941
+ * DeleteNetworkAclQuintupleEntries请求参数结构体
9839
9942
  */
9840
- export interface SslClientConfig {
9943
+ export interface DeleteNetworkAclQuintupleEntriesRequest {
9841
9944
  /**
9842
- * 客户端配置
9843
- */
9844
- SslVpnClientConfiguration: string;
9845
- /**
9846
- * 更证书
9847
- */
9848
- SslVpnRootCert: string;
9849
- /**
9850
- * 客户端密钥
9945
+ * 网络ACL实例ID。例如:acl-12345678。
9851
9946
  */
9852
- SslVpnKey: string;
9947
+ NetworkAclId: string;
9853
9948
  /**
9854
- * 客户端证书
9949
+ * 网络五元组ACL规则集。
9855
9950
  */
9856
- SslVpnCert: string;
9951
+ NetworkAclQuintupleSet: NetworkAclQuintupleEntries;
9857
9952
  }
9858
9953
  /**
9859
9954
  * DeleteSubnet请求参数结构体
@@ -11831,21 +11926,13 @@ export interface DeleteNetworkAclResponse {
11831
11926
  RequestId?: string;
11832
11927
  }
11833
11928
  /**
11834
- * AssignPrivateIpAddresses请求参数结构体
11929
+ * DeleteNetworkAclQuintupleEntries返回参数结构体
11835
11930
  */
11836
- export interface AssignPrivateIpAddressesRequest {
11837
- /**
11838
- * 弹性网卡实例ID,例如:eni-m6dyj72l。
11839
- */
11840
- NetworkInterfaceId: string;
11841
- /**
11842
- * 指定的内网IP信息,单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。
11843
- */
11844
- PrivateIpAddresses?: Array<PrivateIpAddressSpecification>;
11931
+ export interface DeleteNetworkAclQuintupleEntriesResponse {
11845
11932
  /**
11846
- * 新申请的内网IP地址个数,与PrivateIpAddresses至少提供一个。内网IP地址个数总和不能超过配额数,详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
11933
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11847
11934
  */
11848
- SecondaryPrivateIpAddressCount?: number;
11935
+ RequestId?: string;
11849
11936
  }
11850
11937
  /**
11851
11938
  * DescribeServiceTemplateGroups请求参数结构体
@@ -28,6 +28,16 @@ it("mmps.v20200710.CreateAppScanTask", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("mmps.v20200710.CreateFlySecMiniAppProfessionalScanTask", async function () {
32
+ try {
33
+ const data = await client.CreateFlySecMiniAppProfessionalScanTask({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
31
41
  it("mmps.v20200710.DescribeFlySecMiniAppScanReportList", async function () {
32
42
  try {
33
43
  const data = await client.DescribeFlySecMiniAppScanReportList({})
@@ -128,9 +128,9 @@ it("tem.v20210701.DescribeApplicationPods", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("tem.v20210701.RestartApplication", async function () {
131
+ it("tem.v20210701.RestartApplicationPod", async function () {
132
132
  try {
133
- const data = await client.RestartApplication({})
133
+ const data = await client.RestartApplicationPod({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -218,9 +218,9 @@ it("tem.v20210701.CreateApplication", async function () {
218
218
  }
219
219
  })
220
220
 
221
- it("tem.v20210701.RestartApplicationPod", async function () {
221
+ it("tem.v20210701.RestartApplication", async function () {
222
222
  try {
223
- const data = await client.RestartApplicationPod({})
223
+ const data = await client.RestartApplication({})
224
224
  expect(data).to.be.ok
225
225
  } catch(error) {
226
226
  expect(error.requestId).to.be.ok
@@ -268,4 +268,14 @@ it("tem.v20210701.CreateResource", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("tem.v20210701.DestroyEnvironment", async function () {
272
+ try {
273
+ const data = await client.DestroyEnvironment({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
271
281
  })
@@ -288,6 +288,16 @@ it("vpc.v20170312.DescribeNetDetects", async function () {
288
288
  }
289
289
  })
290
290
 
291
+ it("vpc.v20170312.ModifyNetworkAclQuintupleEntries", async function () {
292
+ try {
293
+ const data = await client.ModifyNetworkAclQuintupleEntries({})
294
+ expect(data).to.be.ok
295
+ } catch(error) {
296
+ expect(error.requestId).to.be.ok
297
+ expect(error.code).to.be.ok
298
+ }
299
+ })
300
+
291
301
  it("vpc.v20170312.DescribeVpcPrivateIpAddresses", async function () {
292
302
  try {
293
303
  const data = await client.DescribeVpcPrivateIpAddresses({})
@@ -488,9 +498,9 @@ it("vpc.v20170312.DisassociateVpcEndPointSecurityGroups", async function () {
488
498
  }
489
499
  })
490
500
 
491
- it("vpc.v20170312.CreateDirectConnectGatewayCcnRoutes", async function () {
501
+ it("vpc.v20170312.DeleteRouteTable", async function () {
492
502
  try {
493
- const data = await client.CreateDirectConnectGatewayCcnRoutes({})
503
+ const data = await client.DeleteRouteTable({})
494
504
  expect(data).to.be.ok
495
505
  } catch(error) {
496
506
  expect(error.requestId).to.be.ok
@@ -918,6 +928,16 @@ it("vpc.v20170312.CheckAssistantCidr", async function () {
918
928
  }
919
929
  })
920
930
 
931
+ it("vpc.v20170312.DescribeFlowLogs", async function () {
932
+ try {
933
+ const data = await client.DescribeFlowLogs({})
934
+ expect(data).to.be.ok
935
+ } catch(error) {
936
+ expect(error.requestId).to.be.ok
937
+ expect(error.code).to.be.ok
938
+ }
939
+ })
940
+
921
941
  it("vpc.v20170312.DescribeVpcIpv6Addresses", async function () {
922
942
  try {
923
943
  const data = await client.DescribeVpcIpv6Addresses({})
@@ -1048,9 +1068,9 @@ it("vpc.v20170312.MigratePrivateIpAddress", async function () {
1048
1068
  }
1049
1069
  })
1050
1070
 
1051
- it("vpc.v20170312.DescribeFlowLogs", async function () {
1071
+ it("vpc.v20170312.DeleteNetworkAclQuintupleEntries", async function () {
1052
1072
  try {
1053
- const data = await client.DescribeFlowLogs({})
1073
+ const data = await client.DeleteNetworkAclQuintupleEntries({})
1054
1074
  expect(data).to.be.ok
1055
1075
  } catch(error) {
1056
1076
  expect(error.requestId).to.be.ok
@@ -1528,6 +1548,16 @@ it("vpc.v20170312.CreateNatGateway", async function () {
1528
1548
  }
1529
1549
  })
1530
1550
 
1551
+ it("vpc.v20170312.DescribeNetworkAclQuintupleEntries", async function () {
1552
+ try {
1553
+ const data = await client.DescribeNetworkAclQuintupleEntries({})
1554
+ expect(data).to.be.ok
1555
+ } catch(error) {
1556
+ expect(error.requestId).to.be.ok
1557
+ expect(error.code).to.be.ok
1558
+ }
1559
+ })
1560
+
1531
1561
  it("vpc.v20170312.DeleteNetDetect", async function () {
1532
1562
  try {
1533
1563
  const data = await client.DeleteNetDetect({})
@@ -1588,9 +1618,9 @@ it("vpc.v20170312.DeleteVpcEndPointService", async function () {
1588
1618
  }
1589
1619
  })
1590
1620
 
1591
- it("vpc.v20170312.ModifyAssistantCidr", async function () {
1621
+ it("vpc.v20170312.CreateNetworkAclQuintupleEntries", async function () {
1592
1622
  try {
1593
- const data = await client.ModifyAssistantCidr({})
1623
+ const data = await client.CreateNetworkAclQuintupleEntries({})
1594
1624
  expect(data).to.be.ok
1595
1625
  } catch(error) {
1596
1626
  expect(error.requestId).to.be.ok
@@ -1858,9 +1888,9 @@ it("vpc.v20170312.DescribeVpnGatewaySslServers", async function () {
1858
1888
  }
1859
1889
  })
1860
1890
 
1861
- it("vpc.v20170312.DeleteRouteTable", async function () {
1891
+ it("vpc.v20170312.CreateDirectConnectGatewayCcnRoutes", async function () {
1862
1892
  try {
1863
- const data = await client.DeleteRouteTable({})
1893
+ const data = await client.CreateDirectConnectGatewayCcnRoutes({})
1864
1894
  expect(data).to.be.ok
1865
1895
  } catch(error) {
1866
1896
  expect(error.requestId).to.be.ok
@@ -2458,6 +2488,16 @@ it("vpc.v20170312.ReplaceRoutes", async function () {
2458
2488
  }
2459
2489
  })
2460
2490
 
2491
+ it("vpc.v20170312.ModifyAssistantCidr", async function () {
2492
+ try {
2493
+ const data = await client.ModifyAssistantCidr({})
2494
+ expect(data).to.be.ok
2495
+ } catch(error) {
2496
+ expect(error.requestId).to.be.ok
2497
+ expect(error.code).to.be.ok
2498
+ }
2499
+ })
2500
+
2461
2501
  it("vpc.v20170312.ModifyNetDetect", async function () {
2462
2502
  try {
2463
2503
  const data = await client.ModifyNetDetect({})