tencentcloud-sdk-nodejs 4.0.468 → 4.0.469
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 +19 -0
- package/SERVICE_CHANGELOG.md +19 -78
- package/package.json +1 -1
- package/products.md +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/dlc/v20210125/dlc_client.ts +35 -11
- package/src/services/dlc/v20210125/dlc_models.ts +210 -120
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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 +178 -101
- package/test/dlc.v20210125.test.js +22 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# Release 4.0.469
|
|
2
|
+
|
|
3
|
+
## 数据湖计算(dlc) 版本:2021-01-25
|
|
4
|
+
|
|
5
|
+
### 第 33 次发布
|
|
6
|
+
|
|
7
|
+
发布时间:2022-10-27 14:41:42
|
|
8
|
+
|
|
9
|
+
本次发布包含了以下内容:
|
|
10
|
+
|
|
11
|
+
改善已有的文档。
|
|
12
|
+
|
|
13
|
+
新增接口:
|
|
14
|
+
|
|
15
|
+
* [CreateResultDownload](https://cloud.tencent.com/document/api/1342/82008)
|
|
16
|
+
* [DescribeResultDownload](https://cloud.tencent.com/document/api/1342/82007)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
1
20
|
# Release 4.0.468
|
|
2
21
|
|
|
3
22
|
## 弹性 MapReduce(emr) 版本:2019-01-03
|
package/SERVICE_CHANGELOG.md
CHANGED
|
@@ -1,91 +1,19 @@
|
|
|
1
1
|
# 本版本更新包含以下内容:
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
### 第 38 次发布
|
|
6
|
-
|
|
7
|
-
发布时间:2022-10-27 06:31:19
|
|
8
|
-
|
|
9
|
-
本次发布包含了以下内容:
|
|
10
|
-
|
|
11
|
-
改善已有的文档。
|
|
12
|
-
|
|
13
|
-
修改接口:
|
|
14
|
-
|
|
15
|
-
* [ScaleOutInstance](https://cloud.tencent.com/document/api/589/34264)
|
|
16
|
-
|
|
17
|
-
* 新增入参:AutoRenew
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
修改数据结构:
|
|
21
|
-
|
|
22
|
-
* [EmrListInstance](https://cloud.tencent.com/document/api/589/33981#EmrListInstance)
|
|
23
|
-
|
|
24
|
-
* 新增成员:IsHandsCluster
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## 流计算 Oceanus(oceanus) 版本:2019-04-22
|
|
30
|
-
|
|
31
|
-
### 第 27 次发布
|
|
32
|
-
|
|
33
|
-
发布时间:2022-10-27 06:45:50
|
|
34
|
-
|
|
35
|
-
本次发布包含了以下内容:
|
|
36
|
-
|
|
37
|
-
改善已有的文档。
|
|
38
|
-
|
|
39
|
-
修改数据结构:
|
|
40
|
-
|
|
41
|
-
* [WorkSpaceClusterItem](https://cloud.tencent.com/document/api/849/52010#WorkSpaceClusterItem)
|
|
42
|
-
|
|
43
|
-
* 新增成员:ProjectId, ProjectIdStr
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## 高性能计算平台(thpc) 版本:2022-04-01
|
|
49
|
-
|
|
50
|
-
### 第 4 次发布
|
|
51
|
-
|
|
52
|
-
发布时间:2022-10-27 07:00:42
|
|
53
|
-
|
|
54
|
-
本次发布包含了以下内容:
|
|
55
|
-
|
|
56
|
-
改善已有的文档。
|
|
57
|
-
|
|
58
|
-
修改数据结构:
|
|
59
|
-
|
|
60
|
-
* [ClusterOverview](https://cloud.tencent.com/document/api/1527/72108#ClusterOverview)
|
|
61
|
-
|
|
62
|
-
* 新增成员:VpcId
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
## 高性能计算平台(thpc) 版本:2021-11-09
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## 私有网络(vpc) 版本:2017-03-12
|
|
3
|
+
## 数据湖计算(dlc) 版本:2021-01-25
|
|
72
4
|
|
|
73
|
-
### 第
|
|
5
|
+
### 第 33 次发布
|
|
74
6
|
|
|
75
|
-
发布时间:2022-10-27
|
|
7
|
+
发布时间:2022-10-27 14:41:42
|
|
76
8
|
|
|
77
9
|
本次发布包含了以下内容:
|
|
78
10
|
|
|
79
11
|
改善已有的文档。
|
|
80
12
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
* [NetworkInterface](https://cloud.tencent.com/document/api/215/15824#NetworkInterface)
|
|
84
|
-
|
|
85
|
-
* 新增成员:ResourceId
|
|
86
|
-
|
|
87
|
-
* <font color="#dd0000">**修改成员**:</font>NetworkInterfaceId, NetworkInterfaceName, SubnetId, VpcId, MacAddress, State, PrivateIpAddressSet, Ipv6AddressSet, TagSet, EniType, Business, CdcId, AttachType
|
|
13
|
+
新增接口:
|
|
88
14
|
|
|
15
|
+
* [CreateResultDownload](https://cloud.tencent.com/document/api/1342/82008)
|
|
16
|
+
* [DescribeResultDownload](https://cloud.tencent.com/document/api/1342/82007)
|
|
89
17
|
|
|
90
18
|
|
|
91
19
|
|
|
@@ -33321,6 +33249,19 @@
|
|
|
33321
33249
|
|
|
33322
33250
|
## 数据湖计算(dlc) 版本:2021-01-25
|
|
33323
33251
|
|
|
33252
|
+
### 第 33 次发布
|
|
33253
|
+
|
|
33254
|
+
发布时间:2022-10-27 14:41:42
|
|
33255
|
+
|
|
33256
|
+
本次发布包含了以下内容:
|
|
33257
|
+
|
|
33258
|
+
改善已有的文档。
|
|
33259
|
+
|
|
33260
|
+
新增接口:
|
|
33261
|
+
|
|
33262
|
+
* [[CreateResultDownload](https://cloud.tencent.com/document/api/1342/82008)](https://cloud.tencent.com/document/api/#/#)
|
|
33263
|
+
* [[DescribeResultDownload](https://cloud.tencent.com/document/api/1342/82007)](https://cloud.tencent.com/document/api/#/#)
|
|
33264
|
+
|
|
33324
33265
|
### 第 32 次发布
|
|
33325
33266
|
|
|
33326
33267
|
发布时间:2022-09-14 06:20:02
|
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-07-27 06:08:38 |
|
|
74
74
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-26 06:29:47 |
|
|
75
75
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-08-31 06:24:58 |
|
|
76
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-
|
|
76
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-10-27 14:41:42 |
|
|
77
77
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-09-16 06:21:57 |
|
|
78
78
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
|
|
79
79
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.469"
|
|
@@ -18,13 +18,15 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
DescribeResultDownloadResponse,
|
|
21
22
|
DescribeTaskResultResponse,
|
|
22
23
|
AlterDMSTableResponse,
|
|
23
24
|
DescribeDatabasesRequest,
|
|
24
25
|
WorkGroupMessage,
|
|
25
26
|
DeleteUserRequest,
|
|
26
27
|
ListTaskJobLogDetailResponse,
|
|
27
|
-
|
|
28
|
+
Asset,
|
|
29
|
+
CreateResultDownloadResponse,
|
|
28
30
|
CreateDMSDatabaseResponse,
|
|
29
31
|
CreateStoreLocationResponse,
|
|
30
32
|
ReportHeartbeatMetaDataRequest,
|
|
@@ -56,7 +58,7 @@ import {
|
|
|
56
58
|
AlterDMSPartitionRequest,
|
|
57
59
|
ViewBaseInfo,
|
|
58
60
|
CheckLockMetaDataRequest,
|
|
59
|
-
|
|
61
|
+
DescribeSparkAppJobRequest,
|
|
60
62
|
CreateDatabaseResponse,
|
|
61
63
|
DescribeTasksRequest,
|
|
62
64
|
CreateSparkAppTaskRequest,
|
|
@@ -119,7 +121,7 @@ import {
|
|
|
119
121
|
DescribeTaskResultRequest,
|
|
120
122
|
Filter,
|
|
121
123
|
DescribeUsersResponse,
|
|
122
|
-
|
|
124
|
+
DataFormat,
|
|
123
125
|
ViewResponseInfo,
|
|
124
126
|
CreateUserRequest,
|
|
125
127
|
ModifyWorkGroupRequest,
|
|
@@ -133,6 +135,7 @@ import {
|
|
|
133
135
|
DescribeTablesRequest,
|
|
134
136
|
DescribeDatabasesResponse,
|
|
135
137
|
DMSTableInfo,
|
|
138
|
+
AttachUserPolicyResponse,
|
|
136
139
|
DMSPartition,
|
|
137
140
|
DatabaseInfo,
|
|
138
141
|
DescribeDMSPartitionsResponse,
|
|
@@ -173,14 +176,15 @@ import {
|
|
|
173
176
|
SQLTask,
|
|
174
177
|
UserMessage,
|
|
175
178
|
Property,
|
|
176
|
-
|
|
179
|
+
CreateResultDownloadRequest,
|
|
177
180
|
CreateDMSDatabaseRequest,
|
|
178
181
|
DetachWorkGroupPolicyRequest,
|
|
179
182
|
DescribeDMSTableRequest,
|
|
180
183
|
DescribeViewsResponse,
|
|
181
|
-
|
|
184
|
+
DescribeScriptsResponse,
|
|
182
185
|
DatabaseResponseInfo,
|
|
183
186
|
DMSColumn,
|
|
187
|
+
DescribeResultDownloadRequest,
|
|
184
188
|
} from "./dlc_models"
|
|
185
189
|
|
|
186
190
|
/**
|
|
@@ -362,6 +366,16 @@ export class Client extends AbstractClient {
|
|
|
362
366
|
return this.request("DescribeScripts", req, cb)
|
|
363
367
|
}
|
|
364
368
|
|
|
369
|
+
/**
|
|
370
|
+
* 查询具体的spark应用
|
|
371
|
+
*/
|
|
372
|
+
async DescribeSparkAppJob(
|
|
373
|
+
req: DescribeSparkAppJobRequest,
|
|
374
|
+
cb?: (error: string, rep: DescribeSparkAppJobResponse) => void
|
|
375
|
+
): Promise<DescribeSparkAppJobResponse> {
|
|
376
|
+
return this.request("DescribeSparkAppJob", req, cb)
|
|
377
|
+
}
|
|
378
|
+
|
|
365
379
|
/**
|
|
366
380
|
* 删除工作组
|
|
367
381
|
*/
|
|
@@ -382,6 +396,16 @@ export class Client extends AbstractClient {
|
|
|
382
396
|
return this.request("UnlockMetaData", req, cb)
|
|
383
397
|
}
|
|
384
398
|
|
|
399
|
+
/**
|
|
400
|
+
* 查询结果下载任务
|
|
401
|
+
*/
|
|
402
|
+
async DescribeResultDownload(
|
|
403
|
+
req: DescribeResultDownloadRequest,
|
|
404
|
+
cb?: (error: string, rep: DescribeResultDownloadResponse) => void
|
|
405
|
+
): Promise<DescribeResultDownloadResponse> {
|
|
406
|
+
return this.request("DescribeResultDownload", req, cb)
|
|
407
|
+
}
|
|
408
|
+
|
|
385
409
|
/**
|
|
386
410
|
* 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
|
|
387
411
|
*/
|
|
@@ -733,13 +757,13 @@ export class Client extends AbstractClient {
|
|
|
733
757
|
}
|
|
734
758
|
|
|
735
759
|
/**
|
|
736
|
-
*
|
|
760
|
+
* 创建查询结果下载任务
|
|
737
761
|
*/
|
|
738
|
-
async
|
|
739
|
-
req:
|
|
740
|
-
cb?: (error: string, rep:
|
|
741
|
-
): Promise<
|
|
742
|
-
return this.request("
|
|
762
|
+
async CreateResultDownload(
|
|
763
|
+
req: CreateResultDownloadRequest,
|
|
764
|
+
cb?: (error: string, rep: CreateResultDownloadResponse) => void
|
|
765
|
+
): Promise<CreateResultDownloadResponse> {
|
|
766
|
+
return this.request("CreateResultDownload", req, cb)
|
|
743
767
|
}
|
|
744
768
|
|
|
745
769
|
/**
|
|
@@ -15,6 +15,51 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* DescribeResultDownload返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeResultDownloadResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 下载文件路径
|
|
24
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
+
*/
|
|
26
|
+
Path: string
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 任务状态 init | queue | format | compress | success| timeout | error
|
|
30
|
+
*/
|
|
31
|
+
Status: string
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 任务异常原因
|
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
36
|
+
*/
|
|
37
|
+
Reason: string
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 临时AK
|
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
|
+
*/
|
|
43
|
+
SecretId: string
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 临时SK
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
*/
|
|
49
|
+
SecretKey: string
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 临时Token
|
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54
|
+
*/
|
|
55
|
+
Token: string
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
59
|
+
*/
|
|
60
|
+
RequestId?: string
|
|
61
|
+
}
|
|
62
|
+
|
|
18
63
|
/**
|
|
19
64
|
* DescribeTaskResult返回参数结构体
|
|
20
65
|
*/
|
|
@@ -146,18 +191,97 @@ export interface ListTaskJobLogDetailResponse {
|
|
|
146
191
|
}
|
|
147
192
|
|
|
148
193
|
/**
|
|
149
|
-
*
|
|
194
|
+
* 元数据基本对象
|
|
150
195
|
*/
|
|
151
|
-
export interface
|
|
196
|
+
export interface Asset {
|
|
152
197
|
/**
|
|
153
|
-
|
|
198
|
+
* 主键
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
+
*/
|
|
201
|
+
Id?: number
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 名称
|
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
+
*/
|
|
207
|
+
Name?: string
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* 对象GUID值
|
|
211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
212
|
+
*/
|
|
213
|
+
Guid?: string
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* 数据目录
|
|
217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
218
|
+
*/
|
|
219
|
+
Catalog?: string
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* 描述信息
|
|
154
223
|
*/
|
|
155
|
-
|
|
224
|
+
Description?: string
|
|
156
225
|
|
|
157
226
|
/**
|
|
158
|
-
*
|
|
227
|
+
* 对象owner
|
|
159
228
|
*/
|
|
160
|
-
|
|
229
|
+
Owner?: string
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* 对象owner账户
|
|
233
|
+
*/
|
|
234
|
+
OwnerAccount?: string
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* 权限
|
|
238
|
+
*/
|
|
239
|
+
PermValues?: Array<KVPair>
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* 附加属性
|
|
243
|
+
*/
|
|
244
|
+
Params?: Array<KVPair>
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* 附加业务属性
|
|
248
|
+
*/
|
|
249
|
+
BizParams?: Array<KVPair>
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* 数据版本
|
|
253
|
+
*/
|
|
254
|
+
DataVersion?: number
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* 创建时间
|
|
258
|
+
*/
|
|
259
|
+
CreateTime?: string
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* 修改时间
|
|
263
|
+
*/
|
|
264
|
+
ModifiedTime?: string
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* 数据源主键
|
|
268
|
+
*/
|
|
269
|
+
DatasourceId?: number
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* CreateResultDownload返回参数结构体
|
|
274
|
+
*/
|
|
275
|
+
export interface CreateResultDownloadResponse {
|
|
276
|
+
/**
|
|
277
|
+
* 下载任务Id
|
|
278
|
+
*/
|
|
279
|
+
DownloadId: string
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
283
|
+
*/
|
|
284
|
+
RequestId?: string
|
|
161
285
|
}
|
|
162
286
|
|
|
163
287
|
/**
|
|
@@ -1167,82 +1291,18 @@ export interface CheckLockMetaDataRequest {
|
|
|
1167
1291
|
}
|
|
1168
1292
|
|
|
1169
1293
|
/**
|
|
1170
|
-
*
|
|
1294
|
+
* DescribeSparkAppJob请求参数结构体
|
|
1171
1295
|
*/
|
|
1172
|
-
export interface
|
|
1173
|
-
/**
|
|
1174
|
-
* 主键
|
|
1175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1176
|
-
*/
|
|
1177
|
-
Id?: number
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* 名称
|
|
1181
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1182
|
-
*/
|
|
1183
|
-
Name?: string
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* 对象GUID值
|
|
1187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1188
|
-
*/
|
|
1189
|
-
Guid?: string
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* 数据目录
|
|
1193
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
|
-
*/
|
|
1195
|
-
Catalog?: string
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* 描述信息
|
|
1199
|
-
*/
|
|
1200
|
-
Description?: string
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* 对象owner
|
|
1204
|
-
*/
|
|
1205
|
-
Owner?: string
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* 对象owner账户
|
|
1209
|
-
*/
|
|
1210
|
-
OwnerAccount?: string
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* 权限
|
|
1214
|
-
*/
|
|
1215
|
-
PermValues?: Array<KVPair>
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* 附加属性
|
|
1219
|
-
*/
|
|
1220
|
-
Params?: Array<KVPair>
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* 附加业务属性
|
|
1224
|
-
*/
|
|
1225
|
-
BizParams?: Array<KVPair>
|
|
1226
|
-
|
|
1227
|
-
/**
|
|
1228
|
-
* 数据版本
|
|
1229
|
-
*/
|
|
1230
|
-
DataVersion?: number
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* 创建时间
|
|
1234
|
-
*/
|
|
1235
|
-
CreateTime?: string
|
|
1236
|
-
|
|
1296
|
+
export interface DescribeSparkAppJobRequest {
|
|
1237
1297
|
/**
|
|
1238
|
-
*
|
|
1298
|
+
* spark作业Id,与JobName同时存在时,JobName无效
|
|
1239
1299
|
*/
|
|
1240
|
-
|
|
1300
|
+
JobId?: string
|
|
1241
1301
|
|
|
1242
1302
|
/**
|
|
1243
|
-
*
|
|
1303
|
+
* spark作业名
|
|
1244
1304
|
*/
|
|
1245
|
-
|
|
1305
|
+
JobName?: string
|
|
1246
1306
|
}
|
|
1247
1307
|
|
|
1248
1308
|
/**
|
|
@@ -3106,24 +3166,44 @@ export interface DescribeUsersResponse {
|
|
|
3106
3166
|
}
|
|
3107
3167
|
|
|
3108
3168
|
/**
|
|
3109
|
-
*
|
|
3169
|
+
* 数据表数据格式。
|
|
3110
3170
|
*/
|
|
3111
|
-
export interface
|
|
3171
|
+
export interface DataFormat {
|
|
3112
3172
|
/**
|
|
3113
|
-
*
|
|
3173
|
+
* 文本格式,TextFile。
|
|
3114
3174
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3115
3175
|
*/
|
|
3116
|
-
|
|
3176
|
+
TextFile: TextFile
|
|
3117
3177
|
|
|
3118
3178
|
/**
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3179
|
+
* 文本格式,CSV。
|
|
3180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3181
|
+
*/
|
|
3182
|
+
CSV: CSV
|
|
3122
3183
|
|
|
3123
3184
|
/**
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3185
|
+
* 文本格式,Json。
|
|
3186
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3187
|
+
*/
|
|
3188
|
+
Json: Other
|
|
3189
|
+
|
|
3190
|
+
/**
|
|
3191
|
+
* Parquet格式
|
|
3192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3193
|
+
*/
|
|
3194
|
+
Parquet: Other
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* ORC格式
|
|
3198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3199
|
+
*/
|
|
3200
|
+
ORC: Other
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* AVRO格式
|
|
3204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3205
|
+
*/
|
|
3206
|
+
AVRO: Other
|
|
3127
3207
|
}
|
|
3128
3208
|
|
|
3129
3209
|
/**
|
|
@@ -3481,6 +3561,16 @@ export interface DMSTableInfo {
|
|
|
3481
3561
|
Asset: Asset
|
|
3482
3562
|
}
|
|
3483
3563
|
|
|
3564
|
+
/**
|
|
3565
|
+
* AttachUserPolicy返回参数结构体
|
|
3566
|
+
*/
|
|
3567
|
+
export interface AttachUserPolicyResponse {
|
|
3568
|
+
/**
|
|
3569
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3570
|
+
*/
|
|
3571
|
+
RequestId?: string
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3484
3574
|
/**
|
|
3485
3575
|
* 迁移元数据分区对象
|
|
3486
3576
|
*/
|
|
@@ -4560,13 +4650,23 @@ export interface Property {
|
|
|
4560
4650
|
}
|
|
4561
4651
|
|
|
4562
4652
|
/**
|
|
4563
|
-
*
|
|
4653
|
+
* CreateResultDownload请求参数结构体
|
|
4564
4654
|
*/
|
|
4565
|
-
export interface
|
|
4655
|
+
export interface CreateResultDownloadRequest {
|
|
4566
4656
|
/**
|
|
4567
|
-
*
|
|
4657
|
+
* 查询结果任务Id
|
|
4568
4658
|
*/
|
|
4569
|
-
|
|
4659
|
+
TaskId: string
|
|
4660
|
+
|
|
4661
|
+
/**
|
|
4662
|
+
* 下载格式
|
|
4663
|
+
*/
|
|
4664
|
+
Format: string
|
|
4665
|
+
|
|
4666
|
+
/**
|
|
4667
|
+
* 是否重新生成下载文件,仅当之前任务为 Timout | Error 时有效
|
|
4668
|
+
*/
|
|
4669
|
+
Force?: boolean
|
|
4570
4670
|
}
|
|
4571
4671
|
|
|
4572
4672
|
/**
|
|
@@ -4670,44 +4770,24 @@ export interface DescribeViewsResponse {
|
|
|
4670
4770
|
}
|
|
4671
4771
|
|
|
4672
4772
|
/**
|
|
4673
|
-
*
|
|
4773
|
+
* DescribeScripts返回参数结构体
|
|
4674
4774
|
*/
|
|
4675
|
-
export interface
|
|
4676
|
-
/**
|
|
4677
|
-
* 文本格式,TextFile。
|
|
4678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4679
|
-
*/
|
|
4680
|
-
TextFile: TextFile
|
|
4681
|
-
|
|
4682
|
-
/**
|
|
4683
|
-
* 文本格式,CSV。
|
|
4684
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4685
|
-
*/
|
|
4686
|
-
CSV: CSV
|
|
4687
|
-
|
|
4688
|
-
/**
|
|
4689
|
-
* 文本格式,Json。
|
|
4690
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4691
|
-
*/
|
|
4692
|
-
Json: Other
|
|
4693
|
-
|
|
4775
|
+
export interface DescribeScriptsResponse {
|
|
4694
4776
|
/**
|
|
4695
|
-
*
|
|
4777
|
+
* Script列表
|
|
4696
4778
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4697
4779
|
*/
|
|
4698
|
-
|
|
4780
|
+
Scripts: Array<Script>
|
|
4699
4781
|
|
|
4700
4782
|
/**
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
ORC: Other
|
|
4783
|
+
* 实例总数
|
|
4784
|
+
*/
|
|
4785
|
+
TotalCount: number
|
|
4705
4786
|
|
|
4706
4787
|
/**
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
AVRO: Other
|
|
4788
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4789
|
+
*/
|
|
4790
|
+
RequestId?: string
|
|
4711
4791
|
}
|
|
4712
4792
|
|
|
4713
4793
|
/**
|
|
@@ -4808,3 +4888,13 @@ export interface DMSColumn {
|
|
|
4808
4888
|
*/
|
|
4809
4889
|
IsPartition?: boolean
|
|
4810
4890
|
}
|
|
4891
|
+
|
|
4892
|
+
/**
|
|
4893
|
+
* DescribeResultDownload请求参数结构体
|
|
4894
|
+
*/
|
|
4895
|
+
export interface DescribeResultDownloadRequest {
|
|
4896
|
+
/**
|
|
4897
|
+
* 查询任务Id
|
|
4898
|
+
*/
|
|
4899
|
+
DownloadId: string
|
|
4900
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.469";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeTaskResultResponse, AlterDMSTableResponse, DescribeDatabasesRequest, DeleteUserRequest, ListTaskJobLogDetailResponse,
|
|
3
|
+
import { DescribeResultDownloadResponse, DescribeTaskResultResponse, AlterDMSTableResponse, DescribeDatabasesRequest, DeleteUserRequest, ListTaskJobLogDetailResponse, CreateResultDownloadResponse, CreateDMSDatabaseResponse, CreateStoreLocationResponse, ReportHeartbeatMetaDataRequest, DescribeDMSDatabaseResponse, DropDMSDatabaseRequest, CreateScriptResponse, CreateTasksInOrderResponse, DescribeTablesResponse, DeleteSparkAppRequest, ModifyUserResponse, DeleteScriptResponse, DetachUserPolicyRequest, DescribeSparkAppTasksResponse, DescribeTasksResponse, DescribeDMSTableResponse, DropDMSPartitionsRequest, CreateTasksInOrderRequest, AddDMSPartitionsResponse, DetachWorkGroupPolicyResponse, ModifySparkAppRequest, CreateDatabaseRequest, DescribeDMSTablesResponse, AlterDMSPartitionRequest, CheckLockMetaDataRequest, DescribeSparkAppJobRequest, CreateDatabaseResponse, DescribeTasksRequest, CreateSparkAppTaskRequest, DeleteWorkGroupRequest, UnlockMetaDataRequest, AttachUserPolicyRequest, ListTaskJobLogDetailRequest, AttachWorkGroupPolicyRequest, CreateUserResponse, DeleteUserResponse, CreateStoreLocationRequest, DescribeDMSPartitionsRequest, DescribeSparkAppJobsRequest, CreateDMSTableResponse, CreateTaskRequest, ModifySparkAppResponse, CreateTableRequest, DescribeWorkGroupsResponse, CreateImportTaskRequest, DescribeScriptsRequest, DescribeSparkAppJobResponse, DeleteUsersFromWorkGroupResponse, AddUsersToWorkGroupRequest, DescribeStoreLocationRequest, AddUsersToWorkGroupResponse, CreateExportTaskRequest, ReportHeartbeatMetaDataResponse, CreateDMSTableRequest, DropDMSTableRequest, AttachWorkGroupPolicyResponse, ModifyWorkGroupResponse, DescribeDMSTablesRequest, ModifyUserRequest, CreateSparkAppTaskResponse, CancelTaskRequest, BindWorkGroupsToUserResponse, DescribeStoreLocationResponse, DeleteScriptRequest, AddDMSPartitionsRequest, AlterDMSTableRequest, CreateImportTaskResponse, CreateTableResponse, CreateScriptRequest, BindWorkGroupsToUserRequest, DescribeTaskResultRequest, DescribeUsersResponse, CreateUserRequest, ModifyWorkGroupRequest, CancelTaskResponse, UnlockMetaDataResponse, DeleteWorkGroupResponse, DropDMSTableResponse, CreateWorkGroupResponse, DescribeTablesRequest, DescribeDatabasesResponse, AttachUserPolicyResponse, DescribeDMSPartitionsResponse, CreateExportTaskResponse, UnbindWorkGroupsFromUserRequest, DescribeDMSDatabaseRequest, DescribeTableRequest, DropDMSDatabaseResponse, DescribeUsersRequest, DeleteUsersFromWorkGroupRequest, CreateSparkAppResponse, CreateTaskResponse, DeleteSparkAppResponse, AlterDMSPartitionResponse, CreateTasksRequest, DescribeTableResponse, DescribeSparkAppJobsResponse, DescribeViewsRequest, LockMetaDataRequest, DetachUserPolicyResponse, DescribeWorkGroupsRequest, CreateTasksResponse, CreateSparkAppRequest, UnbindWorkGroupsFromUserResponse, DropDMSPartitionsResponse, AlterDMSDatabaseResponse, CreateWorkGroupRequest, DescribeSparkAppTasksRequest, LockMetaDataResponse, CheckLockMetaDataResponse, AlterDMSDatabaseRequest, CreateResultDownloadRequest, CreateDMSDatabaseRequest, DetachWorkGroupPolicyRequest, DescribeDMSTableRequest, DescribeViewsResponse, DescribeScriptsResponse, DescribeResultDownloadRequest } from "./dlc_models";
|
|
4
4
|
/**
|
|
5
5
|
* dlc client
|
|
6
6
|
* @class
|
|
@@ -75,6 +75,10 @@ export declare class Client extends AbstractClient {
|
|
|
75
75
|
* 该接口(DescribeScripts)用于获取所有SQL查询。
|
|
76
76
|
*/
|
|
77
77
|
DescribeScripts(req: DescribeScriptsRequest, cb?: (error: string, rep: DescribeScriptsResponse) => void): Promise<DescribeScriptsResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* 查询具体的spark应用
|
|
80
|
+
*/
|
|
81
|
+
DescribeSparkAppJob(req: DescribeSparkAppJobRequest, cb?: (error: string, rep: DescribeSparkAppJobResponse) => void): Promise<DescribeSparkAppJobResponse>;
|
|
78
82
|
/**
|
|
79
83
|
* 删除工作组
|
|
80
84
|
*/
|
|
@@ -83,6 +87,10 @@ export declare class Client extends AbstractClient {
|
|
|
83
87
|
* 元数据解锁
|
|
84
88
|
*/
|
|
85
89
|
UnlockMetaData(req: UnlockMetaDataRequest, cb?: (error: string, rep: UnlockMetaDataResponse) => void): Promise<UnlockMetaDataResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 查询结果下载任务
|
|
92
|
+
*/
|
|
93
|
+
DescribeResultDownload(req: DescribeResultDownloadRequest, cb?: (error: string, rep: DescribeResultDownloadResponse) => void): Promise<DescribeResultDownloadResponse>;
|
|
86
94
|
/**
|
|
87
95
|
* 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
|
|
88
96
|
*/
|
|
@@ -224,9 +232,9 @@ export declare class Client extends AbstractClient {
|
|
|
224
232
|
*/
|
|
225
233
|
CreateDMSTable(req: CreateDMSTableRequest, cb?: (error: string, rep: CreateDMSTableResponse) => void): Promise<CreateDMSTableResponse>;
|
|
226
234
|
/**
|
|
227
|
-
*
|
|
235
|
+
* 创建查询结果下载任务
|
|
228
236
|
*/
|
|
229
|
-
|
|
237
|
+
CreateResultDownload(req: CreateResultDownloadRequest, cb?: (error: string, rep: CreateResultDownloadResponse) => void): Promise<CreateResultDownloadResponse>;
|
|
230
238
|
/**
|
|
231
239
|
* 查询spark应用的运行任务实例列表
|
|
232
240
|
*/
|
|
@@ -129,6 +129,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
129
129
|
async DescribeScripts(req, cb) {
|
|
130
130
|
return this.request("DescribeScripts", req, cb);
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* 查询具体的spark应用
|
|
134
|
+
*/
|
|
135
|
+
async DescribeSparkAppJob(req, cb) {
|
|
136
|
+
return this.request("DescribeSparkAppJob", req, cb);
|
|
137
|
+
}
|
|
132
138
|
/**
|
|
133
139
|
* 删除工作组
|
|
134
140
|
*/
|
|
@@ -141,6 +147,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
141
147
|
async UnlockMetaData(req, cb) {
|
|
142
148
|
return this.request("UnlockMetaData", req, cb);
|
|
143
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* 查询结果下载任务
|
|
152
|
+
*/
|
|
153
|
+
async DescribeResultDownload(req, cb) {
|
|
154
|
+
return this.request("DescribeResultDownload", req, cb);
|
|
155
|
+
}
|
|
144
156
|
/**
|
|
145
157
|
* 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
|
|
146
158
|
*/
|
|
@@ -352,10 +364,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
352
364
|
return this.request("CreateDMSTable", req, cb);
|
|
353
365
|
}
|
|
354
366
|
/**
|
|
355
|
-
*
|
|
367
|
+
* 创建查询结果下载任务
|
|
356
368
|
*/
|
|
357
|
-
async
|
|
358
|
-
return this.request("
|
|
369
|
+
async CreateResultDownload(req, cb) {
|
|
370
|
+
return this.request("CreateResultDownload", req, cb);
|
|
359
371
|
}
|
|
360
372
|
/**
|
|
361
373
|
* 查询spark应用的运行任务实例列表
|
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DescribeResultDownload返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface DescribeResultDownloadResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 下载文件路径
|
|
7
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
+
*/
|
|
9
|
+
Path: string;
|
|
10
|
+
/**
|
|
11
|
+
* 任务状态 init | queue | format | compress | success| timeout | error
|
|
12
|
+
*/
|
|
13
|
+
Status: string;
|
|
14
|
+
/**
|
|
15
|
+
* 任务异常原因
|
|
16
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17
|
+
*/
|
|
18
|
+
Reason: string;
|
|
19
|
+
/**
|
|
20
|
+
* 临时AK
|
|
21
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22
|
+
*/
|
|
23
|
+
SecretId: string;
|
|
24
|
+
/**
|
|
25
|
+
* 临时SK
|
|
26
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27
|
+
*/
|
|
28
|
+
SecretKey: string;
|
|
29
|
+
/**
|
|
30
|
+
* 临时Token
|
|
31
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
32
|
+
*/
|
|
33
|
+
Token: string;
|
|
34
|
+
/**
|
|
35
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
36
|
+
*/
|
|
37
|
+
RequestId?: string;
|
|
38
|
+
}
|
|
1
39
|
/**
|
|
2
40
|
* DescribeTaskResult返回参数结构体
|
|
3
41
|
*/
|
|
@@ -110,17 +148,82 @@ export interface ListTaskJobLogDetailResponse {
|
|
|
110
148
|
RequestId?: string;
|
|
111
149
|
}
|
|
112
150
|
/**
|
|
113
|
-
*
|
|
151
|
+
* 元数据基本对象
|
|
114
152
|
*/
|
|
115
|
-
export interface
|
|
153
|
+
export interface Asset {
|
|
116
154
|
/**
|
|
117
|
-
*
|
|
155
|
+
* 主键
|
|
156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
118
157
|
*/
|
|
119
|
-
|
|
158
|
+
Id?: number;
|
|
120
159
|
/**
|
|
121
|
-
*
|
|
160
|
+
* 名称
|
|
161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
122
162
|
*/
|
|
123
|
-
|
|
163
|
+
Name?: string;
|
|
164
|
+
/**
|
|
165
|
+
* 对象GUID值
|
|
166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
167
|
+
*/
|
|
168
|
+
Guid?: string;
|
|
169
|
+
/**
|
|
170
|
+
* 数据目录
|
|
171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
172
|
+
*/
|
|
173
|
+
Catalog?: string;
|
|
174
|
+
/**
|
|
175
|
+
* 描述信息
|
|
176
|
+
*/
|
|
177
|
+
Description?: string;
|
|
178
|
+
/**
|
|
179
|
+
* 对象owner
|
|
180
|
+
*/
|
|
181
|
+
Owner?: string;
|
|
182
|
+
/**
|
|
183
|
+
* 对象owner账户
|
|
184
|
+
*/
|
|
185
|
+
OwnerAccount?: string;
|
|
186
|
+
/**
|
|
187
|
+
* 权限
|
|
188
|
+
*/
|
|
189
|
+
PermValues?: Array<KVPair>;
|
|
190
|
+
/**
|
|
191
|
+
* 附加属性
|
|
192
|
+
*/
|
|
193
|
+
Params?: Array<KVPair>;
|
|
194
|
+
/**
|
|
195
|
+
* 附加业务属性
|
|
196
|
+
*/
|
|
197
|
+
BizParams?: Array<KVPair>;
|
|
198
|
+
/**
|
|
199
|
+
* 数据版本
|
|
200
|
+
*/
|
|
201
|
+
DataVersion?: number;
|
|
202
|
+
/**
|
|
203
|
+
* 创建时间
|
|
204
|
+
*/
|
|
205
|
+
CreateTime?: string;
|
|
206
|
+
/**
|
|
207
|
+
* 修改时间
|
|
208
|
+
*/
|
|
209
|
+
ModifiedTime?: string;
|
|
210
|
+
/**
|
|
211
|
+
* 数据源主键
|
|
212
|
+
*/
|
|
213
|
+
DatasourceId?: number;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* CreateResultDownload返回参数结构体
|
|
217
|
+
*/
|
|
218
|
+
export interface CreateResultDownloadResponse {
|
|
219
|
+
/**
|
|
220
|
+
* 下载任务Id
|
|
221
|
+
*/
|
|
222
|
+
DownloadId: string;
|
|
223
|
+
/**
|
|
224
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
225
|
+
*/
|
|
226
|
+
RequestId?: string;
|
|
124
227
|
}
|
|
125
228
|
/**
|
|
126
229
|
* CreateDMSDatabase返回参数结构体
|
|
@@ -966,69 +1069,17 @@ export interface CheckLockMetaDataRequest {
|
|
|
966
1069
|
ElapsedMs?: number;
|
|
967
1070
|
}
|
|
968
1071
|
/**
|
|
969
|
-
*
|
|
1072
|
+
* DescribeSparkAppJob请求参数结构体
|
|
970
1073
|
*/
|
|
971
|
-
export interface
|
|
972
|
-
/**
|
|
973
|
-
* 主键
|
|
974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
975
|
-
*/
|
|
976
|
-
Id?: number;
|
|
977
|
-
/**
|
|
978
|
-
* 名称
|
|
979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
980
|
-
*/
|
|
981
|
-
Name?: string;
|
|
982
|
-
/**
|
|
983
|
-
* 对象GUID值
|
|
984
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
985
|
-
*/
|
|
986
|
-
Guid?: string;
|
|
987
|
-
/**
|
|
988
|
-
* 数据目录
|
|
989
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
990
|
-
*/
|
|
991
|
-
Catalog?: string;
|
|
992
|
-
/**
|
|
993
|
-
* 描述信息
|
|
994
|
-
*/
|
|
995
|
-
Description?: string;
|
|
996
|
-
/**
|
|
997
|
-
* 对象owner
|
|
998
|
-
*/
|
|
999
|
-
Owner?: string;
|
|
1000
|
-
/**
|
|
1001
|
-
* 对象owner账户
|
|
1002
|
-
*/
|
|
1003
|
-
OwnerAccount?: string;
|
|
1004
|
-
/**
|
|
1005
|
-
* 权限
|
|
1006
|
-
*/
|
|
1007
|
-
PermValues?: Array<KVPair>;
|
|
1008
|
-
/**
|
|
1009
|
-
* 附加属性
|
|
1010
|
-
*/
|
|
1011
|
-
Params?: Array<KVPair>;
|
|
1012
|
-
/**
|
|
1013
|
-
* 附加业务属性
|
|
1014
|
-
*/
|
|
1015
|
-
BizParams?: Array<KVPair>;
|
|
1016
|
-
/**
|
|
1017
|
-
* 数据版本
|
|
1018
|
-
*/
|
|
1019
|
-
DataVersion?: number;
|
|
1020
|
-
/**
|
|
1021
|
-
* 创建时间
|
|
1022
|
-
*/
|
|
1023
|
-
CreateTime?: string;
|
|
1074
|
+
export interface DescribeSparkAppJobRequest {
|
|
1024
1075
|
/**
|
|
1025
|
-
*
|
|
1076
|
+
* spark作业Id,与JobName同时存在时,JobName无效
|
|
1026
1077
|
*/
|
|
1027
|
-
|
|
1078
|
+
JobId?: string;
|
|
1028
1079
|
/**
|
|
1029
|
-
*
|
|
1080
|
+
* spark作业名
|
|
1030
1081
|
*/
|
|
1031
|
-
|
|
1082
|
+
JobName?: string;
|
|
1032
1083
|
}
|
|
1033
1084
|
/**
|
|
1034
1085
|
* CreateDatabase返回参数结构体
|
|
@@ -2599,22 +2650,39 @@ export interface DescribeUsersResponse {
|
|
|
2599
2650
|
RequestId?: string;
|
|
2600
2651
|
}
|
|
2601
2652
|
/**
|
|
2602
|
-
*
|
|
2653
|
+
* 数据表数据格式。
|
|
2603
2654
|
*/
|
|
2604
|
-
export interface
|
|
2655
|
+
export interface DataFormat {
|
|
2605
2656
|
/**
|
|
2606
|
-
*
|
|
2657
|
+
* 文本格式,TextFile。
|
|
2607
2658
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2608
2659
|
*/
|
|
2609
|
-
|
|
2660
|
+
TextFile: TextFile;
|
|
2610
2661
|
/**
|
|
2611
|
-
*
|
|
2662
|
+
* 文本格式,CSV。
|
|
2663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2612
2664
|
*/
|
|
2613
|
-
|
|
2665
|
+
CSV: CSV;
|
|
2614
2666
|
/**
|
|
2615
|
-
*
|
|
2667
|
+
* 文本格式,Json。
|
|
2668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2616
2669
|
*/
|
|
2617
|
-
|
|
2670
|
+
Json: Other;
|
|
2671
|
+
/**
|
|
2672
|
+
* Parquet格式
|
|
2673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2674
|
+
*/
|
|
2675
|
+
Parquet: Other;
|
|
2676
|
+
/**
|
|
2677
|
+
* ORC格式
|
|
2678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2679
|
+
*/
|
|
2680
|
+
ORC: Other;
|
|
2681
|
+
/**
|
|
2682
|
+
* AVRO格式
|
|
2683
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2684
|
+
*/
|
|
2685
|
+
AVRO: Other;
|
|
2618
2686
|
}
|
|
2619
2687
|
/**
|
|
2620
2688
|
* 查询视图信息对象
|
|
@@ -2915,6 +2983,15 @@ export interface DMSTableInfo {
|
|
|
2915
2983
|
*/
|
|
2916
2984
|
Asset: Asset;
|
|
2917
2985
|
}
|
|
2986
|
+
/**
|
|
2987
|
+
* AttachUserPolicy返回参数结构体
|
|
2988
|
+
*/
|
|
2989
|
+
export interface AttachUserPolicyResponse {
|
|
2990
|
+
/**
|
|
2991
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2992
|
+
*/
|
|
2993
|
+
RequestId?: string;
|
|
2994
|
+
}
|
|
2918
2995
|
/**
|
|
2919
2996
|
* 迁移元数据分区对象
|
|
2920
2997
|
*/
|
|
@@ -3825,13 +3902,21 @@ export interface Property {
|
|
|
3825
3902
|
Value: string;
|
|
3826
3903
|
}
|
|
3827
3904
|
/**
|
|
3828
|
-
*
|
|
3905
|
+
* CreateResultDownload请求参数结构体
|
|
3829
3906
|
*/
|
|
3830
|
-
export interface
|
|
3907
|
+
export interface CreateResultDownloadRequest {
|
|
3831
3908
|
/**
|
|
3832
|
-
*
|
|
3909
|
+
* 查询结果任务Id
|
|
3833
3910
|
*/
|
|
3834
|
-
|
|
3911
|
+
TaskId: string;
|
|
3912
|
+
/**
|
|
3913
|
+
* 下载格式
|
|
3914
|
+
*/
|
|
3915
|
+
Format: string;
|
|
3916
|
+
/**
|
|
3917
|
+
* 是否重新生成下载文件,仅当之前任务为 Timout | Error 时有效
|
|
3918
|
+
*/
|
|
3919
|
+
Force?: boolean;
|
|
3835
3920
|
}
|
|
3836
3921
|
/**
|
|
3837
3922
|
* CreateDMSDatabase请求参数结构体
|
|
@@ -3918,39 +4003,22 @@ export interface DescribeViewsResponse {
|
|
|
3918
4003
|
RequestId?: string;
|
|
3919
4004
|
}
|
|
3920
4005
|
/**
|
|
3921
|
-
*
|
|
4006
|
+
* DescribeScripts返回参数结构体
|
|
3922
4007
|
*/
|
|
3923
|
-
export interface
|
|
3924
|
-
/**
|
|
3925
|
-
* 文本格式,TextFile。
|
|
3926
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3927
|
-
*/
|
|
3928
|
-
TextFile: TextFile;
|
|
3929
|
-
/**
|
|
3930
|
-
* 文本格式,CSV。
|
|
3931
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3932
|
-
*/
|
|
3933
|
-
CSV: CSV;
|
|
3934
|
-
/**
|
|
3935
|
-
* 文本格式,Json。
|
|
3936
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3937
|
-
*/
|
|
3938
|
-
Json: Other;
|
|
4008
|
+
export interface DescribeScriptsResponse {
|
|
3939
4009
|
/**
|
|
3940
|
-
*
|
|
4010
|
+
* Script列表
|
|
3941
4011
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3942
4012
|
*/
|
|
3943
|
-
|
|
4013
|
+
Scripts: Array<Script>;
|
|
3944
4014
|
/**
|
|
3945
|
-
*
|
|
3946
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4015
|
+
* 实例总数
|
|
3947
4016
|
*/
|
|
3948
|
-
|
|
4017
|
+
TotalCount: number;
|
|
3949
4018
|
/**
|
|
3950
|
-
*
|
|
3951
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4019
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3952
4020
|
*/
|
|
3953
|
-
|
|
4021
|
+
RequestId?: string;
|
|
3954
4022
|
}
|
|
3955
4023
|
/**
|
|
3956
4024
|
* 数据库对象
|
|
@@ -4036,3 +4104,12 @@ export interface DMSColumn {
|
|
|
4036
4104
|
*/
|
|
4037
4105
|
IsPartition?: boolean;
|
|
4038
4106
|
}
|
|
4107
|
+
/**
|
|
4108
|
+
* DescribeResultDownload请求参数结构体
|
|
4109
|
+
*/
|
|
4110
|
+
export interface DescribeResultDownloadRequest {
|
|
4111
|
+
/**
|
|
4112
|
+
* 查询任务Id
|
|
4113
|
+
*/
|
|
4114
|
+
DownloadId: string;
|
|
4115
|
+
}
|
|
@@ -188,6 +188,16 @@ it("dlc.v20210125.DescribeScripts", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("dlc.v20210125.DescribeSparkAppJob", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeSparkAppJob({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
191
201
|
it("dlc.v20210125.DeleteWorkGroup", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.DeleteWorkGroup({})
|
|
@@ -208,6 +218,16 @@ it("dlc.v20210125.UnlockMetaData", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
221
|
+
it("dlc.v20210125.DescribeResultDownload", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeResultDownload({})
|
|
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
|
+
|
|
211
231
|
it("dlc.v20210125.CreateStoreLocation", async function () {
|
|
212
232
|
try {
|
|
213
233
|
const data = await client.CreateStoreLocation({})
|
|
@@ -558,9 +578,9 @@ it("dlc.v20210125.CreateDMSTable", async function () {
|
|
|
558
578
|
}
|
|
559
579
|
})
|
|
560
580
|
|
|
561
|
-
it("dlc.v20210125.
|
|
581
|
+
it("dlc.v20210125.CreateResultDownload", async function () {
|
|
562
582
|
try {
|
|
563
|
-
const data = await client.
|
|
583
|
+
const data = await client.CreateResultDownload({})
|
|
564
584
|
expect(data).to.be.ok
|
|
565
585
|
} catch(error) {
|
|
566
586
|
expect(error.requestId).to.be.ok
|