@alicloud/emr-serverless-spark20230808 1.4.1 → 1.5.0

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/dist/client.d.ts CHANGED
@@ -1,17 +1,44 @@
1
1
  /**
2
- *
3
2
  */
4
3
  import * as $Util from '@alicloud/tea-util';
5
4
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
5
  import * as $tea from '@alicloud/tea-typescript';
7
6
  export declare class Artifact extends $tea.Model {
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ */
8
11
  bizId?: string;
12
+ /**
13
+ * @remarks
14
+ * This parameter is required.
15
+ */
9
16
  creator?: number;
10
17
  credential?: Credential;
18
+ /**
19
+ * @remarks
20
+ * This parameter is required.
21
+ */
11
22
  gmtCreated?: string;
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ */
12
27
  gmtModified?: string;
28
+ /**
29
+ * @remarks
30
+ * This parameter is required.
31
+ */
13
32
  location?: string;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ */
14
37
  modifier?: number;
38
+ /**
39
+ * @remarks
40
+ * This parameter is required.
41
+ */
15
42
  name?: string;
16
43
  static names(): {
17
44
  [key: string]: string;
@@ -24,13 +51,41 @@ export declare class Artifact extends $tea.Model {
24
51
  });
25
52
  }
26
53
  export declare class Category extends $tea.Model {
54
+ /**
55
+ * @remarks
56
+ * This parameter is required.
57
+ */
27
58
  bizId?: string;
59
+ /**
60
+ * @remarks
61
+ * This parameter is required.
62
+ */
28
63
  creator?: number;
64
+ /**
65
+ * @remarks
66
+ * This parameter is required.
67
+ */
29
68
  gmtCreated?: string;
69
+ /**
70
+ * @remarks
71
+ * This parameter is required.
72
+ */
30
73
  gmtModified?: string;
74
+ /**
75
+ * @remarks
76
+ * This parameter is required.
77
+ */
31
78
  modifier?: number;
79
+ /**
80
+ * @remarks
81
+ * This parameter is required.
82
+ */
32
83
  name?: string;
33
84
  parentBizId?: string;
85
+ /**
86
+ * @remarks
87
+ * This parameter is required.
88
+ */
34
89
  type?: string;
35
90
  static names(): {
36
91
  [key: string]: string;
@@ -69,12 +124,40 @@ export declare class ConfigurationOverrides extends $tea.Model {
69
124
  });
70
125
  }
71
126
  export declare class Credential extends $tea.Model {
127
+ /**
128
+ * @remarks
129
+ * This parameter is required.
130
+ */
72
131
  accessId?: string;
132
+ /**
133
+ * @remarks
134
+ * This parameter is required.
135
+ */
73
136
  dir?: string;
137
+ /**
138
+ * @remarks
139
+ * This parameter is required.
140
+ */
74
141
  expire?: string;
142
+ /**
143
+ * @remarks
144
+ * This parameter is required.
145
+ */
75
146
  host?: string;
147
+ /**
148
+ * @remarks
149
+ * This parameter is required.
150
+ */
76
151
  policy?: string;
152
+ /**
153
+ * @remarks
154
+ * This parameter is required.
155
+ */
77
156
  securityToken?: string;
157
+ /**
158
+ * @remarks
159
+ * This parameter is required.
160
+ */
78
161
  signature?: string;
79
162
  static names(): {
80
163
  [key: string]: string;
@@ -99,7 +182,15 @@ export declare class JobDriver extends $tea.Model {
99
182
  });
100
183
  }
101
184
  export declare class PrincipalAction extends $tea.Model {
185
+ /**
186
+ * @example
187
+ * acs:emr::workspaceId:action/create_queue
188
+ */
102
189
  actionArn?: string;
190
+ /**
191
+ * @example
192
+ * acs:emr::workspaceId:user/237593691541622267
193
+ */
103
194
  principalArn?: string;
104
195
  static names(): {
105
196
  [key: string]: string;
@@ -141,7 +232,15 @@ export declare class RunLog extends $tea.Model {
141
232
  });
142
233
  }
143
234
  export declare class SparkConf extends $tea.Model {
235
+ /**
236
+ * @remarks
237
+ * This parameter is required.
238
+ */
144
239
  key?: string;
240
+ /**
241
+ * @remarks
242
+ * This parameter is required.
243
+ */
145
244
  value?: string;
146
245
  static names(): {
147
246
  [key: string]: string;
@@ -167,7 +266,21 @@ export declare class SqlOutput extends $tea.Model {
167
266
  });
168
267
  }
