tencentcloud-sdk-nodejs 4.0.530 → 4.0.532
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 +137 -0
- package/SERVICE_CHANGELOG.md +185 -159
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +2 -6
- package/src/services/dlc/v20210125/dlc_client.ts +35 -10
- package/src/services/dlc/v20210125/dlc_models.ts +275 -30
- package/src/services/ecm/v20190719/ecm_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +31 -4
- package/src/services/ess/v20201111/ess_models.ts +299 -71
- package/src/services/goosefs/v20220519/goosefs_client.ts +16 -1
- package/src/services/goosefs/v20220519/goosefs_models.ts +48 -3
- package/src/services/live/v20180801/live_client.ts +30 -4
- package/src/services/live/v20180801/live_models.ts +245 -54
- package/src/services/mongodb/v20190725/mongodb_models.ts +1 -1
- package/src/services/tcb/v20180608/tcb_models.ts +6 -1
- package/src/services/vpc/v20170312/vpc_models.ts +5 -0
- package/src/services/waf/v20180125/waf_client.ts +39 -4
- package/src/services/waf/v20180125/waf_models.ts +176 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -6
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +11 -3
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +15 -3
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +232 -28
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +259 -65
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +5 -1
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +6 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +41 -3
- package/tencentcloud/services/live/v20180801/live_client.d.ts +9 -1
- package/tencentcloud/services/live/v20180801/live_client.js +12 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +210 -50
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -3
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +151 -16
- package/test/dlc.v20210125.test.js +22 -2
- package/test/ess.v20201111.test.js +20 -0
- package/test/goosefs.v20220519.test.js +10 -0
- package/test/live.v20180801.test.js +20 -0
- package/test/waf.v20180125.test.js +30 -0
package/products.md
CHANGED
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
16
16
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
|
|
17
17
|
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-12-06 06:16:29 |
|
|
18
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) |
|
|
19
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) |
|
|
18
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-02-06 01:03:29 |
|
|
19
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-02-03 01:03:46 |
|
|
20
20
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
21
21
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
22
22
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-12-09 01:11:02 |
|
|
23
23
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-12-15 01:09:06 |
|
|
24
24
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-08-09 10:42:14 |
|
|
25
|
-
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-
|
|
25
|
+
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-02-03 01:04:31 |
|
|
26
26
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
27
27
|
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-01-11 11:01:36 |
|
|
28
28
|
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-01-17 01:09:15 |
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
65
65
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-02-01 01:13:56 |
|
|
66
66
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
67
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-02-
|
|
68
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-
|
|
67
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-02-03 01:14:29 |
|
|
68
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-02-06 01:16:27 |
|
|
69
69
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
70
70
|
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-02-02 01:16:40 |
|
|
71
71
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-11-23 06:23:05 |
|
|
76
76
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-26 06:29:47 |
|
|
77
77
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-02-02 01:18:41 |
|
|
78
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-02-
|
|
78
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-02-06 01:36:57 |
|
|
79
79
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-02-02 01:23:17 |
|
|
80
80
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-01-10 01:21:29 |
|
|
81
81
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
|
|
86
86
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
|
|
87
87
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
88
|
-
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-
|
|
88
|
+
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-02-06 01:39:29 |
|
|
89
89
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
90
90
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
|
|
91
91
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-02-01 01:23:44 |
|
|
92
92
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-02-01 01:24:04 |
|
|
93
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-02-
|
|
93
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-02-06 01:41:26 |
|
|
94
94
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-02-02 01:28:07 |
|
|
95
95
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-01-12 01:20:14 |
|
|
96
96
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-02-01 01:25:17 |
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
99
99
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-02-01 01:25:50 |
|
|
100
100
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-02-02 01:29:27 |
|
|
101
|
-
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-
|
|
101
|
+
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-02-02 16:45:50 |
|
|
102
102
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
103
103
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-02-01 01:26:49 |
|
|
104
104
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-12-20 01:38:37 |
|
|
122
122
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2022-10-28 11:32:11 |
|
|
123
123
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
|
|
124
|
-
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-02-
|
|
124
|
+
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-02-03 01:30:11 |
|
|
125
125
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-02-02 01:35:45 |
|
|
126
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-02-
|
|
126
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-02-03 01:31:09 |
|
|
127
127
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
128
128
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
129
129
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-01-31 01:40:45 |
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
133
133
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-01-10 01:33:47 |
|
|
134
134
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-11-17 11:16:37 |
|
|
135
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-
|
|
136
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2023-02-
|
|
135
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-02-03 01:32:59 |
|
|
136
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2023-02-06 01:53:07 |
|
|
137
137
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-02-02 01:40:19 |
|
|
138
138
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-12-08 01:38:36 |
|
|
139
139
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-01-11 01:32:47 |
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-01-31 01:44:52 |
|
|
145
145
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-01-10 01:36:47 |
|
|
146
146
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2022-12-07 06:54:25 |
|
|
147
|
-
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-02-
|
|
147
|
+
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-02-03 01:36:28 |
|
|
148
148
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
149
149
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-12-15 01:38:47 |
|
|
150
150
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-12-09 01:52:05 |
|
|
@@ -177,16 +177,16 @@
|
|
|
177
177
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
178
178
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
|
|
179
179
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-01-11 01:39:23 |
|
|
180
|
-
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-02-
|
|
180
|
+
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-02-03 01:42:20 |
|
|
181
181
|
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-23 06:50:39 |
|
|
182
182
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
183
183
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
184
184
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-11-30 06:59:59 |
|
|
185
185
|
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-01-11 01:40:34 |
|
|
186
|
-
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-
|
|
186
|
+
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-02-06 02:04:53 |
|
|
187
187
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
|
|
188
188
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-01-31 01:58:44 |
|
|
189
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-02-02
|
|
189
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-02-06 02:36:08 |
|
|
190
190
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
|
|
191
191
|
| tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-27 02:10:16 |
|
|
192
192
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-01-19 01:54:45 |
|
|
@@ -213,9 +213,9 @@
|
|
|
213
213
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
214
214
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
|
|
215
215
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
216
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-
|
|
217
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-02-
|
|
218
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-02-
|
|
216
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-02-06 02:45:20 |
|
|
217
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-02-06 02:53:59 |
|
|
218
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-02-06 02:56:05 |
|
|
219
219
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
|
|
220
220
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-02-01 02:12:04 |
|
|
221
221
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.532"
|
|
@@ -124,7 +124,7 @@ export interface CreateAsyncRecognitionTaskRequest {
|
|
|
124
124
|
EngineType: string
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
* 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls)
|
|
127
|
+
* 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
|
|
128
128
|
*/
|
|
129
129
|
Url: string
|
|
130
130
|
|
|
@@ -422,7 +422,7 @@ export interface CreateAsyncRecognitionTaskResponse {
|
|
|
422
422
|
/**
|
|
423
423
|
* 请求返回结果,包含本次的任务ID(TaskId)
|
|
424
424
|
*/
|
|
425
|
-
Data
|
|
425
|
+
Data?: Task
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
428
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1643,7 +1643,7 @@ export interface DescribeZoneInstanceConfigInfosResponse {
|
|
|
1643
1643
|
/**
|
|
1644
1644
|
* 可用区机型配置列表。
|
|
1645
1645
|
*/
|
|
1646
|
-
InstanceTypeQuotaSet
|
|
1646
|
+
InstanceTypeQuotaSet?: Array<InstanceTypeQuotaItem>
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2048,7 +2048,7 @@ export interface CreateImageResponse {
|
|
|
2048
2048
|
* 镜像ID
|
|
2049
2049
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2050
2050
|
*/
|
|
2051
|
-
ImageId
|
|
2051
|
+
ImageId?: string
|
|
2052
2052
|
|
|
2053
2053
|
/**
|
|
2054
2054
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4535,10 +4535,6 @@ export interface DescribeZoneInstanceConfigInfosRequest {
|
|
|
4535
4535
|
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 )</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4536
4536
|
<li><strong>sort-keys</strong></li>
|
|
4537
4537
|
<p style="padding-left: 30px;">按关键字进行排序,格式为排序字段加排序方式,中间用冒号分隔。 例如: 按cpu数逆序排序 "cpu:desc", 按mem大小顺序排序 "mem:asc"</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4538
|
-
<li><strong>offset</strong></li>
|
|
4539
|
-
<p style="padding-left: 30px;">按照偏移量进行分页</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4540
|
-
<li><strong>limit</strong></li>
|
|
4541
|
-
<p style="padding-left: 30px;">每页返回的数据条数</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p>
|
|
4542
4538
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
|
4543
4539
|
*/
|
|
4544
4540
|
Filters?: Array<Filter>
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
CreateResultDownloadResponse,
|
|
30
30
|
CreateDMSDatabaseResponse,
|
|
31
31
|
CreateStoreLocationResponse,
|
|
32
|
-
|
|
32
|
+
DescribeNotebookSessionResponse,
|
|
33
33
|
DescribeDMSDatabaseResponse,
|
|
34
34
|
DropDMSDatabaseRequest,
|
|
35
35
|
CreateScriptResponse,
|
|
@@ -73,14 +73,15 @@ import {
|
|
|
73
73
|
AttachWorkGroupPolicyRequest,
|
|
74
74
|
CreateUserResponse,
|
|
75
75
|
DeleteUserResponse,
|
|
76
|
-
|
|
76
|
+
DescribeDatabasesResponse,
|
|
77
77
|
LockComponentInfo,
|
|
78
78
|
DescribeDMSPartitionsRequest,
|
|
79
79
|
DescribeSparkAppJobsRequest,
|
|
80
80
|
CreateDMSTableResponse,
|
|
81
|
+
CreateNotebookSessionRequest,
|
|
81
82
|
Partition,
|
|
82
83
|
CreateTaskRequest,
|
|
83
|
-
|
|
84
|
+
DescribeNotebookSessionRequest,
|
|
84
85
|
CSV,
|
|
85
86
|
CreateTableRequest,
|
|
86
87
|
DescribeWorkGroupsResponse,
|
|
@@ -94,6 +95,7 @@ import {
|
|
|
94
95
|
UserInfo,
|
|
95
96
|
CreateExportTaskRequest,
|
|
96
97
|
ReportHeartbeatMetaDataResponse,
|
|
98
|
+
ReportHeartbeatMetaDataRequest,
|
|
97
99
|
CreateDMSTableRequest,
|
|
98
100
|
DropDMSTableRequest,
|
|
99
101
|
DMSTable,
|
|
@@ -113,6 +115,7 @@ import {
|
|
|
113
115
|
Script,
|
|
114
116
|
AlterDMSTableRequest,
|
|
115
117
|
CreateImportTaskResponse,
|
|
118
|
+
NotebookSessionInfo,
|
|
116
119
|
Execution,
|
|
117
120
|
CreateTableResponse,
|
|
118
121
|
WorkGroupInfo,
|
|
@@ -135,7 +138,8 @@ import {
|
|
|
135
138
|
CreateWorkGroupResponse,
|
|
136
139
|
TaskResultInfo,
|
|
137
140
|
DescribeTablesRequest,
|
|
138
|
-
|
|
141
|
+
ModifySparkAppResponse,
|
|
142
|
+
CreateStoreLocationRequest,
|
|
139
143
|
DMSTableInfo,
|
|
140
144
|
AttachUserPolicyResponse,
|
|
141
145
|
DMSPartition,
|
|
@@ -167,6 +171,7 @@ import {
|
|
|
167
171
|
DescribeWorkGroupsRequest,
|
|
168
172
|
TasksOverview,
|
|
169
173
|
CreateTasksResponse,
|
|
174
|
+
CreateNotebookSessionResponse,
|
|
170
175
|
CreateSparkAppRequest,
|
|
171
176
|
UnbindWorkGroupsFromUserResponse,
|
|
172
177
|
DropDMSPartitionsResponse,
|
|
@@ -259,6 +264,16 @@ export class Client extends AbstractClient {
|
|
|
259
264
|
return this.request("AlterDMSTable", req, cb)
|
|
260
265
|
}
|
|
261
266
|
|
|
267
|
+
/**
|
|
268
|
+
* 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
|
269
|
+
*/
|
|
270
|
+
async DescribeNotebookSession(
|
|
271
|
+
req: DescribeNotebookSessionRequest,
|
|
272
|
+
cb?: (error: string, rep: DescribeNotebookSessionResponse) => void
|
|
273
|
+
): Promise<DescribeNotebookSessionResponse> {
|
|
274
|
+
return this.request("DescribeNotebookSession", req, cb)
|
|
275
|
+
}
|
|
276
|
+
|
|
262
277
|
/**
|
|
263
278
|
* DMS元数据删除库
|
|
264
279
|
*/
|
|
@@ -340,13 +355,13 @@ export class Client extends AbstractClient {
|
|
|
340
355
|
}
|
|
341
356
|
|
|
342
357
|
/**
|
|
343
|
-
*
|
|
358
|
+
* 本接口(CreateNotebookSession)用于创建notebook livy session
|
|
344
359
|
*/
|
|
345
|
-
async
|
|
346
|
-
req:
|
|
347
|
-
cb?: (error: string, rep:
|
|
348
|
-
): Promise<
|
|
349
|
-
return this.request("
|
|
360
|
+
async CreateNotebookSession(
|
|
361
|
+
req: CreateNotebookSessionRequest,
|
|
362
|
+
cb?: (error: string, rep: CreateNotebookSessionResponse) => void
|
|
363
|
+
): Promise<CreateNotebookSessionResponse> {
|
|
364
|
+
return this.request("CreateNotebookSession", req, cb)
|
|
350
365
|
}
|
|
351
366
|
|
|
352
367
|
/**
|
|
@@ -489,6 +504,16 @@ export class Client extends AbstractClient {
|
|
|
489
504
|
return this.request("UnbindWorkGroupsFromUser", req, cb)
|
|
490
505
|
}
|
|
491
506
|
|
|
507
|
+
/**
|
|
508
|
+
* 获取用户列表信息
|
|
509
|
+
*/
|
|
510
|
+
async DescribeUsers(
|
|
511
|
+
req: DescribeUsersRequest,
|
|
512
|
+
cb?: (error: string, rep: DescribeUsersResponse) => void
|
|
513
|
+
): Promise<DescribeUsersResponse> {
|
|
514
|
+
return this.request("DescribeUsers", req, cb)
|
|
515
|
+
}
|
|
516
|
+
|
|
492
517
|
/**
|
|
493
518
|
* 绑定鉴权策略到工作组
|
|
494
519
|
*/
|
|
@@ -305,23 +305,18 @@ export interface CreateStoreLocationResponse {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* DescribeNotebookSession返回参数结构体
|
|
309
309
|
*/
|
|
310
|
-
export interface
|
|
311
|
-
/**
|
|
312
|
-
* 数据源名称
|
|
313
|
-
*/
|
|
314
|
-
DatasourceConnectionName?: string
|
|
315
|
-
|
|
310
|
+
export interface DescribeNotebookSessionResponse {
|
|
316
311
|
/**
|
|
317
|
-
*
|
|
312
|
+
* Session详情信息
|
|
318
313
|
*/
|
|
319
|
-
|
|
314
|
+
Session?: NotebookSessionInfo
|
|
320
315
|
|
|
321
316
|
/**
|
|
322
|
-
*
|
|
317
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
323
318
|
*/
|
|
324
|
-
|
|
319
|
+
RequestId?: string
|
|
325
320
|
}
|
|
326
321
|
|
|
327
322
|
/**
|
|
@@ -1620,13 +1615,23 @@ export interface DeleteUserResponse {
|
|
|
1620
1615
|
}
|
|
1621
1616
|
|
|
1622
1617
|
/**
|
|
1623
|
-
*
|
|
1618
|
+
* DescribeDatabases返回参数结构体
|
|
1624
1619
|
*/
|
|
1625
|
-
export interface
|
|
1620
|
+
export interface DescribeDatabasesResponse {
|
|
1626
1621
|
/**
|
|
1627
|
-
*
|
|
1622
|
+
* 数据库对象列表。
|
|
1628
1623
|
*/
|
|
1629
|
-
|
|
1624
|
+
DatabaseList: Array<DatabaseResponseInfo>
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* 实例总数。
|
|
1628
|
+
*/
|
|
1629
|
+
TotalCount: number
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1633
|
+
*/
|
|
1634
|
+
RequestId?: string
|
|
1630
1635
|
}
|
|
1631
1636
|
|
|
1632
1637
|
/**
|
|
@@ -1789,6 +1794,81 @@ export interface CreateDMSTableResponse {
|
|
|
1789
1794
|
RequestId?: string
|
|
1790
1795
|
}
|
|
1791
1796
|
|
|
1797
|
+
/**
|
|
1798
|
+
* CreateNotebookSession请求参数结构体
|
|
1799
|
+
*/
|
|
1800
|
+
export interface CreateNotebookSessionRequest {
|
|
1801
|
+
/**
|
|
1802
|
+
* Session名称
|
|
1803
|
+
*/
|
|
1804
|
+
Name: string
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* 类型,当前支持:spark、pyspark、sparkr、sql
|
|
1808
|
+
*/
|
|
1809
|
+
Kind: string
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* DLC Spark作业引擎名称
|
|
1813
|
+
*/
|
|
1814
|
+
DataEngineName: string
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* session文件地址,当前支持:cosn://和lakefs://两种路径
|
|
1818
|
+
*/
|
|
1819
|
+
ProgramDependentFiles?: Array<string>
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
|
|
1823
|
+
*/
|
|
1824
|
+
ProgramDependentJars?: Array<string>
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
|
|
1828
|
+
*/
|
|
1829
|
+
ProgramDependentPython?: Array<string>
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
|
|
1833
|
+
*/
|
|
1834
|
+
ProgramArchives?: Array<string>
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1838
|
+
*/
|
|
1839
|
+
DriverSize?: string
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1843
|
+
*/
|
|
1844
|
+
ExecutorSize?: string
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* 指定的Executor数量,默认为1
|
|
1848
|
+
*/
|
|
1849
|
+
ExecutorNumbers?: number
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* Session相关配置,当前支持:dlc.eni、dlc.role.arn、dlc.sql.set.config以及用户指定的配置,注:roleArn必填;
|
|
1853
|
+
*/
|
|
1854
|
+
Arguments?: Array<KVPair>
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* 代理用户,默认为root
|
|
1858
|
+
*/
|
|
1859
|
+
ProxyUser?: string
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
1863
|
+
*/
|
|
1864
|
+
TimeoutInSecond?: number
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
1868
|
+
*/
|
|
1869
|
+
ExecutorMaxNumbers?: number
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1792
1872
|
/**
|
|
1793
1873
|
* 数据表分块信息。
|
|
1794
1874
|
*/
|
|
@@ -1853,13 +1933,13 @@ export interface CreateTaskRequest {
|
|
|
1853
1933
|
}
|
|
1854
1934
|
|
|
1855
1935
|
/**
|
|
1856
|
-
*
|
|
1936
|
+
* DescribeNotebookSession请求参数结构体
|
|
1857
1937
|
*/
|
|
1858
|
-
export interface
|
|
1938
|
+
export interface DescribeNotebookSessionRequest {
|
|
1859
1939
|
/**
|
|
1860
|
-
*
|
|
1940
|
+
* Session唯一标识
|
|
1861
1941
|
*/
|
|
1862
|
-
|
|
1942
|
+
SessionId: string
|
|
1863
1943
|
}
|
|
1864
1944
|
|
|
1865
1945
|
/**
|
|
@@ -2123,6 +2203,26 @@ export interface ReportHeartbeatMetaDataResponse {
|
|
|
2123
2203
|
RequestId?: string
|
|
2124
2204
|
}
|
|
2125
2205
|
|
|
2206
|
+
/**
|
|
2207
|
+
* ReportHeartbeatMetaData请求参数结构体
|
|
2208
|
+
*/
|
|
2209
|
+
export interface ReportHeartbeatMetaDataRequest {
|
|
2210
|
+
/**
|
|
2211
|
+
* 数据源名称
|
|
2212
|
+
*/
|
|
2213
|
+
DatasourceConnectionName?: string
|
|
2214
|
+
|
|
2215
|
+
/**
|
|
2216
|
+
* 锁ID
|
|
2217
|
+
*/
|
|
2218
|
+
LockId?: number
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* 事务ID
|
|
2222
|
+
*/
|
|
2223
|
+
TxnId?: number
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2126
2226
|
/**
|
|
2127
2227
|
* CreateDMSTable请求参数结构体
|
|
2128
2228
|
*/
|
|
@@ -2959,6 +3059,125 @@ export interface CreateImportTaskResponse {
|
|
|
2959
3059
|
RequestId?: string
|
|
2960
3060
|
}
|
|
2961
3061
|
|
|
3062
|
+
/**
|
|
3063
|
+
* Notebook Session详细信息。
|
|
3064
|
+
*/
|
|
3065
|
+
export interface NotebookSessionInfo {
|
|
3066
|
+
/**
|
|
3067
|
+
* Session名称
|
|
3068
|
+
*/
|
|
3069
|
+
Name: string
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* 类型,当前支持:spark、pyspark、sparkr、sql
|
|
3073
|
+
*/
|
|
3074
|
+
Kind: string
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* DLC Spark作业引擎名称
|
|
3078
|
+
*/
|
|
3079
|
+
DataEngineName: string
|
|
3080
|
+
|
|
3081
|
+
/**
|
|
3082
|
+
* Session相关配置,当前支持:eni、roleArn以及用户指定的配置
|
|
3083
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3084
|
+
*/
|
|
3085
|
+
Arguments: Array<KVPair>
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* 运行程序地址,当前支持:cosn://和lakefs://两种路径
|
|
3089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3090
|
+
*/
|
|
3091
|
+
ProgramDependentFiles: Array<string>
|
|
3092
|
+
|
|
3093
|
+
/**
|
|
3094
|
+
* 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
|
|
3095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3096
|
+
*/
|
|
3097
|
+
ProgramDependentJars: Array<string>
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
|
|
3101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3102
|
+
*/
|
|
3103
|
+
ProgramDependentPython: Array<string>
|
|
3104
|
+
|
|
3105
|
+
/**
|
|
3106
|
+
* 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
|
|
3107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3108
|
+
*/
|
|
3109
|
+
ProgramArchives: Array<string>
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
3113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3114
|
+
*/
|
|
3115
|
+
DriverSize: string
|
|
3116
|
+
|
|
3117
|
+
/**
|
|
3118
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
3119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3120
|
+
*/
|
|
3121
|
+
ExecutorSize: string
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* 指定的Executor数量,默认为1
|
|
3125
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3126
|
+
*/
|
|
3127
|
+
ExecutorNumbers: number
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* 代理用户,默认为root
|
|
3131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3132
|
+
*/
|
|
3133
|
+
ProxyUser: string
|
|
3134
|
+
|
|
3135
|
+
/**
|
|
3136
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
3137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3138
|
+
*/
|
|
3139
|
+
TimeoutInSecond: number
|
|
3140
|
+
|
|
3141
|
+
/**
|
|
3142
|
+
* Spark任务返回的AppId
|
|
3143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3144
|
+
*/
|
|
3145
|
+
SparkAppId: string
|
|
3146
|
+
|
|
3147
|
+
/**
|
|
3148
|
+
* Session唯一标识
|
|
3149
|
+
*/
|
|
3150
|
+
SessionId: string
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
|
3154
|
+
*/
|
|
3155
|
+
State: string
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* Session创建时间
|
|
3159
|
+
*/
|
|
3160
|
+
CreateTime: string
|
|
3161
|
+
|
|
3162
|
+
/**
|
|
3163
|
+
* 其它信息
|
|
3164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3165
|
+
*/
|
|
3166
|
+
AppInfo: Array<KVPair>
|
|
3167
|
+
|
|
3168
|
+
/**
|
|
3169
|
+
* Spark ui地址
|
|
3170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3171
|
+
*/
|
|
3172
|
+
SparkUiUrl: string
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
3176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3177
|
+
*/
|
|
3178
|
+
ExecutorMaxNumbers?: number
|
|
3179
|
+
}
|
|
3180
|
+
|
|
2962
3181
|
/**
|
|
2963
3182
|
* SQL语句对象
|
|
2964
3183
|
*/
|
|
@@ -3551,23 +3770,23 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
|
3551
3770
|
}
|
|
3552
3771
|
|
|
3553
3772
|
/**
|
|
3554
|
-
*
|
|
3773
|
+
* ModifySparkApp返回参数结构体
|
|
3555
3774
|
*/
|
|
3556
|
-
export interface
|
|
3557
|
-
/**
|
|
3558
|
-
* 数据库对象列表。
|
|
3559
|
-
*/
|
|
3560
|
-
DatabaseList: Array<DatabaseResponseInfo>
|
|
3561
|
-
|
|
3775
|
+
export interface ModifySparkAppResponse {
|
|
3562
3776
|
/**
|
|
3563
|
-
*
|
|
3777
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3564
3778
|
*/
|
|
3565
|
-
|
|
3779
|
+
RequestId?: string
|
|
3780
|
+
}
|
|
3566
3781
|
|
|
3782
|
+
/**
|
|
3783
|
+
* CreateStoreLocation请求参数结构体
|
|
3784
|
+
*/
|
|
3785
|
+
export interface CreateStoreLocationRequest {
|
|
3567
3786
|
/**
|
|
3568
|
-
*
|
|
3787
|
+
* 计算结果存储cos路径,如:cosn://bucketname/
|
|
3569
3788
|
*/
|
|
3570
|
-
|
|
3789
|
+
StoreLocation: string
|
|
3571
3790
|
}
|
|
3572
3791
|
|
|
3573
3792
|
/**
|
|
@@ -4344,6 +4563,32 @@ export interface CreateTasksResponse {
|
|
|
4344
4563
|
RequestId?: string
|
|
4345
4564
|
}
|
|
4346
4565
|
|
|
4566
|
+
/**
|
|
4567
|
+
* CreateNotebookSession返回参数结构体
|
|
4568
|
+
*/
|
|
4569
|
+
export interface CreateNotebookSessionResponse {
|
|
4570
|
+
/**
|
|
4571
|
+
* Session唯一标识
|
|
4572
|
+
*/
|
|
4573
|
+
SessionId?: string
|
|
4574
|
+
|
|
4575
|
+
/**
|
|
4576
|
+
* Spark任务返回的AppId
|
|
4577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4578
|
+
*/
|
|
4579
|
+
SparkAppId?: string
|
|
4580
|
+
|
|
4581
|
+
/**
|
|
4582
|
+
* Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
|
4583
|
+
*/
|
|
4584
|
+
State?: string
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4588
|
+
*/
|
|
4589
|
+
RequestId?: string
|
|
4590
|
+
}
|
|
4591
|
+
|
|
4347
4592
|
/**
|
|
4348
4593
|
* CreateSparkApp请求参数结构体
|
|
4349
4594
|
*/
|