tencentcloud-sdk-nodejs 4.0.634 → 4.0.635
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.
- package/CHANGELOG.md +314 -0
- package/SERVICE_CHANGELOG.md +557 -53
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +2 -2
- package/src/services/asr/v20190614/asr_client.ts +168 -112
- package/src/services/asr/v20190614/asr_models.ts +176 -3
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +17 -2
- package/src/services/dlc/v20210125/dlc_client.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +19 -2
- package/src/services/emr/v20190103/emr_client.ts +60 -21
- package/src/services/emr/v20190103/emr_models.ts +652 -102
- package/src/services/ess/v20201111/ess_models.ts +42 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -1
- package/src/services/live/v20180801/live_models.ts +18 -0
- package/src/services/postgres/v20170312/postgres_client.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +57 -23
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +12 -11
- package/src/services/trp/v20210515/trp_client.ts +13 -0
- package/src/services/trp/v20210515/trp_models.ts +98 -3
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +28 -16
- package/src/services/waf/v20180125/waf_models.ts +33 -13
- package/src/services/wedata/v20210820/wedata_client.ts +9 -3
- package/src/services/wedata/v20210820/wedata_models.ts +293 -32
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +2 -2
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +70 -48
- package/tencentcloud/services/asr/v20190614/asr_client.js +94 -64
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +166 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +17 -2
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +19 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +17 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +24 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +649 -108
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +42 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -0
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +57 -23
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -11
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +95 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +28 -16
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +33 -13
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +1 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +287 -32
- package/test/asr.v20190614.test.js +74 -34
- package/test/emr.v20190103.test.js +34 -4
- package/test/trp.v20210515.test.js +10 -0
|
@@ -3148,7 +3148,7 @@ export interface ResumeIntegrationTaskResponse {
|
|
|
3148
3148
|
/**
|
|
3149
3149
|
* 操作成功与否标识
|
|
3150
3150
|
*/
|
|
3151
|
-
Data
|
|
3151
|
+
Data?: boolean;
|
|
3152
3152
|
/**
|
|
3153
3153
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3154
3154
|
*/
|
|
@@ -3560,6 +3560,36 @@ export interface RerunInstancesRequest {
|
|
|
3560
3560
|
*/
|
|
3561
3561
|
SonInstanceType: string;
|
|
3562
3562
|
}
|
|
3563
|
+
/**
|
|
3564
|
+
* 移除孤立文件治理项
|
|
3565
|
+
*/
|
|
3566
|
+
export interface DlcRemoveOrphanFilesInfo {
|
|
3567
|
+
/**
|
|
3568
|
+
* 是否启用移除孤立文件治理项:enable、none
|
|
3569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3570
|
+
*/
|
|
3571
|
+
RemoveOrphanFilesEnable?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* 用于运行移除孤立文件治理项的引擎名称
|
|
3574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3575
|
+
*/
|
|
3576
|
+
Engine?: string;
|
|
3577
|
+
/**
|
|
3578
|
+
* 移除指定天前的孤立文件
|
|
3579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3580
|
+
*/
|
|
3581
|
+
BeforeDays?: number;
|
|
3582
|
+
/**
|
|
3583
|
+
* 移除孤立文件的并行数
|
|
3584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3585
|
+
*/
|
|
3586
|
+
MaxConcurrentDeletes?: number;
|
|
3587
|
+
/**
|
|
3588
|
+
* 移除孤立文件治理运行周期,单位为分钟
|
|
3589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3590
|
+
*/
|
|
3591
|
+
IntervalMin?: number;
|
|
3592
|
+
}
|
|
3563
3593
|
/**
|
|
3564
3594
|
* DescribeTemplateHistory请求参数结构体
|
|
3565
3595
|
*/
|
|
@@ -3601,6 +3631,10 @@ export interface CommitIntegrationTaskRequest {
|
|
|
3601
3631
|
* 实时任务 201 离线任务 202 默认实时任务
|
|
3602
3632
|
*/
|
|
3603
3633
|
TaskType?: number;
|
|
3634
|
+
/**
|
|
3635
|
+
* 额外参数
|
|
3636
|
+
*/
|
|
3637
|
+
ExtConfig?: Array<RecordField>;
|
|
3604
3638
|
}
|
|
3605
3639
|
/**
|
|
3606
3640
|
* DescribeTableInfoList请求参数结构体
|
|
@@ -3651,7 +3685,7 @@ export interface CommitIntegrationTaskResponse {
|
|
|
3651
3685
|
/**
|
|
3652
3686
|
* 操作成功与否标识
|
|
3653
3687
|
*/
|
|
3654
|
-
Data
|
|
3688
|
+
Data?: boolean;
|
|
3655
3689
|
/**
|
|
3656
3690
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3657
3691
|
*/
|
|
@@ -5577,6 +5611,14 @@ export interface GenHiveTableDDLSqlRequest {
|
|
|
5577
5611
|
* 下游节点数据源ID
|
|
5578
5612
|
*/
|
|
5579
5613
|
TargetDatasourceId?: string;
|
|
5614
|
+
/**
|
|
5615
|
+
* dlc upsert主键
|
|
5616
|
+
*/
|
|
5617
|
+
UpsertKeys?: Array<string>;
|
|
5618
|
+
/**
|
|
5619
|
+
* dlc表治理信息
|
|
5620
|
+
*/
|
|
5621
|
+
TableBaseInfo?: TableBaseInfo;
|
|
5580
5622
|
}
|
|
5581
5623
|
/**
|
|
5582
5624
|
* DescribeRuleExecResultsByPage请求参数结构体
|
|
@@ -5628,6 +5670,27 @@ export interface LockIntegrationTaskResponse {
|
|
|
5628
5670
|
*/
|
|
5629
5671
|
RequestId?: string;
|
|
5630
5672
|
}
|
|
5673
|
+
/**
|
|
5674
|
+
* 查询实例条件(新)
|
|
5675
|
+
*/
|
|
5676
|
+
export interface SearchConditionNew {
|
|
5677
|
+
/**
|
|
5678
|
+
* 查询框架,必选
|
|
5679
|
+
*/
|
|
5680
|
+
Instance: SearchConditionInstanceNew;
|
|
5681
|
+
/**
|
|
5682
|
+
* 查询关键字(任务Id精确匹配,任务名称模糊匹配),可选
|
|
5683
|
+
*/
|
|
5684
|
+
Keyword?: string;
|
|
5685
|
+
/**
|
|
5686
|
+
* 排序顺序(asc,desc)
|
|
5687
|
+
*/
|
|
5688
|
+
Sort?: string;
|
|
5689
|
+
/**
|
|
5690
|
+
* 排序列(costTime 运行耗时,startTime 开始时间,state 实例状态,curRunDate 数据时间)
|
|
5691
|
+
*/
|
|
5692
|
+
SortCol?: string;
|
|
5693
|
+
}
|
|
5631
5694
|
/**
|
|
5632
5695
|
* DescribeFunctionTypes返回参数结构体
|
|
5633
5696
|
*/
|
|
@@ -6730,11 +6793,11 @@ export interface RecordField {
|
|
|
6730
6793
|
/**
|
|
6731
6794
|
* 字段名称
|
|
6732
6795
|
*/
|
|
6733
|
-
Name
|
|
6796
|
+
Name?: string;
|
|
6734
6797
|
/**
|
|
6735
6798
|
* 字段值
|
|
6736
6799
|
*/
|
|
6737
|
-
Value
|
|
6800
|
+
Value?: string;
|
|
6738
6801
|
}
|
|
6739
6802
|
/**
|
|
6740
6803
|
* DescribeQualityScore返回参数结构体
|
|
@@ -7142,6 +7205,46 @@ export interface DescribeStreamTaskLogListResponse {
|
|
|
7142
7205
|
*/
|
|
7143
7206
|
RequestId?: string;
|
|
7144
7207
|
}
|
|
7208
|
+
/**
|
|
7209
|
+
* 数据治理配置项
|
|
7210
|
+
*/
|
|
7211
|
+
export interface DlcDataGovernPolicy {
|
|
7212
|
+
/**
|
|
7213
|
+
* 数据排布治理项
|
|
7214
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7215
|
+
*/
|
|
7216
|
+
RewriteDataPolicy?: DlcRewriteDataInfo;
|
|
7217
|
+
/**
|
|
7218
|
+
* 快照过期治理项
|
|
7219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7220
|
+
*/
|
|
7221
|
+
ExpiredSnapshotsPolicy?: DlcExpiredSnapshotsInfo;
|
|
7222
|
+
/**
|
|
7223
|
+
* 移除孤立文件治理项
|
|
7224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7225
|
+
*/
|
|
7226
|
+
RemoveOrphanFilesPolicy?: DlcRemoveOrphanFilesInfo;
|
|
7227
|
+
/**
|
|
7228
|
+
* 合并元数据Manifests治理项
|
|
7229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7230
|
+
*/
|
|
7231
|
+
MergeManifestsPolicy?: DlcMergeManifestsInfo;
|
|
7232
|
+
/**
|
|
7233
|
+
* 是否集成库规则:default(默认继承)、none(不继承)
|
|
7234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7235
|
+
*/
|
|
7236
|
+
InheritDataBase?: string;
|
|
7237
|
+
/**
|
|
7238
|
+
* 治理规则类型,Customize: 自定义;Intelligence: 智能治理
|
|
7239
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7240
|
+
*/
|
|
7241
|
+
RuleType?: string;
|
|
7242
|
+
/**
|
|
7243
|
+
* 治理引擎
|
|
7244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7245
|
+
*/
|
|
7246
|
+
GovernEngine?: string;
|
|
7247
|
+
}
|
|
7145
7248
|
/**
|
|
7146
7249
|
* DeleteWorkflowNew返回参数结构体
|
|
7147
7250
|
*/
|
|
@@ -7935,6 +8038,11 @@ export interface SourceFieldInfo {
|
|
|
7935
8038
|
* 字段别名
|
|
7936
8039
|
*/
|
|
7937
8040
|
Alias?: string;
|
|
8041
|
+
/**
|
|
8042
|
+
* 字段描述
|
|
8043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8044
|
+
*/
|
|
8045
|
+
Comment?: string;
|
|
7938
8046
|
}
|
|
7939
8047
|
/**
|
|
7940
8048
|
* FreezeTasksByMultiWorkflow返回参数结构体
|
|
@@ -8222,7 +8330,7 @@ export interface StartIntegrationTaskResponse {
|
|
|
8222
8330
|
/**
|
|
8223
8331
|
* 操作成功与否标识
|
|
8224
8332
|
*/
|
|
8225
|
-
Data
|
|
8333
|
+
Data?: boolean;
|
|
8226
8334
|
/**
|
|
8227
8335
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8228
8336
|
*/
|
|
@@ -9166,6 +9274,26 @@ export interface DescribeRuleTemplatesRequest {
|
|
|
9166
9274
|
*/
|
|
9167
9275
|
SourceEngineTypes?: Array<number>;
|
|
9168
9276
|
}
|
|
9277
|
+
/**
|
|
9278
|
+
* 合并元数据Manifests治理项
|
|
9279
|
+
*/
|
|
9280
|
+
export interface DlcMergeManifestsInfo {
|
|
9281
|
+
/**
|
|
9282
|
+
* 是否启用合并元数据Manifests文件治理项:enable、none
|
|
9283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9284
|
+
*/
|
|
9285
|
+
MergeManifestsEnable?: string;
|
|
9286
|
+
/**
|
|
9287
|
+
* 用于运行合并元数据Manifests文件治理项的引擎名称
|
|
9288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9289
|
+
*/
|
|
9290
|
+
Engine?: string;
|
|
9291
|
+
/**
|
|
9292
|
+
* 合并元数据Manifests文件治理运行周期,单位为分钟
|
|
9293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9294
|
+
*/
|
|
9295
|
+
IntervalMin?: number;
|
|
9296
|
+
}
|
|
9169
9297
|
/**
|
|
9170
9298
|
* 告警指标
|
|
9171
9299
|
*/
|
|
@@ -9205,6 +9333,18 @@ export interface AlarmIndicatorInfo {
|
|
|
9205
9333
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9206
9334
|
*/
|
|
9207
9335
|
AlarmIndicatorUnit?: string;
|
|
9336
|
+
/**
|
|
9337
|
+
* 告警周期
|
|
9338
|
+
*/
|
|
9339
|
+
Duration?: number;
|
|
9340
|
+
/**
|
|
9341
|
+
* 告警周期单位
|
|
9342
|
+
*/
|
|
9343
|
+
DurationUnit?: string;
|
|
9344
|
+
/**
|
|
9345
|
+
* 周期内最多告警次数
|
|
9346
|
+
*/
|
|
9347
|
+
MaxTimes?: number;
|
|
9208
9348
|
}
|
|
9209
9349
|
/**
|
|
9210
9350
|
* RegisterEvent返回参数结构体
|
|
@@ -10172,21 +10312,22 @@ export interface ForceSucInstancesResponse {
|
|
|
10172
10312
|
RequestId?: string;
|
|
10173
10313
|
}
|
|
10174
10314
|
/**
|
|
10175
|
-
*
|
|
10315
|
+
* GenHiveTableDDLSql返回参数结构体
|
|
10176
10316
|
*/
|
|
10177
|
-
export interface
|
|
10317
|
+
export interface GenHiveTableDDLSqlResponse {
|
|
10178
10318
|
/**
|
|
10179
|
-
*
|
|
10319
|
+
* 生成的ddl语句
|
|
10180
10320
|
*/
|
|
10181
|
-
|
|
10321
|
+
DDLSql?: string;
|
|
10182
10322
|
/**
|
|
10183
|
-
*
|
|
10323
|
+
* 生成的ddl语句。与DDLSql相同含义,优先取Data,如果Data为空,则取DDLSql。
|
|
10324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10184
10325
|
*/
|
|
10185
|
-
|
|
10326
|
+
Data?: string;
|
|
10186
10327
|
/**
|
|
10187
|
-
*
|
|
10328
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10188
10329
|
*/
|
|
10189
|
-
|
|
10330
|
+
RequestId?: string;
|
|
10190
10331
|
}
|
|
10191
10332
|
/**
|
|
10192
10333
|
* DescribeTaskReport返回参数结构体
|
|
@@ -10570,6 +10711,14 @@ export interface StartIntegrationTaskRequest {
|
|
|
10570
10711
|
* 项目id
|
|
10571
10712
|
*/
|
|
10572
10713
|
ProjectId: string;
|
|
10714
|
+
/**
|
|
10715
|
+
* 事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)
|
|
10716
|
+
*/
|
|
10717
|
+
Event?: string;
|
|
10718
|
+
/**
|
|
10719
|
+
* 额外参数
|
|
10720
|
+
*/
|
|
10721
|
+
ExtConfig?: Array<RecordField>;
|
|
10573
10722
|
}
|
|
10574
10723
|
/**
|
|
10575
10724
|
* DescribeTaskDetail返回参数结构体
|
|
@@ -11607,6 +11756,41 @@ export interface DescribeAlarmReceiverResponse {
|
|
|
11607
11756
|
*/
|
|
11608
11757
|
RequestId?: string;
|
|
11609
11758
|
}
|
|
11759
|
+
/**
|
|
11760
|
+
* 快照过期治理项
|
|
11761
|
+
*/
|
|
11762
|
+
export interface DlcExpiredSnapshotsInfo {
|
|
11763
|
+
/**
|
|
11764
|
+
* 是否启用快照过期治理项:enable、none
|
|
11765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11766
|
+
*/
|
|
11767
|
+
ExpiredSnapshotsEnable?: string;
|
|
11768
|
+
/**
|
|
11769
|
+
* 用于运行快照过期治理项的引擎名称
|
|
11770
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11771
|
+
*/
|
|
11772
|
+
Engine?: string;
|
|
11773
|
+
/**
|
|
11774
|
+
* 需要保留的最近快照个数
|
|
11775
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11776
|
+
*/
|
|
11777
|
+
RetainLast?: number;
|
|
11778
|
+
/**
|
|
11779
|
+
* 过期指定天前的快照
|
|
11780
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11781
|
+
*/
|
|
11782
|
+
BeforeDays?: number;
|
|
11783
|
+
/**
|
|
11784
|
+
* 清理过期快照的并行数
|
|
11785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11786
|
+
*/
|
|
11787
|
+
MaxConcurrentDeletes?: number;
|
|
11788
|
+
/**
|
|
11789
|
+
* 快照过期治理运行周期,单位为分钟
|
|
11790
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11791
|
+
*/
|
|
11792
|
+
IntervalMin?: number;
|
|
11793
|
+
}
|
|
11610
11794
|
/**
|
|
11611
11795
|
* BatchModifyOwnersNew返回参数结构体
|
|
11612
11796
|
*/
|
|
@@ -12391,25 +12575,34 @@ export interface CreateRuleTemplateRequest {
|
|
|
12391
12575
|
WhereFlag?: boolean;
|
|
12392
12576
|
}
|
|
12393
12577
|
/**
|
|
12394
|
-
*
|
|
12578
|
+
* 数据排布治理项
|
|
12395
12579
|
*/
|
|
12396
|
-
export interface
|
|
12580
|
+
export interface DlcRewriteDataInfo {
|
|
12397
12581
|
/**
|
|
12398
|
-
*
|
|
12582
|
+
* 是否启用数据重排布治理项:enable(启动)、disable(不启用,默认)
|
|
12583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12399
12584
|
*/
|
|
12400
|
-
|
|
12585
|
+
RewriteDataEnable?: string;
|
|
12401
12586
|
/**
|
|
12402
|
-
*
|
|
12587
|
+
* 用于运行数据重排布治理项的引擎名称
|
|
12588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12403
12589
|
*/
|
|
12404
|
-
|
|
12590
|
+
Engine?: string;
|
|
12405
12591
|
/**
|
|
12406
|
-
*
|
|
12592
|
+
* 重排布任务执行的文件个数
|
|
12593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12407
12594
|
*/
|
|
12408
|
-
|
|
12595
|
+
MinInputFiles?: number;
|
|
12409
12596
|
/**
|
|
12410
|
-
*
|
|
12597
|
+
* 数据重排布写后的数据文件大小,单位为字节
|
|
12598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12411
12599
|
*/
|
|
12412
|
-
|
|
12600
|
+
TargetFileSizeBytes?: number;
|
|
12601
|
+
/**
|
|
12602
|
+
* 数据重排布治理运行周期,单位为分钟
|
|
12603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12604
|
+
*/
|
|
12605
|
+
IntervalMin?: number;
|
|
12413
12606
|
}
|
|
12414
12607
|
/**
|
|
12415
12608
|
* BatchStopTasksNew返回参数结构体
|
|
@@ -12477,6 +12670,61 @@ export interface DeleteIntegrationTaskResponse {
|
|
|
12477
12670
|
*/
|
|
12478
12671
|
RequestId?: string;
|
|
12479
12672
|
}
|
|
12673
|
+
/**
|
|
12674
|
+
* 建dlc表所需信息
|
|
12675
|
+
*/
|
|
12676
|
+
export interface TableBaseInfo {
|
|
12677
|
+
/**
|
|
12678
|
+
* 数据库名称
|
|
12679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12680
|
+
*/
|
|
12681
|
+
DatabaseName?: string;
|
|
12682
|
+
/**
|
|
12683
|
+
* 表名称
|
|
12684
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12685
|
+
*/
|
|
12686
|
+
TableName?: string;
|
|
12687
|
+
/**
|
|
12688
|
+
* 数据表所属数据源名字
|
|
12689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12690
|
+
*/
|
|
12691
|
+
DatasourceConnectionName?: string;
|
|
12692
|
+
/**
|
|
12693
|
+
* 表备注
|
|
12694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12695
|
+
*/
|
|
12696
|
+
TableComment?: string;
|
|
12697
|
+
/**
|
|
12698
|
+
* 类型
|
|
12699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12700
|
+
*/
|
|
12701
|
+
Type?: string;
|
|
12702
|
+
/**
|
|
12703
|
+
* 数据格式类型
|
|
12704
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12705
|
+
*/
|
|
12706
|
+
TableFormat?: string;
|
|
12707
|
+
/**
|
|
12708
|
+
* 用户昵称
|
|
12709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12710
|
+
*/
|
|
12711
|
+
UserAlias?: string;
|
|
12712
|
+
/**
|
|
12713
|
+
* 建表用户ID
|
|
12714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12715
|
+
*/
|
|
12716
|
+
UserSubUin?: string;
|
|
12717
|
+
/**
|
|
12718
|
+
* 数据治理配置项
|
|
12719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12720
|
+
*/
|
|
12721
|
+
GovernPolicy?: DlcDataGovernPolicy;
|
|
12722
|
+
/**
|
|
12723
|
+
* 库数据治理是否关闭,关闭:true,开启:false
|
|
12724
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12725
|
+
*/
|
|
12726
|
+
DbGovernPolicyIsDisable?: string;
|
|
12727
|
+
}
|
|
12480
12728
|
/**
|
|
12481
12729
|
* ResumeIntegrationTask请求参数结构体
|
|
12482
12730
|
*/
|
|
@@ -12489,6 +12737,14 @@ export interface ResumeIntegrationTaskRequest {
|
|
|
12489
12737
|
* 项目id
|
|
12490
12738
|
*/
|
|
12491
12739
|
ProjectId: string;
|
|
12740
|
+
/**
|
|
12741
|
+
* 事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)
|
|
12742
|
+
*/
|
|
12743
|
+
Event?: string;
|
|
12744
|
+
/**
|
|
12745
|
+
* 额外参数
|
|
12746
|
+
*/
|
|
12747
|
+
ExtConfig?: Array<RecordField>;
|
|
12492
12748
|
}
|
|
12493
12749
|
/**
|
|
12494
12750
|
* DescribeRuleGroupsByPage返回参数结构体
|
|
@@ -12882,22 +13138,21 @@ export interface DryRunDIOfflineTaskResponse {
|
|
|
12882
13138
|
RequestId?: string;
|
|
12883
13139
|
}
|
|
12884
13140
|
/**
|
|
12885
|
-
*
|
|
13141
|
+
* DescribeTaskLockStatus请求参数结构体
|
|
12886
13142
|
*/
|
|
12887
|
-
export interface
|
|
13143
|
+
export interface DescribeTaskLockStatusRequest {
|
|
12888
13144
|
/**
|
|
12889
|
-
*
|
|
13145
|
+
* 任务id
|
|
12890
13146
|
*/
|
|
12891
|
-
|
|
13147
|
+
TaskId: string;
|
|
12892
13148
|
/**
|
|
12893
|
-
*
|
|
12894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13149
|
+
* 项目id
|
|
12895
13150
|
*/
|
|
12896
|
-
|
|
13151
|
+
ProjectId: string;
|
|
12897
13152
|
/**
|
|
12898
|
-
*
|
|
13153
|
+
* 任务类型:201. stream, 202. offline
|
|
12899
13154
|
*/
|
|
12900
|
-
|
|
13155
|
+
TaskType: number;
|
|
12901
13156
|
}
|
|
12902
13157
|
/**
|
|
12903
13158
|
* DescribeRuleExecStat请求参数结构体
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.asr.v20190614.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("asr.v20190614.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("asr.v20190614.
|
|
21
|
+
it("asr.v20190614.UpdateAsrVocab", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.UpdateAsrVocab({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("asr.v20190614.
|
|
31
|
+
it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateAsyncRecognitionTask({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("asr.v20190614.GetAsrVocabList", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("asr.v20190614.
|
|
41
|
+
it("asr.v20190614.GetCustomizationList", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.GetCustomizationList({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("asr.v20190614.DownloadAsrVocab", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("asr.v20190614.
|
|
51
|
+
it("asr.v20190614.GetAsrVocabList", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.GetAsrVocabList({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("asr.v20190614.GetModelInfo", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("asr.v20190614.
|
|
61
|
+
it("asr.v20190614.GetAsrVocab", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.GetAsrVocab({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("asr.v20190614.CreateRecTask", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("asr.v20190614.
|
|
71
|
+
it("asr.v20190614.SetVocabState", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.SetVocabState({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("asr.v20190614.GetAsrVocab", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("asr.v20190614.
|
|
81
|
+
it("asr.v20190614.DownloadAsrVocab", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DownloadAsrVocab({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("asr.v20190614.DescribeTaskStatus", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("asr.v20190614.
|
|
91
|
+
it("asr.v20190614.CreateCustomization", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.CreateCustomization({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("asr.v20190614.ModifyCustomizationState", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("asr.v20190614.
|
|
101
|
+
it("asr.v20190614.DeleteAsrVocab", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.DeleteAsrVocab({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("asr.v20190614.UpdateAsrVocab", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("asr.v20190614.
|
|
111
|
+
it("asr.v20190614.SentenceRecognition", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.SentenceRecognition({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("asr.v20190614.SetVocabState", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("asr.v20190614.
|
|
121
|
+
it("asr.v20190614.CreateRecTask", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.CreateRecTask({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("asr.v20190614.
|
|
131
|
+
it("asr.v20190614.DescribeTaskStatus", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeTaskStatus({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("asr.v20190614.CreateAsrVocab", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("asr.v20190614.
|
|
141
|
+
it("asr.v20190614.VoicePrintEnroll", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.VoicePrintEnroll({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("asr.v20190614.DeleteCustomization", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("asr.v20190614.
|
|
151
|
+
it("asr.v20190614.VoicePrintVerify", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.VoicePrintVerify({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,9 @@ it("asr.v20190614.DescribeAsyncRecognitionTasks", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("asr.v20190614.
|
|
171
|
+
it("asr.v20190614.VoicePrintDelete", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.VoicePrintDelete({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("asr.v20190614.GetCustomizationList", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("asr.v20190614.
|
|
181
|
+
it("asr.v20190614.VoicePrintUpdate", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.VoicePrintUpdate({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,49 @@ it("asr.v20190614.ModifyCustomization", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("asr.v20190614.
|
|
201
|
+
it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.CloseAsyncRecognitionTask({})
|
|
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
|
+
|
|
211
|
+
it("asr.v20190614.GetModelInfo", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.GetModelInfo({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("asr.v20190614.ModifyCustomizationState", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifyCustomizationState({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("asr.v20190614.CreateAsrVocab", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CreateAsrVocab({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
it("asr.v20190614.DeleteCustomization", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DeleteCustomization({})
|
|
204
244
|
expect(data).to.be.ok
|
|
205
245
|
} catch(error) {
|
|
206
246
|
expect(error.requestId).to.be.ok
|