169
268
  export declare class Tag extends $tea.Model {
269
+ /**
270
+ * @remarks
271
+ * 标签key值。
272
+ *
273
+ * @example
274
+ * workflowId
275
+ */
170
276
  key?: string;
277
+ /**
278
+ * @remarks
279
+ * 标签key值。
280
+ *
281
+ * @example
282
+ * wf-123test
283
+ */
171
284
  value?: string;
172
285
  static names(): {
173
286
  [key: string]: string;
@@ -182,9 +295,17 @@ export declare class Tag extends $tea.Model {
182
295
  export declare class Task extends $tea.Model {
183
296
  archives?: string[];
184
297
  artifactUrl?: string;
298
+ /**
299
+ * @remarks
300
+ * This parameter is required.
301
+ */
185
302
  bizId?: string;
186
303
  categoryBizId?: string;
187
304
  content?: string;
305
+ /**
306
+ * @remarks
307
+ * This parameter is required.
308
+ */
188
309
  creator?: number;
189
310
  defaultCatalogId?: string;
190
311
  defaultDatabase?: string;
@@ -194,30 +315,88 @@ export declare class Task extends $tea.Model {
194
315
  extraArtifactIds?: string[];
195
316
  extraSparkSubmitParams?: string;
196
317
  files?: string[];
318
+ fusion?: boolean;
319
+ /**
320
+ * @remarks
321
+ * This parameter is required.
322
+ */
197
323
  gmtCreated?: string;
324
+ /**
325
+ * @remarks
326
+ * This parameter is required.
327
+ */
198
328
  gmtModified?: string;
199
329
  hasChanged?: boolean;
330
+ /**
331
+ * @remarks
332
+ * This parameter is required.
333
+ */
200
334
  hasCommited?: boolean;
201
335
  isStreaming?: boolean;
202
336
  jars?: string[];
203
337
  lastRunResourceQueueId?: string;
338
+ /**
339
+ * @remarks
340
+ * This parameter is required.
341
+ */
204
342
  modifier?: number;
343
+ /**
344
+ * @remarks
345
+ * This parameter is required.
346
+ */
205
347
  name?: string;
206
348
  pyFiles?: string[];
349
+ /**
350
+ * @example
351
+ * 100
352
+ */
207
353
  sparkArgs?: string;
208
354
  sparkConf?: SparkConf[];
355
+ /**
356
+ * @remarks
357
+ * This parameter is required.
358
+ */
209
359
  sparkDriverCores?: number;
360
+ /**
361
+ * @remarks
362
+ * This parameter is required.
363
+ */
210
364
  sparkDriverMemory?: number;
211
365
  sparkEntrypoint?: string;
366
+ /**
367
+ * @remarks
368
+ * This parameter is required.
369
+ */
212
370
  sparkExecutorCores?: number;
371
+ /**
372
+ * @remarks
373
+ * This parameter is required.
374
+ */
213
375
  sparkExecutorMemory?: number;
376
+ /**
377
+ * @remarks
378
+ * This parameter is required.
379
+ */
214
380
  sparkLogLevel?: string;
381
+ /**
382
+ * @remarks
383
+ * This parameter is required.
384
+ */
215
385
  sparkLogPath?: string;
216
386
  sparkSubmitClause?: string;
387
+ /**
388
+ * @remarks
389
+ * This parameter is required.
390
+ */
217
391
  sparkVersion?: string;
218
392
  tags?: {
219
393
  [key: string]: string;
220
394
  };
395
+ timeout?: number;
396
+ /**
397
+ * @remarks
398
+ * This parameter is required.
399
+ */
221
400
  type?: string;
222
401
  static names(): {
223
402
  [key: string]: string;
@@ -267,17 +446,63 @@ export declare class TaskSnapshot extends $tea.Model {
267
446
  });
268
447
  }
269
448
  export declare class Template extends $tea.Model {
449
+ /**
450
+ * @remarks
451
+ * This parameter is required.
452
+ */
270
453
  creator?: number;
454
+ displaySparkVersion?: string;
455
+ fusion?: boolean;
456
+ /**
457
+ * @remarks
458
+ * This parameter is required.
459
+ */
271
460
  gmtCreated?: string;
461
+ /**
462
+ * @remarks
463
+ * This parameter is required.
464
+ */
272
465
  gmtModified?: string;
466
+ /**
467
+ * @remarks
468
+ * This parameter is required.
469
+ */
273
470
  modifier?: number;
274
471
  sparkConf?: SparkConf[];
472
+ /**
473
+ * @remarks
474
+ * This parameter is required.
475
+ */
275
476
  sparkDriverCores?: number;
477
+ /**
478
+ * @remarks
479
+ * This parameter is required.
480
+ */
276
481
  sparkDriverMemory?: number;
482
+ /**
483
+ * @remarks
484
+ * This parameter is required.
485
+ */
277
486
  sparkExecutorCores?: number;
487
+ /**
488
+ * @remarks
489
+ * This parameter is required.
490
+ */
278
491
  sparkExecutorMemory?: number;
492
+ /**
493
+ * @remarks
494
+ * This parameter is required.
495
+ */
279
496
  sparkLogLevel?: string;
497
+ /**
498
+ * @remarks
499
+ * This parameter is required.
500
+ */
280
501
  sparkLogPath?: string;
502
+ /**
503
+ * @remarks
504
+ * This parameter is required.
505
+ */
281
506
  sparkVersion?: string;
282
507
  templateType?: string;
283
508
  static names(): {
@@ -291,7 +516,21 @@ export declare class Template extends $tea.Model {
291
516
  });
292
517
  }
293
518
  export declare class TimeRange extends $tea.Model {
519
+ /**
520
+ * @remarks
521
+ * 时间范围结束时间。
522
+ *
523
+ * @example
524
+ * 1688370894339
525
+ */
294
526
  endTime?: number;
527
+ /**
528
+ * @remarks
529
+ * 时间范围开始时间。
530
+ *
531
+ * @example
532
+ * 1688370894339
533
+ */
295
534
  startTime?: number;
296
535
  static names(): {
297
536
  [key: string]: string;
@@ -304,8 +543,28 @@ export declare class TimeRange extends $tea.Model {
304
543
  });
305
544
  }
306
545
  export declare class AddMembersRequest extends $tea.Model {
546
+ /**
547
+ * @remarks
548
+ * This parameter is required.
549
+ */
307
550
  memberArns?: string[];
551
+ /**
552
+ * @remarks
553
+ * The workspace ID.
554
+ *
555
+ * This parameter is required.
556
+ *
557
+ * @example
558
+ * w-975bcfda9625****
559
+ */
308
560
  workspaceId?: string;
561
+ /**
562
+ * @remarks
563
+ * The region ID.
564
+ *
565
+ * @example
566
+ * cn-hangzhou
567
+ */
309
568
  regionId?: string;
310
569
  static names(): {
311
570
  [key: string]: string;
@@ -318,6 +577,13 @@ export declare class AddMembersRequest extends $tea.Model {
318
577
  });
319
578
  }
320
579
  export declare class AddMembersResponseBody extends $tea.Model {
580
+ /**
581
+ * @remarks
582
+ * The request ID.
583
+ *
584
+ * @example
585
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
586
+ */
321
587
  requestId?: string;
322
588
  static names(): {
323
589
  [key: string]: string;
@@ -346,6 +612,13 @@ export declare class AddMembersResponse extends $tea.Model {
346
612
  });
347
613
  }
348
614
  export declare class CancelJobRunRequest extends $tea.Model {
615
+ /**
616
+ * @remarks
617
+ * The region ID.
618
+ *
619
+ * @example
620
+ * cn-hangzhou
621
+ */
349
622
  regionId?: string;
350
623
  static names(): {
351
624
  [key: string]: string;
@@ -358,7 +631,21 @@ export declare class CancelJobRunRequest extends $tea.Model {
358
631
  });
359
632
  }
360
633
  export declare class CancelJobRunResponseBody extends $tea.Model {
634
+ /**
635
+ * @remarks
636
+ * The job ID.
637
+ *
638
+ * @example
639
+ * jr-1a2bc3
640
+ */
361
641
  jobRunId?: string;
642
+ /**
643
+ * @remarks
644
+ * The request ID.
645
+ *
646
+ * @example
647
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
648
+ */
362
649
  requestId?: string;
363
650
  static names(): {
364
651
  [key: string]: string;
@@ -387,11 +674,53 @@ export declare class CancelJobRunResponse extends $tea.Model {
387
674
  });
388
675
  }
389
676
  export declare class CreateSqlStatementRequest extends $tea.Model {
677
+ /**
678
+ * @remarks
679
+ * The SQL code. You can specify one or more SQL statements.
680
+ *
681
+ * @example
682
+ * SHOW TABLES
683
+ */
390
684
  codeContent?: string;
685
+ /**
686
+ * @remarks
687
+ * The default Data Lake Formation (DLF) catalog ID.
688
+ *
689
+ * @example
690
+ * default_catalog
691
+ */
391
692
  defaultCatalog?: string;
693
+ /**
694
+ * @remarks
695
+ * The name of the default database.
696
+ *
697
+ * @example
698
+ * default
699
+ */
392
700
  defaultDatabase?: string;
701
+ /**
702
+ * @remarks
703
+ * The maximum number of entries to return. Valid values: 1 to 10000.
704
+ *
705
+ * @example
706
+ * 1000
707
+ */
393
708
  limit?: number;
709
+ /**
710
+ * @remarks
711
+ * The SQL compute ID. You can create an SQL compute in the workspace created in EMR Serverless Spark.
712
+ *
713
+ * @example
714
+ * sc-dfahdfjafhajd****
715
+ */
394
716
  sqlComputeId?: string;
717
+ /**
718
+ * @remarks
719
+ * The region ID.
720
+ *
721
+ * @example
722
+ * cn-hangzhou
723
+ */
395
724
  regionId?: string;
396
725
  static names(): {
397
726
  [key: string]: string;
@@ -404,7 +733,18 @@ export declare class CreateSqlStatementRequest extends $tea.Model {
404
733
  });
405
734
  }
406
735
  export declare class CreateSqlStatementResponseBody extends $tea.Model {
736
+ /**
737
+ * @remarks
738
+ * The data returned.
739
+ */
407
740
  data?: CreateSqlStatementResponseBodyData;
741
+ /**
742
+ * @remarks
743
+ * The request ID.
744
+ *
745
+ * @example
746
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
747
+ */
408
748
  requestId?: string;
409
749
  static names(): {
410
750
  [key: string]: string;
@@ -433,6 +773,13 @@ export declare class CreateSqlStatementResponse extends $tea.Model {
433
773
  });
434
774
  }
435
775
  export declare class GetJobRunRequest extends $tea.Model {
776
+ /**
777
+ * @remarks
778
+ * The region ID.
779
+ *
780
+ * @example
781
+ * cn-hangzhou
782
+ */
436
783
  regionId?: string;
437
784
  static names(): {
438
785
  [key: string]: string;
@@ -445,7 +792,18 @@ export declare class GetJobRunRequest extends $tea.Model {
445
792
  });
446
793
  }
447
794
  export declare class GetJobRunResponseBody extends $tea.Model {
795
+ /**
796
+ * @remarks
797
+ * The details of the job.
798
+ */
448
799
  jobRun?: GetJobRunResponseBodyJobRun;
800
+ /**
801
+ * @remarks
802
+ * The request ID.
803
+ *
804
+ * @example
805
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
806
+ */
449
807
  requestId?: string;
450
808
  static names(): {
451
809
  [key: string]: string;
@@ -474,6 +832,13 @@ export declare class GetJobRunResponse extends $tea.Model {
474
832
  });
475
833
  }
476
834
  export declare class GetSqlStatementRequest extends $tea.Model {
835
+ /**
836
+ * @remarks
837
+ * The region ID.
838
+ *
839
+ * @example
840
+ * cn-hangzhou
841
+ */
477
842
  regionId?: string;
478
843
  static names(): {
479
844
  [key: string]: string;
@@ -486,7 +851,18 @@ export declare class GetSqlStatementRequest extends $tea.Model {
486
851
  });
487
852
  }
488
853
  export declare class GetSqlStatementResponseBody extends $tea.Model {
854
+ /**
855
+ * @remarks
856
+ * The data returned.
857
+ */
489
858
  data?: GetSqlStatementResponseBodyData;
859
+ /**
860
+ * @remarks
861
+ * The request ID.
862
+ *
863
+ * @example
864
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
865
+ */
490
866
  requestId?: string;
491
867
  static names(): {
492
868
  [key: string]: string;
@@ -515,8 +891,22 @@ export declare class GetSqlStatementResponse extends $tea.Model {
515
891
  });
516
892
  }
517
893
  export declare class GrantRoleToUsersRequest extends $tea.Model {
894
+ /**
895
+ * @remarks
896
+ * The Alibaba Cloud Resource Name (ARN) of the role.
897
+ *
898
+ * @example
899
+ * acs:emr::w-975bcfda9625****:role/Owner
900
+ */
518
901
  roleArn?: string;
519
902
  userArns?: string[];
903
+ /**
904
+ * @remarks
905
+ * The region ID.
906
+ *
907
+ * @example
908
+ * cn-hangzhou
909
+ */
520
910
  regionId?: string;
521
911
  static names(): {
522
912
  [key: string]: string;
@@ -529,6 +919,13 @@ export declare class GrantRoleToUsersRequest extends $tea.Model {
529
919
  });
530
920
  }
531
921
  export declare class GrantRoleToUsersResponseBody extends $tea.Model {
922
+ /**
923
+ * @remarks
924
+ * The request ID.
925
+ *
926
+ * @example
927
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
928
+ */
532
929
  requestId?: string;
533
930
  static names(): {
534
931
  [key: string]: string;
@@ -557,17 +954,85 @@ export declare class GrantRoleToUsersResponse extends $tea.Model {
557
954
  });
558
955
  }
559
956
  export declare class ListJobRunsRequest extends $tea.Model {
957
+ /**
958
+ * @remarks
959
+ * The ID of the user who created the job.
960
+ *
961
+ * @example
962
+ * 1509789347011222
963
+ */
560
964
  creator?: string;
965
+ /**
966
+ * @remarks
967
+ * The range of end time.
968
+ */
561
969
  endTime?: ListJobRunsRequestEndTime;
562
970
  jobRunDeploymentId?: string;
971
+ /**
972
+ * @remarks
973
+ * The job ID.
974
+ *
975
+ * @example
976
+ * j-xxx
977
+ */
563
978
  jobRunId?: string;
979
+ /**
980
+ * @remarks
981
+ * The maximum number of entries to return.
982
+ *
983
+ * @example
984
+ * 20
985
+ */
564
986
  maxResults?: number;
987
+ /**
988
+ * @remarks
989
+ * The job name.
990
+ *
991
+ * @example
992
+ * emr-spark-demo-job
993
+ */
565
994
  name?: string;
995
+ /**
996
+ * @remarks
997
+ * The pagination token that is used in the request to retrieve a new page of results.
998
+ *
999
+ * @example
1000
+ * DD6B1B2A-5837-5237-ABE4-FF0C89568980
1001
+ */
566
1002
  nextToken?: string;
1003
+ /**
1004
+ * @remarks
1005
+ * The region ID.
1006
+ *
1007
+ * @example
1008
+ * cn-hangzhou
1009
+ */
567
1010
  regionId?: string;
1011
+ /**
1012
+ * @remarks
1013
+ * The name of the resource queue on which the Spark jobs run.
1014
+ *
1015
+ * @example
1016
+ * dev_queue
1017
+ */
568
1018
  resourceQueueId?: string;
1019
+ /**
1020
+ * @remarks
1021
+ * The range of start time.
1022
+ */
569
1023
  startTime?: ListJobRunsRequestStartTime;
1024
+ /**
1025
+ * @remarks
1026
+ * The job states.
1027
+ *
1028
+ * @example
1029
+ * ["Running","Submitted"]
1030
+ */
570
1031
  states?: string[];
1032
+ /**
1033
+ * @remarks
1034
+ * The tags of the job.
1035
+ */
571
1036
  tags?: ListJobRunsRequestTags[];
572
1037
  static names(): {
573
1038
  [key: string]: string;
@@ -580,17 +1045,85 @@ export declare class ListJobRunsRequest extends $tea.Model {
580
1045
  });
581
1046
  }
582
1047
  export declare class ListJobRunsShrinkRequest extends $tea.Model {
1048
+ /**
1049
+ * @remarks
1050
+ * The ID of the user who created the job.
1051
+ *
1052
+ * @example
1053
+ * 1509789347011222
1054
+ */
583
1055
  creator?: string;
1056
+ /**
1057
+ * @remarks
1058
+ * The range of end time.
1059
+ */
584
1060
  endTimeShrink?: string;
585
1061
  jobRunDeploymentId?: string;
1062
+ /**
1063
+ * @remarks
1064
+ * The job ID.
1065
+ *
1066
+ * @example
1067
+ * j-xxx
1068
+ */
586
1069
  jobRunId?: string;
1070
+ /**
1071
+ * @remarks
1072
+ * The maximum number of entries to return.
1073
+ *
1074
+ * @example
1075
+ * 20
1076
+ */
587
1077
  maxResults?: number;
1078
+ /**
1079
+ * @remarks
1080
+ * The job name.
1081
+ *
1082
+ * @example
1083
+ * emr-spark-demo-job
1084
+ */
588
1085
  name?: string;
1086
+ /**
1087
+ * @remarks
1088
+ * The pagination token that is used in the request to retrieve a new page of results.
1089
+ *
1090
+ * @example
1091
+ * DD6B1B2A-5837-5237-ABE4-FF0C89568980
1092
+ */
589
1093
  nextToken?: string;
1094
+ /**
1095
+ * @remarks
1096
+ * The region ID.
1097
+ *
1098
+ * @example
1099
+ * cn-hangzhou
1100
+ */
590
1101
  regionId?: string;
1102
+ /**
1103
+ * @remarks
1104
+ * The name of the resource queue on which the Spark jobs run.
1105
+ *
1106
+ * @example
1107
+ * dev_queue
1108
+ */
591
1109
  resourceQueueId?: string;
1110
+ /**
1111
+ * @remarks
1112
+ * The range of start time.
1113
+ */
592
1114
  startTimeShrink?: string;
1115
+ /**
1116
+ * @remarks
1117
+ * The job states.
1118
+ *
1119
+ * @example
1120
+ * ["Running","Submitted"]
1121
+ */
593
1122
  statesShrink?: string;
1123
+ /**
1124
+ * @remarks
1125
+ * The tags of the job.
1126
+ */
594
1127
  tagsShrink?: string;
595
1128
  static names(): {
596
1129
  [key: string]: string;
@@ -603,10 +1136,42 @@ export declare class ListJobRunsShrinkRequest extends $tea.Model {
603
1136
  });
604
1137
  }
605
1138
  export declare class ListJobRunsResponseBody extends $tea.Model {
1139
+ /**
1140
+ * @remarks
1141
+ * The list of Spark jobs.
1142
+ */
606
1143
  jobRuns?: ListJobRunsResponseBodyJobRuns[];
1144
+ /**
1145
+ * @remarks
1146
+ * The maximum number of entries returned.
1147
+ *
1148
+ * @example
1149
+ * 20
1150
+ */
607
1151
  maxResults?: number;
1152
+ /**
1153
+ * @remarks
1154
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
1155
+ *
1156
+ * @example
1157
+ * DD6B1B2A-5837-5237-ABE4-FF0C89568980
1158
+ */
608
1159
  nextToken?: string;
1160
+ /**
1161
+ * @remarks
1162
+ * The request ID.
1163
+ *
1164
+ * @example
1165
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1166
+ */
609
1167
  requestId?: string;
1168
+ /**
1169
+ * @remarks
1170
+ * The total number of entries returned.
1171
+ *
1172
+ * @example
1173
+ * 200
1174
+ */
610
1175
  totalCount?: number;
611
1176
  static names(): {
612
1177
  [key: string]: string;
@@ -635,10 +1200,56 @@ export declare class ListJobRunsResponse extends $tea.Model {
635
1200
  });
636
1201
  }
637
1202
  export declare class ListReleaseVersionsRequest extends $tea.Model {
1203
+ /**
1204
+ * @remarks
1205
+ * The region ID.
1206
+ *
1207
+ * @example
1208
+ * cn-hangzhou
1209
+ */
638
1210
  regionId?: string;
1211
+ /**
1212
+ * @remarks
1213
+ * The type of the version.
1214
+ *
1215
+ * Valid values:
1216
+ *
1217
+ * * stable
1218
+ * * Beta
1219
+ *
1220
+ * @example
1221
+ * stable
1222
+ */
639
1223
  releaseType?: string;
1224
+ /**
1225
+ * @remarks
1226
+ * The version of EMR Serverless Spark.
1227
+ *
1228
+ * @example
1229
+ * esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
1230
+ */
640
1231
  releaseVersion?: string;
1232
+ /**
1233
+ * @remarks
1234
+ * The status of the version.
1235
+ *
1236
+ * Valid values:
1237
+ *
1238
+ * * ONLINE
1239
+ * * OFFLINE
1240
+ *
1241
+ * @example
1242
+ * ONLINE
1243
+ */
641
1244
  releaseVersionStatus?: string;
1245
+ /**
1246
+ * @remarks
1247
+ * The workspace ID.
1248
+ *
1249
+ * @example
1250
+ * w-d2d82aa09155****
1251
+ */
1252
+ workspaceId?: string;
642
1253
  static names(): {
643
1254
  [key: string]: string;
644
1255
  };
@@ -650,10 +1261,42 @@ export declare class ListReleaseVersionsRequest extends $tea.Model {
650
1261
  });
651
1262
  }
652
1263
  export declare class ListReleaseVersionsResponseBody extends $tea.Model {
1264
+ /**
1265
+ * @remarks
1266
+ * The maximum number of entries returned.
1267
+ *
1268
+ * @example
1269
+ * 20
1270
+ */
653
1271
  maxResults?: number;
1272
+ /**
1273
+ * @remarks
1274
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
1275
+ *
1276
+ * @example
1277
+ * 1
1278
+ */
654
1279
  nextToken?: string;
1280
+ /**
1281
+ * @remarks
1282
+ * The versions.
1283
+ */
655
1284
  releaseVersions?: ListReleaseVersionsResponseBodyReleaseVersions[];
1285
+ /**
1286
+ * @remarks
1287
+ * The request ID.
1288
+ *
1289
+ * @example
1290
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1291
+ */
656
1292
  requestId?: string;
1293
+ /**
1294
+ * @remarks
1295
+ * The total number of entries returned.
1296
+ *
1297
+ * @example
1298
+ * 200
1299
+ */
657
1300
  totalCount?: number;
658
1301
  static names(): {
659
1302
  [key: string]: string;
@@ -683,10 +1326,45 @@ export declare class ListReleaseVersionsResponse extends $tea.Model {
683
1326
  }
684
1327
  export declare class ListSessionClustersRequest extends $tea.Model {
685
1328
  kind?: string;
1329
+ /**
1330
+ * @remarks
1331
+ * The maximum number of entries to return.
1332
+ *
1333
+ * @example
1334
+ * 20
1335
+ */
686
1336
  maxResults?: number;
1337
+ /**
1338
+ * @remarks
1339
+ * The pagination token that is used in the request to retrieve a new page of results.
1340
+ *
1341
+ * @example
1342
+ * DD6B1B2A-5837-5237-ABE4-FF0C89568980
1343
+ */
687
1344
  nextToken?: string;
1345
+ /**
1346
+ * @remarks
1347
+ * The name of the queue.
1348
+ *
1349
+ * @example
1350
+ * root
1351
+ */
688
1352
  queueName?: string;
1353
+ /**
1354
+ * @remarks
1355
+ * The region ID.
1356
+ *
1357
+ * @example
1358
+ * cn-hangzhou
1359
+ */
689
1360
  regionId?: string;
1361
+ /**
1362
+ * @remarks
1363
+ * The name of the job.
1364
+ *
1365
+ * @example
1366
+ * emr-spark-demo-job
1367
+ */
690
1368
  sessionClusterId?: string;
691
1369
  static names(): {
692
1370
  [key: string]: string;
@@ -699,10 +1377,42 @@ export declare class ListSessionClustersRequest extends $tea.Model {
699
1377
  });
700
1378
  }
701
1379
  export declare class ListSessionClustersResponseBody extends $tea.Model {
1380
+ /**
1381
+ * @remarks
1382
+ * The maximum number of entries returned.
1383
+ *
1384
+ * @example
1385
+ * 20
1386
+ */
702
1387
  maxResults?: number;
1388
+ /**
1389
+ * @remarks
1390
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
1391
+ *
1392
+ * @example
1393
+ * DD6B1B2A-5837-5237-ABE4-FF0C89568980
1394
+ */
703
1395
  nextToken?: string;
1396
+ /**
1397
+ * @remarks
1398
+ * The request ID.
1399
+ *
1400
+ * @example
1401
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1402
+ */
704
1403
  requestId?: string;
1404
+ /**
1405
+ * @remarks
1406
+ * The SQL computes.
1407
+ */
705
1408
  sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
1409
+ /**
1410
+ * @remarks
1411
+ * The total number of entries returned.
1412
+ *
1413
+ * @example
1414
+ * 200
1415
+ */
706
1416
  totalCount?: number;
707
1417
  static names(): {
708
1418
  [key: string]: string;
@@ -731,7 +1441,26 @@ export declare class ListSessionClustersResponse extends $tea.Model {
731
1441
  });
732
1442
  }
733
1443
  export declare class ListWorkspaceQueuesRequest extends $tea.Model {
1444
+ /**
1445
+ * @remarks
1446
+ * The environment type.
1447
+ *
1448
+ * Valid values:
1449
+ *
1450
+ * * dev
1451
+ * * production
1452
+ *
1453
+ * @example
1454
+ * production
1455
+ */
734
1456
  environment?: string;
1457
+ /**
1458
+ * @remarks
1459
+ * The region ID.
1460
+ *
1461
+ * @example
1462
+ * cn-hangzhou
1463
+ */
735
1464
  regionId?: string;
736
1465
  static names(): {
737
1466
  [key: string]: string;
@@ -744,10 +1473,42 @@ export declare class ListWorkspaceQueuesRequest extends $tea.Model {
744
1473
  });
745
1474
  }
746
1475
  export declare class ListWorkspaceQueuesResponseBody extends $tea.Model {
1476
+ /**
1477
+ * @remarks
1478
+ * The maximum number of entries returned.
1479
+ *
1480
+ * @example
1481
+ * 20
1482
+ */
747
1483
  maxResults?: number;
1484
+ /**
1485
+ * @remarks
1486
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
1487
+ *
1488
+ * @example
1489
+ * 1
1490
+ */
748
1491
  nextToken?: string;
1492
+ /**
1493
+ * @remarks
1494
+ * The list of queues.
1495
+ */
749
1496
  queues?: ListWorkspaceQueuesResponseBodyQueues[];
1497
+ /**
1498
+ * @remarks
1499
+ * The request ID.
1500
+ *
1501
+ * @example
1502
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1503
+ */
750
1504
  requestId?: string;
1505
+ /**
1506
+ * @remarks
1507
+ * The total number of entries returned.
1508
+ *
1509
+ * @example
1510
+ * 200
1511
+ */
751
1512
  totalCount?: number;
752
1513
  static names(): {
753
1514
  [key: string]: string;
@@ -776,10 +1537,45 @@ export declare class ListWorkspaceQueuesResponse extends $tea.Model {
776
1537
  });
777
1538
  }
778
1539
  export declare class ListWorkspacesRequest extends $tea.Model {
1540
+ /**
1541
+ * @remarks
1542
+ * The maximum number of entries to return.
1543
+ *
1544
+ * @example
1545
+ * 20
1546
+ */
779
1547
  maxResults?: number;
1548
+ /**
1549
+ * @remarks
1550
+ * Fuzzy match is supported.
1551
+ *
1552
+ * @example
1553
+ * test_workspace
1554
+ */
780
1555
  name?: string;
1556
+ /**
1557
+ * @remarks
1558
+ * The pagination token that is used in the next request to retrieve a new page of results.
1559
+ *
1560
+ * @example
1561
+ * 1
1562
+ */
781
1563
  nextToken?: string;
1564
+ /**
1565
+ * @remarks
1566
+ * The region ID.
1567
+ *
1568
+ * @example
1569
+ * cn-hangzhou
1570
+ */
782
1571
  regionId?: string;
1572
+ /**
1573
+ * @remarks
1574
+ * The workspace status.
1575
+ *
1576
+ * @example
1577
+ * running
1578
+ */
783
1579
  state?: string;
784
1580
  static names(): {
785
1581
  [key: string]: string;
@@ -792,10 +1588,42 @@ export declare class ListWorkspacesRequest extends $tea.Model {
792
1588
  });
793
1589
  }
794
1590
  export declare class ListWorkspacesResponseBody extends $tea.Model {
1591
+ /**
1592
+ * @remarks
1593
+ * The maximum number of entries returned.
1594
+ *
1595
+ * @example
1596
+ * 20
1597
+ */
795
1598
  maxResults?: number;
1599
+ /**
1600
+ * @remarks
1601
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
1602
+ *
1603
+ * @example
1604
+ * 1
1605
+ */
796
1606
  nextToken?: string;
1607
+ /**
1608
+ * @remarks
1609
+ * The request ID.
1610
+ *
1611
+ * @example
1612
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1613
+ */
797
1614
  requestId?: string;
1615
+ /**
1616
+ * @remarks
1617
+ * The total number of entries returned.
1618
+ *
1619
+ * @example
1620
+ * 200
1621
+ */
798
1622
  totalCount?: number;
1623
+ /**
1624
+ * @remarks
1625
+ * The workspaces.
1626
+ */
799
1627
  workspaces?: ListWorkspacesResponseBodyWorkspaces[];
800
1628
  static names(): {
801
1629
  [key: string]: string;
@@ -824,16 +1652,90 @@ export declare class ListWorkspacesResponse extends $tea.Model {
824
1652
  });
825
1653
  }
826
1654
  export declare class StartJobRunRequest extends $tea.Model {
1655
+ /**
1656
+ * @remarks
1657
+ * The client token that is used to ensure the idempotence of the request.
1658
+ *
1659
+ * @example
1660
+ * 8e6aae2810c8f67229ca70bb31cd6028
1661
+ */
827
1662
  clientToken?: string;
1663
+ /**
1664
+ * @remarks
1665
+ * The code type of the job. Valid values:
1666
+ *
1667
+ * * SQL
1668
+ * * JAR
1669
+ * * PYTHON
1670
+ *
1671
+ * @example
1672
+ * SQL
1673
+ */
828
1674
  codeType?: string;
1675
+ /**
1676
+ * @remarks
1677
+ * The advanced configurations of Spark.
1678
+ */
829
1679
  configurationOverrides?: StartJobRunRequestConfigurationOverrides;
1680
+ displayReleaseVersion?: string;
1681
+ /**
1682
+ * @remarks
1683
+ * The timeout period of the job.
1684
+ *
1685
+ * @example
1686
+ * 100
1687
+ */
830
1688
  executionTimeoutSeconds?: number;
1689
+ fusion?: boolean;
1690
+ /**
1691
+ * @remarks
1692
+ * The information about Spark Driver.
1693
+ */
831
1694
  jobDriver?: JobDriver;
1695
+ /**
1696
+ * @remarks
1697
+ * The job ID.
1698
+ *
1699
+ * @example
1700
+ * jr-12345
1701
+ */
832
1702
  jobId?: string;
1703
+ /**
1704
+ * @remarks
1705
+ * The job name.
1706
+ *
1707
+ * @example
1708
+ * spark_job_name
1709
+ */
833
1710
  name?: string;
1711
+ /**
1712
+ * @remarks
1713
+ * The version number of Spark.
1714
+ *
1715
+ * @example
1716
+ * esr-3.3.1
1717
+ */
834
1718
  releaseVersion?: string;
1719
+ /**
1720
+ * @remarks
1721
+ * The name of the resource queue on which the Spark job runs.
1722
+ *
1723
+ * @example
1724
+ * dev_queue
1725
+ */
835
1726
  resourceQueueId?: string;
1727
+ /**
1728
+ * @remarks
1729
+ * The tags of the job.
1730
+ */
836
1731
  tags?: Tag[];
1732
+ /**
1733
+ * @remarks
1734
+ * The region ID.
1735
+ *
1736
+ * @example
1737
+ * cn-hangzhou
1738
+ */
837
1739
  regionId?: string;
838
1740
  static names(): {
839
1741
  [key: string]: string;
@@ -846,7 +1748,21 @@ export declare class StartJobRunRequest extends $tea.Model {
846
1748
  });
847
1749
  }
848
1750
  export declare class StartJobRunResponseBody extends $tea.Model {
1751
+ /**
1752
+ * @remarks
1753
+ * The job ID.
1754
+ *
1755
+ * @example
1756
+ * jr-54321
1757
+ */
849
1758
  jobRunId?: string;
1759
+ /**
1760
+ * @remarks
1761
+ * The request ID.
1762
+ *
1763
+ * @example
1764
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1765
+ */
850
1766
  requestId?: string;
851
1767
  static names(): {
852
1768
  [key: string]: string;
@@ -874,7 +1790,21 @@ export declare class StartJobRunResponse extends $tea.Model {
874
1790
  [key: string]: any;
875
1791
  });
876
1792
  }
877
- export declare class TerminateSqlStatementRequest extends $tea.Model {
1793
+ export declare class StartSessionClusterRequest extends $tea.Model {
1794
+ /**
1795
+ * @example
1796
+ * root_queue
1797
+ */
1798
+ queueName?: string;
1799
+ /**
1800
+ * @example
1801
+ * sc-xxxxxxxxxxx
1802
+ */
1803
+ sessionClusterId?: string;
1804
+ /**
1805
+ * @example
1806
+ * cn-hangzhou
1807
+ */
878
1808
  regionId?: string;
879
1809
  static names(): {
880
1810
  [key: string]: string;
@@ -886,8 +1816,23 @@ export declare class TerminateSqlStatementRequest extends $tea.Model {
886
1816
  [key: string]: any;
887
1817
  });
888
1818
  }
889
- export declare class TerminateSqlStatementResponseBody extends $tea.Model {
1819
+ export declare class StartSessionClusterResponseBody extends $tea.Model {
1820
+ /**
1821
+ * @remarks
1822
+ * 请求ID。
1823
+ *
1824
+ * @example
1825
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1826
+ */
890
1827
  requestId?: string;
1828
+ /**
1829
+ * @remarks
1830
+ * Workspace Id。
1831
+ *
1832
+ * @example
1833
+ * w-******
1834
+ */
1835
+ sessionClusterId?: string;
891
1836
  static names(): {
892
1837
  [key: string]: string;
893
1838
  };
@@ -898,12 +1843,12 @@ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
898
1843
  [key: string]: any;
899
1844
  });
900
1845
  }
901
- export declare class TerminateSqlStatementResponse extends $tea.Model {
1846
+ export declare class StartSessionClusterResponse extends $tea.Model {
902
1847
  headers?: {
903
1848
  [key: string]: string;
904
1849
  };
905
1850
  statusCode?: number;
906
- body?: TerminateSqlStatementResponseBody;
1851
+ body?: StartSessionClusterResponseBody;
907
1852
  static names(): {
908
1853
  [key: string]: string;
909
1854
  };
@@ -914,10 +1859,22 @@ export declare class TerminateSqlStatementResponse extends $tea.Model {
914
1859
  [key: string]: any;
915
1860
  });
916
1861
  }
917
- export declare class ConfigurationOverridesConfigurations extends $tea.Model {
918
- configFileName?: string;
919
- configItemKey?: string;
920
- configItemValue?: string;
1862
+ export declare class StopSessionClusterRequest extends $tea.Model {
1863
+ /**
1864
+ * @example
1865
+ * root_queue
1866
+ */
1867
+ queueName?: string;
1868
+ /**
1869
+ * @example
1870
+ * sc-xxxxxxxxxxxx
1871
+ */
1872
+ sessionClusterId?: string;
1873
+ /**
1874
+ * @example
1875
+ * cn-hangzhou
1876
+ */
1877
+ regionId?: string;
921
1878
  static names(): {
922
1879
  [key: string]: string;
923
1880
  };
@@ -928,10 +1885,23 @@ export declare class ConfigurationOverridesConfigurations extends $tea.Model {
928
1885
  [key: string]: any;
929
1886
  });
930
1887
  }
931
- export declare class JobDriverSparkSubmit extends $tea.Model {
932
- entryPoint?: string;
933
- entryPointArguments?: string[];
934
- sparkSubmitParameters?: string;
1888
+ export declare class StopSessionClusterResponseBody extends $tea.Model {
1889
+ /**
1890
+ * @remarks
1891
+ * 请求ID。
1892
+ *
1893
+ * @example
1894
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1895
+ */
1896
+ requestId?: string;
1897
+ /**
1898
+ * @remarks
1899
+ * Workspace Id。
1900
+ *
1901
+ * @example
1902
+ * w-******
1903
+ */
1904
+ sessionClusterId?: string;
935
1905
  static names(): {
936
1906
  [key: string]: string;
937
1907
  };
@@ -942,8 +1912,12 @@ export declare class JobDriverSparkSubmit extends $tea.Model {
942
1912
  [key: string]: any;
943
1913
  });
944
1914
  }
945
- export declare class SqlOutputRows extends $tea.Model {
946
- values?: string[];
1915
+ export declare class StopSessionClusterResponse extends $tea.Model {
1916
+ headers?: {
1917
+ [key: string]: string;
1918
+ };
1919
+ statusCode?: number;
1920
+ body?: StopSessionClusterResponseBody;
947
1921
  static names(): {
948
1922
  [key: string]: string;
949
1923
  };
@@ -954,10 +1928,15 @@ export declare class SqlOutputRows extends $tea.Model {
954
1928
  [key: string]: any;
955
1929
  });
956
1930
  }
957
- export declare class SqlOutputSchemaFields extends $tea.Model {
958
- name?: string;
959
- nullable?: boolean;
960
- type?: string;
1931
+ export declare class TerminateSqlStatementRequest extends $tea.Model {
1932
+ /**
1933
+ * @remarks
1934
+ * The region ID.
1935
+ *
1936
+ * @example
1937
+ * cn-hangzhou
1938
+ */
1939
+ regionId?: string;
961
1940
  static names(): {
962
1941
  [key: string]: string;
963
1942
  };
@@ -968,8 +1947,15 @@ export declare class SqlOutputSchemaFields extends $tea.Model {
968
1947
  [key: string]: any;
969
1948
  });
970
1949
  }
971
- export declare class SqlOutputSchema extends $tea.Model {
972
- fields?: SqlOutputSchemaFields[];
1950
+ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
1951
+ /**
1952
+ * @remarks
1953
+ * The request ID.
1954
+ *
1955
+ * @example
1956
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
1957
+ */
1958
+ requestId?: string;
973
1959
  static names(): {
974
1960
  [key: string]: string;
975
1961
  };
@@ -980,8 +1966,12 @@ export declare class SqlOutputSchema extends $tea.Model {
980
1966
  [key: string]: any;
981
1967
  });
982
1968
  }
983
- export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
984
- statementId?: string;
1969
+ export declare class TerminateSqlStatementResponse extends $tea.Model {
1970
+ headers?: {
1971
+ [key: string]: string;
1972
+ };
1973
+ statusCode?: number;
1974
+ body?: TerminateSqlStatementResponseBody;
985
1975
  static names(): {
986
1976
  [key: string]: string;
987
1977
  };
@@ -992,8 +1982,10 @@ export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
992
1982
  [key: string]: any;
993
1983
  });
994
1984
  }
995
- export declare class GetJobRunResponseBodyJobRunConfigurationOverrides extends $tea.Model {
996
- configurations?: Configuration[];
1985
+ export declare class ConfigurationOverridesConfigurations extends $tea.Model {
1986
+ configFileName?: string;
1987
+ configItemKey?: string;
1988
+ configItemValue?: string;
997
1989
  static names(): {
998
1990
  [key: string]: string;
999
1991
  };
@@ -1004,9 +1996,10 @@ export declare class GetJobRunResponseBodyJobRunConfigurationOverrides extends $
1004
1996
  [key: string]: any;
1005
1997
  });
1006
1998
  }
1007
- export declare class GetJobRunResponseBodyJobRunStateChangeReason extends $tea.Model {
1008
- code?: string;
1009
- message?: string;
1999
+ export declare class JobDriverSparkSubmit extends $tea.Model {
2000
+ entryPoint?: string;
2001
+ entryPointArguments?: string[];
2002
+ sparkSubmitParameters?: string;
1010
2003
  static names(): {
1011
2004
  [key: string]: string;
1012
2005
  };
@@ -1017,23 +2010,237 @@ export declare class GetJobRunResponseBodyJobRunStateChangeReason extends $tea.M
1017
2010
  [key: string]: any;
1018
2011
  });
1019
2012
  }
