tencentcloud-sdk-nodejs 4.0.500 → 4.0.502

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 (89) hide show
  1. package/CHANGELOG.md +395 -0
  2. package/SERVICE_CHANGELOG.md +575 -5
  3. package/package.json +1 -1
  4. package/products.md +28 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +22 -1
  7. package/src/services/cat/v20180409/cat_models.ts +24 -4
  8. package/src/services/cbs/v20170312/cbs_client.ts +0 -1
  9. package/src/services/cbs/v20170312/cbs_models.ts +2 -2
  10. package/src/services/clb/v20180317/clb_client.ts +1 -0
  11. package/src/services/clb/v20180317/clb_models.ts +43 -0
  12. package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +2 -2
  13. package/src/services/cpdp/v20190820/cpdp_models.ts +6 -4
  14. package/src/services/cwp/v20180228/cwp_client.ts +1 -0
  15. package/src/services/cwp/v20180228/cwp_models.ts +46 -1
  16. package/src/services/dts/v20211206/dts_client.ts +24 -0
  17. package/src/services/dts/v20211206/dts_models.ts +50 -0
  18. package/src/services/emr/v20190103/emr_client.ts +48 -11
  19. package/src/services/emr/v20190103/emr_models.ts +816 -40
  20. package/src/services/es/v20180416/es_models.ts +6 -0
  21. package/src/services/ess/v20201111/ess_models.ts +12 -0
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +24 -6
  23. package/src/services/kms/v20190118/kms_models.ts +5 -0
  24. package/src/services/lcic/v20220817/lcic_models.ts +1 -1
  25. package/src/services/lighthouse/v20200324/lighthouse_models.ts +18 -6
  26. package/src/services/live/v20180801/live_client.ts +1 -1
  27. package/src/services/live/v20180801/live_models.ts +16 -0
  28. package/src/services/monitor/v20180724/monitor_models.ts +35 -35
  29. package/src/services/ocr/v20181119/ocr_client.ts +4 -2
  30. package/src/services/ocr/v20181119/ocr_models.ts +10 -0
  31. package/src/services/redis/v20180412/redis_models.ts +6 -6
  32. package/src/services/tcr/v20190924/tcr_models.ts +1 -1
  33. package/src/services/teo/v20220901/teo_models.ts +1 -2
  34. package/src/services/tiia/v20190529/tiia_client.ts +57 -15
  35. package/src/services/tiia/v20190529/tiia_models.ts +16 -10
  36. package/src/services/tiw/v20190919/tiw_models.ts +10 -0
  37. package/src/services/tke/v20180525/tke_client.ts +5 -17
  38. package/src/services/tke/v20180525/tke_models.ts +82 -96
  39. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  40. package/src/services/vpc/v20170312/vpc_client.ts +21 -7
  41. package/src/services/vpc/v20170312/vpc_models.ts +26 -1
  42. package/tencentcloud/common/sdk_version.d.ts +1 -1
  43. package/tencentcloud/common/sdk_version.js +1 -1
  44. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +18 -1
  45. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +21 -1
  46. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +0 -1
  47. package/tencentcloud/services/cbs/v20170312/cbs_client.js +0 -1
  48. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +2 -2
  49. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +36 -0
  50. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +2 -2
  51. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +5 -3
  52. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +38 -1
  53. package/tencentcloud/services/dts/v20211206/dts_client.d.ts +9 -1
  54. package/tencentcloud/services/dts/v20211206/dts_client.js +12 -0
  55. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +44 -0
  56. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +12 -4
  57. package/tencentcloud/services/emr/v20190103/emr_client.js +16 -4
  58. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +715 -38
  59. package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
  60. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -0
  61. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +21 -6
  62. package/tencentcloud/services/kms/v20190118/kms_models.d.ts +4 -0
  63. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
  64. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -6
  65. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  66. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  67. package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -0
  68. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +35 -35
  69. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
  70. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
  71. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -0
  72. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +6 -6
  73. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +1 -1
  74. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -2
  75. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +48 -6
  76. package/tencentcloud/services/tiia/v20190529/tiia_client.js +48 -6
  77. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +15 -9
  78. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +9 -0
  79. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -5
  80. package/tencentcloud/services/tke/v20180525/tke_client.js +0 -6
  81. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +72 -85
  82. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  83. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +9 -3
  84. package/tencentcloud/services/vpc/v20170312/vpc_client.js +11 -3
  85. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +23 -1
  86. package/test/dts.v20211206.test.js +20 -0
  87. package/test/emr.v20190103.test.js +22 -2
  88. package/test/tke.v20180525.test.js +0 -10
  89. package/test/vpc.v20170312.test.js +12 -2
