tencentcloud-sdk-nodejs 4.0.870 → 4.0.871

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 (52) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/SERVICE_CHANGELOG.md +186 -122
  3. package/package.json +1 -1
  4. package/products.md +16 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cynosdb/v20190107/cynosdb_models.ts +1 -1
  7. package/src/services/dlc/v20210125/dlc_client.ts +174 -47
  8. package/src/services/dlc/v20210125/dlc_models.ts +740 -292
  9. package/src/services/dts/v20180330/dts_models.ts +8 -8
  10. package/src/services/eb/v20210416/eb_models.ts +34 -25
  11. package/src/services/ess/v20201111/ess_models.ts +2 -2
  12. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
  13. package/src/services/mongodb/v20190725/mongodb_models.ts +12 -12
  14. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  15. package/src/services/monitor/v20180724/monitor_models.ts +1 -1
  16. package/src/services/ocr/v20181119/ocr_client.ts +5 -4
  17. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  18. package/src/services/postgres/v20170312/postgres_client.ts +20 -8
  19. package/src/services/postgres/v20170312/postgres_models.ts +214 -150
  20. package/src/services/smh/v20210712/smh_models.ts +2 -2
  21. package/src/services/teo/v20220901/teo_models.ts +5 -3
  22. package/src/services/tione/v20211111/tione_client.ts +1 -0
  23. package/src/services/tione/v20211111/tione_models.ts +38 -2
  24. package/src/services/vtc/v20240223/vtc_models.ts +8 -0
  25. package/src/services/wedata/v20210820/wedata_models.ts +10 -0
  26. package/tencentcloud/common/sdk_version.d.ts +1 -1
  27. package/tencentcloud/common/sdk_version.js +1 -1
  28. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -1
  29. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +53 -13
  30. package/tencentcloud/services/dlc/v20210125/dlc_client.js +78 -18
  31. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +713 -292
  32. package/tencentcloud/services/dts/v20180330/dts_models.d.ts +8 -8
  33. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +34 -25
  34. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  35. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  36. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +12 -12
  37. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  38. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  39. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
  40. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -2
  41. package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -2
  42. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  43. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +9 -5
  44. package/tencentcloud/services/postgres/v20170312/postgres_client.js +11 -5
  45. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +212 -150
  46. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +2 -2
  47. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -2
  48. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +37 -2
  49. package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +8 -0
  50. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +10 -0
  51. package/test/dlc.v20210125.test.js +114 -14
  52. package/test/postgres.v20170312.test.js +12 -2