1020
- export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
1021
- codeType?: string;
1022
- configurationOverrides?: GetJobRunResponseBodyJobRunConfigurationOverrides;
1023
- endTime?: number;
1024
- executionTimeoutSeconds?: number;
1025
- jobDriver?: JobDriver;
1026
- jobRunId?: string;
1027
- log?: RunLog;
1028
- name?: string;
1029
- releaseVersion?: string;
1030
- resourceOwnerId?: string;
1031
- resourceQueueId?: string;
1032
- state?: string;
1033
- stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
1034
- submitTime?: number;
2013
+ export declare class SqlOutputRows extends $tea.Model {
2014
+ /**
2015
+ * @example
2016
+ * null
2017
+ */
2018
+ values?: string[];
2019
+ static names(): {
2020
+ [key: string]: string;
2021
+ };
2022
+ static types(): {
2023
+ [key: string]: any;
2024
+ };
2025
+ constructor(map?: {
2026
+ [key: string]: any;
2027
+ });
2028
+ }
2029
+ export declare class SqlOutputSchemaFields extends $tea.Model {
2030
+ name?: string;
2031
+ nullable?: boolean;
2032
+ type?: string;
2033
+ static names(): {
2034
+ [key: string]: string;
2035
+ };
2036
+ static types(): {
2037
+ [key: string]: any;
2038
+ };
2039
+ constructor(map?: {
2040
+ [key: string]: any;
2041
+ });
2042
+ }
2043
+ export declare class SqlOutputSchema extends $tea.Model {
2044
+ fields?: SqlOutputSchemaFields[];
2045
+ static names(): {
2046
+ [key: string]: string;
2047
+ };
2048
+ static types(): {
2049
+ [key: string]: any;
2050
+ };
2051
+ constructor(map?: {
2052
+ [key: string]: any;
2053
+ });
2054
+ }
2055
+ export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
2056
+ /**
2057
+ * @remarks
2058
+ * The ID of the SQL query.
2059
+ *
2060
+ * @example
2061
+ * st-1231dfafadfa***
2062
+ */
2063
+ statementId?: string;
2064
+ static names(): {
2065
+ [key: string]: string;
2066
+ };
2067
+ static types(): {
2068
+ [key: string]: any;
2069
+ };
2070
+ constructor(map?: {
2071
+ [key: string]: any;
2072
+ });
2073
+ }
2074
+ export declare class GetJobRunResponseBodyJobRunConfigurationOverrides extends $tea.Model {
2075
+ /**
2076
+ * @remarks
2077
+ * The configurations.
2078
+ */
2079
+ configurations?: Configuration[];
2080
+ static names(): {
2081
+ [key: string]: string;
2082
+ };
2083
+ static types(): {
2084
+ [key: string]: any;
2085
+ };
2086
+ constructor(map?: {
2087
+ [key: string]: any;
2088
+ });
2089
+ }
2090
+ export declare class GetJobRunResponseBodyJobRunStateChangeReason extends $tea.Model {
2091
+ /**
2092
+ * @remarks
2093
+ * The error code.
2094
+ *
2095
+ * @example
2096
+ * ERR-100000
2097
+ */
2098
+ code?: string;
2099
+ /**
2100
+ * @remarks
2101
+ * The error message.
2102
+ *
2103
+ * @example
2104
+ * connection refused
2105
+ */
2106
+ message?: string;
2107
+ static names(): {
2108
+ [key: string]: string;
2109
+ };
2110
+ static types(): {
2111
+ [key: string]: any;
2112
+ };
2113
+ constructor(map?: {
2114
+ [key: string]: any;
2115
+ });
2116
+ }
2117
+ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
2118
+ /**
2119
+ * @remarks
2120
+ * The code type of the job. Valid values:
2121
+ *
2122
+ * * SQL
2123
+ * * JAR
2124
+ * * PYTHON
2125
+ *
2126
+ * @example
2127
+ * SQL
2128
+ */
2129
+ codeType?: string;
2130
+ /**
2131
+ * @remarks
2132
+ * The job configurations of Spark.
2133
+ */
2134
+ configurationOverrides?: GetJobRunResponseBodyJobRunConfigurationOverrides;
2135
+ displayReleaseVersion?: string;
2136
+ /**
2137
+ * @remarks
2138
+ * The end time of the job.
2139
+ *
2140
+ * @example
2141
+ * 1684119314000
2142
+ */
2143
+ endTime?: number;
2144
+ /**
2145
+ * @remarks
2146
+ * The timeout period of the job.
2147
+ *
2148
+ * @example
2149
+ * 3600
2150
+ */
2151
+ executionTimeoutSeconds?: number;
2152
+ fusion?: boolean;
2153
+ /**
2154
+ * @remarks
2155
+ * The information about Spark Driver.
2156
+ */
2157
+ jobDriver?: JobDriver;
2158
+ /**
2159
+ * @remarks
2160
+ * The job ID.
2161
+ *
2162
+ * @example
2163
+ * jr-231231
2164
+ */
2165
+ jobRunId?: string;
2166
+ /**
2167
+ * @remarks
2168
+ * The path where the operational logs are stored.
2169
+ */
2170
+ log?: RunLog;
2171
+ /**
2172
+ * @remarks
2173
+ * The job name.
2174
+ *
2175
+ * @example
2176
+ * jobName
2177
+ */
2178
+ name?: string;
2179
+ /**
2180
+ * @remarks
2181
+ * The version of the Spark engine on which the job runs.
2182
+ *
2183
+ * @example
2184
+ * esr-3.3.1
2185
+ */
2186
+ releaseVersion?: string;
2187
+ /**
2188
+ * @remarks
2189
+ * The ID of the user who created the job.
2190
+ *
2191
+ * @example
2192
+ * 1509789347011222
2193
+ */
2194
+ resourceOwnerId?: string;
2195
+ /**
2196
+ * @remarks
2197
+ * The name of the queue on which the job runs.
2198
+ *
2199
+ * @example
2200
+ * root_queue
2201
+ */
2202
+ resourceQueueId?: string;
2203
+ /**
2204
+ * @remarks
2205
+ * The job state.
2206
+ *
2207
+ * @example
2208
+ * Running
2209
+ */
2210
+ state?: string;
2211
+ /**
2212
+ * @remarks
2213
+ * The reason of the job status change.
2214
+ */
2215
+ stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
2216
+ /**
2217
+ * @remarks
2218
+ * The time when the job was submitted.
2219
+ *
2220
+ * @example
2221
+ * 1684119314000
2222
+ */
2223
+ submitTime?: number;
2224
+ /**
2225
+ * @remarks
2226
+ * The tags of the job.
2227
+ */
1035
2228
  tags?: Tag[];
