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
|
@@ -43,6 +43,16 @@ export interface CreateCustomizationResponse {
|
|
|
43
43
|
RequestId?: string
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/**
|
|
47
|
+
* VoicePrintDelete请求参数结构体
|
|
48
|
+
*/
|
|
49
|
+
export interface VoicePrintDeleteRequest {
|
|
50
|
+
/**
|
|
51
|
+
* 说话人id,说话人唯一标识
|
|
52
|
+
*/
|
|
53
|
+
VoicePrintId: string
|
|
54
|
+
}
|
|
55
|
+
|
|
46
56
|
/**
|
|
47
57
|
* DescribeAsyncRecognitionTasks请求参数结构体
|
|
48
58
|
*/
|
|
@@ -100,6 +110,46 @@ export interface GetAsrVocabResponse {
|
|
|
100
110
|
RequestId?: string
|
|
101
111
|
}
|
|
102
112
|
|
|
113
|
+
/**
|
|
114
|
+
* VoicePrintEnroll返回参数结构体
|
|
115
|
+
*/
|
|
116
|
+
export interface VoicePrintEnrollResponse {
|
|
117
|
+
/**
|
|
118
|
+
* 说话人基本数据
|
|
119
|
+
*/
|
|
120
|
+
Data?: VoicePrintBaseData
|
|
121
|
+
/**
|
|
122
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
123
|
+
*/
|
|
124
|
+
RequestId?: string
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* VoicePrintUpdate请求参数结构体
|
|
129
|
+
*/
|
|
130
|
+
export interface VoicePrintUpdateRequest {
|
|
131
|
+
/**
|
|
132
|
+
* 音频格式 0: pcm, 1: wav
|
|
133
|
+
*/
|
|
134
|
+
VoiceFormat: number
|
|
135
|
+
/**
|
|
136
|
+
* 音频采样率 目前仅支持16000 单位Hz
|
|
137
|
+
*/
|
|
138
|
+
SampleRate: number
|
|
139
|
+
/**
|
|
140
|
+
* 说话人id, 说话人唯一标识
|
|
141
|
+
*/
|
|
142
|
+
VoicePrintId: string
|
|
143
|
+
/**
|
|
144
|
+
* 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
|
145
|
+
*/
|
|
146
|
+
Data: string
|
|
147
|
+
/**
|
|
148
|
+
* 说话人昵称 不超过32字节
|
|
149
|
+
*/
|
|
150
|
+
SpeakerNick?: string
|
|
151
|
+
}
|
|
152
|
+
|
|
103
153
|
/**
|
|
104
154
|
* CreateAsyncRecognitionTask请求参数结构体
|
|
105
155
|
*/
|
|
@@ -108,7 +158,7 @@ export interface CreateAsyncRecognitionTaskRequest {
|
|
|
108
158
|
* 引擎模型类型。
|
|
109
159
|
• 16k_zh:中文普通话通用;
|
|
110
160
|
• 16k_en:英语;
|
|
111
|
-
•
|
|
161
|
+
• 16k_yue:粤语;
|
|
112
162
|
• 16k_id:印度尼西亚语;
|
|
113
163
|
• 16k_fil:菲律宾语;
|
|
114
164
|
• 16k_th:泰语;
|
|
@@ -298,6 +348,27 @@ export interface SentenceRecognitionRequest {
|
|
|
298
348
|
HotwordList?: string
|
|
299
349
|
}
|
|
300
350
|
|
|
351
|
+
/**
|
|
352
|
+
* 说话人验证数据
|
|
353
|
+
*/
|
|
354
|
+
export interface VoicePrintVerifyData {
|
|
355
|
+
/**
|
|
356
|
+
* 说话人id
|
|
357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
358
|
+
*/
|
|
359
|
+
VoicePrintId?: string
|
|
360
|
+
/**
|
|
361
|
+
* 匹配度 取值范围(0.0 - 100.0)
|
|
362
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
363
|
+
*/
|
|
364
|
+
Score?: string
|
|
365
|
+
/**
|
|
366
|
+
* 验证结果 0: 未通过 1: 通过
|
|
367
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
368
|
+
*/
|
|
369
|
+
Decision?: number
|
|
370
|
+
}
|
|
371
|
+
|
|
301
372
|
/**
|
|
302
373
|
* CloseAsyncRecognitionTask返回参数结构体
|
|
303
374
|
*/
|
|
@@ -457,6 +528,20 @@ export interface CreateAsyncRecognitionTaskResponse {
|
|
|
457
528
|
RequestId?: string
|
|
458
529
|
}
|
|
459
530
|
|
|
531
|
+
/**
|
|
532
|
+
* VoicePrintDelete返回参数结构体
|
|
533
|
+
*/
|
|
534
|
+
export interface VoicePrintDeleteResponse {
|
|
535
|
+
/**
|
|
536
|
+
* 说话人基本信息
|
|
537
|
+
*/
|
|
538
|
+
Data?: VoicePrintBaseData
|
|
539
|
+
/**
|
|
540
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
541
|
+
*/
|
|
542
|
+
RequestId?: string
|
|
543
|
+
}
|
|
544
|
+
|
|
460
545
|
/**
|
|
461
546
|
* DeleteAsrVocab返回参数结构体
|
|
462
547
|
*/
|
|
@@ -496,7 +581,7 @@ export interface CreateRecTaskRequest {
|
|
|
496
581
|
• 16k_zh-PY:中英粤;
|
|
497
582
|
• 16k_zh_medical:中文医疗;
|
|
498
583
|
• 16k_en:英语;
|
|
499
|
-
•
|
|
584
|
+
• 16k_yue:粤语;
|
|
500
585
|
• 16k_ja:日语;
|
|
501
586
|
• 16k_ko:韩语;
|
|
502
587
|
• 16k_vi:越南语;
|
|
@@ -514,7 +599,7 @@ export interface CreateRecTaskRequest {
|
|
|
514
599
|
*/
|
|
515
600
|
ChannelNum: number
|
|
516
601
|
/**
|
|
517
|
-
* 识别结果返回形式。0: 识别结果文本(含分段时间戳); 1:词级别粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(不含标点,含语速值);2:词级别粒度的详细识别结果(包含标点、语速值);3: 标点符号分段,包含每段时间戳,特别适用于字幕场景(包含词级时间、标点、语速值)。
|
|
602
|
+
* 识别结果返回形式。0: 识别结果文本(含分段时间戳); 1:词级别粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(不含标点,含语速值);2:词级别粒度的详细识别结果(包含标点、语速值);3: 标点符号分段,包含每段时间戳,特别适用于字幕场景(包含词级时间、标点、语速值)。4:【付费功能】将对ASR结果按照语义分段,并展示词级别粒度的详细识别结果(注意:如果开启后付费,将[自动计费](https://cloud.tencent.com/document/product/1093/35686))
|
|
518
603
|
*/
|
|
519
604
|
ResTextFormat: number
|
|
520
605
|
/**
|
|
@@ -632,6 +717,28 @@ export interface GetCustomizationListResponse {
|
|
|
632
717
|
RequestId?: string
|
|
633
718
|
}
|
|
634
719
|
|
|
720
|
+
/**
|
|
721
|
+
* VoicePrintVerify请求参数结构体
|
|
722
|
+
*/
|
|
723
|
+
export interface VoicePrintVerifyRequest {
|
|
724
|
+
/**
|
|
725
|
+
* 音频格式 0: pcm, 1: wav
|
|
726
|
+
*/
|
|
727
|
+
VoiceFormat: number
|
|
728
|
+
/**
|
|
729
|
+
* 音频采样率,目前支持16000,单位:Hz,必填
|
|
730
|
+
*/
|
|
731
|
+
SampleRate: number
|
|
732
|
+
/**
|
|
733
|
+
* 说话人id, 说话人唯一标识
|
|
734
|
+
*/
|
|
735
|
+
VoicePrintId: string
|
|
736
|
+
/**
|
|
737
|
+
* 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
|
738
|
+
*/
|
|
739
|
+
Data: string
|
|
740
|
+
}
|
|
741
|
+
|
|
635
742
|
/**
|
|
636
743
|
* DownloadAsrVocab请求参数结构体
|
|
637
744
|
*/
|
|
@@ -836,6 +943,28 @@ export interface UpdateAsrVocabResponse {
|
|
|
836
943
|
RequestId?: string
|
|
837
944
|
}
|
|
838
945
|
|
|
946
|
+
/**
|
|
947
|
+
* VoicePrintEnroll请求参数结构体
|
|
948
|
+
*/
|
|
949
|
+
export interface VoicePrintEnrollRequest {
|
|
950
|
+
/**
|
|
951
|
+
* 音频格式 0: pcm, 1: wav
|
|
952
|
+
*/
|
|
953
|
+
VoiceFormat: number
|
|
954
|
+
/**
|
|
955
|
+
* 音频采样率,目前支持16000,单位:Hz,必填
|
|
956
|
+
*/
|
|
957
|
+
SampleRate: number
|
|
958
|
+
/**
|
|
959
|
+
* 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
|
960
|
+
*/
|
|
961
|
+
Data: string
|
|
962
|
+
/**
|
|
963
|
+
* 说话人昵称 不超过32字节
|
|
964
|
+
*/
|
|
965
|
+
SpeakerNick?: string
|
|
966
|
+
}
|
|
967
|
+
|
|
839
968
|
/**
|
|
840
969
|
* CreateAsrVocab返回参数结构体
|
|
841
970
|
*/
|
|
@@ -959,6 +1088,20 @@ export interface UpdateAsrVocabRequest {
|
|
|
959
1088
|
Description?: string
|
|
960
1089
|
}
|
|
961
1090
|
|
|
1091
|
+
/**
|
|
1092
|
+
* VoicePrintVerify返回参数结构体
|
|
1093
|
+
*/
|
|
1094
|
+
export interface VoicePrintVerifyResponse {
|
|
1095
|
+
/**
|
|
1096
|
+
* 说话人验证数据
|
|
1097
|
+
*/
|
|
1098
|
+
Data?: VoicePrintVerifyData
|
|
1099
|
+
/**
|
|
1100
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1101
|
+
*/
|
|
1102
|
+
RequestId?: string
|
|
1103
|
+
}
|
|
1104
|
+
|
|
962
1105
|
/**
|
|
963
1106
|
* DescribeTaskStatus请求参数结构体
|
|
964
1107
|
*/
|
|
@@ -997,6 +1140,36 @@ export interface SentenceRecognitionResponse {
|
|
|
997
1140
|
RequestId?: string
|
|
998
1141
|
}
|
|
999
1142
|
|
|
1143
|
+
/**
|
|
1144
|
+
* VoicePrintUpdate返回参数结构体
|
|
1145
|
+
*/
|
|
1146
|
+
export interface VoicePrintUpdateResponse {
|
|
1147
|
+
/**
|
|
1148
|
+
* 说话人基础数据
|
|
1149
|
+
*/
|
|
1150
|
+
Data?: VoicePrintBaseData
|
|
1151
|
+
/**
|
|
1152
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1153
|
+
*/
|
|
1154
|
+
RequestId?: string
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* 说话人基础数据,包括说话人id和说话人昵称
|
|
1159
|
+
*/
|
|
1160
|
+
export interface VoicePrintBaseData {
|
|
1161
|
+
/**
|
|
1162
|
+
* 说话人id
|
|
1163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1164
|
+
*/
|
|
1165
|
+
VoicePrintId?: string
|
|
1166
|
+
/**
|
|
1167
|
+
* 说话人昵称
|
|
1168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1169
|
+
*/
|
|
1170
|
+
SpeakerNick?: string
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1000
1173
|
/**
|
|
1001
1174
|
* DeleteCustomization请求参数结构体
|
|
1002
1175
|
*/
|
|
@@ -1107,7 +1107,7 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
MetadataType?: number
|
|
1109
1109
|
/**
|
|
1110
|
-
* 采集配置路径正则表达式,MetadataType为
|
|
1110
|
+
* 采集配置路径正则表达式,MetadataType为3时必填
|
|
1111
1111
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1112
1112
|
*/
|
|
1113
1113
|
PathRegex?: string
|
|
@@ -2047,7 +2047,7 @@ export interface DeleteConsumerResponse {
|
|
|
2047
2047
|
*/
|
|
2048
2048
|
export interface DescribeTopicsRequest {
|
|
2049
2049
|
/**
|
|
2050
|
-
* <
|
|
2050
|
+
* <li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,例如tag:exampleKey。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
2051
2051
|
*/
|
|
2052
2052
|
Filters?: Array<Filter>
|
|
2053
2053
|
/**
|
|
@@ -2058,6 +2058,21 @@ export interface DescribeTopicsRequest {
|
|
|
2058
2058
|
* 分页单页限制数目,默认值为20,最大值100。
|
|
2059
2059
|
*/
|
|
2060
2060
|
Limit?: number
|
|
2061
|
+
/**
|
|
2062
|
+
* 控制Filters相关字段是否为精确匹配。
|
|
2063
|
+
- 0: 默认值,topicName和logsetName模糊匹配
|
|
2064
|
+
- 1: topicName精确匹配
|
|
2065
|
+
- 2: logsetName精确匹配
|
|
2066
|
+
- 3: topicName和logsetName都精确匹配
|
|
2067
|
+
*/
|
|
2068
|
+
PreciseSearch?: number
|
|
2069
|
+
/**
|
|
2070
|
+
* 主题类型
|
|
2071
|
+
- 0:日志主题,默认值
|
|
2072
|
+
- 1:指标主题
|
|
2073
|
+
|
|
2074
|
+
*/
|
|
2075
|
+
BizType?: number
|
|
2061
2076
|
}
|
|
2062
2077
|
|
|
2063
2078
|
/**
|
|
@@ -662,7 +662,7 @@ export class Client extends AbstractClient {
|
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
|
-
* 本接口(CreateSparkSessionBatchSQL
|
|
665
|
+
* 本接口(CreateSparkSessionBatchSQL)用于向Spark作业引擎提交Spark SQL批任务。
|
|
666
666
|
*/
|
|
667
667
|
async CreateSparkSessionBatchSQL(
|
|
668
668
|
req: CreateSparkSessionBatchSQLRequest,
|
|
@@ -1535,6 +1535,10 @@ export interface ModifySparkAppRequest {
|
|
|
1535
1535
|
* 任务资源配置是否继承集群配置模板:0(默认)不继承、1:继承
|
|
1536
1536
|
*/
|
|
1537
1537
|
IsInherit?: number
|
|
1538
|
+
/**
|
|
1539
|
+
* 是否使用session脚本的sql运行任务:false:否,true:是
|
|
1540
|
+
*/
|
|
1541
|
+
IsSessionStarted?: boolean
|
|
1538
1542
|
}
|
|
1539
1543
|
|
|
1540
1544
|
/**
|
|
@@ -2431,7 +2435,10 @@ export interface CreateNotebookSessionRequest {
|
|
|
2431
2435
|
*/
|
|
2432
2436
|
ExecutorNumbers?: number
|
|
2433
2437
|
/**
|
|
2434
|
-
* Session相关配置,当前支持:
|
|
2438
|
+
* Session相关配置,当前支持:
|
|
2439
|
+
1. dlc.eni: 用户配置的eni网关信息,可以通过该字段设置;
|
|
2440
|
+
2. dlc.role.arn: 用户配置的roleArn鉴权策略配置信息,可以通过该字段设置;
|
|
2441
|
+
3. dlc.sql.set.config: 用户配置的集群配置信息,可以通过该字段设置;
|
|
2435
2442
|
*/
|
|
2436
2443
|
Arguments?: Array<KVPair>
|
|
2437
2444
|
/**
|
|
@@ -2446,6 +2453,10 @@ export interface CreateNotebookSessionRequest {
|
|
|
2446
2453
|
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
2447
2454
|
*/
|
|
2448
2455
|
ExecutorMaxNumbers?: number
|
|
2456
|
+
/**
|
|
2457
|
+
* 指定spark版本名称,当前任务使用该spark镜像运行
|
|
2458
|
+
*/
|
|
2459
|
+
SparkImage?: string
|
|
2449
2460
|
}
|
|
2450
2461
|
|
|
2451
2462
|
/**
|
|
@@ -5561,6 +5572,10 @@ export interface CreateSparkAppRequest {
|
|
|
5561
5572
|
* 任务资源配置是否继承集群模板,0(默认)不继承,1:继承
|
|
5562
5573
|
*/
|
|
5563
5574
|
IsInherit?: number
|
|
5575
|
+
/**
|
|
5576
|
+
* 是否使用session脚本的sql运行任务:false:否,true:是
|
|
5577
|
+
*/
|
|
5578
|
+
IsSessionStarted?: boolean
|
|
5564
5579
|
}
|
|
5565
5580
|
|
|
5566
5581
|
/**
|
|
@@ -5604,7 +5619,9 @@ export interface CreateSparkSessionBatchSQLRequest {
|
|
|
5604
5619
|
*/
|
|
5605
5620
|
SessionName?: string
|
|
5606
5621
|
/**
|
|
5607
|
-
* Session相关配置,当前支持:dlc.eni
|
|
5622
|
+
* Session相关配置,当前支持:1.dlc.eni:用户配置的eni网关信息,可以用过该字段设置;
|
|
5623
|
+
2.dlc.role.arn:用户配置的roleArn鉴权策略配置信息,可以用过该字段设置;
|
|
5624
|
+
3.dlc.sql.set.config:用户配置的集群配置信息,可以用过该字段设置;
|
|
5608
5625
|
*/
|
|
5609
5626
|
Arguments?: Array<KVPair>
|
|
5610
5627
|
}
|
|
@@ -22,13 +22,16 @@ import {
|
|
|
22
22
|
PodSpecInfo,
|
|
23
23
|
PodSaleSpec,
|
|
24
24
|
ScaleOutInstanceResponse,
|
|
25
|
+
ImpalaQuery,
|
|
25
26
|
PodVolume,
|
|
26
27
|
SyncPodStateResponse,
|
|
27
28
|
CreateInstanceResponse,
|
|
29
|
+
PersistentVolumeContext,
|
|
28
30
|
TerminateTasksRequest,
|
|
29
31
|
HostVolumeContext,
|
|
30
32
|
ScaleOutClusterRequest,
|
|
31
33
|
DiskSpecInfo,
|
|
34
|
+
HiveQuery,
|
|
32
35
|
Step,
|
|
33
36
|
DescribeEmrApplicationStaticsRequest,
|
|
34
37
|
UserManagerFilter,
|
|
@@ -48,8 +51,9 @@ import {
|
|
|
48
51
|
AddUsersForUserManagerResponse,
|
|
49
52
|
EmrProductConfigOutter,
|
|
50
53
|
VPCSettings,
|
|
51
|
-
|
|
54
|
+
CustomServiceDefine,
|
|
52
55
|
DescribeInstanceRenewNodesRequest,
|
|
56
|
+
YarnApplication,
|
|
53
57
|
JobResult,
|
|
54
58
|
PartDetailPriceItem,
|
|
55
59
|
DependService,
|
|
@@ -70,31 +74,34 @@ import {
|
|
|
70
74
|
RenewInstancesInfo,
|
|
71
75
|
RunJobFlowResponse,
|
|
72
76
|
StartStopServiceOrMonitorResponse,
|
|
73
|
-
|
|
77
|
+
DescribeHiveQueriesResponse,
|
|
74
78
|
PodNewParameter,
|
|
75
|
-
|
|
79
|
+
DescribeInstanceRenewNodesResponse,
|
|
76
80
|
MultiZoneSetting,
|
|
77
|
-
|
|
81
|
+
DescribeYarnApplicationsRequest,
|
|
78
82
|
InquiryPriceUpdateInstanceResponse,
|
|
79
83
|
NewResourceSpec,
|
|
80
|
-
|
|
84
|
+
DiskGroup,
|
|
81
85
|
ScaleOutNodeConfig,
|
|
82
86
|
DeleteUserManagerUserListRequest,
|
|
83
87
|
DescribeResourceScheduleResponse,
|
|
88
|
+
MultiDisk,
|
|
84
89
|
TerminateClusterNodesResponse,
|
|
85
90
|
ModifyResourceSchedulerRequest,
|
|
86
91
|
LoginSettings,
|
|
87
92
|
RunJobFlowRequest,
|
|
88
93
|
PriceResource,
|
|
89
|
-
|
|
94
|
+
DescribeHiveQueriesRequest,
|
|
90
95
|
CreateClusterResponse,
|
|
91
96
|
SubnetInfo,
|
|
92
97
|
DescribeCvmQuotaResponse,
|
|
98
|
+
SearchItem,
|
|
93
99
|
CreateClusterRequest,
|
|
94
100
|
UserAndGroup,
|
|
95
101
|
BootstrapAction,
|
|
96
|
-
DescribeCvmQuotaRequest,
|
|
97
102
|
DescribeClusterNodesRequest,
|
|
103
|
+
DescribeCvmQuotaRequest,
|
|
104
|
+
DescribeImpalaQueriesRequest,
|
|
98
105
|
ComponentBasicRestartInfo,
|
|
99
106
|
CreateInstanceRequest,
|
|
100
107
|
Execution,
|
|
@@ -106,10 +113,12 @@ import {
|
|
|
106
113
|
DescribeInstancesListRequest,
|
|
107
114
|
OutterResource,
|
|
108
115
|
OpScope,
|
|
116
|
+
DescribeInstancesListResponse,
|
|
109
117
|
DeleteUserManagerUserListResponse,
|
|
110
118
|
ModifyResourcePoolsResponse,
|
|
111
119
|
TerminateTasksResponse,
|
|
112
120
|
DescribeInstancesResponse,
|
|
121
|
+
DescribeYarnApplicationsResponse,
|
|
113
122
|
DescribeUsersForUserManagerResponse,
|
|
114
123
|
InquiryPriceRenewInstanceRequest,
|
|
115
124
|
CdbInfo,
|
|
@@ -136,10 +145,9 @@ import {
|
|
|
136
145
|
Filters,
|
|
137
146
|
DescribeEmrApplicationStaticsResponse,
|
|
138
147
|
InquirePriceRenewEmrRequest,
|
|
139
|
-
|
|
148
|
+
DescribeImpalaQueriesResponse,
|
|
140
149
|
CustomMetaDBInfo,
|
|
141
150
|
UserManagerUserBriefInfo,
|
|
142
|
-
DiskGroup,
|
|
143
151
|
InquiryPriceScaleOutInstanceResponse,
|
|
144
152
|
ModifyResourceSchedulerResponse,
|
|
145
153
|
VirtualPrivateCloud,
|
|
@@ -154,6 +162,7 @@ import {
|
|
|
154
162
|
ModifyResourcePoolsRequest,
|
|
155
163
|
DescribeJobFlowResponse,
|
|
156
164
|
InstanceChargePrepaid,
|
|
165
|
+
TerminateInstanceResponse,
|
|
157
166
|
} from "./emr_models"
|
|
158
167
|
|
|
159
168
|
/**
|
|
@@ -165,6 +174,16 @@ export class Client extends AbstractClient {
|
|
|
165
174
|
super("emr.tencentcloudapi.com", "2019-01-03", clientConfig)
|
|
166
175
|
}
|
|
167
176
|
|
|
177
|
+
/**
|
|
178
|
+
* DescribeYarnApplications
|
|
179
|
+
*/
|
|
180
|
+
async DescribeYarnApplications(
|
|
181
|
+
req: DescribeYarnApplicationsRequest,
|
|
182
|
+
cb?: (error: string, rep: DescribeYarnApplicationsResponse) => void
|
|
183
|
+
): Promise<DescribeYarnApplicationsResponse> {
|
|
184
|
+
return this.request("DescribeYarnApplications", req, cb)
|
|
185
|
+
}
|
|
186
|
+
|
|
168
187
|
/**
|
|
169
188
|
* 销毁EMR实例。此接口仅支持弹性MapReduce正式计费版本。
|
|
170
189
|
*/
|
|
@@ -206,13 +225,23 @@ export class Client extends AbstractClient {
|
|
|
206
225
|
}
|
|
207
226
|
|
|
208
227
|
/**
|
|
209
|
-
*
|
|
228
|
+
* DescribeImpalaQueries
|
|
210
229
|
*/
|
|
211
|
-
async
|
|
212
|
-
req:
|
|
213
|
-
cb?: (error: string, rep:
|
|
214
|
-
): Promise<
|
|
215
|
-
return this.request("
|
|
230
|
+
async DescribeImpalaQueries(
|
|
231
|
+
req: DescribeImpalaQueriesRequest,
|
|
232
|
+
cb?: (error: string, rep: DescribeImpalaQueriesResponse) => void
|
|
233
|
+
): Promise<DescribeImpalaQueriesResponse> {
|
|
234
|
+
return this.request("DescribeImpalaQueries", req, cb)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* 修改YARN资源调度的资源配置
|
|
239
|
+
*/
|
|
240
|
+
async ModifyResourceScheduleConfig(
|
|
241
|
+
req: ModifyResourceScheduleConfigRequest,
|
|
242
|
+
cb?: (error: string, rep: ModifyResourceScheduleConfigResponse) => void
|
|
243
|
+
): Promise<ModifyResourceScheduleConfigResponse> {
|
|
244
|
+
return this.request("ModifyResourceScheduleConfig", req, cb)
|
|
216
245
|
}
|
|
217
246
|
|
|
218
247
|
/**
|
|
@@ -388,13 +417,23 @@ export class Client extends AbstractClient {
|
|
|
388
417
|
}
|
|
389
418
|
|
|
390
419
|
/**
|
|
391
|
-
*
|
|
420
|
+
* 查询流程任务
|
|
392
421
|
*/
|
|
393
|
-
async
|
|
394
|
-
req:
|
|
395
|
-
cb?: (error: string, rep:
|
|
396
|
-
): Promise<
|
|
397
|
-
return this.request("
|
|
422
|
+
async DescribeJobFlow(
|
|
423
|
+
req: DescribeJobFlowRequest,
|
|
424
|
+
cb?: (error: string, rep: DescribeJobFlowResponse) => void
|
|
425
|
+
): Promise<DescribeJobFlowResponse> {
|
|
426
|
+
return this.request("DescribeJobFlow", req, cb)
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* 获取hive查询信息
|
|
431
|
+
*/
|
|
432
|
+
async DescribeHiveQueries(
|
|
433
|
+
req: DescribeHiveQueriesRequest,
|
|
434
|
+
cb?: (error: string, rep: DescribeHiveQueriesResponse) => void
|
|
435
|
+
): Promise<DescribeHiveQueriesResponse> {
|
|
436
|
+
return this.request("DescribeHiveQueries", req, cb)
|
|
398
437
|
}
|
|
399
438
|
|
|
400
439
|
/**
|