@@ -691,6 +691,7 @@ class Client extends abstract_client_1.AbstractClient {
691
691
  * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
692
692
  * 将 EIP 绑定到主网卡的主内网IP上,绑定过程会把其上绑定的普通公网 IP 自动解绑并释放。
693
693
  * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
694
+ * 将EIP绑定到绑定内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。
694
695
  * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
695
696
  * EIP 如果欠费或被封堵,则不能被绑定。
696
697
  * 只有状态为 UNBIND 的 EIP 才能够被绑定。
@@ -1169,6 +1170,12 @@ class Client extends abstract_client_1.AbstractClient {
1169
1170
  async CreateServiceTemplate(req, cb) {
1170
1171
  return this.request("CreateServiceTemplate", req, cb);
1171
1172
  }
1173
+ /**
1174
+ * 路由表列表页操作增加“从云联网撤销”,用于撤销已发布到云联网的路由。
1175
+ */
1176
+ async WithdrawNotifyRoutes(req, cb) {
1177
+ return this.request("WithdrawNotifyRoutes", req, cb);
1178
+ }
1172
1179
  /**
1173
1180
  * 本接口(DeleteRoutes)用于对某个路由表批量删除路由策略(Route)。
1174
1181
  */
@@ -1339,10 +1346,11 @@ class Client extends abstract_client_1.AbstractClient {
1339
1346
  return this.request("DisassociateAddress", req, cb);
1340
1347
  }
1341
1348
  /**
1342
- * 路由表列表页操作增加“从云联网撤销”,用于撤销已发布到云联网的路由。
1349
+ * 本接口(ReturnNormalAddresses)用于解绑并释放普通公网IP。
1350
+ 为完善公网IP的访问管理功能,此接口于2022年12月15日升级优化鉴权功能,升级后子用户调用此接口需向主账号申请CAM策略授权,否则可能调用失败。您可以提前为子账号配置操作授权,详情见 授权指南(https://cloud.tencent.com/document/product/598/34545)。
1343
1351
  */
1344
- async WithdrawNotifyRoutes(req, cb) {
1345
- return this.request("WithdrawNotifyRoutes", req, cb);
1352
+ async ReturnNormalAddresses(req, cb) {
1353
+ return this.request("ReturnNormalAddresses", req, cb);
1346
1354
  }
1347
1355
  /**
1348
1356
  * 查询专线绑定NAT的路由
@@ -2563,6 +2563,15 @@ export interface DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest {
2563
2563
  */
2564
2564
  Limit?: number;
2565
2565
  }
2566
+ /**
2567
+ * ReturnNormalAddresses请求参数结构体
2568
+ */
2569
+ export interface ReturnNormalAddressesRequest {
2570
+ /**
2571
+ * 1
2572
+ */
2573
+ AddressIps?: Array<string>;
2574
+ }
2566
2575
  /**
2567
2576
  * ModifyNetworkAclAttribute返回参数结构体
2568
2577
  */
@@ -6334,6 +6343,15 @@ export interface HaVipDisassociateAddressIpRequest {
6334
6343
  */
6335
6344
  HaVipId: string;
6336
6345
  }
6346
+ /**
6347
+ * ReturnNormalAddresses返回参数结构体
6348
+ */
6349
+ export interface ReturnNormalAddressesResponse {
6350
+ /**
6351
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6352
+ */
6353
+ RequestId?: string;
6354
+ }
6337
6355
  /**
6338
6356
  * DisableFlowLogs返回参数结构体
6339
6357
  */
@@ -6441,6 +6459,10 @@ export interface EndPointService {
6441
6459
  * 创建时间。
6442
6460
  */
6443
6461
  CreateTime: string;
6462
+ /**
6463
+ * 挂载的PAAS服务类型,CLB,CDB,CRS
6464
+ */
6465
+ ServiceType: string;
6444
6466
  }
6445
6467
  /**
6446
6468
  * DescribeVpcResourceDashboard返回参数结构体
@@ -11402,7 +11424,7 @@ export interface AssociateAddressRequest {
11402
11424
  */
11403
11425
  AddressId: string;
11404
11426
  /**
11405
- * 要绑定的实例 ID。实例 ID 形如:`ins-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
11427
+ * 要绑定的实例 ID。实例 ID 形如:`ins-11112222`、`lb-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
11406
11428
  */
11407
11429
  InstanceId?: string;
11408
11430
  /**
@@ -198,6 +198,16 @@ it("dts.v20211206.DescribeMigrateDBInstances", async function () {
198
198
  }
199
199
  })
200
200
 
201
+ it("dts.v20211206.SkipCheckItem", async function () {
202
+ try {
203
+ const data = await client.SkipCheckItem({})
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
+
201
211
  it("dts.v20211206.CreateMigrateCheckJob", async function () {
202
212
  try {
203
213
  const data = await client.CreateMigrateCheckJob({})
@@ -228,6 +238,16 @@ it("dts.v20211206.DescribeCompareTasks", async function () {
228
238
  }
229
239
  })
230
240
 
241
+ it("dts.v20211206.SkipSyncCheckItem", async function () {
242
+ try {
243
+ const data = await client.SkipSyncCheckItem({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
231
251
  it("dts.v20211206.DescribeMigrationJobs", async function () {
232
252
  try {
233
253
  const data = await client.DescribeMigrationJobs({})
@@ -38,9 +38,9 @@ it("emr.v20190103.InquiryPriceUpdateInstance", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("emr.v20190103.DescribeUsersForUserManager", async function () {
41
+ it("emr.v20190103.CreateCluster", async function () {
42
42
  try {
43
- const data = await client.DescribeUsersForUserManager({})
43
+ const data = await client.CreateCluster({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -128,6 +128,16 @@ it("emr.v20190103.RunJobFlow", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("emr.v20190103.DescribeUsersForUserManager", async function () {
132
+ try {
133
+ const data = await client.DescribeUsersForUserManager({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("emr.v20190103.DeleteUserManagerUserList", async function () {
132
142
  try {
133
143
  const data = await client.DeleteUserManagerUserList({})
@@ -268,4 +278,14 @@ it("emr.v20190103.ModifyResourcePools", async function () {
268
278
  }
269
279
  })
270
280
 
281
+ it("emr.v20190103.ScaleOutCluster", async function () {
282
+ try {
283
+ const data = await client.ScaleOutCluster({})
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
+
271
291
  })
@@ -1518,16 +1518,6 @@ it("tke.v20180525.ModifyPrometheusTemplate", async function () {
1518
1518
  }
1519
1519
  })
1520
1520
 
1521
- it("tke.v20180525.CreateClusterNodePoolFromExistingAsg", async function () {
1522
- try {
1523
- const data = await client.CreateClusterNodePoolFromExistingAsg({})
1524
- expect(data).to.be.ok
1525
- } catch(error) {
1526
- expect(error.requestId).to.be.ok
1527
- expect(error.code).to.be.ok
1528
- }
1529
- })
1530
-
1531
1521
  it("tke.v20180525.DescribeClusterKubeconfig", async function () {
1532
1522
  try {
1533
1523
  const data = await client.DescribeClusterKubeconfig({})
@@ -1678,6 +1678,16 @@ it("vpc.v20170312.CreateServiceTemplate", async function () {
1678
1678
  }
1679
1679
  })
1680
1680
 
1681
+ it("vpc.v20170312.WithdrawNotifyRoutes", async function () {
1682
+ try {
1683
+ const data = await client.WithdrawNotifyRoutes({})
1684
+ expect(data).to.be.ok
1685
+ } catch(error) {
1686
+ expect(error.requestId).to.be.ok
1687
+ expect(error.code).to.be.ok
1688
+ }
1689
+ })
1690
+
1681
1691
  it("vpc.v20170312.DeleteRoutes", async function () {
1682
1692
  try {
1683
1693
  const data = await client.DeleteRoutes({})
@@ -1938,9 +1948,9 @@ it("vpc.v20170312.DisassociateAddress", async function () {
1938
1948
  }
1939
1949
  })
1940
1950
 
1941
- it("vpc.v20170312.WithdrawNotifyRoutes", async function () {
1951
+ it("vpc.v20170312.ReturnNormalAddresses", async function () {
1942
1952
  try {
1943
- const data = await client.WithdrawNotifyRoutes({})
1953
+ const data = await client.ReturnNormalAddresses({})
1944
1954
  expect(data).to.be.ok
1945
1955
  } catch(error) {
1946
1956
  expect(error.requestId).to.be.ok