2229
+ /**
2230
+ * @remarks
2231
+ * The web UI of the job.
2232
+ *
2233
+ * @example
2234
+ * http://spark-ui
2235
+ */
1036
2236
  webUI?: string;
2237
+ /**
2238
+ * @remarks
2239
+ * The workspace ID.
2240
+ *
2241
+ * @example
2242
+ * w-1234abcd
2243
+ */
1037
2244
  workspaceId?: string;
1038
2245
  static names(): {
1039
2246
  [key: string]: string;
@@ -1046,7 +2253,21 @@ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
1046
2253
  });
1047
2254
  }
1048
2255
  export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Model {
2256
+ /**
2257
+ * @remarks
2258
+ * The queried data, which is a string in the JSON format.
2259
+ *
2260
+ * @example
2261
+ * [{\\"values\\":[\\"test_db\\",\\"test_table\\",false]}
2262
+ */
1049
2263
  rows?: string;
2264
+ /**
2265
+ * @remarks
2266
+ * The information about the schema, which is a string in the JSON format.
2267
+ *
2268
+ * @example
2269
+ * {\\"type\\":\\"struct\\",\\"fields\\":[{\\"name\\":\\"namespace\\",\\"type\\":\\"string\\",\\"nullable\\":false,\\"metadata\\":{}},{\\"name\\":\\"tableName\\",\\"type\\":\\"string\\",\\"nullable\\":false,\\"metadata\\":{}},{\\"name\\":\\"isTemporary\\",\\"type\\":\\"boolean\\",\\"nullable\\":false,\\"metadata\\":{}}]}
2270
+ */
1050
2271
  schema?: string;
1051
2272
  static names(): {
1052
2273
  [key: string]: string;
@@ -1059,11 +2280,55 @@ export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Mode
1059
2280
  });
