tencentcloud-sdk-nodejs 4.0.606 → 4.0.608

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 (111) hide show
  1. package/CHANGELOG.md +316 -0
  2. package/SERVICE_CHANGELOG.md +349 -118
  3. package/package.json +1 -1
  4. package/products.md +34 -34
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_models.ts +8 -0
  7. package/src/services/asr/v20190614/asr_client.ts +1 -1
  8. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  9. package/src/services/cfw/v20190904/cfw_models.ts +3 -3
  10. package/src/services/cls/v20201016/cls_models.ts +10 -3
  11. package/src/services/cvm/v20170312/cvm_client.ts +1 -1
  12. package/src/services/cvm/v20170312/cvm_models.ts +3 -1
  13. package/src/services/cynosdb/v20190107/cynosdb_client.ts +4 -4
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +8 -8
  15. package/src/services/dcdb/v20180411/dcdb_client.ts +31 -18
  16. package/src/services/dcdb/v20180411/dcdb_models.ts +155 -85
  17. package/src/services/dlc/v20210125/dlc_client.ts +40 -2
  18. package/src/services/dlc/v20210125/dlc_models.ts +181 -8
  19. package/src/services/ess/v20201111/ess_client.ts +1 -1
  20. package/src/services/ess/v20201111/ess_models.ts +9 -3
  21. package/src/services/essbasic/v20210526/essbasic_client.ts +4 -3
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -2
  23. package/src/services/iotvideo/v20201215/iotvideo_client.ts +1 -1
  24. package/src/services/iotvideo/v20201215/iotvideo_models.ts +5 -5
  25. package/src/services/iotvideo/v20211125/iotvideo_client.ts +1 -1
  26. package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -5
  27. package/src/services/mariadb/v20170312/mariadb_client.ts +8 -7
  28. package/src/services/mariadb/v20170312/mariadb_models.ts +55 -15
  29. package/src/services/memcached/v20190318/memcached_models.ts +5 -4
  30. package/src/services/mongodb/v20190725/mongodb_models.ts +3 -5
  31. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  32. package/src/services/oceanus/v20190422/oceanus_models.ts +18 -1
  33. package/src/services/ocr/v20181119/ocr_client.ts +4 -2
  34. package/src/services/ocr/v20181119/ocr_models.ts +10 -0
  35. package/src/services/pts/v20210728/pts_client.ts +1 -1
  36. package/src/services/pts/v20210728/pts_models.ts +2 -2
  37. package/src/services/sqlserver/v20180328/sqlserver_models.ts +13 -1
  38. package/src/services/ssl/v20191205/ssl_models.ts +11 -0
  39. package/src/services/tcss/v20201101/tcss_models.ts +6 -0
  40. package/src/services/tiia/v20190529/tiia_client.ts +0 -2
  41. package/src/services/tiia/v20190529/tiia_models.ts +1 -1
  42. package/src/services/tke/v20180525/tke_models.ts +1 -1
  43. package/src/services/trtc/v20190722/trtc_client.ts +1 -1
  44. package/src/services/vod/v20180717/vod_client.ts +102 -42
  45. package/src/services/vod/v20180717/vod_models.ts +312 -13
  46. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  47. package/src/services/vpc/v20170312/vpc_models.ts +13 -7
  48. package/tencentcloud/common/sdk_version.d.ts +1 -1
  49. package/tencentcloud/common/sdk_version.js +1 -1
  50. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +7 -0
  51. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  52. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  53. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  54. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +3 -3
  55. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -3
  56. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  57. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  58. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -1
  59. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +4 -4
  60. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +4 -4
  61. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +8 -8
  62. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +17 -13
  63. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +19 -13
  64. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +134 -75
  65. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +13 -1
  66. package/tencentcloud/services/dlc/v20210125/dlc_client.js +18 -0
  67. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +156 -8
  68. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  69. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  70. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -3
  71. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -3
  72. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -3
  73. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -2
  74. package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.d.ts +1 -1
  75. package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.js +1 -1
  76. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +5 -5
  77. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +1 -1
  78. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +1 -1
  79. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -5
  80. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +7 -7
  81. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +7 -7
  82. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +48 -15
  83. package/tencentcloud/services/memcached/v20190318/memcached_models.d.ts +3 -2
  84. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -4
  85. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  86. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  87. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +15 -1
  88. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
  89. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
  90. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  91. package/tencentcloud/services/pts/v20210728/pts_client.d.ts +1 -1
  92. package/tencentcloud/services/pts/v20210728/pts_client.js +1 -1
  93. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +2 -2
  94. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +11 -1
  95. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +9 -0
  96. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +5 -0
  97. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +0 -2
  98. package/tencentcloud/services/tiia/v20190529/tiia_client.js +0 -2
  99. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
  100. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
  101. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
  102. package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
  103. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +42 -22
  104. package/tencentcloud/services/vod/v20180717/vod_client.js +55 -25
  105. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +263 -11
  106. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  107. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  108. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -7
  109. package/test/dcdb.v20180411.test.js +12 -2
  110. package/test/dlc.v20210125.test.js +30 -0
  111. package/test/vod.v20180717.test.js +58 -8
