tencentcloud-sdk-nodejs-dlc 4.0.348 → 4.0.349
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 +53 -0
- package/SERVICE_CHANGELOG.md +78 -41
- package/package.json +1 -1
- package/products.md +5 -5
- package/src/services/dlc/v20210125/dlc_client.ts +102 -16
- package/src/services/dlc/v20210125/dlc_models.ts +845 -231
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +31 -3
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +45 -3
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +686 -178
|
@@ -107,6 +107,21 @@ export interface DeleteUserRequest {
|
|
|
107
107
|
UserIds: Array<string>
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* DescribeSparkAppJob请求参数结构体
|
|
112
|
+
*/
|
|
113
|
+
export interface DescribeSparkAppJobRequest {
|
|
114
|
+
/**
|
|
115
|
+
* spark作业Id,与JobName同时存在时,JobName无效
|
|
116
|
+
*/
|
|
117
|
+
JobId?: string
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* spark作业名
|
|
121
|
+
*/
|
|
122
|
+
JobName?: string
|
|
123
|
+
}
|
|
124
|
+
|
|
110
125
|
/**
|
|
111
126
|
* CreateStoreLocation返回参数结构体
|
|
112
127
|
*/
|
|
@@ -168,51 +183,150 @@ export interface DescribeTablesResponse {
|
|
|
168
183
|
}
|
|
169
184
|
|
|
170
185
|
/**
|
|
171
|
-
*
|
|
186
|
+
* spark作业详情
|
|
172
187
|
*/
|
|
173
|
-
export interface
|
|
188
|
+
export interface SparkJobInfo {
|
|
174
189
|
/**
|
|
175
|
-
*
|
|
190
|
+
* spark作业ID
|
|
176
191
|
*/
|
|
177
|
-
|
|
192
|
+
JobId: string
|
|
178
193
|
|
|
179
194
|
/**
|
|
180
|
-
*
|
|
195
|
+
* spark作业名
|
|
181
196
|
*/
|
|
182
|
-
|
|
197
|
+
JobName: string
|
|
183
198
|
|
|
184
199
|
/**
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
WorkGroupDescription: string
|
|
200
|
+
* spark作业类型,可去1或者2,1表示batch作业, 2表示streaming作业
|
|
201
|
+
*/
|
|
202
|
+
JobType: number
|
|
189
203
|
|
|
190
204
|
/**
|
|
191
|
-
*
|
|
205
|
+
* 引擎名
|
|
192
206
|
*/
|
|
193
|
-
|
|
207
|
+
DataEngine: string
|
|
194
208
|
|
|
195
209
|
/**
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
UserSet: Array<UserMessage>
|
|
210
|
+
* 该字段已下线,请使用字段Datasource
|
|
211
|
+
*/
|
|
212
|
+
Eni: string
|
|
200
213
|
|
|
201
214
|
/**
|
|
202
|
-
|
|
215
|
+
* 程序包是否本地上传,cos或者lakefs
|
|
216
|
+
*/
|
|
217
|
+
IsLocal: string
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* 程序包路径
|
|
221
|
+
*/
|
|
222
|
+
JobFile: string
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* 角色ID
|
|
226
|
+
*/
|
|
227
|
+
RoleArn: number
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* spark作业运行主类
|
|
231
|
+
*/
|
|
232
|
+
MainClass: string
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* 命令行参数,spark作业命令行参数,空格分隔
|
|
236
|
+
*/
|
|
237
|
+
CmdArgs: string
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* spark原生配置,换行符分隔
|
|
241
|
+
*/
|
|
242
|
+
JobConf: string
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* 依赖jars是否本地上传,cos或者lakefs
|
|
246
|
+
*/
|
|
247
|
+
IsLocalJars: string
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* spark作业依赖jars,逗号分隔
|
|
251
|
+
*/
|
|
252
|
+
JobJars: string
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* 依赖文件是否本地上传,cos或者lakefs
|
|
256
|
+
*/
|
|
257
|
+
IsLocalFiles: string
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* spark作业依赖文件,逗号分隔
|
|
261
|
+
*/
|
|
262
|
+
JobFiles: string
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* spark作业driver资源大小
|
|
266
|
+
*/
|
|
267
|
+
JobDriverSize: string
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* spark作业executor资源大小
|
|
271
|
+
*/
|
|
272
|
+
JobExecutorSize: string
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* spark作业executor个数
|
|
276
|
+
*/
|
|
277
|
+
JobExecutorNums: number
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* spark流任务最大重试次数
|
|
281
|
+
*/
|
|
282
|
+
JobMaxAttempts: number
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* spark作业创建者
|
|
286
|
+
*/
|
|
287
|
+
JobCreator: string
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* spark作业创建时间
|
|
291
|
+
*/
|
|
292
|
+
JobCreateTime: number
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* spark作业更新时间
|
|
296
|
+
*/
|
|
297
|
+
JobUpdateTime: number
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* spark作业最近任务ID
|
|
301
|
+
*/
|
|
302
|
+
CurrentTaskId: string
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* spark作业最近运行状态
|
|
306
|
+
*/
|
|
307
|
+
JobStatus: number
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* spark流作业统计
|
|
203
311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
204
312
|
*/
|
|
205
|
-
|
|
313
|
+
StreamingStat: StreamingStatistics
|
|
206
314
|
|
|
207
315
|
/**
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
316
|
+
* 数据源名
|
|
317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
318
|
+
*/
|
|
319
|
+
DataSource: string
|
|
320
|
+
}
|
|
211
321
|
|
|
322
|
+
/**
|
|
323
|
+
* DeleteSparkApp请求参数结构体
|
|
324
|
+
*/
|
|
325
|
+
export interface DeleteSparkAppRequest {
|
|
212
326
|
/**
|
|
213
|
-
*
|
|
327
|
+
* spark应用名
|
|
214
328
|
*/
|
|
215
|
-
|
|
329
|
+
AppName: string
|
|
216
330
|
}
|
|
217
331
|
|
|
218
332
|
/**
|
|
@@ -240,6 +354,36 @@ export interface DeleteScriptResponse {
|
|
|
240
354
|
RequestId?: string
|
|
241
355
|
}
|
|
242
356
|
|
|
357
|
+
/**
|
|
358
|
+
* 返回数据表的相关信息。
|
|
359
|
+
*/
|
|
360
|
+
export interface TableInfo {
|
|
361
|
+
/**
|
|
362
|
+
* 数据表配置信息。
|
|
363
|
+
*/
|
|
364
|
+
TableBaseInfo: TableBaseInfo
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。
|
|
368
|
+
*/
|
|
369
|
+
DataFormat: DataFormat
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* 数据表列信息。
|
|
373
|
+
*/
|
|
374
|
+
Columns: Array<Column>
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* 数据表分块信息。
|
|
378
|
+
*/
|
|
379
|
+
Partitions: Array<Partition>
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。
|
|
383
|
+
*/
|
|
384
|
+
Location: string
|
|
385
|
+
}
|
|
386
|
+
|
|
243
387
|
/**
|
|
244
388
|
* 任务类型,任务如SQL查询等。
|
|
245
389
|
*/
|
|
@@ -271,33 +415,24 @@ export interface DetachUserPolicyRequest {
|
|
|
271
415
|
}
|
|
272
416
|
|
|
273
417
|
/**
|
|
274
|
-
*
|
|
418
|
+
* DescribeSparkAppTasks返回参数结构体
|
|
275
419
|
*/
|
|
276
|
-
export interface
|
|
420
|
+
export interface DescribeSparkAppTasksResponse {
|
|
277
421
|
/**
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。
|
|
284
|
-
*/
|
|
285
|
-
DataFormat: DataFormat
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* 数据表列信息。
|
|
289
|
-
*/
|
|
290
|
-
Columns: Array<Column>
|
|
422
|
+
* 任务列表
|
|
423
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
424
|
+
*/
|
|
425
|
+
Tasks: TaskResponseInfo
|
|
291
426
|
|
|
292
427
|
/**
|
|
293
|
-
*
|
|
428
|
+
* 任务总数
|
|
294
429
|
*/
|
|
295
|
-
|
|
430
|
+
TotalCount: number
|
|
296
431
|
|
|
297
432
|
/**
|
|
298
|
-
*
|
|
433
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
299
434
|
*/
|
|
300
|
-
|
|
435
|
+
RequestId?: string
|
|
301
436
|
}
|
|
302
437
|
|
|
303
438
|
/**
|
|
@@ -351,64 +486,128 @@ export interface DetachWorkGroupPolicyResponse {
|
|
|
351
486
|
}
|
|
352
487
|
|
|
353
488
|
/**
|
|
354
|
-
*
|
|
489
|
+
* CSV序列化及反序列化数据结构
|
|
355
490
|
*/
|
|
356
|
-
export interface
|
|
491
|
+
export interface CSVSerde {
|
|
357
492
|
/**
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
TextFile: TextFile
|
|
493
|
+
* CSV序列化转义符,默认为"\\",最长8个字符,如 Escape: "/\"
|
|
494
|
+
*/
|
|
495
|
+
Escape?: string
|
|
362
496
|
|
|
363
497
|
/**
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
CSV: CSV
|
|
498
|
+
* CSV序列化字段域符,默认为"'",最长8个字符, 如 Quote: "\""
|
|
499
|
+
*/
|
|
500
|
+
Quote?: string
|
|
368
501
|
|
|
369
502
|
/**
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
503
|
+
* CSV序列化分隔符,默认为"\t",最长8个字符, 如 Separator: "\t"
|
|
504
|
+
*/
|
|
505
|
+
Separator?: string
|
|
506
|
+
}
|
|
374
507
|
|
|
508
|
+
/**
|
|
509
|
+
* ModifySparkApp请求参数结构体
|
|
510
|
+
*/
|
|
511
|
+
export interface ModifySparkAppRequest {
|
|
375
512
|
/**
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
Parquet: Other
|
|
513
|
+
* spark应用名
|
|
514
|
+
*/
|
|
515
|
+
AppName: string
|
|
380
516
|
|
|
381
517
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
ORC: Other
|
|
518
|
+
* 1代表spark jar应用,2代表spark streaming应用
|
|
519
|
+
*/
|
|
520
|
+
AppType: number
|
|
386
521
|
|
|
387
522
|
/**
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
AVRO: Other
|
|
392
|
-
}
|
|
523
|
+
* 执行spark作业的数据引擎
|
|
524
|
+
*/
|
|
525
|
+
DataEngine: string
|
|
393
526
|
|
|
394
|
-
/**
|
|
395
|
-
* CSV序列化及反序列化数据结构
|
|
396
|
-
*/
|
|
397
|
-
export interface CSVSerde {
|
|
398
527
|
/**
|
|
399
|
-
*
|
|
528
|
+
* spark应用的执行入口
|
|
400
529
|
*/
|
|
401
|
-
|
|
530
|
+
AppFile: string
|
|
402
531
|
|
|
403
532
|
/**
|
|
404
|
-
*
|
|
533
|
+
* 执行spark作业的角色ID
|
|
405
534
|
*/
|
|
406
|
-
|
|
535
|
+
RoleArn: number
|
|
407
536
|
|
|
408
537
|
/**
|
|
409
|
-
*
|
|
538
|
+
* spark作业driver资源规格大小, 可取small,medium,large,xlarge
|
|
410
539
|
*/
|
|
411
|
-
|
|
540
|
+
AppDriverSize: string
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* spark作业executor资源规格大小, 可取small,medium,large,xlarge
|
|
544
|
+
*/
|
|
545
|
+
AppExecutorSize: string
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* spark作业executor个数
|
|
549
|
+
*/
|
|
550
|
+
AppExecutorNums: number
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* spark应用Id
|
|
554
|
+
*/
|
|
555
|
+
SparkAppId: string
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* 该字段已下线,请使用字段Datasource
|
|
559
|
+
*/
|
|
560
|
+
Eni?: string
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* 是否本地上传,可取cos,lakefs
|
|
564
|
+
*/
|
|
565
|
+
IsLocal?: string
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* spark jar作业时的主类
|
|
569
|
+
*/
|
|
570
|
+
MainClass?: string
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* spark配置,以换行符分隔
|
|
574
|
+
*/
|
|
575
|
+
AppConf?: string
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* 是否本地上传,可去cos,lakefs
|
|
579
|
+
*/
|
|
580
|
+
IsLocalJars?: string
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* spark jar作业依赖jars,以逗号分隔
|
|
584
|
+
*/
|
|
585
|
+
AppJars?: string
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* 是否本地上传,可去cos,lakefs
|
|
589
|
+
*/
|
|
590
|
+
IsLocalFiles?: string
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* spark作业依赖资源,以逗号分隔
|
|
594
|
+
*/
|
|
595
|
+
AppFiles?: string
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* spark作业命令行参数
|
|
599
|
+
*/
|
|
600
|
+
CmdArgs?: string
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* 只对spark流任务生效
|
|
604
|
+
*/
|
|
605
|
+
MaxRetries?: number
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* 数据源名
|
|
609
|
+
*/
|
|
610
|
+
DataSource?: string
|
|
412
611
|
}
|
|
413
612
|
|
|
414
613
|
/**
|
|
@@ -522,44 +721,18 @@ task-kind - string (任务类型过滤)
|
|
|
522
721
|
}
|
|
523
722
|
|
|
524
723
|
/**
|
|
525
|
-
*
|
|
724
|
+
* CreateSparkAppTask请求参数结构体
|
|
526
725
|
*/
|
|
527
|
-
export interface
|
|
726
|
+
export interface CreateSparkAppTaskRequest {
|
|
528
727
|
/**
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
ScriptId: string
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* 脚本名称,长度0-25。
|
|
536
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
537
|
-
*/
|
|
538
|
-
ScriptName: string
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* 脚本描述,长度0-50。
|
|
542
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
543
|
-
*/
|
|
544
|
-
ScriptDesc: string
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* 默认关联数据库。
|
|
548
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
549
|
-
*/
|
|
550
|
-
DatabaseName: string
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* SQL描述,长度0-10000。
|
|
554
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
555
|
-
*/
|
|
556
|
-
SQLStatement: string
|
|
728
|
+
* spark作业名
|
|
729
|
+
*/
|
|
730
|
+
JobName: string
|
|
557
731
|
|
|
558
732
|
/**
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
UpdateTime: number
|
|
733
|
+
* spark作业的命令行参数,以空格分隔;一般用于周期性调用使用
|
|
734
|
+
*/
|
|
735
|
+
CmdArgs?: string
|
|
563
736
|
}
|
|
564
737
|
|
|
565
738
|
/**
|
|
@@ -628,6 +801,21 @@ export interface TableBaseInfo {
|
|
|
628
801
|
TableFormat?: string
|
|
629
802
|
}
|
|
630
803
|
|
|
804
|
+
/**
|
|
805
|
+
* AttachUserPolicy请求参数结构体
|
|
806
|
+
*/
|
|
807
|
+
export interface AttachUserPolicyRequest {
|
|
808
|
+
/**
|
|
809
|
+
* 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。
|
|
810
|
+
*/
|
|
811
|
+
UserId: string
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* 鉴权策略集合
|
|
815
|
+
*/
|
|
816
|
+
PolicySet?: Array<Policy>
|
|
817
|
+
}
|
|
818
|
+
|
|
631
819
|
/**
|
|
632
820
|
* 批量顺序执行任务集合
|
|
633
821
|
*/
|
|
@@ -668,39 +856,79 @@ export interface AttachWorkGroupPolicyRequest {
|
|
|
668
856
|
WorkGroupId: number
|
|
669
857
|
|
|
670
858
|
/**
|
|
671
|
-
* 要绑定的策略集合
|
|
859
|
+
* 要绑定的策略集合
|
|
860
|
+
*/
|
|
861
|
+
PolicySet?: Array<Policy>
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* CreateUser返回参数结构体
|
|
866
|
+
*/
|
|
867
|
+
export interface CreateUserResponse {
|
|
868
|
+
/**
|
|
869
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
870
|
+
*/
|
|
871
|
+
RequestId?: string
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* DeleteUser返回参数结构体
|
|
876
|
+
*/
|
|
877
|
+
export interface DeleteUserResponse {
|
|
878
|
+
/**
|
|
879
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
880
|
+
*/
|
|
881
|
+
RequestId?: string
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* CreateStoreLocation请求参数结构体
|
|
886
|
+
*/
|
|
887
|
+
export interface CreateStoreLocationRequest {
|
|
888
|
+
/**
|
|
889
|
+
* 计算结果存储cos路径,如:cosn://bucketname/
|
|
890
|
+
*/
|
|
891
|
+
StoreLocation: string
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* DescribeSparkAppJobs请求参数结构体
|
|
896
|
+
*/
|
|
897
|
+
export interface DescribeSparkAppJobsRequest {
|
|
898
|
+
/**
|
|
899
|
+
* 返回结果按照该字段排序
|
|
900
|
+
*/
|
|
901
|
+
SortBy?: string
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* 正序或者倒序,例如:desc
|
|
905
|
+
*/
|
|
906
|
+
Sorting?: string
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* 按照该参数过滤
|
|
910
|
+
*/
|
|
911
|
+
Filters?: Array<Filter>
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* 更新时间起始点
|
|
672
915
|
*/
|
|
673
|
-
|
|
674
|
-
}
|
|
916
|
+
StartTime?: string
|
|
675
917
|
|
|
676
|
-
/**
|
|
677
|
-
* CreateUser返回参数结构体
|
|
678
|
-
*/
|
|
679
|
-
export interface CreateUserResponse {
|
|
680
918
|
/**
|
|
681
|
-
*
|
|
919
|
+
* 更新时间截止点
|
|
682
920
|
*/
|
|
683
|
-
|
|
684
|
-
}
|
|
921
|
+
EndTime?: string
|
|
685
922
|
|
|
686
|
-
/**
|
|
687
|
-
* DeleteUser返回参数结构体
|
|
688
|
-
*/
|
|
689
|
-
export interface DeleteUserResponse {
|
|
690
923
|
/**
|
|
691
|
-
*
|
|
924
|
+
* 查询列表偏移量
|
|
692
925
|
*/
|
|
693
|
-
|
|
694
|
-
}
|
|
926
|
+
Offset?: number
|
|
695
927
|
|
|
696
|
-
/**
|
|
697
|
-
* CreateStoreLocation请求参数结构体
|
|
698
|
-
*/
|
|
699
|
-
export interface CreateStoreLocationRequest {
|
|
700
928
|
/**
|
|
701
|
-
*
|
|
929
|
+
* 查询列表限制数量
|
|
702
930
|
*/
|
|
703
|
-
|
|
931
|
+
Limit?: number
|
|
704
932
|
}
|
|
705
933
|
|
|
706
934
|
/**
|
|
@@ -767,18 +995,40 @@ export interface CreateTaskRequest {
|
|
|
767
995
|
}
|
|
768
996
|
|
|
769
997
|
/**
|
|
770
|
-
*
|
|
998
|
+
* ModifySparkApp返回参数结构体
|
|
771
999
|
*/
|
|
772
|
-
export interface
|
|
1000
|
+
export interface ModifySparkAppResponse {
|
|
773
1001
|
/**
|
|
774
|
-
*
|
|
1002
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
775
1003
|
*/
|
|
776
|
-
|
|
1004
|
+
RequestId?: string
|
|
1005
|
+
}
|
|
777
1006
|
|
|
1007
|
+
/**
|
|
1008
|
+
* CSV类型数据格式
|
|
1009
|
+
*/
|
|
1010
|
+
export interface CSV {
|
|
778
1011
|
/**
|
|
779
|
-
*
|
|
1012
|
+
* 压缩格式,["Snappy", "Gzip", "None"选一]。
|
|
780
1013
|
*/
|
|
781
|
-
|
|
1014
|
+
CodeCompress?: string
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* CSV序列化及反序列化数据结构。
|
|
1018
|
+
*/
|
|
1019
|
+
CSVSerde?: CSVSerde
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* 标题行,默认为0。
|
|
1023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1024
|
+
*/
|
|
1025
|
+
HeadLines?: number
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* 格式,默认值为CSV
|
|
1029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1030
|
+
*/
|
|
1031
|
+
Format?: string
|
|
782
1032
|
}
|
|
783
1033
|
|
|
784
1034
|
/**
|
|
@@ -878,6 +1128,27 @@ script-name-keyword - String - (过滤条件)数据表名称,形如:script
|
|
|
878
1128
|
Filters?: Array<Filter>
|
|
879
1129
|
}
|
|
880
1130
|
|
|
1131
|
+
/**
|
|
1132
|
+
* DescribeSparkAppJob返回参数结构体
|
|
1133
|
+
*/
|
|
1134
|
+
export interface DescribeSparkAppJobResponse {
|
|
1135
|
+
/**
|
|
1136
|
+
* spark作业详情
|
|
1137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1138
|
+
*/
|
|
1139
|
+
Job: SparkJobInfo
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* 查询的spark作业是否存在
|
|
1143
|
+
*/
|
|
1144
|
+
IsExists: boolean
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1148
|
+
*/
|
|
1149
|
+
RequestId?: string
|
|
1150
|
+
}
|
|
1151
|
+
|
|
881
1152
|
/**
|
|
882
1153
|
* DeleteUsersFromWorkGroup返回参数结构体
|
|
883
1154
|
*/
|
|
@@ -1057,18 +1328,98 @@ export interface ModifyWorkGroupResponse {
|
|
|
1057
1328
|
}
|
|
1058
1329
|
|
|
1059
1330
|
/**
|
|
1060
|
-
*
|
|
1331
|
+
* ModifyUser请求参数结构体
|
|
1061
1332
|
*/
|
|
1062
|
-
export interface
|
|
1333
|
+
export interface ModifyUserRequest {
|
|
1063
1334
|
/**
|
|
1064
|
-
* 用户Id
|
|
1335
|
+
* 用户Id,和CAM侧Uin匹配
|
|
1065
1336
|
*/
|
|
1066
1337
|
UserId: string
|
|
1067
1338
|
|
|
1068
1339
|
/**
|
|
1069
|
-
*
|
|
1340
|
+
* 用户描述
|
|
1070
1341
|
*/
|
|
1071
|
-
|
|
1342
|
+
UserDescription: string
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* spark流任务统计信息
|
|
1347
|
+
*/
|
|
1348
|
+
export interface StreamingStatistics {
|
|
1349
|
+
/**
|
|
1350
|
+
* 任务开始时间
|
|
1351
|
+
*/
|
|
1352
|
+
StartTime: string
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* 数据接收器数
|
|
1356
|
+
*/
|
|
1357
|
+
Receivers: number
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* 运行中的接收器数
|
|
1361
|
+
*/
|
|
1362
|
+
NumActiveReceivers: number
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* 不活跃的接收器数
|
|
1366
|
+
*/
|
|
1367
|
+
NumInactiveReceivers: number
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* 运行中的批数
|
|
1371
|
+
*/
|
|
1372
|
+
NumActiveBatches: number
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* 待处理的批数
|
|
1376
|
+
*/
|
|
1377
|
+
NumRetainedCompletedBatches: number
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* 已完成的批数
|
|
1381
|
+
*/
|
|
1382
|
+
NumTotalCompletedBatches: number
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* 平均输入速率
|
|
1386
|
+
*/
|
|
1387
|
+
AverageInputRate: number
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* 平均等待时长
|
|
1391
|
+
*/
|
|
1392
|
+
AverageSchedulingDelay: number
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* 平均处理时长
|
|
1396
|
+
*/
|
|
1397
|
+
AverageProcessingTime: number
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* 平均延时
|
|
1401
|
+
*/
|
|
1402
|
+
AverageTotalDelay: number
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* CreateSparkAppTask返回参数结构体
|
|
1407
|
+
*/
|
|
1408
|
+
export interface CreateSparkAppTaskResponse {
|
|
1409
|
+
/**
|
|
1410
|
+
* 批Id
|
|
1411
|
+
*/
|
|
1412
|
+
BatchId: string
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* 任务Id
|
|
1416
|
+
*/
|
|
1417
|
+
TaskId: string
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1421
|
+
*/
|
|
1422
|
+
RequestId?: string
|
|
1072
1423
|
}
|
|
1073
1424
|
|
|
1074
1425
|
/**
|
|
@@ -1303,6 +1654,47 @@ export interface DeleteScriptRequest {
|
|
|
1303
1654
|
ScriptIds: Array<string>
|
|
1304
1655
|
}
|
|
1305
1656
|
|
|
1657
|
+
/**
|
|
1658
|
+
* script实例。
|
|
1659
|
+
*/
|
|
1660
|
+
export interface Script {
|
|
1661
|
+
/**
|
|
1662
|
+
* 脚本Id,长度36字节。
|
|
1663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1664
|
+
*/
|
|
1665
|
+
ScriptId: string
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* 脚本名称,长度0-25。
|
|
1669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1670
|
+
*/
|
|
1671
|
+
ScriptName: string
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* 脚本描述,长度0-50。
|
|
1675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1676
|
+
*/
|
|
1677
|
+
ScriptDesc: string
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* 默认关联数据库。
|
|
1681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1682
|
+
*/
|
|
1683
|
+
DatabaseName: string
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* SQL描述,长度0-10000。
|
|
1687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1688
|
+
*/
|
|
1689
|
+
SQLStatement: string
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* 更新时间戳, 单位:ms。
|
|
1693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1694
|
+
*/
|
|
1695
|
+
UpdateTime: number
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1306
1698
|
/**
|
|
1307
1699
|
* CreateImportTask返回参数结构体
|
|
1308
1700
|
*/
|
|
@@ -1343,6 +1735,54 @@ export interface CreateTableResponse {
|
|
|
1343
1735
|
RequestId?: string
|
|
1344
1736
|
}
|
|
1345
1737
|
|
|
1738
|
+
/**
|
|
1739
|
+
* 工作组信息
|
|
1740
|
+
*/
|
|
1741
|
+
export interface WorkGroupInfo {
|
|
1742
|
+
/**
|
|
1743
|
+
* 查询到的工作组唯一Id
|
|
1744
|
+
*/
|
|
1745
|
+
WorkGroupId: number
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* 工作组名称
|
|
1749
|
+
*/
|
|
1750
|
+
WorkGroupName: string
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* 工作组描述
|
|
1754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1755
|
+
*/
|
|
1756
|
+
WorkGroupDescription: string
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* 工作组关联的用户数量
|
|
1760
|
+
*/
|
|
1761
|
+
UserNum: number
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* 工作组关联的用户集合
|
|
1765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1766
|
+
*/
|
|
1767
|
+
UserSet: Array<UserMessage>
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* 工作组绑定的权限集合
|
|
1771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1772
|
+
*/
|
|
1773
|
+
PolicySet: Array<Policy>
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* 工作组的创建人
|
|
1777
|
+
*/
|
|
1778
|
+
Creator: string
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* 工作组的创建时间,形如2021-07-28 16:19:32
|
|
1782
|
+
*/
|
|
1783
|
+
CreateTime: string
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1346
1786
|
/**
|
|
1347
1787
|
* CreateScript请求参数结构体
|
|
1348
1788
|
*/
|
|
@@ -1913,51 +2353,24 @@ export interface DescribeTableRequest {
|
|
|
1913
2353
|
TableName: string
|
|
1914
2354
|
|
|
1915
2355
|
/**
|
|
1916
|
-
* 查询表所在的数据库名称。
|
|
1917
|
-
*/
|
|
1918
|
-
DatabaseName: string
|
|
1919
|
-
|
|
1920
|
-
/**
|
|
1921
|
-
* 查询表所在的数据源名称
|
|
1922
|
-
*/
|
|
1923
|
-
DatasourceConnectionName?: string
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
/**
|
|
1927
|
-
* 数据格式其它类型。
|
|
1928
|
-
*/
|
|
1929
|
-
export interface Other {
|
|
1930
|
-
/**
|
|
1931
|
-
* 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
|
|
1932
|
-
*/
|
|
1933
|
-
Format: string
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* CSV类型数据格式
|
|
1938
|
-
*/
|
|
1939
|
-
export interface CSV {
|
|
1940
|
-
/**
|
|
1941
|
-
* 压缩格式,["Snappy", "Gzip", "None"选一]。
|
|
1942
|
-
*/
|
|
1943
|
-
CodeCompress?: string
|
|
1944
|
-
|
|
1945
|
-
/**
|
|
1946
|
-
* CSV序列化及反序列化数据结构。
|
|
2356
|
+
* 查询表所在的数据库名称。
|
|
1947
2357
|
*/
|
|
1948
|
-
|
|
2358
|
+
DatabaseName: string
|
|
1949
2359
|
|
|
1950
2360
|
/**
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
2361
|
+
* 查询表所在的数据源名称
|
|
2362
|
+
*/
|
|
2363
|
+
DatasourceConnectionName?: string
|
|
2364
|
+
}
|
|
1955
2365
|
|
|
2366
|
+
/**
|
|
2367
|
+
* 数据格式其它类型。
|
|
2368
|
+
*/
|
|
2369
|
+
export interface Other {
|
|
1956
2370
|
/**
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
Format?: string
|
|
2371
|
+
* 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
|
|
2372
|
+
*/
|
|
2373
|
+
Format: string
|
|
1961
2374
|
}
|
|
1962
2375
|
|
|
1963
2376
|
/**
|
|
@@ -2067,28 +2480,13 @@ export interface Policy {
|
|
|
2067
2480
|
}
|
|
2068
2481
|
|
|
2069
2482
|
/**
|
|
2070
|
-
*
|
|
2483
|
+
* CreateSparkApp返回参数结构体
|
|
2071
2484
|
*/
|
|
2072
|
-
export interface
|
|
2073
|
-
/**
|
|
2074
|
-
* 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库(注:当提交建库sql时,该字段传空字符串)。
|
|
2075
|
-
*/
|
|
2076
|
-
DatabaseName: string
|
|
2077
|
-
|
|
2078
|
-
/**
|
|
2079
|
-
* SQL任务信息
|
|
2080
|
-
*/
|
|
2081
|
-
Tasks: TasksInfo
|
|
2082
|
-
|
|
2083
|
-
/**
|
|
2084
|
-
* 数据源名称,默认为DataLakeCatalog
|
|
2085
|
-
*/
|
|
2086
|
-
DatasourceConnectionName?: string
|
|
2087
|
-
|
|
2485
|
+
export interface CreateSparkAppResponse {
|
|
2088
2486
|
/**
|
|
2089
|
-
*
|
|
2487
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2090
2488
|
*/
|
|
2091
|
-
|
|
2489
|
+
RequestId?: string
|
|
2092
2490
|
}
|
|
2093
2491
|
|
|
2094
2492
|
/**
|
|
@@ -2108,38 +2506,38 @@ export interface CreateTaskResponse {
|
|
|
2108
2506
|
}
|
|
2109
2507
|
|
|
2110
2508
|
/**
|
|
2111
|
-
*
|
|
2509
|
+
* DeleteSparkApp返回参数结构体
|
|
2112
2510
|
*/
|
|
2113
|
-
export interface
|
|
2114
|
-
/**
|
|
2115
|
-
* 查询的工作组Id,不填或填0表示不过滤。
|
|
2116
|
-
*/
|
|
2117
|
-
WorkGroupId?: number
|
|
2118
|
-
|
|
2511
|
+
export interface DeleteSparkAppResponse {
|
|
2119
2512
|
/**
|
|
2120
|
-
*
|
|
2513
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2121
2514
|
*/
|
|
2122
|
-
|
|
2515
|
+
RequestId?: string
|
|
2516
|
+
}
|
|
2123
2517
|
|
|
2518
|
+
/**
|
|
2519
|
+
* CreateTasks请求参数结构体
|
|
2520
|
+
*/
|
|
2521
|
+
export interface CreateTasksRequest {
|
|
2124
2522
|
/**
|
|
2125
|
-
*
|
|
2523
|
+
* 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库(注:当提交建库sql时,该字段传空字符串)。
|
|
2126
2524
|
*/
|
|
2127
|
-
|
|
2525
|
+
DatabaseName: string
|
|
2128
2526
|
|
|
2129
2527
|
/**
|
|
2130
|
-
*
|
|
2528
|
+
* SQL任务信息
|
|
2131
2529
|
*/
|
|
2132
|
-
|
|
2530
|
+
Tasks: TasksInfo
|
|
2133
2531
|
|
|
2134
2532
|
/**
|
|
2135
|
-
*
|
|
2533
|
+
* 数据源名称,默认为DataLakeCatalog
|
|
2136
2534
|
*/
|
|
2137
|
-
|
|
2535
|
+
DatasourceConnectionName?: string
|
|
2138
2536
|
|
|
2139
2537
|
/**
|
|
2140
|
-
*
|
|
2538
|
+
* 计算引擎名称,不填任务提交到默认集群
|
|
2141
2539
|
*/
|
|
2142
|
-
|
|
2540
|
+
DataEngineName?: string
|
|
2143
2541
|
}
|
|
2144
2542
|
|
|
2145
2543
|
/**
|
|
@@ -2157,6 +2555,26 @@ export interface DescribeTableResponse {
|
|
|
2157
2555
|
RequestId?: string
|
|
2158
2556
|
}
|
|
2159
2557
|
|
|
2558
|
+
/**
|
|
2559
|
+
* DescribeSparkAppJobs返回参数结构体
|
|
2560
|
+
*/
|
|
2561
|
+
export interface DescribeSparkAppJobsResponse {
|
|
2562
|
+
/**
|
|
2563
|
+
* spark作业列表详情
|
|
2564
|
+
*/
|
|
2565
|
+
SparkAppJobs: Array<SparkJobInfo>
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* spark作业总数
|
|
2569
|
+
*/
|
|
2570
|
+
TotalCount: number
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2574
|
+
*/
|
|
2575
|
+
RequestId?: string
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2160
2578
|
/**
|
|
2161
2579
|
* 查询表信息对象
|
|
2162
2580
|
*/
|
|
@@ -2241,6 +2659,41 @@ export interface DetachUserPolicyResponse {
|
|
|
2241
2659
|
RequestId?: string
|
|
2242
2660
|
}
|
|
2243
2661
|
|
|
2662
|
+
/**
|
|
2663
|
+
* DescribeWorkGroups请求参数结构体
|
|
2664
|
+
*/
|
|
2665
|
+
export interface DescribeWorkGroupsRequest {
|
|
2666
|
+
/**
|
|
2667
|
+
* 查询的工作组Id,不填或填0表示不过滤。
|
|
2668
|
+
*/
|
|
2669
|
+
WorkGroupId?: number
|
|
2670
|
+
|
|
2671
|
+
/**
|
|
2672
|
+
* 过滤条件,当前仅支持按照工作组名称进行模糊搜索。Key为workgroup-name
|
|
2673
|
+
*/
|
|
2674
|
+
Filters?: Array<Filter>
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* 偏移量,默认为0
|
|
2678
|
+
*/
|
|
2679
|
+
Offset?: number
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* 返回数量,默认20,最大值100
|
|
2683
|
+
*/
|
|
2684
|
+
Limit?: number
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* 排序字段,支持如下字段类型,create-time
|
|
2688
|
+
*/
|
|
2689
|
+
SortBy?: string
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* 排序方式,desc表示正序,asc表示反序, 默认为asc
|
|
2693
|
+
*/
|
|
2694
|
+
Sorting?: string
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2244
2697
|
/**
|
|
2245
2698
|
* CreateTasks返回参数结构体
|
|
2246
2699
|
*/
|
|
@@ -2261,6 +2714,106 @@ export interface CreateTasksResponse {
|
|
|
2261
2714
|
RequestId?: string
|
|
2262
2715
|
}
|
|
2263
2716
|
|
|
2717
|
+
/**
|
|
2718
|
+
* CreateSparkApp请求参数结构体
|
|
2719
|
+
*/
|
|
2720
|
+
export interface CreateSparkAppRequest {
|
|
2721
|
+
/**
|
|
2722
|
+
* spark应用名
|
|
2723
|
+
*/
|
|
2724
|
+
AppName: string
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* 1代表spark jar应用,2代表spark streaming应用
|
|
2728
|
+
*/
|
|
2729
|
+
AppType: number
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* 执行spark作业的数据引擎
|
|
2733
|
+
*/
|
|
2734
|
+
DataEngine: string
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* spark应用的执行入口
|
|
2738
|
+
*/
|
|
2739
|
+
AppFile: string
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* 执行spark作业的角色ID
|
|
2743
|
+
*/
|
|
2744
|
+
RoleArn: number
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* spark作业driver资源规格大小, 可取small,medium,large,xlarge
|
|
2748
|
+
*/
|
|
2749
|
+
AppDriverSize: string
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* spark作业executor资源规格大小, 可取small,medium,large,xlarge
|
|
2753
|
+
*/
|
|
2754
|
+
AppExecutorSize: string
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* spark作业executor个数
|
|
2758
|
+
*/
|
|
2759
|
+
AppExecutorNums: number
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* 该字段已下线,请使用字段Datasource
|
|
2763
|
+
*/
|
|
2764
|
+
Eni?: string
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* 是否本地上传,可去cos,lakefs
|
|
2768
|
+
*/
|
|
2769
|
+
IsLocal?: string
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* spark jar作业时的主类
|
|
2773
|
+
*/
|
|
2774
|
+
MainClass?: string
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* spark配置,以换行符分隔
|
|
2778
|
+
*/
|
|
2779
|
+
AppConf?: string
|
|
2780
|
+
|
|
2781
|
+
/**
|
|
2782
|
+
* 是否本地上传,包含cos,lakefs
|
|
2783
|
+
*/
|
|
2784
|
+
IsLocalJars?: string
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* spark jar作业依赖jars,以逗号分隔
|
|
2788
|
+
*/
|
|
2789
|
+
AppJars?: string
|
|
2790
|
+
|
|
2791
|
+
/**
|
|
2792
|
+
* 是否本地上传,包含cos,lakefs
|
|
2793
|
+
*/
|
|
2794
|
+
IsLocalFiles?: string
|
|
2795
|
+
|
|
2796
|
+
/**
|
|
2797
|
+
* spark作业依赖资源,以逗号分隔
|
|
2798
|
+
*/
|
|
2799
|
+
AppFiles?: string
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* spark作业命令行参数
|
|
2803
|
+
*/
|
|
2804
|
+
CmdArgs?: string
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* 只对spark流任务生效
|
|
2808
|
+
*/
|
|
2809
|
+
MaxRetries?: number
|
|
2810
|
+
|
|
2811
|
+
/**
|
|
2812
|
+
* 数据源名
|
|
2813
|
+
*/
|
|
2814
|
+
DataSource?: string
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2264
2817
|
/**
|
|
2265
2818
|
* UnbindWorkGroupsFromUser返回参数结构体
|
|
2266
2819
|
*/
|
|
@@ -2296,6 +2849,26 @@ export interface CreateWorkGroupRequest {
|
|
|
2296
2849
|
UserIds?: Array<string>
|
|
2297
2850
|
}
|
|
2298
2851
|
|
|
2852
|
+
/**
|
|
2853
|
+
* DescribeSparkAppTasks请求参数结构体
|
|
2854
|
+
*/
|
|
2855
|
+
export interface DescribeSparkAppTasksRequest {
|
|
2856
|
+
/**
|
|
2857
|
+
* spark作业Id
|
|
2858
|
+
*/
|
|
2859
|
+
JobId: string
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* 分页查询偏移量
|
|
2863
|
+
*/
|
|
2864
|
+
Offset?: number
|
|
2865
|
+
|
|
2866
|
+
/**
|
|
2867
|
+
* 分页查询Limit
|
|
2868
|
+
*/
|
|
2869
|
+
Limit?: number
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2299
2872
|
/**
|
|
2300
2873
|
* SQL查询任务
|
|
2301
2874
|
*/
|
|
@@ -2342,6 +2915,21 @@ export interface UserMessage {
|
|
|
2342
2915
|
UserAlias: string
|
|
2343
2916
|
}
|
|
2344
2917
|
|
|
2918
|
+
/**
|
|
2919
|
+
* 数据库和数据表属性信息
|
|
2920
|
+
*/
|
|
2921
|
+
export interface Property {
|
|
2922
|
+
/**
|
|
2923
|
+
* 属性key名称。
|
|
2924
|
+
*/
|
|
2925
|
+
Key: string
|
|
2926
|
+
|
|
2927
|
+
/**
|
|
2928
|
+
* 属性key对应的value。
|
|
2929
|
+
*/
|
|
2930
|
+
Value: string
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2345
2933
|
/**
|
|
2346
2934
|
* AttachUserPolicy返回参数结构体
|
|
2347
2935
|
*/
|
|
@@ -2388,18 +2976,44 @@ export interface DescribeViewsResponse {
|
|
|
2388
2976
|
}
|
|
2389
2977
|
|
|
2390
2978
|
/**
|
|
2391
|
-
*
|
|
2979
|
+
* 数据表数据格式。
|
|
2392
2980
|
*/
|
|
2393
|
-
export interface
|
|
2981
|
+
export interface DataFormat {
|
|
2394
2982
|
/**
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2983
|
+
* 文本格式,TextFile。
|
|
2984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2985
|
+
*/
|
|
2986
|
+
TextFile: TextFile
|
|
2398
2987
|
|
|
2399
2988
|
/**
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2989
|
+
* 文本格式,CSV。
|
|
2990
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2991
|
+
*/
|
|
2992
|
+
CSV: CSV
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* 文本格式,Json。
|
|
2996
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2997
|
+
*/
|
|
2998
|
+
Json: Other
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* Parquet格式
|
|
3002
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3003
|
+
*/
|
|
3004
|
+
Parquet: Other
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* ORC格式
|
|
3008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3009
|
+
*/
|
|
3010
|
+
ORC: Other
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* AVRO格式
|
|
3014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3015
|
+
*/
|
|
3016
|
+
AVRO: Other
|
|
2403
3017
|
}
|
|
2404
3018
|
|
|
2405
3019
|
/**
|