1060
2281
  }
1061
2282
  export declare class GetSqlStatementResponseBodyData extends $tea.Model {
2283
+ /**
2284
+ * @remarks
2285
+ * The list of time that is consumed by SQL queries.
2286
+ */
1062
2287
  executionTime?: number[];
2288
+ /**
2289
+ * @remarks
2290
+ * The error code.
2291
+ *
2292
+ * @example
2293
+ * ERROR-102
2294
+ */
1063
2295
  sqlErrorCode?: string;
2296
+ /**
2297
+ * @remarks
2298
+ * The error message.
2299
+ *
2300
+ * @example
2301
+ * error message
2302
+ */
1064
2303
  sqlErrorMessage?: string;
2304
+ /**
2305
+ * @remarks
2306
+ * The query results.
2307
+ */
1065
2308
  sqlOutputs?: GetSqlStatementResponseBodyDataSqlOutputs[];
2309
+ /**
2310
+ * @remarks
2311
+ * The query status.
2312
+ *
2313
+ * Valid values:
2314
+ *
2315
+ * * running
2316
+ * * available
2317
+ * * cancelled
2318
+ * * error
2319
+ * * cancelling
2320
+ *
2321
+ * @example
2322
+ * running
2323
+ */
1066
2324
  state?: string;
2325
+ /**
2326
+ * @remarks
2327
+ * The query ID.
2328
+ *
2329
+ * @example
2330
+ * st-1231311abadfaa
2331
+ */
1067
2332
  statementId?: string;
1068
2333
  static names(): {
1069
2334
  [key: string]: string;
@@ -1076,7 +2341,21 @@ export declare class GetSqlStatementResponseBodyData extends $tea.Model {
1076
2341
  });
1077
2342
  }
1078
2343
  export declare class ListJobRunsRequestEndTime extends $tea.Model {
2344
+ /**
2345
+ * @remarks
2346
+ * The end of the end time range.
2347
+ *
2348
+ * @example
2349
+ * 1710432000000
2350
+ */
1079
2351
  endTime?: number;
2352
+ /**
2353
+ * @remarks
2354
+ * The beginning of the end time range.
2355
+ *
2356
+ * @example
2357
+ * 1709740800000
2358
+ */
1080
2359
  startTime?: number;
1081
2360
  static names(): {
1082
2361
  [key: string]: string;
@@ -1089,7 +2368,21 @@ export declare class ListJobRunsRequestEndTime extends $tea.Model {
1089
2368
  });
1090
2369
  }
1091
2370
  export declare class ListJobRunsRequestStartTime extends $tea.Model {
2371
+ /**
2372
+ * @remarks
2373
+ * The end of the start time range.
2374
+ *
2375
+ * @example
2376
+ * 1710432000000
2377
+ */
1092
2378
  endTime?: number;
2379
+ /**
2380
+ * @remarks
2381
+ * The beginning of the start time range.
2382
+ *
2383
+ * @example
2384
+ * 1709740800000
2385
+ */
1093
2386
  startTime?: number;
1094
2387
  static names(): {
1095
2388
  [key: string]: string;
@@ -1102,7 +2395,21 @@ export declare class ListJobRunsRequestStartTime extends $tea.Model {
1102
2395
  });
1103
2396
  }
1104
2397
  export declare class ListJobRunsRequestTags extends $tea.Model {
2398
+ /**
2399
+ * @remarks
2400
+ * The key of tag N.
2401
+ *
2402
+ * @example
2403
+ * tag_key
2404
+ */
1105
2405
  key?: string;
2406
+ /**
2407
+ * @remarks
2408
+ * The value of tag N.
2409
+ *
2410
+ * @example
2411
+ * value
2412
+ */
1106
2413
  value?: string;
1107
2414
  static names(): {
1108
2415
  [key: string]: string;
@@ -1115,6 +2422,10 @@ export declare class ListJobRunsRequestTags extends $tea.Model {
1115
2422
  });
1116
2423
  }
1117
2424
  export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extends $tea.Model {
2425
+ /**
2426
+ * @remarks
2427
+ * The SparkConf objects.
2428
+ */
1118
2429
  configurations?: Configuration[];
1119
2430
  static names(): {
1120
2431
  [key: string]: string;
@@ -1127,7 +2438,21 @@ export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extend
1127
2438
  });
1128
2439
  }
1129
2440
  export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $tea.Model {
2441
+ /**
2442
+ * @remarks
2443
+ * The error code.
2444
+ *
2445
+ * @example
2446
+ * 0
2447
+ */
1130
2448
  code?: string;
2449
+ /**
2450
+ * @remarks
2451
+ * The error message.
2452
+ *
2453
+ * @example
2454
+ * success
2455
+ */
1131
2456
  message?: string;
1132
2457
  static names(): {
1133
2458
  [key: string]: string;
@@ -1140,21 +2465,126 @@ export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $te
1140
2465
  });
1141
2466
  }
1142
2467
  export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
2468
+ /**
2469
+ * @remarks
2470
+ * The code type of the job. Valid values:
2471
+ *
2472
+ * SQL
2473
+ *
2474
+ * JAR
2475
+ *
2476
+ * PYTHON
2477
+ *
2478
+ * @example
2479
+ * SQL
2480
+ */
1143
2481
  codeType?: string;
2482
+ /**
2483
+ * @remarks
2484
+ * The advanced configurations of Spark.
2485
+ */
1144
2486
  configurationOverrides?: ListJobRunsResponseBodyJobRunsConfigurationOverrides;
2487
+ /**
2488
+ * @remarks
2489
+ * The ID of the user who created the job.
2490
+ *
2491
+ * @example
2492
+ * 1509789347011222
2493
+ */
1145
2494
  creator?: string;
2495
+ displayReleaseVersion?: string;
2496
+ /**
2497
+ * @remarks
2498
+ * The end time of the job.
2499
+ *
2500
+ * @example
2501
+ * 1684119314000
2502
+ */
1146
2503
  endTime?: number;
2504
+ /**
2505
+ * @remarks
2506
+ * The timeout period of the job.
2507
+ *
2508
+ * @example
2509
+ * 3600
2510
+ */
1147
2511
  executionTimeoutSeconds?: number;
2512
+ fusion?: boolean;
2513
+ /**
2514
+ * @remarks
2515
+ * The information about Spark Driver.
2516
+ */
1148
2517
  jobDriver?: JobDriver;
2518
+ /**
2519
+ * @remarks
2520
+ * The job ID.
2521
+ *
2522
+ * @example
2523
+ * jr-231231
2524
+ */
1149
2525
  jobRunId?: string;
2526
+ /**
2527
+ * @remarks
2528
+ * The path where the operational logs are stored.
2529
+ */
1150
2530
  log?: RunLog;
2531
+ /**
2532
+ * @remarks
2533
+ * The job name.
2534
+ *
2535
+ * @example
2536
+ * jobName
2537
+ */
1151
2538
  name?: string;
2539
+ /**
2540
+ * @remarks
2541
+ * The version of Spark on which the jobs run.
2542
+ *
2543
+ * @example
2544
+ * esr-native-3.4.0
2545
+ */
1152
2546
  releaseVersion?: string;
2547
+ /**
2548
+ * @remarks
2549
+ * The job state.
2550
+ *
2551
+ * @example
2552
+ * Running
2553
+ */
1153
2554
  state?: string;
2555
+ /**
2556
+ * @remarks
2557
+ * The reason of the job status change.
2558
+ */
1154
2559
  stateChangeReason?: ListJobRunsResponseBodyJobRunsStateChangeReason;
2560
+ /**
2561
+ * @remarks
2562
+ * The time when the job was submitted.
2563
+ *
2564
+ * @example
2565
+ * 1684119314000
2566
+ */
1155
2567
  submitTime?: number;
2568
+ /**
2569
+ * @remarks
2570
+ * The tags of the job.
2571
+ */
1156
2572
  tags?: Tag[];
2573
+ /**
2574
+ * @remarks
2575
+ * The web UI of the job.
2576
+ *
2577
+ * @example
2578
+ * http://spark-ui
2579
+ */
1157
2580
  webUI?: string;
2581
+ /**
2582
+ * @remarks
2583
+ * The workspace ID.
2584
+ *
2585
+ * @example
2586
+ * w-1234abcd
2587
+ */
1158
2588
  workspaceId?: string;
1159
2589
  static names(): {
1160
2590
  [key: string]: string;
@@ -1167,13 +2597,82 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
1167
2597
  });