@@ -176,11 +176,11 @@ export interface DescribeTrafficPackagesResponse {
176
176
  /**
177
177
  * 流量包列表
178
178
  */
179
- List: Array<TrafficPackage>;
179
+ List?: Array<TrafficPackage>;
180
180
  /**
181
181
  * 总数
182
182
  */
183
- TotalCount: number;
183
+ TotalCount?: number;
184
184
  /**
185
185
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
186
186
  */
@@ -160,6 +160,7 @@ export interface OriginDetail {
160
160
  <li>AWS_S3:AWS S3 对象存储源站;</li>
161
161
  <li>ORIGIN_GROUP:源站组类型源站;</li>
162
162
  <li>VODEO:云点播-混合云版;</li>
163
+ <li>VOD:云点播;</li>
163
164
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
164
165
  <li>LB:负载均衡,当前仅白名单开放。</li>
165
166
  */
@@ -170,6 +171,7 @@ export interface OriginDetail {
170
171
  <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
171
172
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
172
173
  <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
174
+ <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
173
175
  <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
174
176
  */
175
177
  Origin?: string;
@@ -7281,7 +7283,7 @@ export interface OriginInfo {
7281
7283
  <li>COS:腾讯云 COS 对象存储源站;</li>
7282
7284
  <li>AWS_S3:AWS S3 对象存储源站;</li>
7283
7285
  <li>ORIGIN_GROUP:源站组类型源站;</li>
7284
- <li>VODEO:云点播-混合云版;</li>
7286
+ <li>VOD:云点播;</li>
7285
7287
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
7286
7288
  <li>LB:负载均衡,当前仅白名单开放。</li>
7287
7289
  */
@@ -7292,7 +7294,7 @@ export interface OriginInfo {
7292
7294
  <li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
7293
7295
  <li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li>
7294
7296
  <li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li>
7295
- <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数填写 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数请填写对应存储桶域名;</li>
7297
+ <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
7296
7298
  <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li>
7297
7299
  <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
7298
7300
  */
@@ -2904,16 +2904,21 @@ export interface IntranetCallInfo {
2904
2904
  注意:此字段可能返回 null,表示取不到有效值。
2905
2905
  */
2906
2906
  ServiceEIPInfo?: Array<ServiceEIPInfo>;
2907
+ /**
2908
+ * 默认内网调用信息
2909
+ 注意:此字段可能返回 null,表示取不到有效值。
2910
+ */
2911
+ DefaultInnerCallInfos?: Array<DefaultInnerCallInfo>;
2907
2912
  /**
2908
2913
  * 私有连接信息
2909
2914
  注意:此字段可能返回 null,表示取不到有效值。
2910
2915
  */
2911
2916
  PrivateLinkInfos?: Array<PrivateLinkInfo>;
2912
2917
  /**
2913
- * 默认内网调用信息
2918
+ * 基于新网关的私有连接信息
2914
2919
  注意:此字段可能返回 null,表示取不到有效值。
2915
2920
  */
2916
- DefaultInnerCallInfos?: Array<DefaultInnerCallInfo>;
2921
+ PrivateLinkInfosV2?: Array<PrivateLinkInfo>;
2917
2922
  }
2918
2923
  /**
2919
2924
  * 资源组节点信息
@@ -3299,6 +3304,11 @@ export interface DescribeModelServiceCallInfoResponse {
3299
3304
  注意:此字段可能返回 null,表示取不到有效值。
3300
3305
  */
3301
3306
  IntranetCallInfo?: IntranetCallInfo;
3307
+ /**
3308
+ * 基于新网关的服务调用信息
3309
+ 注意:此字段可能返回 null,表示取不到有效值。
3310
+ */
3311
+ ServiceCallInfoV2?: ServiceCallInfoV2;
3302
3312
  /**
3303
3313
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3304
3314
  */
@@ -4465,6 +4475,31 @@ export interface TrainingModelVersionDTO {
4465
4475
  */
4466
4476
  IsQAT?: boolean;
4467
4477
  }
4478
+ /**
4479
+ * V2版本的服务调用信息
4480
+ */
4481
+ export interface ServiceCallInfoV2 {
4482
+ /**
4483
+ * 服务组id
4484
+ 注意:此字段可能返回 null,表示取不到有效值。
4485
+ */
4486
+ ServiceGroupId?: string;
4487
+ /**
4488
+ * 服务的公网调用地址
4489
+ 注意:此字段可能返回 null,表示取不到有效值。
4490
+ */
4491
+ InternetEndpoint?: string;
4492
+ /**
4493
+ * 鉴权是否开启
4494
+ 注意:此字段可能返回 null,表示取不到有效值。
4495
+ */
4496
+ AuthorizationEnable?: boolean;
4497
+ /**
4498
+ * 鉴权token,仅当AuthorizationEnable为true时有效
4499
+ 注意:此字段可能返回 null,表示取不到有效值。
4500
+ */
4501
+ AuthToken?: string;
4502
+ }
4468
4503
  /**
4469
4504
  * DescribeBillingResourceGroup请求参数结构体
4470
4505
  */
@@ -76,6 +76,14 @@ export interface ConfirmVideoTranslateJobResponse {
76
76
  * 音频翻译结果确认 session
77
77
  */
78
78
  SessionId?: string;
79
+ /**
80
+ * 视频转译任务状态
81
+ */
82
+ Status?: number;
83
+ /**
84
+ * 视频转译任务信息
85
+ */
86
+ Message?: string;
79
87
  /**
80
88
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
81
89
  */
@@ -19642,6 +19642,16 @@ export interface OrganizationalFunction {
19642
19642
  注意:此字段可能返回 null,表示取不到有效值。
19643
19643
  */
19644
19644
  Tag?: string;
19645
+ /**
19646
+ * 操作人 ID 列表
19647
+ 注意:此字段可能返回 null,表示取不到有效值。
19648
+ */
19649
+ OperatorUserIdsStr?: Array<string>;
19650
+ /**
19651
+ * 公有云 Owner ID 列表
19652
+ 注意:此字段可能返回 null,表示取不到有效值。
19653
+ */
19654
+ OwnerUserIdsStr?: Array<string>;
19645
19655
  }
19646
19656
  /**
19647
19657
  * 通用排序字段
@@ -168,9 +168,9 @@ it("dlc.v20210125.CreateNotebookSessionStatementSupportBatchSQL", async function
168
168
  }
169
169
  })
170
170
 
171
- it("dlc.v20210125.DescribeSparkSessionBatchSqlLog", async function () {
171
+ it("dlc.v20210125.SwitchDataEngine", async function () {
172
172
  try {
173
- const data = await client.DescribeSparkSessionBatchSqlLog({})
173
+ const data = await client.SwitchDataEngine({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -178,9 +178,9 @@ it("dlc.v20210125.DescribeSparkSessionBatchSqlLog", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("dlc.v20210125.SwitchDataEngine", async function () {
181
+ it("dlc.v20210125.DescribeDataEngines", async function () {
182
182
  try {
183
- const data = await client.SwitchDataEngine({})
183
+ const data = await client.DescribeDataEngines({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("dlc.v20210125.SwitchDataEngine", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("dlc.v20210125.AlterDMSDatabase", async function () {
191
+ it("dlc.v20210125.DescribeDMSPartitions", async function () {
192
192
  try {
193
- const data = await client.AlterDMSDatabase({})
193
+ const data = await client.DescribeDMSPartitions({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -198,9 +198,9 @@ it("dlc.v20210125.AlterDMSDatabase", async function () {
198
198
  }
199
199
  })
200
200
 
201
- it("dlc.v20210125.DescribeDMSPartitions", async function () {
201
+ it("dlc.v20210125.CancelTask", async function () {
202
202
  try {
203
- const data = await client.DescribeDMSPartitions({})
203
+ const data = await client.CancelTask({})
204
204
  expect(data).to.be.ok
205
205
  } catch(error) {
206
206
  expect(error.requestId).to.be.ok
@@ -208,9 +208,9 @@ it("dlc.v20210125.DescribeDMSPartitions", async function () {
208
208
  }
209
209
  })
210
210
 
211
- it("dlc.v20210125.DescribeTaskResult", async function () {
211
+ it("dlc.v20210125.DescribeDLCCatalogAccess", async function () {
212
212
  try {
213
- const data = await client.DescribeTaskResult({})
213
+ const data = await client.DescribeDLCCatalogAccess({})
214
214
  expect(data).to.be.ok
215
215
  } catch(error) {
216
216
  expect(error.requestId).to.be.ok
@@ -278,6 +278,16 @@ it("dlc.v20210125.CreateSparkAppTask", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("dlc.v20210125.DescribeOtherCHDFSBindingList", async function () {
282
+ try {
283
+ const data = await client.DescribeOtherCHDFSBindingList({})
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("dlc.v20210125.DescribeLakeFsDirSummary", async function () {
282
292
  try {
283
293
  const data = await client.DescribeLakeFsDirSummary({})
@@ -308,6 +318,26 @@ it("dlc.v20210125.DescribeNotebookSessions", async function () {
308
318
  }
309
319
  })
310
320
 
321
+ it("dlc.v20210125.DescribeThirdPartyAccessUser", async function () {
322
+ try {
323
+ const data = await client.DescribeThirdPartyAccessUser({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
331
+ it("dlc.v20210125.RevokeDLCCatalogAccess", async function () {
332
+ try {
333
+ const data = await client.RevokeDLCCatalogAccess({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
311
341
  it("dlc.v20210125.CreateUser", async function () {
312
342
  try {
313
343
  const data = await client.CreateUser({})
@@ -458,6 +488,16 @@ it("dlc.v20210125.DescribeTablesName", async function () {
458
488
  }
459
489
  })
460
490
 
491
+ it("dlc.v20210125.DeleteCHDFSBindingProduct", async function () {
492
+ try {
493
+ const data = await client.DeleteCHDFSBindingProduct({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
461
501
  it("dlc.v20210125.ReportHeartbeatMetaData", async function () {
462
502
  try {
463
503
  const data = await client.ReportHeartbeatMetaData({})
@@ -538,6 +578,16 @@ it("dlc.v20210125.RollbackDataEngineImage", async function () {
538
578
  }
539
579
  })
540
580
 
581
+ it("dlc.v20210125.DescribeSubUserAccessPolicy", async function () {
582
+ try {
583
+ const data = await client.DescribeSubUserAccessPolicy({})
584
+ expect(data).to.be.ok
585
+ } catch(error) {
586
+ expect(error.requestId).to.be.ok
587
+ expect(error.code).to.be.ok
588
+ }
589
+ })
590
+
541
591
  it("dlc.v20210125.CreateSparkSessionBatchSQL", async function () {
542
592
  try {
543
593
  const data = await client.CreateSparkSessionBatchSQL({})
@@ -558,6 +608,16 @@ it("dlc.v20210125.DescribeNotebookSessionStatements", async function () {
558
608
  }
559
609
  })
560
610
 
611
+ it("dlc.v20210125.GrantDLCCatalogAccess", async function () {
612
+ try {
613
+ const data = await client.GrantDLCCatalogAccess({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
561
621
  it("dlc.v20210125.SuspendResumeDataEngine", async function () {
562
622
  try {
563
623
  const data = await client.SuspendResumeDataEngine({})
@@ -638,9 +698,9 @@ it("dlc.v20210125.CreateNotebookSessionStatement", async function () {
638
698
  }
639
699
  })
640
700
 
641
- it("dlc.v20210125.DescribeDataEngines", async function () {
701
+ it("dlc.v20210125.AlterDMSDatabase", async function () {
642
702
  try {
643
- const data = await client.DescribeDataEngines({})
703
+ const data = await client.AlterDMSDatabase({})
644
704
  expect(data).to.be.ok
645
705
  } catch(error) {
646
706
  expect(error.requestId).to.be.ok
@@ -788,6 +848,16 @@ it("dlc.v20210125.CreateWorkGroup", async function () {
788
848
  }
789
849
  })
790
850
 
851
+ it("dlc.v20210125.CreateCHDFSBindingProduct", async function () {
852
+ try {
853
+ const data = await client.CreateCHDFSBindingProduct({})
854
+ expect(data).to.be.ok
855
+ } catch(error) {
856
+ expect(error.requestId).to.be.ok
857
+ expect(error.code).to.be.ok
858
+ }
859
+ })
860
+
791
861
  it("dlc.v20210125.DescribeDatasourceConnection", async function () {
792
862
  try {
793
863
  const data = await client.DescribeDatasourceConnection({})
@@ -828,9 +898,9 @@ it("dlc.v20210125.ModifyUser", async function () {
828
898
  }
829
899
  })
830
900
 
831
- it("dlc.v20210125.CancelTask", async function () {
901
+ it("dlc.v20210125.DescribeSparkSessionBatchSqlLog", async function () {
832
902
  try {
833
- const data = await client.CancelTask({})
903
+ const data = await client.DescribeSparkSessionBatchSqlLog({})
834
904
  expect(data).to.be.ok
835
905
  } catch(error) {
836
906
  expect(error.requestId).to.be.ok
@@ -1058,6 +1128,16 @@ it("dlc.v20210125.CreateTable", async function () {
1058
1128
  }
1059
1129
  })
1060
1130
 
1131
+ it("dlc.v20210125.DescribeTaskResult", async function () {
1132
+ try {
1133
+ const data = await client.DescribeTaskResult({})
1134
+ expect(data).to.be.ok
1135
+ } catch(error) {
1136
+ expect(error.requestId).to.be.ok
1137
+ expect(error.code).to.be.ok
1138
+ }
1139
+ })
1140
+
1061
1141
  it("dlc.v20210125.CreateExportTask", async function () {
1062
1142
  try {
1063
1143
  const data = await client.CreateExportTask({})
@@ -1068,6 +1148,16 @@ it("dlc.v20210125.CreateExportTask", async function () {
1068
1148
  }
1069
1149
  })
1070
1150
 
1151
+ it("dlc.v20210125.RegisterThirdPartyAccessUser", async function () {
1152
+ try {
1153
+ const data = await client.RegisterThirdPartyAccessUser({})
1154
+ expect(data).to.be.ok
1155
+ } catch(error) {
1156
+ expect(error.requestId).to.be.ok
1157
+ expect(error.code).to.be.ok
1158
+ }
1159
+ })
1160
+
1071
1161
  it("dlc.v20210125.DeleteUsersFromWorkGroup", async function () {
1072
1162
  try {
1073
1163
  const data = await client.DeleteUsersFromWorkGroup({})
@@ -1168,6 +1258,16 @@ it("dlc.v20210125.DescribeViews", async function () {
1168
1258
  }
1169
1259
  })
1170
1260
 
1261
+ it("dlc.v20210125.DeleteThirdPartyAccessUser", async function () {
1262
+ try {
1263
+ const data = await client.DeleteThirdPartyAccessUser({})
1264
+ expect(data).to.be.ok
1265
+ } catch(error) {
1266
+ expect(error.requestId).to.be.ok
1267
+ expect(error.code).to.be.ok
1268
+ }
1269
+ })
1270
+
1171
1271
  it("dlc.v20210125.DescribeDMSDatabase", async function () {
1172
1272
  try {
1173
1273
  const data = await client.DescribeDMSDatabase({})
@@ -538,9 +538,9 @@ it("postgres.v20170312.ResetAccountPassword", async function () {
538
538
  }
539
539
  })
540
540
 
541
- it("postgres.v20170312.DescribeDBInstanceAttribute", async function () {
541
+ it("postgres.v20170312.RestoreDBInstanceObjects", async function () {
542
542
  try {
543
- const data = await client.DescribeDBInstanceAttribute({})
543
+ const data = await client.RestoreDBInstanceObjects({})
544
544
  expect(data).to.be.ok
545
545
  } catch(error) {
546
546
  expect(error.requestId).to.be.ok
@@ -898,6 +898,16 @@ it("postgres.v20170312.DescribeReadOnlyGroups", async function () {
898
898
  }
899
899
  })
900
900
 
901
+ it("postgres.v20170312.DescribeDBInstanceAttribute", async function () {
902
+ try {
903
+ const data = await client.DescribeDBInstanceAttribute({})
904
+ expect(data).to.be.ok
905
+ } catch(error) {
906
+ expect(error.requestId).to.be.ok
907
+ expect(error.code).to.be.ok
908
+ }
909
+ })
910
+
901
911
  it("postgres.v20170312.UpgradeDBInstance", async function () {
902
912
  try {
903
913
  const data = await client.UpgradeDBInstance({})