@@ -1408,7 +1408,7 @@ class Client extends abstract_client_1.AbstractClient {
1408
1408
  return this.request("DownloadVpnGatewaySslClientCert", req, cb);
1409
1409
  }
1410
1410
  /**
1411
- * 查询SSL-VPN SERVER 列表信息
1411
+ * 本接口(DescribeVpnGatewaySslServers)用于查询SSL-VPN SERVER 列表信息。
1412
1412
  */
1413
1413
  async DescribeVpnGatewaySslServers(req, cb) {
1414
1414
  return this.request("DescribeVpnGatewaySslServers", req, cb);
@@ -3256,11 +3256,11 @@ export interface ModifySecurityGroupAttributeRequest {
3256
3256
  */
3257
3257
  export interface DescribeVpnGatewaySslServersRequest {
3258
3258
  /**
3259
- * 偏移量
3259
+ * 偏移量。
3260
3260
  */
3261
3261
  Offset?: number;
3262
3262
  /**
3263
- * 请求对象个数
3263
+ * 请求对象个数。
3264
3264
  */
3265
3265
  Limit?: number;
3266
3266
  /**
@@ -3269,11 +3269,11 @@ export interface DescribeVpnGatewaySslServersRequest {
3269
3269
  SslVpnServerIds?: Array<string>;
3270
3270
  /**
3271
3271
  * 过滤条件,参数不支持同时指定SslVpnServerIds和Filters。
3272
- <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li>
3273
- <li>vpn-gateway-id - String - (过滤条件)VPN实例ID形如:vpngw-5aluhh9t。</li>
3272
+ <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
3273
+ <li>vpn-gateway-id - String - (过滤条件)VPN实例ID,形如:vpngw-5aluhh9t。</li>
3274
3274
  <li>vpn-gateway-name - String - (过滤条件)VPN实例名称。</li>
3275
3275
  <li>ssl-vpn-server-name - String - (过滤条件)SSL-VPN-SERVER实例名称。</li>
3276
- <li>ssl-vpn-server-id - String - (过滤条件)SSL-VPN-SERVER实例ID形如:vpngwSslServer-123456。</li>
3276
+ <li>ssl-vpn-server-id - String - (过滤条件)SSL-VPN-SERVER实例ID,形如:vpns-xxx。</li>
3277
3277
  */
3278
3278
  Filters?: Array<FilterObject>;
3279
3279
  /**
@@ -6043,6 +6043,11 @@ export interface AccessPolicy {
6043
6043
  * 更新时间
6044
6044
  */
6045
6045
  UpdateTime: string;
6046
+ /**
6047
+ * Remark
6048
+ 注意:此字段可能返回 null,表示取不到有效值。
6049
+ */
6050
+ Remark?: string;
6046
6051
  }
6047
6052
  /**
6048
6053
  * ModifyCcnAttachedInstancesAttribute返回参数结构体
@@ -8300,11 +8305,11 @@ export interface DescribeVpnGatewaySslServersResponse {
8300
8305
  /**
8301
8306
  * 符合条件的实例数量。
8302
8307
  */
8303
- TotalCount: number;
8308
+ TotalCount?: number;
8304
8309
  /**
8305
8310
  * SSL-VPN-SERVER 实例详细信息列表。
8306
8311
  */
8307
- SslVpnSeverSet: Array<SslVpnSever>;
8312
+ SslVpnSeverSet?: Array<SslVpnSever>;
8308
8313
  /**
8309
8314
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8310
8315
  */
@@ -288,9 +288,9 @@ it("dcdb.v20180411.ModifyDBInstancesProject", async function () {
288
288
  }
289
289
  })
290
290
 
291
- it("dcdb.v20180411.ModifyInstanceVip", async function () {
291
+ it("dcdb.v20180411.CreateTmpDCDBInstance", async function () {
292
292
  try {
293
- const data = await client.ModifyInstanceVip({})
293
+ const data = await client.CreateTmpDCDBInstance({})
294
294
  expect(data).to.be.ok
295
295
  } catch(error) {
296
296
  expect(error.requestId).to.be.ok
@@ -598,6 +598,16 @@ it("dcdb.v20180411.DescribeDBSecurityGroups", async function () {
598
598
  }
599
599
  })
600
600
 
601
+ it("dcdb.v20180411.ModifyInstanceVip", async function () {
602
+ try {
603
+ const data = await client.ModifyInstanceVip({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
601
611
  it("dcdb.v20180411.DescribeDCDBUpgradePrice", async function () {
602
612
  try {
603
613
  const data = await client.DescribeDCDBUpgradePrice({})
@@ -118,6 +118,16 @@ it("dlc.v20210125.CreateNotebookSessionStatementSupportBatchSQL", async function
118
118
  }
119
119
  })
120
120
 
121
+ it("dlc.v20210125.DescribeSparkSessionBatchSqlLog", async function () {
122
+ try {
123
+ const data = await client.DescribeSparkSessionBatchSqlLog({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
121
131
  it("dlc.v20210125.SwitchDataEngine", async function () {
122
132
  try {
123
133
  const data = await client.SwitchDataEngine({})
@@ -388,6 +398,16 @@ it("dlc.v20210125.CreateDatabase", async function () {
388
398
  }
389
399
  })
390
400
 
401
+ it("dlc.v20210125.CreateSparkSessionBatchSQL", async function () {
402
+ try {
403
+ const data = await client.CreateSparkSessionBatchSQL({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
391
411
  it("dlc.v20210125.DescribeNotebookSessionStatements", async function () {
392
412
  try {
393
413
  const data = await client.DescribeNotebookSessionStatements({})
@@ -568,6 +588,16 @@ it("dlc.v20210125.CreateWorkGroup", async function () {
568
588
  }
569
589
  })
570
590
 
591
+ it("dlc.v20210125.CancelSparkSessionBatchSQL", async function () {
592
+ try {
593
+ const data = await client.CancelSparkSessionBatchSQL({})
594
+ expect(data).to.be.ok
595
+ } catch(error) {
596
+ expect(error.requestId).to.be.ok
597
+ expect(error.code).to.be.ok
598
+ }
599
+ })
600
+
571
601
  it("dlc.v20210125.CancelTask", async function () {
572
602
  try {
573
603
  const data = await client.CancelTask({})
@@ -248,9 +248,9 @@ it("vod.v20180717.CreateAdaptiveDynamicStreamingTemplate", async function () {
248
248
  }
249
249
  })
250
250
 
251
- it("vod.v20180717.DescribeSampleSnapshotTemplates", async function () {
251
+ it("vod.v20180717.DescribeDrmDataKey", async function () {
252
252
  try {
253
- const data = await client.DescribeSampleSnapshotTemplates({})
253
+ const data = await client.DescribeDrmDataKey({})
254
254
  expect(data).to.be.ok
255
255
  } catch(error) {
256
256
  expect(error.requestId).to.be.ok
@@ -518,9 +518,9 @@ it("vod.v20180717.DeleteAIAnalysisTemplate", async function () {
518
518
  }
519
519
  })
520
520
 
521
- it("vod.v20180717.DescribeDrmKeyProviderInfo", async function () {
521
+ it("vod.v20180717.DescribeMediaInfos", async function () {
522
522
  try {
523
- const data = await client.DescribeDrmKeyProviderInfo({})
523
+ const data = await client.DescribeMediaInfos({})
524
524
  expect(data).to.be.ok
525
525
  } catch(error) {
526
526
  expect(error.requestId).to.be.ok
@@ -688,6 +688,16 @@ it("vod.v20180717.DescribeImageReviewUsageData", async function () {
688
688
  }
689
689
  })
690
690
 
691
+ it("vod.v20180717.EnhanceMediaByTemplate", async function () {
692
+ try {
693
+ const data = await client.EnhanceMediaByTemplate({})
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
+
691
701
  it("vod.v20180717.CreateStorageRegion", async function () {
692
702
  try {
693
703
  const data = await client.CreateStorageRegion({})
@@ -698,6 +708,16 @@ it("vod.v20180717.CreateStorageRegion", async function () {
698
708
  }
699
709
  })
700
710
 
711
+ it("vod.v20180717.CreateEnhanceMediaTemplate", async function () {
712
+ try {
713
+ const data = await client.CreateEnhanceMediaTemplate({})
714
+ expect(data).to.be.ok
715
+ } catch(error) {
716
+ expect(error.requestId).to.be.ok
717
+ expect(error.code).to.be.ok
718
+ }
719
+ })
720
+
701
721
  it("vod.v20180717.CreateRebuildMediaTemplate", async function () {
702
722
  try {
703
723
  const data = await client.CreateRebuildMediaTemplate({})
@@ -1098,9 +1118,9 @@ it("vod.v20180717.DescribeAdaptiveDynamicStreamingTemplates", async function ()
1098
1118
  }
1099
1119
  })
1100
1120
 
1101
- it("vod.v20180717.DescribeDrmDataKey", async function () {
1121
+ it("vod.v20180717.DescribeSampleSnapshotTemplates", async function () {
1102
1122
  try {
1103
- const data = await client.DescribeDrmDataKey({})
1123
+ const data = await client.DescribeSampleSnapshotTemplates({})
1104
1124
  expect(data).to.be.ok
1105
1125
  } catch(error) {
1106
1126
  expect(error.requestId).to.be.ok
@@ -1118,6 +1138,16 @@ it("vod.v20180717.ModifyWordSample", async function () {
1118
1138
  }
1119
1139
  })
1120
1140
 
1141
+ it("vod.v20180717.ModifyEnhanceMediaTemplate", async function () {
1142
+ try {
1143
+ const data = await client.ModifyEnhanceMediaTemplate({})
1144
+ expect(data).to.be.ok
1145
+ } catch(error) {
1146
+ expect(error.requestId).to.be.ok
1147
+ expect(error.code).to.be.ok
1148
+ }
1149
+ })
1150
+
1121
1151
  it("vod.v20180717.DescribeImageSpriteTemplates", async function () {
1122
1152
  try {
1123
1153
  const data = await client.DescribeImageSpriteTemplates({})
@@ -1298,6 +1328,16 @@ it("vod.v20180717.DeletePersonSample", async function () {
1298
1328
  }
1299
1329
  })
1300
1330
 
1331
+ it("vod.v20180717.DescribeEnhanceMediaTemplates", async function () {
1332
+ try {
1333
+ const data = await client.DescribeEnhanceMediaTemplates({})
1334
+ expect(data).to.be.ok
1335
+ } catch(error) {
1336
+ expect(error.requestId).to.be.ok
1337
+ expect(error.code).to.be.ok
1338
+ }
1339
+ })
1340
+
1301
1341
  it("vod.v20180717.CreateAnimatedGraphicsTemplate", async function () {
1302
1342
  try {
1303
1343
  const data = await client.CreateAnimatedGraphicsTemplate({})
@@ -1388,9 +1428,9 @@ it("vod.v20180717.SimpleHlsClip", async function () {
1388
1428
  }
1389
1429
  })
1390
1430
 
1391
- it("vod.v20180717.DescribeMediaInfos", async function () {
1431
+ it("vod.v20180717.DescribeDrmKeyProviderInfo", async function () {
1392
1432
  try {
1393
- const data = await client.DescribeMediaInfos({})
1433
+ const data = await client.DescribeDrmKeyProviderInfo({})
1394
1434
  expect(data).to.be.ok
1395
1435
  } catch(error) {
1396
1436
  expect(error.requestId).to.be.ok
@@ -1468,6 +1508,16 @@ it("vod.v20180717.CreateAIRecognitionTemplate", async function () {
1468
1508
  }
1469
1509
  })
1470
1510
 
1511
+ it("vod.v20180717.DeleteEnhanceMediaTemplate", async function () {
1512
+ try {
1513
+ const data = await client.DeleteEnhanceMediaTemplate({})
1514
+ expect(data).to.be.ok
1515
+ } catch(error) {
1516
+ expect(error.requestId).to.be.ok
1517
+ expect(error.code).to.be.ok
1518
+ }
1519
+ })
1520
+
1471
1521
  it("vod.v20180717.DescribeRebuildMediaTemplates", async function () {
1472
1522
  try {
1473
1523
  const data = await client.DescribeRebuildMediaTemplates({})