1168
2598
  }
1169
2599
  export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
2600
+ /**
2601
+ * @remarks
2602
+ * The version number of open source Spark.
2603
+ *
2604
+ * @example
2605
+ * Spark 3.3.1
2606
+ */
1170
2607
  communityVersion?: string;
2608
+ /**
2609
+ * @remarks
2610
+ * The CPU architectures.
2611
+ */
1171
2612
  cpuArchitectures?: string[];
2613
+ /**
2614
+ * @remarks
2615
+ * The version number.
2616
+ *
2617
+ * @example
2618
+ * esr-2.1 (Spark 3.3.1, Scala 2.12)
2619
+ */
2620
+ displayReleaseVersion?: string;
2621
+ /**
2622
+ * @remarks
2623
+ * Indicates whether the Fusion engine is used for acceleration.
2624
+ *
2625
+ * @example
2626
+ * true
2627
+ */
2628
+ fusion?: boolean;
2629
+ /**
2630
+ * @remarks
2631
+ * The creation time.
2632
+ *
2633
+ * @example
2634
+ * 1716215854101
2635
+ */
1172
2636
  gmtCreate?: number;
2637
+ /**
2638
+ * @remarks
2639
+ * The type of the Infrastructure as a Service (IaaS) layer.
2640
+ *
2641
+ * @example
2642
+ * ASI
2643
+ */
1173
2644
  iaasType?: string;
2645
+ /**
2646
+ * @remarks
2647
+ * The version number.
2648
+ *
2649
+ * @example
2650
+ * esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
2651
+ */
1174
2652
  releaseVersion?: string;
2653
+ /**
2654
+ * @remarks
2655
+ * The version of Scala.
2656
+ *
2657
+ * @example
2658
+ * 2.12
2659
+ */
1175
2660
  scalaVersion?: string;
2661
+ /**
2662
+ * @remarks
2663
+ * The status of the version.
2664
+ *
2665
+ * @example
2666
+ * ONLINE
2667
+ */
1176
2668
  state?: string;
2669
+ /**
2670
+ * @remarks
2671
+ * The type of the version.
2672
+ *
2673
+ * @example
2674
+ * stable
2675
+ */
1177
2676
  type?: string;
1178
2677
  static names(): {
1179
2678
  [key: string]: string;
@@ -1186,8 +2685,29 @@ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea
1186
2685
  });
1187
2686
  }
1188
2687
  export declare class ListSessionClustersResponseBodySessionClustersApplicationConfigs extends $tea.Model {
2688
+ /**
2689
+ * @remarks
2690
+ * The name of the configuration file.
2691
+ *
2692
+ * @example
2693
+ * spark-default.conf
2694
+ */
1189
2695
  configFileName?: string;
2696
+ /**
2697
+ * @remarks
2698
+ * The key of the configuration item.
2699
+ *
2700
+ * @example
2701
+ * spark.app.name
2702
+ */
1190
2703
  configItemKey?: string;
2704
+ /**
2705
+ * @remarks
2706
+ * The value of the configuration item.
2707
+ *
2708
+ * @example
2709
+ * test_application
2710
+ */
1191
2711
  configItemValue?: string;
1192
2712
  static names(): {
1193
2713
  [key: string]: string;
@@ -1200,6 +2720,13 @@ export declare class ListSessionClustersResponseBodySessionClustersApplicationCo
1200
2720
  });
1201
2721
  }
1202
2722
  export declare class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $tea.Model {
2723
+ /**
2724
+ * @remarks
2725
+ * Indicates whether automatic startup is enabled.
2726
+ *
2727
+ * @example
2728
+ * true
2729
+ */
1203
2730
  enable?: boolean;
1204
2731
  static names(): {
1205
2732
  [key: string]: string;
@@ -1212,7 +2739,21 @@ export declare class ListSessionClustersResponseBodySessionClustersAutoStartConf
1212
2739
  });
1213
2740
  }
1214
2741
  export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $tea.Model {
2742
+ /**
2743
+ * @remarks
2744
+ * Indicates whether automatic termination is enabled.
2745
+ *
2746
+ * @example
2747
+ * false
2748
+ */
1215
2749
  enable?: boolean;
2750
+ /**
2751
+ * @remarks
2752
+ * The idle timeout period. The SQL Compute is automatically terminated if the idle timeout period is exceeded.
2753
+ *
2754
+ * @example
2755
+ * 45
2756
+ */
1216
2757
  idleTimeoutMinutes?: number;
1217
2758
  static names(): {
1218
2759
  [key: string]: string;
@@ -1225,7 +2766,21 @@ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfi
1225
2766
  });
1226
2767
  }
1227
2768
  export declare class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $tea.Model {
2769
+ /**
2770
+ * @remarks
2771
+ * The status change code.
2772
+ *
2773
+ * @example
2774
+ * 200
2775
+ */
1228
2776
  code?: string;
2777
+ /**
2778
+ * @remarks
2779
+ * The status change message.
2780
+ *
2781
+ * @example
2782
+ * ok
2783
+ */
1229
2784
  message?: string;
1230
2785
  static names(): {
1231
2786
  [key: string]: string;
@@ -1238,21 +2793,88 @@ export declare class ListSessionClustersResponseBodySessionClustersStateChangeRe
1238
2793
  });
1239
2794
  }
1240
2795
  export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
2796
+ /**
2797
+ * @remarks
2798
+ * The SQL Compute configurations, which are equivalent to the configurations of the Spark job.
2799
+ */
1241
2800
  applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
2801
+ /**
2802
+ * @remarks
2803
+ * The automatic startup configurations.
2804
+ */
1242
2805
  autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
2806
+ /**
2807
+ * @remarks
2808
+ * The automatic termination configurations.
2809
+ */
1243
2810
  autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
2811
+ displayReleaseVersion?: string;
1244
2812
  domain?: string;
1245
2813
  draftId?: string;
2814
+ fusion?: boolean;
1246
2815
  kind?: string;
2816
+ /**
2817
+ * @remarks
2818
+ * The name of the SQL Compute.
2819
+ *
2820
+ * @example
2821
+ * adhoc_query
2822
+ */
1247
2823
  name?: string;
2824
+ /**
2825
+ * @remarks
2826
+ * The name of the queue on which the SQL Compute runs.
2827
+ *
2828
+ * @example
2829
+ * dev_queue
2830
+ */
1248
2831
  queueName?: string;
1249
2832
  releaseVersion?: string;
2833
+ /**
2834
+ * @remarks
2835
+ * The SQL Compute ID.
2836
+ *
2837
+ * @example
2838
+ * sc-123131
2839
+ */
1250
2840
  sessionClusterId?: string;
2841
+ /**
2842
+ * @remarks
2843
+ * The status of the SQL Compute.
2844
+ *
2845
+ * @example
2846
+ * Running
2847
+ */
1251
2848
  state?: string;
2849
+ /**
2850
+ * @remarks
2851
+ * The details of the last status change of the SQL Compute.
2852
+ */
1252
2853
  stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
2854
+ /**
2855
+ * @remarks
2856
+ * The user ID.
2857
+ *
2858
+ * @example
2859
+ * 123131
2860
+ */
1253
2861
  userId?: string;
2862
+ /**
2863
+ * @remarks
2864
+ * The name of the user.
2865
+ *
2866
+ * @example
2867
+ * test_user
2868
+ */
1254
2869
  userName?: string;
1255
2870
  webUI?: string;
2871
+ /**
2872
+ * @remarks
2873
+ * The workspace ID.
2874
+ *
2875
+ * @example
2876
+ * w-1234abcd
2877
+ */
1256
2878
  workspaceId?: string;
1257
2879
  static names(): {
1258
2880
  [key: string]: string;
@@ -1265,10 +2887,45 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
1265
2887
  });
1266
2888
  }
1267
2889
  export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
2890
+ /**
2891
+ * @remarks
2892
+ * The Alibaba Cloud Resource Name (ARN) of a behavior.
2893
+ *
2894
+ * @example
2895
+ * acs:emr::workspaceId:action/create_queue
2896
+ */
1268
2897
  actionArn?: string;
2898
+ /**
2899
+ * @remarks
2900
+ * The name of the permission.
2901
+ *
2902
+ * @example
2903
+ * view
2904
+ */
1269
2905
  actionName?: string;
2906
+ /**
2907
+ * @remarks
2908
+ * The dependencies of the operation.
2909
+ *
2910
+ * @example
2911
+ * ["view"]
2912
+ */
1270
2913
  dependencies?: string[];
2914
+ /**
2915
+ * @remarks
2916
+ * The description of the operation.
2917
+ *
2918
+ * @example
2919
+ * 文件目录遍历、文件浏览
2920
+ */
1271
2921
  description?: string;
2922
+ /**
2923
+ * @remarks
2924
+ * The display name of the permission.
2925
+ *
2926
+ * @example
2927
+ * 文件目录遍历、文件浏览
2928
+ */
1272
2929
  displayName?: string;
1273
2930
  static names(): {
1274
2931
  [key: string]: string;
@@ -1281,18 +2938,103 @@ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $
1281
2938
  });
1282
2939
  }
1283
2940
  export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
2941
+ /**
2942
+ * @remarks
2943
+ * The operations allowed for the queue.
2944
+ */
1284
2945
  allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
2946
+ /**
2947
+ * @remarks
2948
+ * The ID of the user who created the queue.
2949
+ *
2950
+ * @example
2951
+ * 237109
2952
+ */
1285
2953
  creator?: string;
2954
+ /**
2955
+ * @remarks
2956
+ * The environment types of the queue.
2957
+ */
1286
2958
  environments?: string[];
2959
+ /**
2960
+ * @remarks
2961
+ * The maximum capacity of resources that can be used in the queue.
2962
+ *
2963
+ * @example
2964
+ * {"cpu": "2","memory": "2Gi"}
2965
+ */
1287
2966
  maxResource?: string;
2967
+ /**
2968
+ * @remarks
2969
+ * The minimum capacity of resources that can be used in the queue.
2970
+ *
2971
+ * @example
2972
+ * {"cpu": "2","memory": "2Gi"}
2973
+ */
1288
2974
  minResource?: string;
2975
+ /**
2976
+ * @remarks
2977
+ * The queue label.
2978
+ *
2979
+ * @example
2980
+ * dev_queue
2981
+ */
1289
2982
  properties?: string;
2983
+ /**
2984
+ * @remarks
2985
+ * The name of the queue.
2986
+ *
2987
+ * @example
2988
+ * dev_queue
2989
+ */
1290
2990
  queueName?: string;
2991
+ /**
2992
+ * @remarks
2993
+ * The queue architecture.
2994
+ *
2995
+ * @example
2996
+ * {"arch": "x86"}
2997
+ */
1291
2998
  queueScope?: string;
2999
+ /**
3000
+ * @remarks
3001
+ * The status of the queue.
3002
+ *
3003
+ * @example
3004
+ * RUNNING
3005
+ */
1292
3006
  queueStatus?: string;
3007
+ /**
3008
+ * @remarks
3009
+ * The queue type.
3010
+ *
3011
+ * @example
3012
+ * instance, instanceChildren
3013
+ */
1293
3014
  queueType?: string;
3015
+ /**
3016
+ * @remarks
3017
+ * The region ID.
3018
+ *
3019
+ * @example
3020
+ * cn-hangzhou
3021
+ */
1294
3022
  regionId?: string;
3023
+ /**
3024
+ * @remarks
3025
+ * The capacity of resources that are used in the queue.
3026
+ *
3027
+ * @example
3028
+ * {"cpu": "2","memory": "2Gi"}
3029
+ */
1295
3030
  usedResource?: string;
3031
+ /**
3032
+ * @remarks
3033
+ * The workspace ID.
3034
+ *
3035
+ * @example
3036
+ * w-1234abcd
3037
+ */
1296
3038
  workspaceId?: string;
1297
3039
  static names(): {
1298
3040
  [key: string]: string;
@@ -1305,7 +3047,21 @@ export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
1305
3047
  });
1306
3048
  }
1307
3049
  export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason extends $tea.Model {
3050
+ /**
3051
+ * @remarks
3052
+ * The error code.
3053
+ *
3054
+ * @example
3055
+ * 0
3056
+ */
1308
3057
  code?: string;
3058
+ /**
3059
+ * @remarks
3060
+ * The error message.
3061
+ *
3062
+ * @example
3063
+ * Success
3064
+ */
1309
3065
  message?: string;
1310
3066
  static names(): {
1311
3067
  [key: string]: string;
@@ -1318,24 +3074,155 @@ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason exten
1318
3074
  });
1319
3075
  }
1320
3076
  export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
3077
+ /**
3078
+ * @remarks
3079
+ * Indicates whether auto-renewal is enabled. This parameter is required only if the paymentType parameter is set to Subscription.
3080
+ *
3081
+ * @example
3082
+ * true
3083
+ */
1321
3084
  autoRenew?: boolean;
3085
+ /**
3086
+ * @remarks
3087
+ * The auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
3088
+ *
3089
+ * @example
3090
+ * 1
3091
+ */
1322
3092
  autoRenewPeriod?: number;
3093
+ /**
3094
+ * @remarks
3095
+ * The unit of the auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
3096
+ *
3097
+ * @example
3098
+ * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
3099
+ */
1323
3100
  autoRenewPeriodUnit?: string;
3101
+ /**
3102
+ * @remarks
3103
+ * The time when the workspace was created.
3104
+ *
3105
+ * @example
3106
+ * 1684115879955
3107
+ */
1324
3108
  createTime?: number;
3109
+ /**
3110
+ * @remarks
3111
+ * The information of the Data Lake Formation (DLF) catalog.
3112
+ *
3113
+ * @example
3114
+ * default
3115
+ */
1325
3116
  dlfCatalogId?: string;
3117
+ dlfType?: string;
3118
+ /**
3119
+ * @remarks
3120
+ * The subscription period. This parameter is required only if the paymentType parameter is set to Subscription.
3121
+ *
3122
+ * @example
3123
+ * 1
3124
+ */
1326
3125
  duration?: number;
3126
+ /**
3127
+ * @remarks
3128
+ * The time when the workspace was released.
3129
+ *
3130
+ * @example
3131
+ * 1687103999999
3132
+ */
1327
3133
  endTime?: number;
3134
+ /**
3135
+ * @remarks
3136
+ * The reason for the failure.
3137
+ *
3138
+ * @example
3139
+ * out of stock
3140
+ */
1328
3141
  failReason?: string;
3142
+ /**
3143
+ * @remarks
3144
+ * The unit of the subscription duration. This parameter is required only if the paymentType parameter is set to Subscription.
3145
+ *
3146
+ * @example
3147
+ * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
3148
+ */
1329
3149
  paymentDurationUnit?: string;
3150
+ /**
3151
+ * @remarks
3152
+ * The status of the payment.
3153
+ *
3154
+ * @example
3155
+ * PAID/UNPAID
3156
+ */
1330
3157
  paymentStatus?: string;
3158
+ /**
3159
+ * @remarks
3160
+ * The payment type.
3161
+ *
3162
+ * @example
3163
+ * PayAsYouGo or Subscription
3164
+ */
1331
3165
  paymentType?: string;
3166
+ /**
3167
+ * @remarks
3168
+ * The region ID.
3169
+ *
3170
+ * @example
3171
+ * cn-shanghai
3172
+ */
1332
3173
  regionId?: string;
3174
+ /**
3175
+ * @remarks
3176
+ * The reason why the workspace is released.
3177
+ *
3178
+ * @example
3179
+ * SERVICE_RELEASE
3180
+ */
1333
3181
  releaseType?: string;
3182
+ /**
3183
+ * @remarks
3184
+ * The resource specifications.
3185
+ *
3186
+ * @example
3187
+ * 100cu
3188
+ */
1334
3189
  resourceSpec?: string;
3190
+ /**
3191
+ * @remarks
3192
+ * The information about the workspace status change.
3193
+ */
1335
3194
  stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
3195
+ /**
3196
+ * @remarks
3197
+ * The Object Storage Service (OSS) path.
3198
+ *
3199
+ * @example
3200
+ * spark-result
3201
+ */
1336
3202
  storage?: string;
3203
+ /**
3204
+ * @remarks
3205
+ * The workspace ID.
3206
+ *
3207
+ * @example
3208
+ * w-******
3209
+ */
1337
3210
  workspaceId?: string;
3211
+ /**
3212
+ * @remarks
3213
+ * The name of the workspace.
3214
+ *
3215
+ * @example
3216
+ * spark批作业空间-1
3217
+ */
1338
3218
  workspaceName?: string;
3219
+ /**
3220
+ * @remarks
3221
+ * The workspace status.
3222
+ *
3223
+ * @example
3224
+ * STARTING,RUNNING,TERMINATED
3225
+ */
1339
3226
  workspaceStatus?: string;
1340
3227
  static names(): {
1341
3228
  [key: string]: string;
@@ -1348,8 +3235,29 @@ export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
1348
3235
  });
1349
3236
  }
1350
3237
  export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
3238
+ /**
3239
+ * @remarks
3240
+ * The configuration file of SparkConf.
3241
+ *
3242
+ * @example
3243
+ * spark-default.conf
3244
+ */
1351
3245
  configFileName?: string;
3246
+ /**
3247
+ * @remarks
3248
+ * The key of SparkConf.
3249
+ *
3250
+ * @example
3251
+ * spark.app.name
3252
+ */
1352
3253
  configItemKey?: string;
3254
+ /**
3255
+ * @remarks
3256
+ * The value of SparkConf.
3257
+ *
3258
+ * @example
3259
+ * test_app
3260
+ */
1353
3261
  configItemValue?: string;
1354
3262
  static names(): {
1355
3263
  [key: string]: string;
@@ -1362,6 +3270,10 @@ export declare class StartJobRunRequestConfigurationOverridesConfigurations exte
1362
3270
  });
1363
3271
  }
1364
3272
  export declare class StartJobRunRequestConfigurationOverrides extends $tea.Model {
3273
+ /**
3274
+ * @remarks
3275
+ * The SparkConf objects.
3276
+ */
1365
3277
  configurations?: StartJobRunRequestConfigurationOverridesConfigurations[];
1366
3278
  static names(): {
1367
3279
  [key: string]: string;
@@ -1379,237 +3291,273 @@ export default class Client extends OpenApi {
1379
3291
  [key: string]: string;
1380
3292
  }, endpoint: string): string;
1381
3293
  /**
1382
- * @summary Adds a RAM user or RAM role to a workspace as a member.
3294
+ * Adds a RAM user or RAM role to a workspace as a member.
1383
3295
  *
1384
- * @param request AddMembersRequest
1385
- * @param headers map
1386
- * @param runtime runtime options for this request RuntimeOptions
1387
- * @return AddMembersResponse
3296
+ * @param request - AddMembersRequest
3297
+ * @param headers - map
3298
+ * @param runtime - runtime options for this request RuntimeOptions
3299
+ * @returns AddMembersResponse
1388
3300
  */
1389
3301
  addMembersWithOptions(request: AddMembersRequest, headers: {
1390
3302
  [key: string]: string;
1391
3303
  }, runtime: $Util.RuntimeOptions): Promise<AddMembersResponse>;
1392
3304
  /**
1393
- * @summary Adds a RAM user or RAM role to a workspace as a member.
3305
+ * Adds a RAM user or RAM role to a workspace as a member.
1394
3306
  *
1395
- * @param request AddMembersRequest
1396
- * @return AddMembersResponse
3307
+ * @param request - AddMembersRequest
3308
+ * @returns AddMembersResponse
1397
3309
  */
1398
3310
  addMembers(request: AddMembersRequest): Promise<AddMembersResponse>;
1399
3311
  /**
1400
- * @summary Terminates a Spark job.
3312
+ * Terminates a Spark job.
1401
3313
  *
1402
- * @param request CancelJobRunRequest
1403
- * @param headers map
1404
- * @param runtime runtime options for this request RuntimeOptions
1405
- * @return CancelJobRunResponse
3314
+ * @param request - CancelJobRunRequest
3315
+ * @param headers - map
3316
+ * @param runtime - runtime options for this request RuntimeOptions
3317
+ * @returns CancelJobRunResponse
1406
3318
  */
1407
3319
  cancelJobRunWithOptions(workspaceId: string, jobRunId: string, request: CancelJobRunRequest, headers: {
1408
3320
  [key: string]: string;
1409
3321
  }, runtime: $Util.RuntimeOptions): Promise<CancelJobRunResponse>;
1410
3322
  /**
1411
- * @summary Terminates a Spark job.
3323
+ * Terminates a Spark job.
1412
3324
  *
1413
- * @param request CancelJobRunRequest
1414
- * @return CancelJobRunResponse
3325
+ * @param request - CancelJobRunRequest
3326
+ * @returns CancelJobRunResponse
1415
3327
  */
1416
3328
  cancelJobRun(workspaceId: string, jobRunId: string, request: CancelJobRunRequest): Promise<CancelJobRunResponse>;
1417
3329
  /**
1418
- * @summary 使用session运行SQL
3330
+ * Creates an SQL query task.
1419
3331
  *
1420
- * @param request CreateSqlStatementRequest
1421
- * @param headers map
1422
- * @param runtime runtime options for this request RuntimeOptions
1423
- * @return CreateSqlStatementResponse
3332
+ * @param request - CreateSqlStatementRequest
3333
+ * @param headers - map
3334
+ * @param runtime - runtime options for this request RuntimeOptions
3335
+ * @returns CreateSqlStatementResponse
1424
3336
  */
1425
3337
  createSqlStatementWithOptions(workspaceId: string, request: CreateSqlStatementRequest, headers: {
1426
3338
  [key: string]: string;
1427
3339
  }, runtime: $Util.RuntimeOptions): Promise<CreateSqlStatementResponse>;
1428
3340
  /**
1429
- * @summary 使用session运行SQL
3341
+ * Creates an SQL query task.
1430
3342
  *
1431
- * @param request CreateSqlStatementRequest
1432
- * @return CreateSqlStatementResponse
3343
+ * @param request - CreateSqlStatementRequest
3344
+ * @returns CreateSqlStatementResponse
1433
3345
  */
1434
3346
  createSqlStatement(workspaceId: string, request: CreateSqlStatementRequest): Promise<CreateSqlStatementResponse>;
1435
3347
  /**
1436
- * @summary Obtain the job details.
3348
+ * Obtain the job details.
1437
3349
  *
1438
- * @param request GetJobRunRequest
1439
- * @param headers map
1440
- * @param runtime runtime options for this request RuntimeOptions
1441
- * @return GetJobRunResponse
3350
+ * @param request - GetJobRunRequest
3351
+ * @param headers - map
3352
+ * @param runtime - runtime options for this request RuntimeOptions
3353
+ * @returns GetJobRunResponse
1442
3354
  */
1443
3355
  getJobRunWithOptions(workspaceId: string, jobRunId: string, request: GetJobRunRequest, headers: {
1444
3356
  [key: string]: string;
1445
3357
  }, runtime: $Util.RuntimeOptions): Promise<GetJobRunResponse>;
1446
3358
  /**
1447
- * @summary Obtain the job details.
3359
+ * Obtain the job details.
1448
3360
  *
1449
- * @param request GetJobRunRequest
1450
- * @return GetJobRunResponse
3361
+ * @param request - GetJobRunRequest
3362
+ * @returns GetJobRunResponse
1451
3363
  */
1452
3364
  getJobRun(workspaceId: string, jobRunId: string, request: GetJobRunRequest): Promise<GetJobRunResponse>;
1453
3365
  /**
1454
- * @summary 获取Sql Statement状态
3366
+ * Queries the status of an SQL query task.
1455
3367
  *
1456
- * @param request GetSqlStatementRequest
1457
- * @param headers map
1458
- * @param runtime runtime options for this request RuntimeOptions
1459
- * @return GetSqlStatementResponse
3368
+ * @param request - GetSqlStatementRequest
3369
+ * @param headers - map
3370
+ * @param runtime - runtime options for this request RuntimeOptions
3371
+ * @returns GetSqlStatementResponse
1460
3372
  */
1461
3373
  getSqlStatementWithOptions(workspaceId: string, statementId: string, request: GetSqlStatementRequest, headers: {
1462
3374
  [key: string]: string;
1463
3375
  }, runtime: $Util.RuntimeOptions): Promise<GetSqlStatementResponse>;
1464
3376
  /**
1465
- * @summary 获取Sql Statement状态
3377
+ * Queries the status of an SQL query task.
1466
3378
  *
1467
- * @param request GetSqlStatementRequest
1468
- * @return GetSqlStatementResponse
3379
+ * @param request - GetSqlStatementRequest
3380
+ * @returns GetSqlStatementResponse
1469
3381
  */
1470
3382
  getSqlStatement(workspaceId: string, statementId: string, request: GetSqlStatementRequest): Promise<GetSqlStatementResponse>;
1471
3383
  /**
1472
- * @summary Assigns a specified role to users.
3384
+ * Assigns a specified role to users.
1473
3385
  *
1474
- * @param request GrantRoleToUsersRequest
1475
- * @param headers map
1476
- * @param runtime runtime options for this request RuntimeOptions
1477
- * @return GrantRoleToUsersResponse
3386
+ * @param request - GrantRoleToUsersRequest
3387
+ * @param headers - map
3388
+ * @param runtime - runtime options for this request RuntimeOptions
3389
+ * @returns GrantRoleToUsersResponse
1478
3390
  */
1479
3391
  grantRoleToUsersWithOptions(request: GrantRoleToUsersRequest, headers: {
1480
3392
  [key: string]: string;
1481
3393
  }, runtime: $Util.RuntimeOptions): Promise<GrantRoleToUsersResponse>;
1482
3394
  /**
1483
- * @summary Assigns a specified role to users.
3395
+ * Assigns a specified role to users.
1484
3396
  *
1485
- * @param request GrantRoleToUsersRequest
1486
- * @return GrantRoleToUsersResponse
3397
+ * @param request - GrantRoleToUsersRequest
3398
+ * @returns GrantRoleToUsersResponse
1487
3399
  */
1488
3400
  grantRoleToUsers(request: GrantRoleToUsersRequest): Promise<GrantRoleToUsersResponse>;
1489
3401
  /**
1490
- * @summary Queries a list of Spark jobs.
3402
+ * Queries a list of Spark jobs.
1491
3403
  *
1492
- * @param tmpReq ListJobRunsRequest
1493
- * @param headers map
1494
- * @param runtime runtime options for this request RuntimeOptions
1495
- * @return ListJobRunsResponse
3404
+ * @param tmpReq - ListJobRunsRequest
3405
+ * @param headers - map
3406
+ * @param runtime - runtime options for this request RuntimeOptions
3407
+ * @returns ListJobRunsResponse
1496
3408
  */
1497
3409
  listJobRunsWithOptions(workspaceId: string, tmpReq: ListJobRunsRequest, headers: {
1498
3410
  [key: string]: string;
1499
3411
  }, runtime: $Util.RuntimeOptions): Promise<ListJobRunsResponse>;
1500
3412
  /**
1501
- * @summary Queries a list of Spark jobs.
3413
+ * Queries a list of Spark jobs.
1502
3414
  *
1503
- * @param request ListJobRunsRequest
1504
- * @return ListJobRunsResponse
3415
+ * @param request - ListJobRunsRequest
3416
+ * @returns ListJobRunsResponse
1505
3417
  */
1506
3418
  listJobRuns(workspaceId: string, request: ListJobRunsRequest): Promise<ListJobRunsResponse>;
1507
3419
  /**
1508
- * @summary 获取发布版本列表
3420
+ * Queries the list of published versions of E-MapReduce (EMR) Serverless Spark.
1509
3421
  *
1510
- * @param request ListReleaseVersionsRequest
1511
- * @param headers map
1512
- * @param runtime runtime options for this request RuntimeOptions
1513
- * @return ListReleaseVersionsResponse
3422
+ * @param request - ListReleaseVersionsRequest
3423
+ * @param headers - map
3424
+ * @param runtime - runtime options for this request RuntimeOptions
3425
+ * @returns ListReleaseVersionsResponse
1514
3426
  */
1515
3427
  listReleaseVersionsWithOptions(request: ListReleaseVersionsRequest, headers: {
1516
3428
  [key: string]: string;
1517
3429
  }, runtime: $Util.RuntimeOptions): Promise<ListReleaseVersionsResponse>;
1518
3430
  /**
1519
- * @summary 获取发布版本列表
3431
+ * Queries the list of published versions of E-MapReduce (EMR) Serverless Spark.
1520
3432
  *
1521
- * @param request ListReleaseVersionsRequest
1522
- * @return ListReleaseVersionsResponse
3433
+ * @param request - ListReleaseVersionsRequest
3434
+ * @returns ListReleaseVersionsResponse
1523
3435
  */
1524
3436
  listReleaseVersions(request: ListReleaseVersionsRequest): Promise<ListReleaseVersionsResponse>;
1525
3437
  /**
1526
- * @summary 查询run列表
3438
+ * 查询run列表
1527
3439
  *
1528
- * @param request ListSessionClustersRequest
1529
- * @param headers map
1530
- * @param runtime runtime options for this request RuntimeOptions
1531
- * @return ListSessionClustersResponse
3440
+ * @param request - ListSessionClustersRequest
3441
+ * @param headers - map
3442
+ * @param runtime - runtime options for this request RuntimeOptions
3443
+ * @returns ListSessionClustersResponse
1532
3444
  */
1533
3445
  listSessionClustersWithOptions(workspaceId: string, request: ListSessionClustersRequest, headers: {
1534
3446
  [key: string]: string;
1535
3447
  }, runtime: $Util.RuntimeOptions): Promise<ListSessionClustersResponse>;
1536
3448
  /**
1537
- * @summary 查询run列表
3449
+ * 查询run列表
1538
3450
  *
1539
- * @param request ListSessionClustersRequest
1540
- * @return ListSessionClustersResponse
3451
+ * @param request - ListSessionClustersRequest
3452
+ * @returns ListSessionClustersResponse
1541
3453
  */
1542
3454
  listSessionClusters(workspaceId: string, request: ListSessionClustersRequest): Promise<ListSessionClustersResponse>;
1543
3455
  /**
1544
- * @summary 查看工作空间队列列表
3456
+ * 查看工作空间队列列表
1545
3457
  *
1546
- * @param request ListWorkspaceQueuesRequest
1547
- * @param headers map
1548
- * @param runtime runtime options for this request RuntimeOptions
1549
- * @return ListWorkspaceQueuesResponse
3458
+ * @param request - ListWorkspaceQueuesRequest
3459
+ * @param headers - map
3460
+ * @param runtime - runtime options for this request RuntimeOptions
3461
+ * @returns ListWorkspaceQueuesResponse
1550
3462
  */
1551
3463
  listWorkspaceQueuesWithOptions(workspaceId: string, request: ListWorkspaceQueuesRequest, headers: {
1552
3464
  [key: string]: string;
1553
3465
  }, runtime: $Util.RuntimeOptions): Promise<ListWorkspaceQueuesResponse>;
1554
3466
  /**
1555
- * @summary 查看工作空间队列列表
3467
+ * 查看工作空间队列列表
1556
3468
  *
1557
- * @param request ListWorkspaceQueuesRequest
1558
- * @return ListWorkspaceQueuesResponse
3469
+ * @param request - ListWorkspaceQueuesRequest
3470
+ * @returns ListWorkspaceQueuesResponse
1559
3471
  */
1560
3472
  listWorkspaceQueues(workspaceId: string, request: ListWorkspaceQueuesRequest): Promise<ListWorkspaceQueuesResponse>;
1561
3473
  /**
1562
- * @summary Queries a list of workspaces.
3474
+ * Queries a list of workspaces.
1563
3475
  *
1564
- * @param request ListWorkspacesRequest
1565
- * @param headers map
1566
- * @param runtime runtime options for this request RuntimeOptions
1567
- * @return ListWorkspacesResponse
3476
+ * @param request - ListWorkspacesRequest
3477
+ * @param headers - map
3478
+ * @param runtime - runtime options for this request RuntimeOptions
3479
+ * @returns ListWorkspacesResponse
1568
3480
  */
1569
3481
  listWorkspacesWithOptions(request: ListWorkspacesRequest, headers: {
1570
3482
  [key: string]: string;
1571
3483
  }, runtime: $Util.RuntimeOptions): Promise<ListWorkspacesResponse>;
1572
3484
  /**
1573
- * @summary Queries a list of workspaces.
3485
+ * Queries a list of workspaces.
1574
3486
  *
1575
- * @param request ListWorkspacesRequest
1576
- * @return ListWorkspacesResponse
3487
+ * @param request - ListWorkspacesRequest
3488
+ * @returns ListWorkspacesResponse
1577
3489
  */
1578
3490
  listWorkspaces(request: ListWorkspacesRequest): Promise<ListWorkspacesResponse>;
1579
3491
  /**
1580
- * @summary Starts a Spark job.
3492
+ * Starts a Spark job.
1581
3493
  *
1582
- * @param request StartJobRunRequest
1583
- * @param headers map
1584
- * @param runtime runtime options for this request RuntimeOptions
1585
- * @return StartJobRunResponse
3494
+ * @param request - StartJobRunRequest
3495
+ * @param headers - map
3496
+ * @param runtime - runtime options for this request RuntimeOptions
3497
+ * @returns StartJobRunResponse
1586
3498
  */
1587
3499
  startJobRunWithOptions(workspaceId: string, request: StartJobRunRequest, headers: {
1588
3500
  [key: string]: string;
1589
3501
  }, runtime: $Util.RuntimeOptions): Promise<StartJobRunResponse>;
1590
3502
  /**
1591
- * @summary Starts a Spark job.
3503
+ * Starts a Spark job.
1592
3504
  *
1593
- * @param request StartJobRunRequest
1594
- * @return StartJobRunResponse
3505
+ * @param request - StartJobRunRequest
3506
+ * @returns StartJobRunResponse
1595
3507
  */
1596
3508
  startJobRun(workspaceId: string, request: StartJobRunRequest): Promise<StartJobRunResponse>;
1597
3509
  /**
1598
- * @summary 终止 session statement
3510
+ * 启动session集群
3511
+ *
3512
+ * @param request - StartSessionClusterRequest
3513
+ * @param headers - map
3514
+ * @param runtime - runtime options for this request RuntimeOptions
3515
+ * @returns StartSessionClusterResponse
3516
+ */
3517
+ startSessionClusterWithOptions(workspaceId: string, request: StartSessionClusterRequest, headers: {
3518
+ [key: string]: string;
3519
+ }, runtime: $Util.RuntimeOptions): Promise<StartSessionClusterResponse>;
3520
+ /**
3521
+ * 启动session集群
3522
+ *
3523
+ * @param request - StartSessionClusterRequest
3524
+ * @returns StartSessionClusterResponse
3525
+ */
3526
+ startSessionCluster(workspaceId: string, request: StartSessionClusterRequest): Promise<StartSessionClusterResponse>;
3527
+ /**
3528
+ * 启动session集群
3529
+ *
3530
+ * @param request - StopSessionClusterRequest
3531
+ * @param headers - map
3532
+ * @param runtime - runtime options for this request RuntimeOptions
3533
+ * @returns StopSessionClusterResponse
3534
+ */
3535
+ stopSessionClusterWithOptions(workspaceId: string, request: StopSessionClusterRequest, headers: {
3536
+ [key: string]: string;
3537
+ }, runtime: $Util.RuntimeOptions): Promise<StopSessionClusterResponse>;
3538
+ /**
3539
+ * 启动session集群
3540
+ *
3541
+ * @param request - StopSessionClusterRequest
3542
+ * @returns StopSessionClusterResponse
3543
+ */
3544
+ stopSessionCluster(workspaceId: string, request: StopSessionClusterRequest): Promise<StopSessionClusterResponse>;
3545
+ /**
3546
+ * Terminates an SQL query task.
1599
3547
  *
1600
- * @param request TerminateSqlStatementRequest
1601
- * @param headers map
1602
- * @param runtime runtime options for this request RuntimeOptions
1603
- * @return TerminateSqlStatementResponse
3548
+ * @param request - TerminateSqlStatementRequest
3549
+ * @param headers - map
3550
+ * @param runtime - runtime options for this request RuntimeOptions
3551
+ * @returns TerminateSqlStatementResponse
1604
3552
  */
1605
3553
  terminateSqlStatementWithOptions(workspaceId: string, statementId: string, request: TerminateSqlStatementRequest, headers: {
1606
3554
  [key: string]: string;
1607
3555
  }, runtime: $Util.RuntimeOptions): Promise<TerminateSqlStatementResponse>;
1608
3556
  /**
1609
- * @summary 终止 session statement
3557
+ * Terminates an SQL query task.
1610
3558
  *
1611
- * @param request TerminateSqlStatementRequest
1612
- * @return TerminateSqlStatementResponse
3559
+ * @param request - TerminateSqlStatementRequest
3560
+ * @returns TerminateSqlStatementResponse
1613
3561
  */
1614
3562
  terminateSqlStatement(workspaceId: string, statementId: string, request: TerminateSqlStatementRequest): Promise<TerminateSqlStatementResponse>;
1615
3563
  }