@alicloud/emr-serverless-spark20230808 1.8.1 → 1.9.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
@@ -698,6 +698,256 @@ export declare class CancelJobRunResponse extends $tea.Model {
698
698
  [key: string]: any;
699
699
  });
700
700
  }
701
+ export declare class CreateProcessDefinitionWithScheduleRequest extends $tea.Model {
702
+ /**
703
+ * @example
704
+ * foo_bar@spark.alert.invalid.com
705
+ */
706
+ alertEmailAddress?: string;
707
+ /**
708
+ * @remarks
709
+ * This parameter is required.
710
+ *
711
+ * @example
712
+ * ods batch workflow
713
+ */
714
+ description?: string;
715
+ /**
716
+ * @remarks
717
+ * This parameter is required.
718
+ *
719
+ * @example
720
+ * PARALLEL
721
+ */
722
+ executionType?: string;
723
+ /**
724
+ * @remarks
725
+ * This parameter is required.
726
+ *
727
+ * @example
728
+ * ods_batch_workflow
729
+ */
730
+ name?: string;
731
+ /**
732
+ * @remarks
733
+ * This parameter is required.
734
+ *
735
+ * @example
736
+ * SS
737
+ */
738
+ productNamespace?: string;
739
+ /**
740
+ * @example
741
+ * true
742
+ */
743
+ publish?: boolean;
744
+ /**
745
+ * @example
746
+ * cn-hangzhou
747
+ */
748
+ regionId?: string;
749
+ /**
750
+ * @example
751
+ * root_queue
752
+ */
753
+ resourceQueue?: string;
754
+ /**
755
+ * @example
756
+ * 1
757
+ */
758
+ retryTimes?: number;
759
+ /**
760
+ * @example
761
+ * 113***************
762
+ */
763
+ runAs?: string;
764
+ schedule?: CreateProcessDefinitionWithScheduleRequestSchedule;
765
+ tags?: {
766
+ [key: string]: string;
767
+ };
768
+ /**
769
+ * @remarks
770
+ * This parameter is required.
771
+ */
772
+ taskDefinitionJson?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson[];
773
+ /**
774
+ * @example
775
+ * 1
776
+ */
777
+ taskParallelism?: number;
778
+ /**
779
+ * @remarks
780
+ * This parameter is required.
781
+ */
782
+ taskRelationJson?: CreateProcessDefinitionWithScheduleRequestTaskRelationJson[];
783
+ /**
784
+ * @example
785
+ * 60
786
+ */
787
+ timeout?: number;
788
+ static names(): {
789
+ [key: string]: string;
790
+ };
791
+ static types(): {
792
+ [key: string]: any;
793
+ };
794
+ constructor(map?: {
795
+ [key: string]: any;
796
+ });
797
+ }
798
+ export declare class CreateProcessDefinitionWithScheduleShrinkRequest extends $tea.Model {
799
+ /**
800
+ * @example
801
+ * foo_bar@spark.alert.invalid.com
802
+ */
803
+ alertEmailAddress?: string;
804
+ /**
805
+ * @remarks
806
+ * This parameter is required.
807
+ *
808
+ * @example
809
+ * ods batch workflow
810
+ */
811
+ description?: string;
812
+ /**
813
+ * @remarks
814
+ * This parameter is required.
815
+ *
816
+ * @example
817
+ * PARALLEL
818
+ */
819
+ executionType?: string;
820
+ /**
821
+ * @remarks
822
+ * This parameter is required.
823
+ *
824
+ * @example
825
+ * ods_batch_workflow
826
+ */
827
+ name?: string;
828
+ /**
829
+ * @remarks
830
+ * This parameter is required.
831
+ *
832
+ * @example
833
+ * SS
834
+ */
835
+ productNamespace?: string;
836
+ /**
837
+ * @example
838
+ * true
839
+ */
840
+ publish?: boolean;
841
+ /**
842
+ * @example
843
+ * cn-hangzhou
844
+ */
845
+ regionId?: string;
846
+ /**
847
+ * @example
848
+ * root_queue
849
+ */
850
+ resourceQueue?: string;
851
+ /**
852
+ * @example
853
+ * 1
854
+ */
855
+ retryTimes?: number;
856
+ /**
857
+ * @example
858
+ * 113***************
859
+ */
860
+ runAs?: string;
861
+ scheduleShrink?: string;
862
+ tagsShrink?: string;
863
+ /**
864
+ * @remarks
865
+ * This parameter is required.
866
+ */
867
+ taskDefinitionJsonShrink?: string;
868
+ /**
869
+ * @example
870
+ * 1
871
+ */
872
+ taskParallelism?: number;
873
+ /**
874
+ * @remarks
875
+ * This parameter is required.
876
+ */
877
+ taskRelationJsonShrink?: string;
878
+ /**
879
+ * @example
880
+ * 60
881
+ */
882
+ timeout?: number;
883
+ static names(): {
884
+ [key: string]: string;
885
+ };
886
+ static types(): {
887
+ [key: string]: any;
888
+ };
889
+ constructor(map?: {
890
+ [key: string]: any;
891
+ });
892
+ }
893
+ export declare class CreateProcessDefinitionWithScheduleResponseBody extends $tea.Model {
894
+ /**
895
+ * @example
896
+ * 1400009
897
+ */
898
+ code?: number;
899
+ data?: CreateProcessDefinitionWithScheduleResponseBodyData;
900
+ /**
901
+ * @example
902
+ * false
903
+ */
904
+ failed?: string;
905
+ /**
906
+ * @example
907
+ * 200
908
+ */
909
+ httpStatusCode?: number;
910
+ /**
911
+ * @example
912
+ * No permission for resource action
913
+ */
914
+ msg?: string;
915
+ /**
916
+ * @example
917
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
918
+ */
919
+ requestId?: string;
920
+ /**
921
+ * @example
922
+ * true
923
+ */
924
+ success?: string;
925
+ static names(): {
926
+ [key: string]: string;
927
+ };
928
+ static types(): {
929
+ [key: string]: any;
930
+ };
931
+ constructor(map?: {
932
+ [key: string]: any;
933
+ });
934
+ }
935
+ export declare class CreateProcessDefinitionWithScheduleResponse extends $tea.Model {
936
+ headers?: {
937
+ [key: string]: string;
938
+ };
939
+ statusCode?: number;
940
+ body?: CreateProcessDefinitionWithScheduleResponseBody;
941
+ static names(): {
942
+ [key: string]: string;
943
+ };
944
+ static types(): {
945
+ [key: string]: any;
946
+ };
947
+ constructor(map?: {
948
+ [key: string]: any;
949
+ });
950
+ }
701
951
  export declare class CreateSqlStatementRequest extends $tea.Model {
702
952
  /**
703
953
  * @remarks
@@ -858,6 +1108,9 @@ export declare class GetJobRunResponse extends $tea.Model {
858
1108
  }
859
1109
  export declare class GetSessionClusterRequest extends $tea.Model {
860
1110
  /**
1111
+ * @remarks
1112
+ * The region ID.
1113
+ *
861
1114
  * @example
862
1115
  * cn-hangzhou
863
1116
  */
@@ -875,12 +1128,16 @@ export declare class GetSessionClusterRequest extends $tea.Model {
875
1128
  export declare class GetSessionClusterResponseBody extends $tea.Model {
876
1129
  /**
877
1130
  * @remarks
878
- * 请求ID。
1131
+ * The request ID.
879
1132
  *
880
1133
  * @example
881
1134
  * DD6B1B2A-5837-5237-ABE4-FF0C8944****
882
1135
  */
883
1136
  requestId?: string;
1137
+ /**
1138
+ * @remarks
1139
+ * The session.
1140
+ */
884
1141
  sessionCluster?: GetSessionClusterResponseBodySessionCluster;
885
1142
  static names(): {
886
1143
  [key: string]: string;
@@ -930,7 +1187,7 @@ export declare class GetSqlStatementRequest extends $tea.Model {
930
1187
  export declare class GetSqlStatementResponseBody extends $tea.Model {
931
1188
  /**
932
1189
  * @remarks
933
- * The data returned.
1190
+ * The response parameters.
934
1191
  */
935
1192
  data?: GetSqlStatementResponseBodyData;
936
1193
  /**
@@ -969,11 +1226,20 @@ export declare class GetSqlStatementResponse extends $tea.Model {
969
1226
  }
970
1227
  export declare class GetTemplateRequest extends $tea.Model {
971
1228
  /**
1229
+ * @remarks
1230
+ * The region ID.
1231
+ *
972
1232
  * @example
973
1233
  * cn-hangzhou
974
1234
  */
975
1235
  regionId?: string;
976
1236
  /**
1237
+ * @remarks
1238
+ * The template type.
1239
+ *
1240
+ * * TASK
1241
+ * * SESSION
1242
+ *
977
1243
  * @example
978
1244
  * TASK
979
1245
  */
@@ -989,31 +1255,49 @@ export declare class GetTemplateRequest extends $tea.Model {
989
1255
  });
990
1256
  }
991
1257
  export declare class GetTemplateResponseBody extends $tea.Model {
1258
+ /**
1259
+ * @remarks
1260
+ * The data returned.
1261
+ */
992
1262
  data?: Template;
993
1263
  /**
1264
+ * @remarks
1265
+ * * If the value of success was false, an error code was returned.
1266
+ * * If the value of success was true, a null value was returned.
1267
+ *
994
1268
  * @example
995
1269
  * 040003
996
1270
  */
997
1271
  errorCode?: string;
998
1272
  /**
1273
+ * @remarks
1274
+ * * If the value of success was false, an error message was returned.
1275
+ * * If the value of success was true, a null value was returned.
1276
+ *
999
1277
  * @example
1000
1278
  * InvalidUser.NotFound
1001
1279
  */
1002
1280
  errorMessage?: string;
1003
1281
  /**
1004
1282
  * @remarks
1005
- * Id of the request
1283
+ * The HTTP status code.
1006
1284
  *
1007
1285
  * @example
1008
1286
  * 200
1009
1287
  */
1010
1288
  httpStatusCode?: string;
1011
1289
  /**
1290
+ * @remarks
1291
+ * The request ID.
1292
+ *
1012
1293
  * @example
1013
1294
  * 484D9DDA-300D-525E-AF7A-0CCCA5C64A7A
1014
1295
  */
1015
1296
  requestId?: string;
1016
1297
  /**
1298
+ * @remarks
1299
+ * Indicates whether the request was successful.
1300
+ *
1017
1301
  * @example
1018
1302
  * True
1019
1303
  */
@@ -1296,7 +1580,7 @@ export declare class ListJobRunsShrinkRequest extends $tea.Model {
1296
1580
  export declare class ListJobRunsResponseBody extends $tea.Model {
1297
1581
  /**
1298
1582
  * @remarks
1299
- * The list of Spark jobs.
1583
+ * The Spark jobs.
1300
1584
  */
1301
1585
  jobRuns?: ListJobRunsResponseBodyJobRuns[];
1302
1586
  /**
@@ -1621,7 +1905,7 @@ export declare class ListSessionClustersResponseBody extends $tea.Model {
1621
1905
  maxResults?: number;
1622
1906
  /**
1623
1907
  * @remarks
1624
- * A pagination token. It can be used in the next request to retrieve a new page of results.
1908
+ * A pagination token.
1625
1909
  *
1626
1910
  * @example
1627
1911
  * DD6B1B2A-5837-5237-ABE4-FF0C89568980
@@ -1637,7 +1921,7 @@ export declare class ListSessionClustersResponseBody extends $tea.Model {
1637
1921
  requestId?: string;
1638
1922
  /**
1639
1923
  * @remarks
1640
- * The list of sessions.
1924
+ * The sessions.
1641
1925
  */
1642
1926
  sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
1643
1927
  /**
@@ -1960,7 +2244,7 @@ export declare class StartJobRunRequest extends $tea.Model {
1960
2244
  resourceQueueId?: string;
1961
2245
  /**
1962
2246
  * @remarks
1963
- * The tags of the job.
2247
+ * The tags.
1964
2248
  */
1965
2249
  tags?: Tag[];
1966
2250
  /**
@@ -2024,58 +2308,97 @@ export declare class StartJobRunResponse extends $tea.Model {
2024
2308
  [key: string]: any;
2025
2309
  });
2026
2310
  }
2027
- export declare class StartSessionClusterRequest extends $tea.Model {
2311
+ export declare class StartProcessInstanceRequest extends $tea.Model {
2028
2312
  /**
2029
- * @remarks
2030
- * The queue name.
2031
- *
2032
2313
  * @example
2033
- * root_queue
2314
+ * false
2034
2315
  */
2035
- queueName?: string;
2316
+ isProd?: boolean;
2036
2317
  /**
2037
2318
  * @remarks
2038
- * The session ID.
2319
+ * This parameter is required.
2039
2320
  *
2040
2321
  * @example
2041
- * sc-xxxxxxxxxxx
2322
+ * 12***********
2042
2323
  */
2043
- sessionClusterId?: string;
2324
+ processDefinitionCode?: number;
2044
2325
  /**
2045
2326
  * @remarks
2046
- * The region ID.
2327
+ * This parameter is required.
2047
2328
  *
2329
+ * @example
2330
+ * SS
2331
+ */
2332
+ productNamespace?: string;
2333
+ /**
2048
2334
  * @example
2049
2335
  * cn-hangzhou
2050
2336
  */
2051
2337
  regionId?: string;
2052
- static names(): {
2053
- [key: string]: string;
2054
- };
2055
- static types(): {
2056
- [key: string]: any;
2057
- };
2338
+ /**
2339
+ * @example
2340
+ * root_queue
2341
+ */
2342
+ runtimeQueue?: string;
2343
+ /**
2344
+ * @example
2345
+ * dh*********
2346
+ */
2347
+ versionHashCode?: string;
2348
+ /**
2349
+ * @example
2350
+ * 1
2351
+ */
2352
+ versionNumber?: number;
2353
+ static names(): {
2354
+ [key: string]: string;
2355
+ };
2356
+ static types(): {
2357
+ [key: string]: any;
2358
+ };
2058
2359
  constructor(map?: {
2059
2360
  [key: string]: any;
2060
2361
  });
2061
2362
  }
2062
- export declare class StartSessionClusterResponseBody extends $tea.Model {
2363
+ export declare class StartProcessInstanceResponseBody extends $tea.Model {
2364
+ /**
2365
+ * @example
2366
+ * 1400009
2367
+ */
2368
+ code?: number;
2369
+ /**
2370
+ * @example
2371
+ * {\\"sessionBizId\\": \\"sc-dc85644dba1c8c63\\", \\"bizId\\": \\"st-aeed3b0d4f87418a9a9dcbd757477658\\", \\"gmtCreated\\": \\"Thu Sep 12 02:28:45 UTC 2024\\"}
2372
+ */
2373
+ data?: any;
2374
+ /**
2375
+ * @example
2376
+ * false
2377
+ */
2378
+ failed?: boolean;
2379
+ /**
2380
+ * @example
2381
+ * 200
2382
+ */
2383
+ httpStatusCode?: number;
2384
+ /**
2385
+ * @example
2386
+ * No permission for resource action
2387
+ */
2388
+ msg?: string;
2063
2389
  /**
2064
2390
  * @remarks
2065
- * The request ID.
2391
+ * Id of the request
2066
2392
  *
2067
2393
  * @example
2068
2394
  * DD6B1B2A-5837-5237-ABE4-FF0C8944****
2069
2395
  */
2070
2396
  requestId?: string;
2071
2397
  /**
2072
- * @remarks
2073
- * The workspace ID.
2074
- *
2075
2398
  * @example
2076
- * w-******
2399
+ * true
2077
2400
  */
2078
- sessionClusterId?: string;
2401
+ success?: boolean;
2079
2402
  static names(): {
2080
2403
  [key: string]: string;
2081
2404
  };
@@ -2086,12 +2409,12 @@ export declare class StartSessionClusterResponseBody extends $tea.Model {
2086
2409
  [key: string]: any;
2087
2410
  });
2088
2411
  }
2089
- export declare class StartSessionClusterResponse extends $tea.Model {
2412
+ export declare class StartProcessInstanceResponse extends $tea.Model {
2090
2413
  headers?: {
2091
2414
  [key: string]: string;
2092
2415
  };
2093
2416
  statusCode?: number;
2094
- body?: StartSessionClusterResponseBody;
2417
+ body?: StartProcessInstanceResponseBody;
2095
2418
  static names(): {
2096
2419
  [key: string]: string;
2097
2420
  };
@@ -2102,7 +2425,7 @@ export declare class StartSessionClusterResponse extends $tea.Model {
2102
2425
  [key: string]: any;
2103
2426
  });
2104
2427
  }
2105
- export declare class StopSessionClusterRequest extends $tea.Model {
2428
+ export declare class StartSessionClusterRequest extends $tea.Model {
2106
2429
  /**
2107
2430
  * @remarks
2108
2431
  * The queue name.
@@ -2116,7 +2439,7 @@ export declare class StopSessionClusterRequest extends $tea.Model {
2116
2439
  * The session ID.
2117
2440
  *
2118
2441
  * @example
2119
- * sc-xxxxxxxxxxxx
2442
+ * sc-xxxxxxxxxxx
2120
2443
  */
2121
2444
  sessionClusterId?: string;
2122
2445
  /**
@@ -2137,7 +2460,7 @@ export declare class StopSessionClusterRequest extends $tea.Model {
2137
2460
  [key: string]: any;
2138
2461
  });
2139
2462
  }
2140
- export declare class StopSessionClusterResponseBody extends $tea.Model {
2463
+ export declare class StartSessionClusterResponseBody extends $tea.Model {
2141
2464
  /**
2142
2465
  * @remarks
2143
2466
  * The request ID.
@@ -2164,12 +2487,12 @@ export declare class StopSessionClusterResponseBody extends $tea.Model {
2164
2487
  [key: string]: any;
2165
2488
  });
2166
2489
  }
2167
- export declare class StopSessionClusterResponse extends $tea.Model {
2490
+ export declare class StartSessionClusterResponse extends $tea.Model {
2168
2491
  headers?: {
2169
2492
  [key: string]: string;
2170
2493
  };
2171
2494
  statusCode?: number;
2172
- body?: StopSessionClusterResponseBody;
2495
+ body?: StartSessionClusterResponseBody;
2173
2496
  static names(): {
2174
2497
  [key: string]: string;
2175
2498
  };
@@ -2180,7 +2503,23 @@ export declare class StopSessionClusterResponse extends $tea.Model {
2180
2503
  [key: string]: any;
2181
2504
  });
2182
2505
  }
2183
- export declare class TerminateSqlStatementRequest extends $tea.Model {
2506
+ export declare class StopSessionClusterRequest extends $tea.Model {
2507
+ /**
2508
+ * @remarks
2509
+ * The queue name.
2510
+ *
2511
+ * @example
2512
+ * root_queue
2513
+ */
2514
+ queueName?: string;
2515
+ /**
2516
+ * @remarks
2517
+ * The session ID.
2518
+ *
2519
+ * @example
2520
+ * sc-xxxxxxxxxxxx
2521
+ */
2522
+ sessionClusterId?: string;
2184
2523
  /**
2185
2524
  * @remarks
2186
2525
  * The region ID.
@@ -2199,7 +2538,7 @@ export declare class TerminateSqlStatementRequest extends $tea.Model {
2199
2538
  [key: string]: any;
2200
2539
  });
2201
2540
  }
2202
- export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2541
+ export declare class StopSessionClusterResponseBody extends $tea.Model {
2203
2542
  /**
2204
2543
  * @remarks
2205
2544
  * The request ID.
@@ -2208,6 +2547,14 @@ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2208
2547
  * DD6B1B2A-5837-5237-ABE4-FF0C8944****
2209
2548
  */
2210
2549
  requestId?: string;
2550
+ /**
2551
+ * @remarks
2552
+ * The workspace ID.
2553
+ *
2554
+ * @example
2555
+ * w-******
2556
+ */
2557
+ sessionClusterId?: string;
2211
2558
  static names(): {
2212
2559
  [key: string]: string;
2213
2560
  };
@@ -2218,40 +2565,12 @@ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2218
2565
  [key: string]: any;
2219
2566
  });
2220
2567
  }
2221
- export declare class TerminateSqlStatementResponse extends $tea.Model {
2568
+ export declare class StopSessionClusterResponse extends $tea.Model {
2222
2569
  headers?: {
2223
2570
  [key: string]: string;
2224
2571
  };
2225
2572
  statusCode?: number;
2226
- body?: TerminateSqlStatementResponseBody;
2227
- static names(): {
2228
- [key: string]: string;
2229
- };
2230
- static types(): {
2231
- [key: string]: any;
2232
- };
2233
- constructor(map?: {
2234
- [key: string]: any;
2235
- });
2236
- }
2237
- export declare class ConfigurationOverridesConfigurations extends $tea.Model {
2238
- configFileName?: string;
2239
- configItemKey?: string;
2240
- configItemValue?: string;
2241
- static names(): {
2242
- [key: string]: string;
2243
- };
2244
- static types(): {
2245
- [key: string]: any;
2246
- };
2247
- constructor(map?: {
2248
- [key: string]: any;
2249
- });
2250
- }
2251
- export declare class JobDriverSparkSubmit extends $tea.Model {
2252
- entryPoint?: string;
2253
- entryPointArguments?: string[];
2254
- sparkSubmitParameters?: string;
2573
+ body?: StopSessionClusterResponseBody;
2255
2574
  static names(): {
2256
2575
  [key: string]: string;
2257
2576
  };
@@ -2262,12 +2581,15 @@ export declare class JobDriverSparkSubmit extends $tea.Model {
2262
2581
  [key: string]: any;
2263
2582
  });
2264
2583
  }
2265
- export declare class SqlOutputRows extends $tea.Model {
2584
+ export declare class TerminateSqlStatementRequest extends $tea.Model {
2266
2585
  /**
2586
+ * @remarks
2587
+ * The region ID.
2588
+ *
2267
2589
  * @example
2268
- * null
2590
+ * cn-hangzhou
2269
2591
  */
2270
- values?: string[];
2592
+ regionId?: string;
2271
2593
  static names(): {
2272
2594
  [key: string]: string;
2273
2595
  };
@@ -2278,10 +2600,15 @@ export declare class SqlOutputRows extends $tea.Model {
2278
2600
  [key: string]: any;
2279
2601
  });
2280
2602
  }
2281
- export declare class SqlOutputSchemaFields extends $tea.Model {
2282
- name?: string;
2283
- nullable?: boolean;
2284
- type?: string;
2603
+ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2604
+ /**
2605
+ * @remarks
2606
+ * The request ID.
2607
+ *
2608
+ * @example
2609
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
2610
+ */
2611
+ requestId?: string;
2285
2612
  static names(): {
2286
2613
  [key: string]: string;
2287
2614
  };
@@ -2292,27 +2619,12 @@ export declare class SqlOutputSchemaFields extends $tea.Model {
2292
2619
  [key: string]: any;
2293
2620
  });
2294
2621
  }
2295
- export declare class SqlOutputSchema extends $tea.Model {
2296
- fields?: SqlOutputSchemaFields[];
2297
- static names(): {
2622
+ export declare class TerminateSqlStatementResponse extends $tea.Model {
2623
+ headers?: {
2298
2624
  [key: string]: string;
2299
2625
  };
2300
- static types(): {
2301
- [key: string]: any;
2302
- };
2303
- constructor(map?: {
2304
- [key: string]: any;
2305
- });
2306
- }
2307
- export declare class TaskCredential extends $tea.Model {
2308
- accessId?: string;
2309
- accessUrl?: string;
2310
- expire?: number;
2311
- host?: string;
2312
- path?: string;
2313
- policy?: string;
2314
- securityToken?: string;
2315
- signature?: string;
2626
+ statusCode?: number;
2627
+ body?: TerminateSqlStatementResponseBody;
2316
2628
  static names(): {
2317
2629
  [key: string]: string;
2318
2630
  };
@@ -2323,197 +2635,1229 @@ export declare class TaskCredential extends $tea.Model {
2323
2635
  [key: string]: any;
2324
2636
  });
2325
2637
  }
2326
- export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
2638
+ export declare class UpdateProcessDefinitionWithScheduleRequest extends $tea.Model {
2327
2639
  /**
2328
- * @remarks
2329
- * The ID of the SQL query.
2330
- *
2331
2640
  * @example
2332
- * st-1231dfafadfa***
2641
+ * foo_bar@spark.alert.invalid.com
2333
2642
  */
2334
- statementId?: string;
2335
- static names(): {
2336
- [key: string]: string;
2337
- };
2338
- static types(): {
2339
- [key: string]: any;
2340
- };
2341
- constructor(map?: {
2342
- [key: string]: any;
2343
- });
2344
- }
2345
- export declare class GetJobRunResponseBodyJobRunConfigurationOverrides extends $tea.Model {
2643
+ alertEmailAddress?: string;
2346
2644
  /**
2347
- * @remarks
2348
- * The configurations.
2645
+ * @example
2646
+ * ods batch workflow
2349
2647
  */
2350
- configurations?: Configuration[];
2351
- static names(): {
2352
- [key: string]: string;
2353
- };
2354
- static types(): {
2355
- [key: string]: any;
2356
- };
2357
- constructor(map?: {
2358
- [key: string]: any;
2359
- });
2360
- }
2361
- export declare class GetJobRunResponseBodyJobRunStateChangeReason extends $tea.Model {
2648
+ description?: string;
2362
2649
  /**
2363
2650
  * @remarks
2364
- * The error code.
2651
+ * This parameter is required.
2365
2652
  *
2366
2653
  * @example
2367
- * ERR-100000
2654
+ * PARALLEL
2368
2655
  */
2369
- code?: string;
2656
+ executionType?: string;
2370
2657
  /**
2371
2658
  * @remarks
2372
- * The error message.
2659
+ * This parameter is required.
2373
2660
  *
2374
2661
  * @example
2375
- * connection refused
2662
+ * ods_batch_workflow
2376
2663
  */
2377
- message?: string;
2378
- static names(): {
2379
- [key: string]: string;
2380
- };
2381
- static types(): {
2382
- [key: string]: any;
2383
- };
2384
- constructor(map?: {
2385
- [key: string]: any;
2386
- });
2387
- }
2388
- export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
2664
+ name?: string;
2389
2665
  /**
2390
2666
  * @remarks
2391
- * The code type of the job. Valid values:
2392
- *
2393
- * * SQL
2394
- * * JAR
2395
- * * PYTHON
2667
+ * This parameter is required.
2396
2668
  *
2397
2669
  * @example
2398
- * SQL
2670
+ * SS
2399
2671
  */
2400
- codeType?: string;
2672
+ productNamespace?: string;
2401
2673
  /**
2402
- * @remarks
2403
- * The job configurations of Spark.
2674
+ * @example
2675
+ * true
2404
2676
  */
2405
- configurationOverrides?: GetJobRunResponseBodyJobRunConfigurationOverrides;
2406
- displayReleaseVersion?: string;
2677
+ publish?: boolean;
2407
2678
  /**
2408
- * @remarks
2409
- * The end time of the job.
2410
- *
2411
2679
  * @example
2412
- * 1684119314000
2680
+ * cn-hangzhou
2413
2681
  */
2414
- endTime?: number;
2415
- environmentId?: string;
2682
+ regionId?: string;
2416
2683
  /**
2417
- * @remarks
2418
- * The timeout period of the job.
2419
- *
2420
2684
  * @example
2421
- * 3600
2685
+ * ONLINE
2422
2686
  */
2423
- executionTimeoutSeconds?: number;
2424
- fusion?: boolean;
2687
+ releaseState?: string;
2425
2688
  /**
2426
- * @remarks
2427
- * The information about Spark Driver.
2689
+ * @example
2690
+ * root_queue
2428
2691
  */
2429
- jobDriver?: JobDriver;
2692
+ resourceQueue?: string;
2430
2693
  /**
2431
- * @remarks
2432
- * The job ID.
2433
- *
2434
2694
  * @example
2435
- * jr-231231
2695
+ * 1
2436
2696
  */
2437
- jobRunId?: string;
2697
+ retryTimes?: number;
2438
2698
  /**
2439
- * @remarks
2440
- * The path where the operational logs are stored.
2699
+ * @example
2700
+ * 113***************
2701
+ */
2702
+ runAs?: string;
2703
+ schedule?: UpdateProcessDefinitionWithScheduleRequestSchedule;
2704
+ tags?: {
2705
+ [key: string]: string;
2706
+ };
2707
+ /**
2708
+ * @remarks
2709
+ * This parameter is required.
2710
+ */
2711
+ taskDefinitionJson?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson[];
2712
+ /**
2713
+ * @example
2714
+ * 1
2715
+ */
2716
+ taskParallelism?: number;
2717
+ /**
2718
+ * @remarks
2719
+ * This parameter is required.
2720
+ */
2721
+ taskRelationJson?: UpdateProcessDefinitionWithScheduleRequestTaskRelationJson[];
2722
+ /**
2723
+ * @example
2724
+ * 300
2725
+ */
2726
+ timeout?: number;
2727
+ static names(): {
2728
+ [key: string]: string;
2729
+ };
2730
+ static types(): {
2731
+ [key: string]: any;
2732
+ };
2733
+ constructor(map?: {
2734
+ [key: string]: any;
2735
+ });
2736
+ }
2737
+ export declare class UpdateProcessDefinitionWithScheduleShrinkRequest extends $tea.Model {
2738
+ /**
2739
+ * @example
2740
+ * foo_bar@spark.alert.invalid.com
2741
+ */
2742
+ alertEmailAddress?: string;
2743
+ /**
2744
+ * @example
2745
+ * ods batch workflow
2746
+ */
2747
+ description?: string;
2748
+ /**
2749
+ * @remarks
2750
+ * This parameter is required.
2751
+ *
2752
+ * @example
2753
+ * PARALLEL
2754
+ */
2755
+ executionType?: string;
2756
+ /**
2757
+ * @remarks
2758
+ * This parameter is required.
2759
+ *
2760
+ * @example
2761
+ * ods_batch_workflow
2762
+ */
2763
+ name?: string;
2764
+ /**
2765
+ * @remarks
2766
+ * This parameter is required.
2767
+ *
2768
+ * @example
2769
+ * SS
2770
+ */
2771
+ productNamespace?: string;
2772
+ /**
2773
+ * @example
2774
+ * true
2775
+ */
2776
+ publish?: boolean;
2777
+ /**
2778
+ * @example
2779
+ * cn-hangzhou
2780
+ */
2781
+ regionId?: string;
2782
+ /**
2783
+ * @example
2784
+ * ONLINE
2785
+ */
2786
+ releaseState?: string;
2787
+ /**
2788
+ * @example
2789
+ * root_queue
2790
+ */
2791
+ resourceQueue?: string;
2792
+ /**
2793
+ * @example
2794
+ * 1
2795
+ */
2796
+ retryTimes?: number;
2797
+ /**
2798
+ * @example
2799
+ * 113***************
2800
+ */
2801
+ runAs?: string;
2802
+ scheduleShrink?: string;
2803
+ tagsShrink?: string;
2804
+ /**
2805
+ * @remarks
2806
+ * This parameter is required.
2807
+ */
2808
+ taskDefinitionJsonShrink?: string;
2809
+ /**
2810
+ * @example
2811
+ * 1
2812
+ */
2813
+ taskParallelism?: number;
2814
+ /**
2815
+ * @remarks
2816
+ * This parameter is required.
2817
+ */
2818
+ taskRelationJsonShrink?: string;
2819
+ /**
2820
+ * @example
2821
+ * 300
2822
+ */
2823
+ timeout?: number;
2824
+ static names(): {
2825
+ [key: string]: string;
2826
+ };
2827
+ static types(): {
2828
+ [key: string]: any;
2829
+ };
2830
+ constructor(map?: {
2831
+ [key: string]: any;
2832
+ });
2833
+ }
2834
+ export declare class UpdateProcessDefinitionWithScheduleResponseBody extends $tea.Model {
2835
+ /**
2836
+ * @example
2837
+ * 1400009
2838
+ */
2839
+ code?: number;
2840
+ data?: UpdateProcessDefinitionWithScheduleResponseBodyData;
2841
+ /**
2842
+ * @example
2843
+ * false
2844
+ */
2845
+ failed?: string;
2846
+ /**
2847
+ * @example
2848
+ * 200
2849
+ */
2850
+ httpStatusCode?: number;
2851
+ /**
2852
+ * @example
2853
+ * No permission for resource action
2854
+ */
2855
+ msg?: string;
2856
+ /**
2857
+ * @remarks
2858
+ * Id of the request
2859
+ *
2860
+ * @example
2861
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
2862
+ */
2863
+ requestId?: string;
2864
+ /**
2865
+ * @example
2866
+ * true
2867
+ */
2868
+ success?: string;
2869
+ static names(): {
2870
+ [key: string]: string;
2871
+ };
2872
+ static types(): {
2873
+ [key: string]: any;
2874
+ };
2875
+ constructor(map?: {
2876
+ [key: string]: any;
2877
+ });
2878
+ }
2879
+ export declare class UpdateProcessDefinitionWithScheduleResponse extends $tea.Model {
2880
+ headers?: {
2881
+ [key: string]: string;
2882
+ };
2883
+ statusCode?: number;
2884
+ body?: UpdateProcessDefinitionWithScheduleResponseBody;
2885
+ static names(): {
2886
+ [key: string]: string;
2887
+ };
2888
+ static types(): {
2889
+ [key: string]: any;
2890
+ };
2891
+ constructor(map?: {
2892
+ [key: string]: any;
2893
+ });
2894
+ }
2895
+ export declare class ConfigurationOverridesConfigurations extends $tea.Model {
2896
+ configFileName?: string;
2897
+ configItemKey?: string;
2898
+ configItemValue?: string;
2899
+ static names(): {
2900
+ [key: string]: string;
2901
+ };
2902
+ static types(): {
2903
+ [key: string]: any;
2904
+ };
2905
+ constructor(map?: {
2906
+ [key: string]: any;
2907
+ });
2908
+ }
2909
+ export declare class JobDriverSparkSubmit extends $tea.Model {
2910
+ entryPoint?: string;
2911
+ entryPointArguments?: string[];
2912
+ sparkSubmitParameters?: string;
2913
+ static names(): {
2914
+ [key: string]: string;
2915
+ };
2916
+ static types(): {
2917
+ [key: string]: any;
2918
+ };
2919
+ constructor(map?: {
2920
+ [key: string]: any;
2921
+ });
2922
+ }
2923
+ export declare class SqlOutputRows extends $tea.Model {
2924
+ /**
2925
+ * @example
2926
+ * null
2927
+ */
2928
+ values?: string[];
2929
+ static names(): {
2930
+ [key: string]: string;
2931
+ };
2932
+ static types(): {
2933
+ [key: string]: any;
2934
+ };
2935
+ constructor(map?: {
2936
+ [key: string]: any;
2937
+ });
2938
+ }
2939
+ export declare class SqlOutputSchemaFields extends $tea.Model {
2940
+ name?: string;
2941
+ nullable?: boolean;
2942
+ type?: string;
2943
+ static names(): {
2944
+ [key: string]: string;
2945
+ };
2946
+ static types(): {
2947
+ [key: string]: any;
2948
+ };
2949
+ constructor(map?: {
2950
+ [key: string]: any;
2951
+ });
2952
+ }
2953
+ export declare class SqlOutputSchema extends $tea.Model {
2954
+ fields?: SqlOutputSchemaFields[];
2955
+ static names(): {
2956
+ [key: string]: string;
2957
+ };
2958
+ static types(): {
2959
+ [key: string]: any;
2960
+ };
2961
+ constructor(map?: {
2962
+ [key: string]: any;
2963
+ });
2964
+ }
2965
+ export declare class TaskCredential extends $tea.Model {
2966
+ accessId?: string;
2967
+ accessUrl?: string;
2968
+ expire?: number;
2969
+ host?: string;
2970
+ path?: string;
2971
+ policy?: string;
2972
+ securityToken?: string;
2973
+ signature?: string;
2974
+ static names(): {
2975
+ [key: string]: string;
2976
+ };
2977
+ static types(): {
2978
+ [key: string]: any;
2979
+ };
2980
+ constructor(map?: {
2981
+ [key: string]: any;
2982
+ });
2983
+ }
2984
+ export declare class CreateProcessDefinitionWithScheduleRequestSchedule extends $tea.Model {
2985
+ /**
2986
+ * @example
2987
+ * 0 0 0 * * ?
2988
+ */
2989
+ crontab?: string;
2990
+ /**
2991
+ * @example
2992
+ * 2025-12-23 16:13:27
2993
+ */
2994
+ endTime?: string;
2995
+ /**
2996
+ * @example
2997
+ * 2024-12-23 16:13:27
2998
+ */
2999
+ startTime?: string;
3000
+ /**
3001
+ * @example
3002
+ * Asia/Shanghai
3003
+ */
3004
+ timezoneId?: string;
3005
+ static names(): {
3006
+ [key: string]: string;
3007
+ };
3008
+ static types(): {
3009
+ [key: string]: any;
3010
+ };
3011
+ constructor(map?: {
3012
+ [key: string]: any;
3013
+ });
3014
+ }
3015
+ export declare class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf extends $tea.Model {
3016
+ /**
3017
+ * @example
3018
+ * spark.dynamicAllocation.enabled
3019
+ */
3020
+ key?: string;
3021
+ /**
3022
+ * @example
3023
+ * true
3024
+ */
3025
+ value?: string;
3026
+ static names(): {
3027
+ [key: string]: string;
3028
+ };
3029
+ static types(): {
3030
+ [key: string]: any;
3031
+ };
3032
+ constructor(map?: {
3033
+ [key: string]: any;
3034
+ });
3035
+ }
3036
+ export declare class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParams extends $tea.Model {
3037
+ /**
3038
+ * @example
3039
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
3040
+ */
3041
+ displaySparkVersion?: string;
3042
+ /**
3043
+ * @example
3044
+ * env-crhq2h5lhtgju93buhkg
3045
+ */
3046
+ environmentId?: string;
3047
+ /**
3048
+ * @example
3049
+ * false
3050
+ */
3051
+ fusion?: boolean;
3052
+ /**
3053
+ * @remarks
3054
+ * This parameter is required.
3055
+ *
3056
+ * @example
3057
+ * root_queue
3058
+ */
3059
+ resourceQueueId?: string;
3060
+ sparkConf?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf[];
3061
+ /**
3062
+ * @example
3063
+ * 1
3064
+ */
3065
+ sparkDriverCores?: number;
3066
+ /**
3067
+ * @example
3068
+ * 4g
3069
+ */
3070
+ sparkDriverMemory?: number;
3071
+ /**
3072
+ * @example
3073
+ * 1
3074
+ */
3075
+ sparkExecutorCores?: number;
3076
+ /**
3077
+ * @example
3078
+ * 4g
3079
+ */
3080
+ sparkExecutorMemory?: number;
3081
+ /**
3082
+ * @example
3083
+ * INFO
3084
+ */
3085
+ sparkLogLevel?: string;
3086
+ sparkLogPath?: string;
3087
+ /**
3088
+ * @example
3089
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
3090
+ */
3091
+ sparkVersion?: string;
3092
+ /**
3093
+ * @remarks
3094
+ * This parameter is required.
3095
+ *
3096
+ * @example
3097
+ * TSK-d87******************
3098
+ */
3099
+ taskBizId?: string;
3100
+ /**
3101
+ * @example
3102
+ * VPC
3103
+ */
3104
+ type?: string;
3105
+ /**
3106
+ * @remarks
3107
+ * This parameter is required.
3108
+ *
3109
+ * @example
3110
+ * w-d8********
3111
+ */
3112
+ workspaceBizId?: string;
3113
+ static names(): {
3114
+ [key: string]: string;
3115
+ };
3116
+ static types(): {
3117
+ [key: string]: any;
3118
+ };
3119
+ constructor(map?: {
3120
+ [key: string]: any;
3121
+ });
3122
+ }
3123
+ export declare class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extends $tea.Model {
3124
+ /**
3125
+ * @example
3126
+ * foo_bar@spark.alert.invalid.com
3127
+ */
3128
+ alertEmailAddress?: string;
3129
+ /**
3130
+ * @remarks
3131
+ * This parameter is required.
3132
+ *
3133
+ * @example
3134
+ * 36************
3135
+ */
3136
+ code?: number;
3137
+ /**
3138
+ * @example
3139
+ * ods transform task
3140
+ */
3141
+ description?: string;
3142
+ /**
3143
+ * @example
3144
+ * false
3145
+ */
3146
+ failAlertEnable?: boolean;
3147
+ /**
3148
+ * @example
3149
+ * 1
3150
+ */
3151
+ failRetryTimes?: number;
3152
+ /**
3153
+ * @remarks
3154
+ * This parameter is required.
3155
+ *
3156
+ * @example
3157
+ * ods_transform_task
3158
+ */
3159
+ name?: string;
3160
+ /**
3161
+ * @example
3162
+ * false
3163
+ */
3164
+ startAlertEnable?: boolean;
3165
+ tags?: {
3166
+ [key: string]: string;
3167
+ };
3168
+ /**
3169
+ * @remarks
3170
+ * This parameter is required.
3171
+ */
3172
+ taskParams?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParams;
3173
+ /**
3174
+ * @remarks
3175
+ * This parameter is required.
3176
+ *
3177
+ * @example
3178
+ * MigrateData
3179
+ */
3180
+ taskType?: string;
3181
+ /**
3182
+ * @example
3183
+ * 1200
3184
+ */
3185
+ timeout?: number;
3186
+ static names(): {
3187
+ [key: string]: string;
3188
+ };
3189
+ static types(): {
3190
+ [key: string]: any;
3191
+ };
3192
+ constructor(map?: {
3193
+ [key: string]: any;
3194
+ });
3195
+ }
3196
+ export declare class CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends $tea.Model {
3197
+ /**
3198
+ * @remarks
3199
+ * This parameter is required.
3200
+ *
3201
+ * @example
3202
+ * ods batch workflow
3203
+ */
3204
+ name?: string;
3205
+ /**
3206
+ * @remarks
3207
+ * This parameter is required.
3208
+ *
3209
+ * @example
3210
+ * 28************
3211
+ */
3212
+ postTaskCode?: number;
3213
+ /**
3214
+ * @remarks
3215
+ * This parameter is required.
3216
+ *
3217
+ * @example
3218
+ * 1
3219
+ */
3220
+ postTaskVersion?: number;
3221
+ /**
3222
+ * @remarks
3223
+ * This parameter is required.
3224
+ *
3225
+ * @example
3226
+ * 16************
3227
+ */
3228
+ preTaskCode?: number;
3229
+ /**
3230
+ * @remarks
3231
+ * This parameter is required.
3232
+ *
3233
+ * @example
3234
+ * 1
3235
+ */
3236
+ preTaskVersion?: number;
3237
+ static names(): {
3238
+ [key: string]: string;
3239
+ };
3240
+ static types(): {
3241
+ [key: string]: any;
3242
+ };
3243
+ constructor(map?: {
3244
+ [key: string]: any;
3245
+ });
3246
+ }
3247
+ export declare class CreateProcessDefinitionWithScheduleResponseBodyData extends $tea.Model {
3248
+ /**
3249
+ * @example
3250
+ * 160************
3251
+ */
3252
+ code?: number;
3253
+ /**
3254
+ * @example
3255
+ * 12342
3256
+ */
3257
+ id?: number;
3258
+ static names(): {
3259
+ [key: string]: string;
3260
+ };
3261
+ static types(): {
3262
+ [key: string]: any;
3263
+ };
3264
+ constructor(map?: {
3265
+ [key: string]: any;
3266
+ });
3267
+ }
3268
+ export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
3269
+ /**
3270
+ * @remarks
3271
+ * The ID of the SQL query.
3272
+ *
3273
+ * @example
3274
+ * st-1231dfafadfa***
3275
+ */
3276
+ statementId?: string;
3277
+ static names(): {
3278
+ [key: string]: string;
3279
+ };
3280
+ static types(): {
3281
+ [key: string]: any;
3282
+ };
3283
+ constructor(map?: {
3284
+ [key: string]: any;
3285
+ });
3286
+ }
3287
+ export declare class GetJobRunResponseBodyJobRunConfigurationOverrides extends $tea.Model {
3288
+ /**
3289
+ * @remarks
3290
+ * The configurations.
3291
+ */
3292
+ configurations?: Configuration[];
3293
+ static names(): {
3294
+ [key: string]: string;
3295
+ };
3296
+ static types(): {
3297
+ [key: string]: any;
3298
+ };
3299
+ constructor(map?: {
3300
+ [key: string]: any;
3301
+ });
3302
+ }
3303
+ export declare class GetJobRunResponseBodyJobRunStateChangeReason extends $tea.Model {
3304
+ /**
3305
+ * @remarks
3306
+ * The error code.
3307
+ *
3308
+ * @example
3309
+ * ERR-100000
3310
+ */
3311
+ code?: string;
3312
+ /**
3313
+ * @remarks
3314
+ * The error message.
3315
+ *
3316
+ * @example
3317
+ * connection refused
3318
+ */
3319
+ message?: string;
3320
+ static names(): {
3321
+ [key: string]: string;
3322
+ };
3323
+ static types(): {
3324
+ [key: string]: any;
3325
+ };
3326
+ constructor(map?: {
3327
+ [key: string]: any;
3328
+ });
3329
+ }
3330
+ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
3331
+ /**
3332
+ * @remarks
3333
+ * The code type of the job. Valid values:
3334
+ *
3335
+ * * SQL
3336
+ * * JAR
3337
+ * * PYTHON
3338
+ *
3339
+ * @example
3340
+ * SQL
3341
+ */
3342
+ codeType?: string;
3343
+ /**
3344
+ * @remarks
3345
+ * The job configurations of Spark.
3346
+ */
3347
+ configurationOverrides?: GetJobRunResponseBodyJobRunConfigurationOverrides;
3348
+ displayReleaseVersion?: string;
3349
+ /**
3350
+ * @remarks
3351
+ * The end time of the job.
3352
+ *
3353
+ * @example
3354
+ * 1684119314000
3355
+ */
3356
+ endTime?: number;
3357
+ environmentId?: string;
3358
+ /**
3359
+ * @remarks
3360
+ * The timeout period of the job.
3361
+ *
3362
+ * @example
3363
+ * 3600
3364
+ */
3365
+ executionTimeoutSeconds?: number;
3366
+ fusion?: boolean;
3367
+ /**
3368
+ * @remarks
3369
+ * The information about Spark Driver.
3370
+ */
3371
+ jobDriver?: JobDriver;
3372
+ /**
3373
+ * @remarks
3374
+ * The job ID.
3375
+ *
3376
+ * @example
3377
+ * jr-231231
3378
+ */
3379
+ jobRunId?: string;
3380
+ /**
3381
+ * @remarks
3382
+ * The path where the operational logs are stored.
3383
+ */
3384
+ log?: RunLog;
3385
+ /**
3386
+ * @remarks
3387
+ * The job name.
3388
+ *
3389
+ * @example
3390
+ * jobName
3391
+ */
3392
+ name?: string;
3393
+ /**
3394
+ * @remarks
3395
+ * The version of the Spark engine on which the job runs.
3396
+ *
3397
+ * @example
3398
+ * esr-3.3.1
3399
+ */
3400
+ releaseVersion?: string;
3401
+ /**
3402
+ * @remarks
3403
+ * The ID of the user who created the job.
3404
+ *
3405
+ * @example
3406
+ * 1509789347011222
3407
+ */
3408
+ resourceOwnerId?: string;
3409
+ /**
3410
+ * @remarks
3411
+ * The name of the queue on which the job runs.
3412
+ *
3413
+ * @example
3414
+ * root_queue
3415
+ */
3416
+ resourceQueueId?: string;
3417
+ /**
3418
+ * @remarks
3419
+ * The job state.
3420
+ *
3421
+ * @example
3422
+ * Running
3423
+ */
3424
+ state?: string;
3425
+ /**
3426
+ * @remarks
3427
+ * The reason of the job status change.
3428
+ */
3429
+ stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
3430
+ /**
3431
+ * @remarks
3432
+ * The time when the job was submitted.
3433
+ *
3434
+ * @example
3435
+ * 1684119314000
3436
+ */
3437
+ submitTime?: number;
3438
+ /**
3439
+ * @remarks
3440
+ * The tags.
3441
+ */
3442
+ tags?: Tag[];
3443
+ /**
3444
+ * @remarks
3445
+ * The web UI of the job.
3446
+ *
3447
+ * @example
3448
+ * http://spark-ui
3449
+ */
3450
+ webUI?: string;
3451
+ /**
3452
+ * @remarks
3453
+ * The workspace ID.
3454
+ *
3455
+ * @example
3456
+ * w-1234abcd
3457
+ */
3458
+ workspaceId?: string;
3459
+ static names(): {
3460
+ [key: string]: string;
3461
+ };
3462
+ static types(): {
3463
+ [key: string]: any;
3464
+ };
3465
+ constructor(map?: {
3466
+ [key: string]: any;
3467
+ });
3468
+ }
3469
+ export declare class GetSessionClusterResponseBodySessionClusterApplicationConfigs extends $tea.Model {
3470
+ /**
3471
+ * @remarks
3472
+ * The name of the configuration file.
3473
+ *
3474
+ * @example
3475
+ * spark-defaults.conf
3476
+ */
3477
+ configFileName?: string;
3478
+ /**
3479
+ * @remarks
3480
+ * The key of the configuration.
3481
+ *
3482
+ * @example
3483
+ * spark.app.name
3484
+ */
3485
+ configItemKey?: string;
3486
+ /**
3487
+ * @remarks
3488
+ * The configuration value.
3489
+ *
3490
+ * @example
3491
+ * test
2441
3492
  */
2442
- log?: RunLog;
3493
+ configItemValue?: string;
3494
+ static names(): {
3495
+ [key: string]: string;
3496
+ };
3497
+ static types(): {
3498
+ [key: string]: any;
3499
+ };
3500
+ constructor(map?: {
3501
+ [key: string]: any;
3502
+ });
3503
+ }
3504
+ export declare class GetSessionClusterResponseBodySessionClusterAutoStartConfiguration extends $tea.Model {
3505
+ /**
3506
+ * @remarks
3507
+ * Indicates whether automatic startup is enabled.
3508
+ *
3509
+ * @example
3510
+ * false
3511
+ */
3512
+ enable?: boolean;
3513
+ static names(): {
3514
+ [key: string]: string;
3515
+ };
3516
+ static types(): {
3517
+ [key: string]: any;
3518
+ };
3519
+ constructor(map?: {
3520
+ [key: string]: any;
3521
+ });
3522
+ }
3523
+ export declare class GetSessionClusterResponseBodySessionClusterAutoStopConfiguration extends $tea.Model {
3524
+ /**
3525
+ * @remarks
3526
+ * Indicates whether automatic termination is enabled.
3527
+ *
3528
+ * @example
3529
+ * false
3530
+ */
3531
+ enable?: boolean;
3532
+ /**
3533
+ * @remarks
3534
+ * The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
3535
+ *
3536
+ * @example
3537
+ * 60
3538
+ */
3539
+ idleTimeoutMinutes?: number;
3540
+ static names(): {
3541
+ [key: string]: string;
3542
+ };
3543
+ static types(): {
3544
+ [key: string]: any;
3545
+ };
3546
+ constructor(map?: {
3547
+ [key: string]: any;
3548
+ });
3549
+ }
3550
+ export declare class GetSessionClusterResponseBodySessionClusterStateChangeReason extends $tea.Model {
3551
+ /**
3552
+ * @remarks
3553
+ * The status change code.
3554
+ *
3555
+ * @example
3556
+ * 1000000
3557
+ */
3558
+ code?: string;
3559
+ /**
3560
+ * @remarks
3561
+ * The status change message.
3562
+ *
3563
+ * @example
3564
+ * ok
3565
+ */
3566
+ message?: string;
3567
+ static names(): {
3568
+ [key: string]: string;
3569
+ };
3570
+ static types(): {
3571
+ [key: string]: any;
3572
+ };
3573
+ constructor(map?: {
3574
+ [key: string]: any;
3575
+ });
3576
+ }
3577
+ export declare class GetSessionClusterResponseBodySessionCluster extends $tea.Model {
3578
+ /**
3579
+ * @remarks
3580
+ * The Spark configurations.
3581
+ */
3582
+ applicationConfigs?: GetSessionClusterResponseBodySessionClusterApplicationConfigs[];
3583
+ /**
3584
+ * @remarks
3585
+ * The automatic startup configurations.
3586
+ */
3587
+ autoStartConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStartConfiguration;
3588
+ /**
3589
+ * @remarks
3590
+ * The automatic termination configurations.
3591
+ */
3592
+ autoStopConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStopConfiguration;
3593
+ /**
3594
+ * @remarks
3595
+ * The version of the Spark engine.
3596
+ *
3597
+ * @example
3598
+ * esr-2.2(Java Runtime)
3599
+ */
3600
+ displayReleaseVersion?: string;
3601
+ /**
3602
+ * @remarks
3603
+ * The domain name to which the Spark UI of the session belongs.
3604
+ *
3605
+ * @example
3606
+ * your.domain.com
3607
+ */
3608
+ domain?: string;
3609
+ /**
3610
+ * @remarks
3611
+ * The internal endpoint.
3612
+ *
3613
+ * @example
3614
+ * emr-spark-gateway-cn-hangzhou-internal.data.aliyuncs.com
3615
+ */
3616
+ domainInner?: string;
3617
+ /**
3618
+ * @remarks
3619
+ * The ID of the job that is associated with the session.
3620
+ *
3621
+ * @example
3622
+ * TSK-xxxxxxxx
3623
+ */
3624
+ draftId?: string;
3625
+ /**
3626
+ * @remarks
3627
+ * The environment ID.
3628
+ *
3629
+ * @example
3630
+ * env-cpv569tlhtgndjl86t40
3631
+ */
3632
+ envId?: string;
3633
+ /**
3634
+ * @remarks
3635
+ * Indicates whether the Fusion engine is used for acceleration.
3636
+ *
3637
+ * @example
3638
+ * false
3639
+ */
3640
+ fusion?: boolean;
3641
+ /**
3642
+ * @remarks
3643
+ * The creation time.
3644
+ *
3645
+ * @example
3646
+ * 2024-09-01 06:23:01
3647
+ */
3648
+ gmtCreate?: number;
3649
+ /**
3650
+ * @remarks
3651
+ * The type of the job. This parameter is required and cannot be modified after the deployment is created. Valid values:
3652
+ *
3653
+ * * SQLSCRIPT
3654
+ * * JAR
3655
+ * * PYTHON
3656
+ *
3657
+ * @example
3658
+ * SQL
3659
+ */
3660
+ kind?: string;
3661
+ /**
3662
+ * @remarks
3663
+ * The name of the session.
3664
+ *
3665
+ * @example
3666
+ * test
3667
+ */
3668
+ name?: string;
3669
+ /**
3670
+ * @remarks
3671
+ * The queue name.
3672
+ *
3673
+ * @example
3674
+ * jobName
3675
+ */
3676
+ queueName?: string;
3677
+ /**
3678
+ * @remarks
3679
+ * The version of E-MapReduce (EMR) Serverless Spark.
3680
+ *
3681
+ * @example
3682
+ * esr-2.2(Java Runtime)
3683
+ */
3684
+ releaseVersion?: string;
3685
+ /**
3686
+ * @remarks
3687
+ * The session ID.
3688
+ *
3689
+ * @example
3690
+ * 1234abcd-12ab-34cd-56ef-1234567890ab
3691
+ */
3692
+ sessionClusterId?: string;
3693
+ /**
3694
+ * @remarks
3695
+ * The start time.
3696
+ *
3697
+ * @example
3698
+ * 2024-09-01 06:23:01
3699
+ */
3700
+ startTime?: number;
3701
+ /**
3702
+ * @remarks
3703
+ * The job status.
3704
+ *
3705
+ * @example
3706
+ * Running
3707
+ */
3708
+ state?: string;
3709
+ /**
3710
+ * @remarks
3711
+ * The reason of the job status change.
3712
+ */
3713
+ stateChangeReason?: GetSessionClusterResponseBodySessionClusterStateChangeReason;
3714
+ /**
3715
+ * @remarks
3716
+ * The user ID.
3717
+ *
3718
+ * @example
3719
+ * jr-231231
3720
+ */
3721
+ userId?: string;
3722
+ /**
3723
+ * @remarks
3724
+ * The name of the account that is used to create the session.
3725
+ *
3726
+ * @example
3727
+ * user1
3728
+ */
3729
+ userName?: string;
3730
+ /**
3731
+ * @remarks
3732
+ * The Spark UI of the session.
3733
+ *
3734
+ * @example
3735
+ * https://spark-ui/link
3736
+ */
3737
+ webUI?: string;
3738
+ /**
3739
+ * @remarks
3740
+ * The workspace ID.
3741
+ *
3742
+ * @example
3743
+ * w-1234abcd
3744
+ */
3745
+ workspaceId?: string;
3746
+ static names(): {
3747
+ [key: string]: string;
3748
+ };
3749
+ static types(): {
3750
+ [key: string]: any;
3751
+ };
3752
+ constructor(map?: {
3753
+ [key: string]: any;
3754
+ });
3755
+ }
3756
+ export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Model {
2443
3757
  /**
2444
3758
  * @remarks
2445
- * The job name.
3759
+ * The queried data, which is a string in the JSON format.
2446
3760
  *
2447
3761
  * @example
2448
- * jobName
3762
+ * [{\\"values\\":[\\"test_db\\",\\"test_table\\",false]}
2449
3763
  */
2450
- name?: string;
3764
+ rows?: string;
2451
3765
  /**
2452
3766
  * @remarks
2453
- * The version of the Spark engine on which the job runs.
3767
+ * The information about the schema, which is a string in the JSON format.
2454
3768
  *
2455
3769
  * @example
2456
- * esr-3.3.1
3770
+ * {\\"type\\":\\"struct\\",\\"fields\\":[{\\"name\\":\\"namespace\\",\\"type\\":\\"string\\",\\"nullable\\":false,\\"metadata\\":{}},{\\"name\\":\\"tableName\\",\\"type\\":\\"string\\",\\"nullable\\":false,\\"metadata\\":{}},{\\"name\\":\\"isTemporary\\",\\"type\\":\\"boolean\\",\\"nullable\\":false,\\"metadata\\":{}}]}
2457
3771
  */
2458
- releaseVersion?: string;
3772
+ schema?: string;
3773
+ static names(): {
3774
+ [key: string]: string;
3775
+ };
3776
+ static types(): {
3777
+ [key: string]: any;
3778
+ };
3779
+ constructor(map?: {
3780
+ [key: string]: any;
3781
+ });
3782
+ }
3783
+ export declare class GetSqlStatementResponseBodyData extends $tea.Model {
2459
3784
  /**
2460
3785
  * @remarks
2461
- * The ID of the user who created the job.
2462
- *
2463
- * @example
2464
- * 1509789347011222
3786
+ * The list of time that is consumed by SQL queries.
2465
3787
  */
2466
- resourceOwnerId?: string;
3788
+ executionTime?: number[];
2467
3789
  /**
2468
3790
  * @remarks
2469
- * The name of the queue on which the job runs.
3791
+ * The error code.
2470
3792
  *
2471
3793
  * @example
2472
- * root_queue
3794
+ * ERROR-102
2473
3795
  */
2474
- resourceQueueId?: string;
3796
+ sqlErrorCode?: string;
2475
3797
  /**
2476
3798
  * @remarks
2477
- * The job state.
3799
+ * The error message.
2478
3800
  *
2479
3801
  * @example
2480
- * Running
3802
+ * error message
2481
3803
  */
2482
- state?: string;
3804
+ sqlErrorMessage?: string;
2483
3805
  /**
2484
3806
  * @remarks
2485
- * The reason of the job status change.
3807
+ * The query results.
2486
3808
  */
2487
- stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
3809
+ sqlOutputs?: GetSqlStatementResponseBodyDataSqlOutputs[];
2488
3810
  /**
2489
3811
  * @remarks
2490
- * The time when the job was submitted.
3812
+ * The query status.
3813
+ *
3814
+ * Valid values:
3815
+ *
3816
+ * * running
3817
+ * * available
3818
+ * * cancelled
3819
+ * * error
3820
+ * * cancelling
2491
3821
  *
2492
3822
  * @example
2493
- * 1684119314000
3823
+ * running
2494
3824
  */
2495
- submitTime?: number;
3825
+ state?: string;
2496
3826
  /**
2497
3827
  * @remarks
2498
- * The tags of the job.
3828
+ * The query ID.
3829
+ *
3830
+ * @example
3831
+ * st-1231311abadfaa
2499
3832
  */
2500
- tags?: Tag[];
3833
+ statementId?: string;
3834
+ static names(): {
3835
+ [key: string]: string;
3836
+ };
3837
+ static types(): {
3838
+ [key: string]: any;
3839
+ };
3840
+ constructor(map?: {
3841
+ [key: string]: any;
3842
+ });
3843
+ }
3844
+ export declare class ListJobRunsRequestEndTime extends $tea.Model {
2501
3845
  /**
2502
3846
  * @remarks
2503
- * The web UI of the job.
3847
+ * The end of the end time range.
2504
3848
  *
2505
3849
  * @example
2506
- * http://spark-ui
3850
+ * 1710432000000
2507
3851
  */
2508
- webUI?: string;
3852
+ endTime?: number;
2509
3853
  /**
2510
3854
  * @remarks
2511
- * The workspace ID.
3855
+ * The beginning of the end time range.
2512
3856
  *
2513
3857
  * @example
2514
- * w-1234abcd
3858
+ * 1709740800000
2515
3859
  */
2516
- workspaceId?: string;
3860
+ startTime?: number;
2517
3861
  static names(): {
2518
3862
  [key: string]: string;
2519
3863
  };
@@ -2524,22 +3868,23 @@ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
2524
3868
  [key: string]: any;
2525
3869
  });
2526
3870
  }
2527
- export declare class GetSessionClusterResponseBodySessionClusterApplicationConfigs extends $tea.Model {
2528
- /**
2529
- * @example
2530
- * spark-defaults.conf
2531
- */
2532
- configFileName?: string;
3871
+ export declare class ListJobRunsRequestStartTime extends $tea.Model {
2533
3872
  /**
3873
+ * @remarks
3874
+ * The end of the start time range.
3875
+ *
2534
3876
  * @example
2535
- * spark.app.name
3877
+ * 1710432000000
2536
3878
  */
2537
- configItemKey?: string;
3879
+ endTime?: number;
2538
3880
  /**
3881
+ * @remarks
3882
+ * The beginning of the start time range.
3883
+ *
2539
3884
  * @example
2540
- * test
3885
+ * 1709740800000
2541
3886
  */
2542
- configItemValue?: string;
3887
+ startTime?: number;
2543
3888
  static names(): {
2544
3889
  [key: string]: string;
2545
3890
  };
@@ -2550,12 +3895,23 @@ export declare class GetSessionClusterResponseBodySessionClusterApplicationConfi
2550
3895
  [key: string]: any;
2551
3896
  });
2552
3897
  }
2553
- export declare class GetSessionClusterResponseBodySessionClusterAutoStartConfiguration extends $tea.Model {
3898
+ export declare class ListJobRunsRequestTags extends $tea.Model {
2554
3899
  /**
3900
+ * @remarks
3901
+ * The key of tag N.
3902
+ *
2555
3903
  * @example
2556
- * false
3904
+ * tag_key
2557
3905
  */
2558
- enable?: boolean;
3906
+ key?: string;
3907
+ /**
3908
+ * @remarks
3909
+ * The value of tag N.
3910
+ *
3911
+ * @example
3912
+ * value
3913
+ */
3914
+ value?: string;
2559
3915
  static names(): {
2560
3916
  [key: string]: string;
2561
3917
  };
@@ -2566,17 +3922,12 @@ export declare class GetSessionClusterResponseBodySessionClusterAutoStartConfigu
2566
3922
  [key: string]: any;
2567
3923
  });
2568
3924
  }
2569
- export declare class GetSessionClusterResponseBodySessionClusterAutoStopConfiguration extends $tea.Model {
2570
- /**
2571
- * @example
2572
- * false
2573
- */
2574
- enable?: boolean;
3925
+ export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extends $tea.Model {
2575
3926
  /**
2576
- * @example
2577
- * 60
3927
+ * @remarks
3928
+ * The SparkConf objects.
2578
3929
  */
2579
- idleTimeoutMinutes?: number;
3930
+ configurations?: Configuration[];
2580
3931
  static names(): {
2581
3932
  [key: string]: string;
2582
3933
  };
@@ -2587,15 +3938,21 @@ export declare class GetSessionClusterResponseBodySessionClusterAutoStopConfigur
2587
3938
  [key: string]: any;
2588
3939
  });
2589
3940
  }
2590
- export declare class GetSessionClusterResponseBodySessionClusterStateChangeReason extends $tea.Model {
3941
+ export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $tea.Model {
2591
3942
  /**
3943
+ * @remarks
3944
+ * The error code.
3945
+ *
2592
3946
  * @example
2593
- * 1000000
3947
+ * 0
2594
3948
  */
2595
3949
  code?: string;
2596
3950
  /**
3951
+ * @remarks
3952
+ * The error message.
3953
+ *
2597
3954
  * @example
2598
- * ok
3955
+ * success
2599
3956
  */
2600
3957
  message?: string;
2601
3958
  static names(): {
@@ -2608,99 +3965,146 @@ export declare class GetSessionClusterResponseBodySessionClusterStateChangeReaso
2608
3965
  [key: string]: any;
2609
3966
  });
2610
3967
  }
2611
- export declare class GetSessionClusterResponseBodySessionCluster extends $tea.Model {
2612
- applicationConfigs?: GetSessionClusterResponseBodySessionClusterApplicationConfigs[];
2613
- autoStartConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStartConfiguration;
2614
- autoStopConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStopConfiguration;
3968
+ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
2615
3969
  /**
3970
+ * @remarks
3971
+ * The code type of the job. Valid values:
3972
+ *
3973
+ * SQL
3974
+ *
3975
+ * JAR
3976
+ *
3977
+ * PYTHON
3978
+ *
2616
3979
  * @example
2617
- * esr-2.2(Java Runtime)
3980
+ * SQL
2618
3981
  */
2619
- displayReleaseVersion?: string;
3982
+ codeType?: string;
3983
+ /**
3984
+ * @remarks
3985
+ * The advanced configurations of Spark.
3986
+ */
3987
+ configurationOverrides?: ListJobRunsResponseBodyJobRunsConfigurationOverrides;
2620
3988
  /**
3989
+ * @remarks
3990
+ * The ID of the user who created the job.
3991
+ *
2621
3992
  * @example
2622
- * your.domain.com
3993
+ * 1509789347011222
2623
3994
  */
2624
- domain?: string;
2625
- domainInner?: string;
3995
+ creator?: string;
2626
3996
  /**
2627
3997
  * @example
2628
- * TSK-xxxxxxxx
3998
+ * 2.059
2629
3999
  */
2630
- draftId?: string;
4000
+ cuHours?: number;
2631
4001
  /**
2632
4002
  * @example
2633
- * env-cpv569tlhtgndjl86t40
4003
+ * esr-3.0.0 (Spark 3.4.3, Scala 2.12)
2634
4004
  */
2635
- envId?: string;
4005
+ displayReleaseVersion?: string;
2636
4006
  /**
4007
+ * @remarks
4008
+ * The end time of the job.
4009
+ *
2637
4010
  * @example
2638
- * false
4011
+ * 1684119314000
2639
4012
  */
2640
- fusion?: boolean;
2641
- gmtCreate?: number;
4013
+ endTime?: number;
2642
4014
  /**
4015
+ * @remarks
4016
+ * The timeout period of the job.
4017
+ *
2643
4018
  * @example
2644
- * SQL
4019
+ * 3600
2645
4020
  */
2646
- kind?: string;
4021
+ executionTimeoutSeconds?: number;
2647
4022
  /**
2648
4023
  * @example
2649
- * test
4024
+ * true
2650
4025
  */
2651
- name?: string;
4026
+ fusion?: boolean;
4027
+ /**
4028
+ * @remarks
4029
+ * The information about Spark Driver.
4030
+ */
4031
+ jobDriver?: JobDriver;
2652
4032
  /**
2653
4033
  * @remarks
2654
- * 作业实例名称。
4034
+ * The job ID.
2655
4035
  *
2656
4036
  * @example
2657
- * jobName
4037
+ * jr-231231
2658
4038
  */
2659
- queueName?: string;
4039
+ jobRunId?: string;
4040
+ /**
4041
+ * @remarks
4042
+ * The path where the operational logs are stored.
4043
+ */
4044
+ log?: RunLog;
2660
4045
  /**
2661
4046
  * @example
2662
- * esr-2.2(Java Runtime)
4047
+ * 33030784
2663
4048
  */
2664
- releaseVersion?: string;
4049
+ mbSeconds?: number;
2665
4050
  /**
2666
4051
  * @remarks
2667
- * 交互式作业会话id。
4052
+ * The job name.
2668
4053
  *
2669
4054
  * @example
2670
- * 1234abcd-12ab-34cd-56ef-1234567890ab
4055
+ * jobName
2671
4056
  */
2672
- sessionClusterId?: string;
2673
- startTime?: number;
4057
+ name?: string;
4058
+ /**
4059
+ * @remarks
4060
+ * The version of Spark on which the jobs run.
4061
+ *
4062
+ * @example
4063
+ * esr-native-3.4.0
4064
+ */
4065
+ releaseVersion?: string;
2674
4066
  /**
2675
4067
  * @remarks
2676
- * 作业状态。
4068
+ * The job state.
2677
4069
  *
2678
4070
  * @example
2679
4071
  * Running
2680
4072
  */
2681
4073
  state?: string;
2682
- stateChangeReason?: GetSessionClusterResponseBodySessionClusterStateChangeReason;
2683
4074
  /**
2684
4075
  * @remarks
2685
- * 任务实例ID。
4076
+ * The reason of the job status change.
4077
+ */
4078
+ stateChangeReason?: ListJobRunsResponseBodyJobRunsStateChangeReason;
4079
+ /**
4080
+ * @remarks
4081
+ * The time when the job was submitted.
2686
4082
  *
2687
4083
  * @example
2688
- * jr-231231
4084
+ * 1684119314000
2689
4085
  */
2690
- userId?: string;
4086
+ submitTime?: number;
4087
+ /**
4088
+ * @remarks
4089
+ * The tags.
4090
+ */
4091
+ tags?: Tag[];
2691
4092
  /**
2692
4093
  * @example
2693
- * user1
4094
+ * 8236
2694
4095
  */
2695
- userName?: string;
4096
+ vcoreSeconds?: number;
2696
4097
  /**
4098
+ * @remarks
4099
+ * The web UI of the job.
4100
+ *
2697
4101
  * @example
2698
- * https://spark-ui/link
4102
+ * http://spark-ui
2699
4103
  */
2700
4104
  webUI?: string;
2701
4105
  /**
2702
4106
  * @remarks
2703
- * 工作空间id。
4107
+ * The workspace ID.
2704
4108
  *
2705
4109
  * @example
2706
4110
  * w-1234abcd
@@ -2716,23 +4120,29 @@ export declare class GetSessionClusterResponseBodySessionCluster extends $tea.Mo
2716
4120
  [key: string]: any;
2717
4121
  });
2718
4122
  }
2719
- export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Model {
4123
+ export declare class ListLogContentsResponseBodyListLogContentContents extends $tea.Model {
2720
4124
  /**
2721
- * @remarks
2722
- * The queried data, which is a string in the JSON format.
2723
- *
2724
4125
  * @example
2725
- * [{\\"values\\":[\\"test_db\\",\\"test_table\\",false]}
4126
+ * spark pi is 3.14\\n
2726
4127
  */
2727
- rows?: string;
4128
+ lineContent?: string;
4129
+ static names(): {
4130
+ [key: string]: string;
4131
+ };
4132
+ static types(): {
4133
+ [key: string]: any;
4134
+ };
4135
+ constructor(map?: {
4136
+ [key: string]: any;
4137
+ });
4138
+ }
4139
+ export declare class ListLogContentsResponseBodyListLogContent extends $tea.Model {
4140
+ contents?: ListLogContentsResponseBodyListLogContentContents[];
2728
4141
  /**
2729
- * @remarks
2730
- * The information about the schema, which is a string in the JSON format.
2731
- *
2732
4142
  * @example
2733
- * {\\"type\\":\\"struct\\",\\"fields\\":[{\\"name\\":\\"namespace\\",\\"type\\":\\"string\\",\\"nullable\\":false,\\"metadata\\":{}},{\\"name\\":\\"tableName\\",\\"type\\":\\"string\\",\\"nullable\\":false,\\"metadata\\":{}},{\\"name\\":\\"isTemporary\\",\\"type\\":\\"boolean\\",\\"nullable\\":false,\\"metadata\\":{}}]}
4143
+ * 10
2734
4144
  */
2735
- schema?: string;
4145
+ totalLength?: number;
2736
4146
  static names(): {
2737
4147
  [key: string]: string;
2738
4148
  };
@@ -2743,84 +4153,84 @@ export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Mode
2743
4153
  [key: string]: any;
2744
4154
  });
2745
4155
  }
2746
- export declare class GetSqlStatementResponseBodyData extends $tea.Model {
4156
+ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
2747
4157
  /**
2748
4158
  * @remarks
2749
- * The list of time that is consumed by SQL queries.
4159
+ * The version number of open source Spark.
4160
+ *
4161
+ * @example
4162
+ * Spark 3.3.1
2750
4163
  */
2751
- executionTime?: number[];
4164
+ communityVersion?: string;
2752
4165
  /**
2753
4166
  * @remarks
2754
- * The error code.
4167
+ * The CPU architectures.
4168
+ */
4169
+ cpuArchitectures?: string[];
4170
+ /**
4171
+ * @remarks
4172
+ * The version number.
2755
4173
  *
2756
4174
  * @example
2757
- * ERROR-102
4175
+ * esr-2.1 (Spark 3.3.1, Scala 2.12)
2758
4176
  */
2759
- sqlErrorCode?: string;
4177
+ displayReleaseVersion?: string;
2760
4178
  /**
2761
4179
  * @remarks
2762
- * The error message.
4180
+ * Indicates whether the Fusion engine is used for acceleration.
2763
4181
  *
2764
4182
  * @example
2765
- * error message
4183
+ * true
2766
4184
  */
2767
- sqlErrorMessage?: string;
4185
+ fusion?: boolean;
2768
4186
  /**
2769
4187
  * @remarks
2770
- * The query results.
4188
+ * The creation time.
4189
+ *
4190
+ * @example
4191
+ * 1716215854101
2771
4192
  */
2772
- sqlOutputs?: GetSqlStatementResponseBodyDataSqlOutputs[];
4193
+ gmtCreate?: number;
2773
4194
  /**
2774
4195
  * @remarks
2775
- * The query status.
2776
- *
2777
- * Valid values:
4196
+ * The type of the Infrastructure as a Service (IaaS) layer.
2778
4197
  *
2779
- * * running
2780
- * * available
2781
- * * cancelled
2782
- * * error
2783
- * * cancelling
4198
+ * @example
4199
+ * ASI
4200
+ */
4201
+ iaasType?: string;
4202
+ /**
4203
+ * @remarks
4204
+ * The version number.
2784
4205
  *
2785
4206
  * @example
2786
- * running
4207
+ * esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
2787
4208
  */
2788
- state?: string;
4209
+ releaseVersion?: string;
2789
4210
  /**
2790
4211
  * @remarks
2791
- * The query ID.
4212
+ * The version of Scala.
2792
4213
  *
2793
4214
  * @example
2794
- * st-1231311abadfaa
4215
+ * 2.12
2795
4216
  */
2796
- statementId?: string;
2797
- static names(): {
2798
- [key: string]: string;
2799
- };
2800
- static types(): {
2801
- [key: string]: any;
2802
- };
2803
- constructor(map?: {
2804
- [key: string]: any;
2805
- });
2806
- }
2807
- export declare class ListJobRunsRequestEndTime extends $tea.Model {
4217
+ scalaVersion?: string;
2808
4218
  /**
2809
4219
  * @remarks
2810
- * The end of the end time range.
4220
+ * The status of the version.
2811
4221
  *
2812
4222
  * @example
2813
- * 1710432000000
4223
+ * ONLINE
2814
4224
  */
2815
- endTime?: number;
4225
+ state?: string;
2816
4226
  /**
2817
4227
  * @remarks
2818
- * The beginning of the end time range.
4228
+ * The type of the version.
2819
4229
  *
2820
4230
  * @example
2821
- * 1709740800000
4231
+ * stable
2822
4232
  */
2823
- startTime?: number;
4233
+ type?: string;
2824
4234
  static names(): {
2825
4235
  [key: string]: string;
2826
4236
  };
@@ -2831,23 +4241,31 @@ export declare class ListJobRunsRequestEndTime extends $tea.Model {
2831
4241
  [key: string]: any;
2832
4242
  });
2833
4243
  }
2834
- export declare class ListJobRunsRequestStartTime extends $tea.Model {
4244
+ export declare class ListSessionClustersResponseBodySessionClustersApplicationConfigs extends $tea.Model {
2835
4245
  /**
2836
4246
  * @remarks
2837
- * The end of the start time range.
4247
+ * The name of the configuration file.
2838
4248
  *
2839
4249
  * @example
2840
- * 1710432000000
4250
+ * spark-default.conf
2841
4251
  */
2842
- endTime?: number;
4252
+ configFileName?: string;
2843
4253
  /**
2844
4254
  * @remarks
2845
- * The beginning of the start time range.
4255
+ * The key of the configuration.
2846
4256
  *
2847
4257
  * @example
2848
- * 1709740800000
4258
+ * spark.app.name
2849
4259
  */
2850
- startTime?: number;
4260
+ configItemKey?: string;
4261
+ /**
4262
+ * @remarks
4263
+ * The configuration value.
4264
+ *
4265
+ * @example
4266
+ * test_application
4267
+ */
4268
+ configItemValue?: string;
2851
4269
  static names(): {
2852
4270
  [key: string]: string;
2853
4271
  };
@@ -2858,23 +4276,15 @@ export declare class ListJobRunsRequestStartTime extends $tea.Model {
2858
4276
  [key: string]: any;
2859
4277
  });
2860
4278
  }
2861
- export declare class ListJobRunsRequestTags extends $tea.Model {
2862
- /**
2863
- * @remarks
2864
- * The key of tag N.
2865
- *
2866
- * @example
2867
- * tag_key
2868
- */
2869
- key?: string;
4279
+ export declare class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $tea.Model {
2870
4280
  /**
2871
4281
  * @remarks
2872
- * The value of tag N.
4282
+ * Indicates whether automatic startup is enabled.
2873
4283
  *
2874
4284
  * @example
2875
- * value
4285
+ * true
2876
4286
  */
2877
- value?: string;
4287
+ enable?: boolean;
2878
4288
  static names(): {
2879
4289
  [key: string]: string;
2880
4290
  };
@@ -2885,12 +4295,23 @@ export declare class ListJobRunsRequestTags extends $tea.Model {
2885
4295
  [key: string]: any;
2886
4296
  });
2887
4297
  }
2888
- export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extends $tea.Model {
4298
+ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $tea.Model {
2889
4299
  /**
2890
4300
  * @remarks
2891
- * The SparkConf objects.
4301
+ * Indicates whether automatic termination is enabled.
4302
+ *
4303
+ * @example
4304
+ * false
2892
4305
  */
2893
- configurations?: Configuration[];
4306
+ enable?: boolean;
4307
+ /**
4308
+ * @remarks
4309
+ * The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
4310
+ *
4311
+ * @example
4312
+ * 45
4313
+ */
4314
+ idleTimeoutMinutes?: number;
2894
4315
  static names(): {
2895
4316
  [key: string]: string;
2896
4317
  };
@@ -2901,21 +4322,21 @@ export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extend
2901
4322
  [key: string]: any;
2902
4323
  });
2903
4324
  }
2904
- export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $tea.Model {
4325
+ export declare class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $tea.Model {
2905
4326
  /**
2906
4327
  * @remarks
2907
- * The error code.
4328
+ * The status change code.
2908
4329
  *
2909
4330
  * @example
2910
- * 0
4331
+ * 200
2911
4332
  */
2912
4333
  code?: string;
2913
4334
  /**
2914
4335
  * @remarks
2915
- * The error message.
4336
+ * The status change message.
2916
4337
  *
2917
4338
  * @example
2918
- * success
4339
+ * ok
2919
4340
  */
2920
4341
  message?: string;
2921
4342
  static names(): {
@@ -2928,91 +4349,133 @@ export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $te
2928
4349
  [key: string]: any;
2929
4350
  });
2930
4351
  }
2931
- export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
4352
+ export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
2932
4353
  /**
2933
4354
  * @remarks
2934
- * The code type of the job. Valid values:
2935
- *
2936
- * SQL
4355
+ * The session configurations, which are equivalent to the configurations of the Spark job.
4356
+ */
4357
+ applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
4358
+ /**
4359
+ * @remarks
4360
+ * The automatic startup configurations.
4361
+ */
4362
+ autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
4363
+ /**
4364
+ * @remarks
4365
+ * The configurations of automatic termination.
4366
+ */
4367
+ autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
4368
+ /**
4369
+ * @remarks
4370
+ * The version of the Spark engine.
2937
4371
  *
2938
- * JAR
4372
+ * @example
4373
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
4374
+ */
4375
+ displayReleaseVersion?: string;
4376
+ /**
4377
+ * @remarks
4378
+ * The public endpoint of the Thrift server.
2939
4379
  *
2940
- * PYTHON
4380
+ * @example
4381
+ * emr-spark-gateway-cn-hangzhou.data.aliyun.com
4382
+ */
4383
+ domain?: string;
4384
+ /**
4385
+ * @remarks
4386
+ * The internal endpoint of the Thrift server.
2941
4387
  *
2942
4388
  * @example
2943
- * SQL
4389
+ * emr-spark-gateway-cn-hangzhou-internal.data.aliyuncs.com
2944
4390
  */
2945
- codeType?: string;
4391
+ domainInner?: string;
2946
4392
  /**
2947
4393
  * @remarks
2948
- * The advanced configurations of Spark.
4394
+ * The ID of the job that is associated with the session.
4395
+ *
4396
+ * @example
4397
+ * TSK-xxxxxxxxx
2949
4398
  */
2950
- configurationOverrides?: ListJobRunsResponseBodyJobRunsConfigurationOverrides;
4399
+ draftId?: string;
2951
4400
  /**
2952
4401
  * @remarks
2953
- * The ID of the user who created the job.
4402
+ * Indicates whether the Fusion engine is used for acceleration.
2954
4403
  *
2955
4404
  * @example
2956
- * 1509789347011222
4405
+ * false
2957
4406
  */
2958
- creator?: string;
2959
- cuHours?: number;
2960
- displayReleaseVersion?: string;
4407
+ fusion?: boolean;
2961
4408
  /**
2962
4409
  * @remarks
2963
- * The end time of the job.
4410
+ * The creation time.
2964
4411
  *
2965
4412
  * @example
2966
- * 1684119314000
4413
+ * 1732267598000
2967
4414
  */
2968
- endTime?: number;
4415
+ gmtCreate?: number;
2969
4416
  /**
2970
4417
  * @remarks
2971
- * The timeout period of the job.
4418
+ * The session type.
4419
+ *
4420
+ * Valid values:
4421
+ *
4422
+ * * NOTEBOOK
4423
+ * * THRIFT
4424
+ * * SQL
2972
4425
  *
2973
4426
  * @example
2974
- * 3600
4427
+ * SQL
2975
4428
  */
2976
- executionTimeoutSeconds?: number;
2977
- fusion?: boolean;
4429
+ kind?: string;
2978
4430
  /**
2979
4431
  * @remarks
2980
- * The information about Spark Driver.
4432
+ * The name of the session.
4433
+ *
4434
+ * @example
4435
+ * adhoc_query
2981
4436
  */
2982
- jobDriver?: JobDriver;
4437
+ name?: string;
2983
4438
  /**
2984
4439
  * @remarks
2985
- * The job ID.
4440
+ * The name of the queue that is used to run the session.
2986
4441
  *
2987
4442
  * @example
2988
- * jr-231231
4443
+ * dev_queue
2989
4444
  */
2990
- jobRunId?: string;
4445
+ queueName?: string;
2991
4446
  /**
2992
4447
  * @remarks
2993
- * The path where the operational logs are stored.
4448
+ * The version of EMR Serverless Spark.
4449
+ *
4450
+ * @example
4451
+ * esr-2.1
2994
4452
  */
2995
- log?: RunLog;
2996
- mbSeconds?: number;
4453
+ releaseVersion?: string;
2997
4454
  /**
2998
4455
  * @remarks
2999
- * The job name.
4456
+ * The session ID.
3000
4457
  *
3001
4458
  * @example
3002
- * jobName
4459
+ * sc-123131
3003
4460
  */
3004
- name?: string;
4461
+ sessionClusterId?: string;
3005
4462
  /**
3006
4463
  * @remarks
3007
- * The version of Spark on which the jobs run.
4464
+ * The start time.
3008
4465
  *
3009
4466
  * @example
3010
- * esr-native-3.4.0
4467
+ * 1732267598000
3011
4468
  */
3012
- releaseVersion?: string;
4469
+ startTime?: number;
3013
4470
  /**
3014
4471
  * @remarks
3015
- * The job state.
4472
+ * The status of the session.
4473
+ *
4474
+ * * Starting
4475
+ * * Running
4476
+ * * Stopping
4477
+ * * Stopped
4478
+ * * Error
3016
4479
  *
3017
4480
  * @example
3018
4481
  * Running
@@ -3020,29 +4483,31 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
3020
4483
  state?: string;
3021
4484
  /**
3022
4485
  * @remarks
3023
- * The reason of the job status change.
4486
+ * The details of the most recent status change of the session.
3024
4487
  */
3025
- stateChangeReason?: ListJobRunsResponseBodyJobRunsStateChangeReason;
4488
+ stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
3026
4489
  /**
3027
4490
  * @remarks
3028
- * The time when the job was submitted.
4491
+ * The user ID.
3029
4492
  *
3030
4493
  * @example
3031
- * 1684119314000
4494
+ * 123131
3032
4495
  */
3033
- submitTime?: number;
4496
+ userId?: string;
3034
4497
  /**
3035
4498
  * @remarks
3036
- * The tags of the job.
4499
+ * The username.
4500
+ *
4501
+ * @example
4502
+ * test_user
3037
4503
  */
3038
- tags?: Tag[];
3039
- vcoreSeconds?: number;
4504
+ userName?: string;
3040
4505
  /**
3041
4506
  * @remarks
3042
- * The web UI of the job.
4507
+ * The Spark UI of the session.
3043
4508
  *
3044
4509
  * @example
3045
- * http://spark-ui
4510
+ * http://spark-ui-xxxx
3046
4511
  */
3047
4512
  webUI?: string;
3048
4513
  /**
@@ -3063,198 +4528,156 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
3063
4528
  [key: string]: any;
3064
4529
  });
3065
4530
  }
3066
- export declare class ListLogContentsResponseBodyListLogContentContents extends $tea.Model {
4531
+ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
3067
4532
  /**
4533
+ * @remarks
4534
+ * The Alibaba Cloud Resource Name (ARN) of a behavior.
4535
+ *
3068
4536
  * @example
3069
- * spark pi is 3.14\\n
4537
+ * acs:emr::workspaceId:action/create_queue
3070
4538
  */
3071
- lineContent?: string;
3072
- static names(): {
3073
- [key: string]: string;
3074
- };
3075
- static types(): {
3076
- [key: string]: any;
3077
- };
3078
- constructor(map?: {
3079
- [key: string]: any;
3080
- });
3081
- }
3082
- export declare class ListLogContentsResponseBodyListLogContent extends $tea.Model {
3083
- contents?: ListLogContentsResponseBodyListLogContentContents[];
4539
+ actionArn?: string;
3084
4540
  /**
4541
+ * @remarks
4542
+ * The name of the permission.
4543
+ *
3085
4544
  * @example
3086
- * 10
4545
+ * view
3087
4546
  */
3088
- totalLength?: number;
3089
- static names(): {
3090
- [key: string]: string;
3091
- };
3092
- static types(): {
3093
- [key: string]: any;
3094
- };
3095
- constructor(map?: {
3096
- [key: string]: any;
3097
- });
3098
- }
3099
- export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
4547
+ actionName?: string;
3100
4548
  /**
3101
4549
  * @remarks
3102
- * The version number of open source Spark.
4550
+ * The dependencies of the operation.
3103
4551
  *
3104
4552
  * @example
3105
- * Spark 3.3.1
4553
+ * ["view"]
3106
4554
  */
3107
- communityVersion?: string;
4555
+ dependencies?: string[];
3108
4556
  /**
3109
4557
  * @remarks
3110
- * The CPU architectures.
4558
+ * The description of the operation.
4559
+ *
4560
+ * @example
4561
+ * 文件目录遍历、文件浏览
3111
4562
  */
3112
- cpuArchitectures?: string[];
4563
+ description?: string;
3113
4564
  /**
3114
4565
  * @remarks
3115
- * The version number.
4566
+ * The display name of the permission.
3116
4567
  *
3117
4568
  * @example
3118
- * esr-2.1 (Spark 3.3.1, Scala 2.12)
4569
+ * 文件目录遍历、文件浏览
3119
4570
  */
3120
- displayReleaseVersion?: string;
4571
+ displayName?: string;
4572
+ static names(): {
4573
+ [key: string]: string;
4574
+ };
4575
+ static types(): {
4576
+ [key: string]: any;
4577
+ };
4578
+ constructor(map?: {
4579
+ [key: string]: any;
4580
+ });
4581
+ }
4582
+ export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
3121
4583
  /**
3122
4584
  * @remarks
3123
- * Indicates whether the Fusion engine is used for acceleration.
3124
- *
3125
- * @example
3126
- * true
4585
+ * The operations allowed for the queue.
3127
4586
  */
3128
- fusion?: boolean;
4587
+ allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
3129
4588
  /**
3130
4589
  * @remarks
3131
- * The creation time.
4590
+ * The ID of the user who created the queue.
3132
4591
  *
3133
4592
  * @example
3134
- * 1716215854101
4593
+ * 237109
3135
4594
  */
3136
- gmtCreate?: number;
4595
+ creator?: string;
3137
4596
  /**
3138
4597
  * @remarks
3139
- * The type of the Infrastructure as a Service (IaaS) layer.
3140
- *
3141
- * @example
3142
- * ASI
4598
+ * The environment types of the queue.
3143
4599
  */
3144
- iaasType?: string;
4600
+ environments?: string[];
3145
4601
  /**
3146
4602
  * @remarks
3147
- * The version number.
4603
+ * The maximum capacity of resources that can be used in the queue.
3148
4604
  *
3149
4605
  * @example
3150
- * esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
4606
+ * {"cpu": "2","memory": "2Gi"}
3151
4607
  */
3152
- releaseVersion?: string;
4608
+ maxResource?: string;
3153
4609
  /**
3154
4610
  * @remarks
3155
- * The version of Scala.
4611
+ * The minimum capacity of resources that can be used in the queue.
3156
4612
  *
3157
4613
  * @example
3158
- * 2.12
4614
+ * {"cpu": "2","memory": "2Gi"}
3159
4615
  */
3160
- scalaVersion?: string;
4616
+ minResource?: string;
3161
4617
  /**
3162
4618
  * @remarks
3163
- * The status of the version.
4619
+ * The queue label.
3164
4620
  *
3165
4621
  * @example
3166
- * ONLINE
4622
+ * dev_queue
3167
4623
  */
3168
- state?: string;
4624
+ properties?: string;
3169
4625
  /**
3170
4626
  * @remarks
3171
- * The type of the version.
4627
+ * The name of the queue.
3172
4628
  *
3173
4629
  * @example
3174
- * stable
4630
+ * dev_queue
3175
4631
  */
3176
- type?: string;
3177
- static names(): {
3178
- [key: string]: string;
3179
- };
3180
- static types(): {
3181
- [key: string]: any;
3182
- };
3183
- constructor(map?: {
3184
- [key: string]: any;
3185
- });
3186
- }
3187
- export declare class ListSessionClustersResponseBodySessionClustersApplicationConfigs extends $tea.Model {
4632
+ queueName?: string;
3188
4633
  /**
3189
4634
  * @remarks
3190
- * The name of the configuration file.
4635
+ * The queue architecture.
3191
4636
  *
3192
4637
  * @example
3193
- * spark-default.conf
4638
+ * {"arch": "x86"}
3194
4639
  */
3195
- configFileName?: string;
4640
+ queueScope?: string;
3196
4641
  /**
3197
4642
  * @remarks
3198
- * The key of the configuration.
4643
+ * The status of the queue.
3199
4644
  *
3200
4645
  * @example
3201
- * spark.app.name
4646
+ * RUNNING
3202
4647
  */
3203
- configItemKey?: string;
4648
+ queueStatus?: string;
3204
4649
  /**
3205
4650
  * @remarks
3206
- * The configuration value.
4651
+ * The queue type.
3207
4652
  *
3208
4653
  * @example
3209
- * test_application
4654
+ * instance, instanceChildren
3210
4655
  */
3211
- configItemValue?: string;
3212
- static names(): {
3213
- [key: string]: string;
3214
- };
3215
- static types(): {
3216
- [key: string]: any;
3217
- };
3218
- constructor(map?: {
3219
- [key: string]: any;
3220
- });
3221
- }
3222
- export declare class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $tea.Model {
4656
+ queueType?: string;
3223
4657
  /**
3224
4658
  * @remarks
3225
- * Indicates whether automatic startup is enabled.
4659
+ * The region ID.
3226
4660
  *
3227
4661
  * @example
3228
- * true
4662
+ * cn-hangzhou
3229
4663
  */
3230
- enable?: boolean;
3231
- static names(): {
3232
- [key: string]: string;
3233
- };
3234
- static types(): {
3235
- [key: string]: any;
3236
- };
3237
- constructor(map?: {
3238
- [key: string]: any;
3239
- });
3240
- }
3241
- export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $tea.Model {
4664
+ regionId?: string;
3242
4665
  /**
3243
4666
  * @remarks
3244
- * Indicates whether automatic termination is enabled.
4667
+ * The capacity of resources that are used in the queue.
3245
4668
  *
3246
4669
  * @example
3247
- * false
4670
+ * {"cpu": "2","memory": "2Gi"}
3248
4671
  */
3249
- enable?: boolean;
4672
+ usedResource?: string;
3250
4673
  /**
3251
4674
  * @remarks
3252
- * The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
4675
+ * The workspace ID.
3253
4676
  *
3254
4677
  * @example
3255
- * 45
4678
+ * w-1234abcd
3256
4679
  */
3257
- idleTimeoutMinutes?: number;
4680
+ workspaceId?: string;
3258
4681
  static names(): {
3259
4682
  [key: string]: string;
3260
4683
  };
@@ -3265,21 +4688,21 @@ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfi
3265
4688
  [key: string]: any;
3266
4689
  });
3267
4690
  }
3268
- export declare class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $tea.Model {
4691
+ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason extends $tea.Model {
3269
4692
  /**
3270
4693
  * @remarks
3271
- * The status change code.
4694
+ * The error code.
3272
4695
  *
3273
4696
  * @example
3274
- * 200
4697
+ * 0
3275
4698
  */
3276
4699
  code?: string;
3277
4700
  /**
3278
4701
  * @remarks
3279
- * The status change message.
4702
+ * The error message.
3280
4703
  *
3281
4704
  * @example
3282
- * ok
4705
+ * Success
3283
4706
  */
3284
4707
  message?: string;
3285
4708
  static names(): {
@@ -3292,138 +4715,157 @@ export declare class ListSessionClustersResponseBodySessionClustersStateChangeRe
3292
4715
  [key: string]: any;
3293
4716
  });
3294
4717
  }
3295
- export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
4718
+ export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
4719
+ /**
4720
+ * @remarks
4721
+ * Indicates whether auto-renewal is enabled. This parameter is required only if the paymentType parameter is set to Subscription.
4722
+ *
4723
+ * @example
4724
+ * true
4725
+ */
4726
+ autoRenew?: boolean;
3296
4727
  /**
3297
4728
  * @remarks
3298
- * The session configurations, which are equivalent to the configurations of the Spark job.
4729
+ * The auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
4730
+ *
4731
+ * @example
4732
+ * 1
3299
4733
  */
3300
- applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
4734
+ autoRenewPeriod?: number;
3301
4735
  /**
3302
4736
  * @remarks
3303
- * The automatic startup configurations.
4737
+ * The unit of the auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
4738
+ *
4739
+ * @example
4740
+ * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
3304
4741
  */
3305
- autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
4742
+ autoRenewPeriodUnit?: string;
3306
4743
  /**
3307
4744
  * @remarks
3308
- * The configurations of automatic termination.
4745
+ * The time when the workspace was created.
4746
+ *
4747
+ * @example
4748
+ * 1684115879955
3309
4749
  */
3310
- autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
4750
+ createTime?: number;
3311
4751
  /**
3312
4752
  * @remarks
3313
- * The version of the Spark engine.
4753
+ * The information of the Data Lake Formation (DLF) catalog.
4754
+ *
4755
+ * @example
4756
+ * default
3314
4757
  */
3315
- displayReleaseVersion?: string;
3316
- domain?: string;
3317
- domainInner?: string;
4758
+ dlfCatalogId?: string;
4759
+ dlfType?: string;
3318
4760
  /**
3319
4761
  * @remarks
3320
- * The ID of the job that is associated with the session.
4762
+ * The subscription period. This parameter is required only if the paymentType parameter is set to Subscription.
3321
4763
  *
3322
4764
  * @example
3323
- * TSK-xxxxxxxxx
4765
+ * 1
3324
4766
  */
3325
- draftId?: string;
4767
+ duration?: number;
3326
4768
  /**
3327
4769
  * @remarks
3328
- * Indicates whether the Fusion engine is used for acceleration.
4770
+ * The time when the workspace was released.
3329
4771
  *
3330
4772
  * @example
3331
- * false
4773
+ * 1687103999999
3332
4774
  */
3333
- fusion?: boolean;
3334
- gmtCreate?: number;
4775
+ endTime?: number;
3335
4776
  /**
3336
4777
  * @remarks
3337
- * The session type.
3338
- *
3339
- * Valid values:
4778
+ * The reason for the failure.
3340
4779
  *
3341
- * * NOTEBOOK
3342
- * * THRIFT
3343
- * * SQL
4780
+ * @example
4781
+ * out of stock
4782
+ */
4783
+ failReason?: string;
4784
+ /**
4785
+ * @remarks
4786
+ * The unit of the subscription duration. This parameter is required only if the paymentType parameter is set to Subscription.
3344
4787
  *
3345
4788
  * @example
3346
- * SQL
4789
+ * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
3347
4790
  */
3348
- kind?: string;
4791
+ paymentDurationUnit?: string;
3349
4792
  /**
3350
4793
  * @remarks
3351
- * The name of the session.
4794
+ * The status of the payment.
3352
4795
  *
3353
4796
  * @example
3354
- * adhoc_query
4797
+ * PAID/UNPAID
3355
4798
  */
3356
- name?: string;
4799
+ paymentStatus?: string;
3357
4800
  /**
3358
4801
  * @remarks
3359
- * The name of the queue that is used to run the session.
4802
+ * The payment type.
3360
4803
  *
3361
4804
  * @example
3362
- * dev_queue
4805
+ * PayAsYouGo or Subscription
3363
4806
  */
3364
- queueName?: string;
4807
+ paymentType?: string;
3365
4808
  /**
3366
4809
  * @remarks
3367
- * The version of EMR Serverless Spark.
4810
+ * The region ID.
3368
4811
  *
3369
4812
  * @example
3370
- * esr-2.1
4813
+ * cn-shanghai
3371
4814
  */
3372
- releaseVersion?: string;
4815
+ regionId?: string;
3373
4816
  /**
3374
4817
  * @remarks
3375
- * The session ID.
4818
+ * The reason why the workspace is released.
3376
4819
  *
3377
4820
  * @example
3378
- * sc-123131
4821
+ * SERVICE_RELEASE
3379
4822
  */
3380
- sessionClusterId?: string;
3381
- startTime?: number;
4823
+ releaseType?: string;
3382
4824
  /**
3383
4825
  * @remarks
3384
- * The status of the session.
4826
+ * The resource specifications.
3385
4827
  *
3386
4828
  * @example
3387
- * Running
4829
+ * 100cu
3388
4830
  */
3389
- state?: string;
4831
+ resourceSpec?: string;
3390
4832
  /**
3391
4833
  * @remarks
3392
- * The details of the most recent status change of the session.
4834
+ * The information about the workspace status change.
3393
4835
  */
3394
- stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
4836
+ stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
3395
4837
  /**
3396
4838
  * @remarks
3397
- * The user ID.
4839
+ * The Object Storage Service (OSS) path.
3398
4840
  *
3399
4841
  * @example
3400
- * 123131
4842
+ * spark-result
3401
4843
  */
3402
- userId?: string;
4844
+ storage?: string;
3403
4845
  /**
3404
4846
  * @remarks
3405
- * The username.
4847
+ * The workspace ID.
3406
4848
  *
3407
4849
  * @example
3408
- * test_user
4850
+ * w-******
3409
4851
  */
3410
- userName?: string;
4852
+ workspaceId?: string;
3411
4853
  /**
3412
4854
  * @remarks
3413
- * The Spark UI of the session.
4855
+ * The name of the workspace.
3414
4856
  *
3415
4857
  * @example
3416
- * http://spark-ui-xxxx
4858
+ * spark批作业空间-1
3417
4859
  */
3418
- webUI?: string;
4860
+ workspaceName?: string;
3419
4861
  /**
3420
4862
  * @remarks
3421
- * The workspace ID.
4863
+ * The workspace status.
3422
4864
  *
3423
4865
  * @example
3424
- * w-1234abcd
4866
+ * STARTING,RUNNING,TERMINATED
3425
4867
  */
3426
- workspaceId?: string;
4868
+ workspaceStatus?: string;
3427
4869
  static names(): {
3428
4870
  [key: string]: string;
3429
4871
  };
@@ -3434,47 +4876,78 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
3434
4876
  [key: string]: any;
3435
4877
  });
3436
4878
  }
3437
- export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
4879
+ export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
3438
4880
  /**
3439
4881
  * @remarks
3440
- * The Alibaba Cloud Resource Name (ARN) of a behavior.
4882
+ * The configuration file of SparkConf.
3441
4883
  *
3442
4884
  * @example
3443
- * acs:emr::workspaceId:action/create_queue
4885
+ * spark-default.conf
3444
4886
  */
3445
- actionArn?: string;
4887
+ configFileName?: string;
3446
4888
  /**
3447
4889
  * @remarks
3448
- * The name of the permission.
4890
+ * The key of SparkConf.
3449
4891
  *
3450
4892
  * @example
3451
- * view
4893
+ * spark.app.name
3452
4894
  */
3453
- actionName?: string;
4895
+ configItemKey?: string;
3454
4896
  /**
3455
4897
  * @remarks
3456
- * The dependencies of the operation.
4898
+ * The value of SparkConf.
3457
4899
  *
3458
4900
  * @example
3459
- * ["view"]
4901
+ * test_app
3460
4902
  */
3461
- dependencies?: string[];
4903
+ configItemValue?: string;
4904
+ static names(): {
4905
+ [key: string]: string;
4906
+ };
4907
+ static types(): {
4908
+ [key: string]: any;
4909
+ };
4910
+ constructor(map?: {
4911
+ [key: string]: any;
4912
+ });
4913
+ }
4914
+ export declare class StartJobRunRequestConfigurationOverrides extends $tea.Model {
3462
4915
  /**
3463
4916
  * @remarks
3464
- * The description of the operation.
3465
- *
4917
+ * The SparkConf objects.
4918
+ */
4919
+ configurations?: StartJobRunRequestConfigurationOverridesConfigurations[];
4920
+ static names(): {
4921
+ [key: string]: string;
4922
+ };
4923
+ static types(): {
4924
+ [key: string]: any;
4925
+ };
4926
+ constructor(map?: {
4927
+ [key: string]: any;
4928
+ });
4929
+ }
4930
+ export declare class UpdateProcessDefinitionWithScheduleRequestSchedule extends $tea.Model {
4931
+ /**
3466
4932
  * @example
3467
- * 文件目录遍历、文件浏览
4933
+ * 0 0 0 * * ?
3468
4934
  */
3469
- description?: string;
4935
+ crontab?: string;
3470
4936
  /**
3471
- * @remarks
3472
- * The display name of the permission.
3473
- *
3474
4937
  * @example
3475
- * 文件目录遍历、文件浏览
4938
+ * 2025-12-23 16:13:27
3476
4939
  */
3477
- displayName?: string;
4940
+ endTime?: string;
4941
+ /**
4942
+ * @example
4943
+ * 2024-12-23 16:13:27
4944
+ */
4945
+ startTime?: string;
4946
+ /**
4947
+ * @example
4948
+ * Asia/Shanghai
4949
+ */
4950
+ timezoneId?: string;
3478
4951
  static names(): {
3479
4952
  [key: string]: string;
3480
4953
  };
@@ -3485,105 +4958,104 @@ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $
3485
4958
  [key: string]: any;
3486
4959
  });
3487
4960
  }
3488
- export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
4961
+ export declare class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf extends $tea.Model {
3489
4962
  /**
3490
- * @remarks
3491
- * The operations allowed for the queue.
4963
+ * @example
4964
+ * spark.dynamicAllocation.enabled
3492
4965
  */
3493
- allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
4966
+ key?: string;
3494
4967
  /**
3495
- * @remarks
3496
- * The ID of the user who created the queue.
3497
- *
3498
4968
  * @example
3499
- * 237109
4969
+ * true
3500
4970
  */
3501
- creator?: string;
4971
+ value?: string;
4972
+ static names(): {
4973
+ [key: string]: string;
4974
+ };
4975
+ static types(): {
4976
+ [key: string]: any;
4977
+ };
4978
+ constructor(map?: {
4979
+ [key: string]: any;
4980
+ });
4981
+ }
4982
+ export declare class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParams extends $tea.Model {
3502
4983
  /**
3503
- * @remarks
3504
- * The environment types of the queue.
4984
+ * @example
4985
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
3505
4986
  */
3506
- environments?: string[];
4987
+ displaySparkVersion?: string;
3507
4988
  /**
3508
- * @remarks
3509
- * The maximum capacity of resources that can be used in the queue.
3510
- *
3511
4989
  * @example
3512
- * {"cpu": "2","memory": "2Gi"}
4990
+ * ev-h*************
3513
4991
  */
3514
- maxResource?: string;
4992
+ environmentId?: string;
3515
4993
  /**
3516
- * @remarks
3517
- * The minimum capacity of resources that can be used in the queue.
3518
- *
3519
4994
  * @example
3520
- * {"cpu": "2","memory": "2Gi"}
4995
+ * false
3521
4996
  */
3522
- minResource?: string;
4997
+ fusion?: boolean;
3523
4998
  /**
3524
4999
  * @remarks
3525
- * The queue label.
5000
+ * This parameter is required.
3526
5001
  *
3527
5002
  * @example
3528
- * dev_queue
5003
+ * root_queue
3529
5004
  */
3530
- properties?: string;
5005
+ resourceQueueId?: string;
5006
+ sparkConf?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf[];
3531
5007
  /**
3532
- * @remarks
3533
- * The name of the queue.
3534
- *
3535
5008
  * @example
3536
- * dev_queue
5009
+ * 1
3537
5010
  */
3538
- queueName?: string;
5011
+ sparkDriverCores?: number;
3539
5012
  /**
3540
- * @remarks
3541
- * The queue architecture.
3542
- *
3543
5013
  * @example
3544
- * {"arch": "x86"}
5014
+ * 4g
3545
5015
  */
3546
- queueScope?: string;
5016
+ sparkDriverMemory?: number;
3547
5017
  /**
3548
- * @remarks
3549
- * The status of the queue.
3550
- *
3551
5018
  * @example
3552
- * RUNNING
5019
+ * 1
3553
5020
  */
3554
- queueStatus?: string;
5021
+ sparkExecutorCores?: number;
5022
+ /**
5023
+ * @example
5024
+ * 4g
5025
+ */
5026
+ sparkExecutorMemory?: number;
5027
+ /**
5028
+ * @example
5029
+ * INFO
5030
+ */
5031
+ sparkLogLevel?: string;
5032
+ sparkLogPath?: string;
3555
5033
  /**
3556
- * @remarks
3557
- * The queue type.
3558
- *
3559
5034
  * @example
3560
- * instance, instanceChildren
5035
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
3561
5036
  */
3562
- queueType?: string;
5037
+ sparkVersion?: string;
3563
5038
  /**
3564
5039
  * @remarks
3565
- * The region ID.
5040
+ * This parameter is required.
3566
5041
  *
3567
5042
  * @example
3568
- * cn-hangzhou
5043
+ * TSK-d87******************
3569
5044
  */
3570
- regionId?: string;
5045
+ taskBizId?: string;
3571
5046
  /**
3572
- * @remarks
3573
- * The capacity of resources that are used in the queue.
3574
- *
3575
5047
  * @example
3576
- * {"cpu": "2","memory": "2Gi"}
5048
+ * SQL
3577
5049
  */
3578
- usedResource?: string;
5050
+ type?: string;
3579
5051
  /**
3580
5052
  * @remarks
3581
- * The workspace ID.
5053
+ * This parameter is required.
3582
5054
  *
3583
5055
  * @example
3584
- * w-1234abcd
5056
+ * w-d8********
3585
5057
  */
3586
- workspaceId?: string;
5058
+ workspaceBizId?: string;
3587
5059
  static names(): {
3588
5060
  [key: string]: string;
3589
5061
  };
@@ -3594,23 +5066,69 @@ export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
3594
5066
  [key: string]: any;
3595
5067
  });
3596
5068
  }
3597
- export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason extends $tea.Model {
5069
+ export declare class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extends $tea.Model {
5070
+ /**
5071
+ * @example
5072
+ * foo_bar@spark.alert.invalid.com
5073
+ */
5074
+ alertEmailAddress?: string;
3598
5075
  /**
3599
5076
  * @remarks
3600
- * The error code.
5077
+ * This parameter is required.
3601
5078
  *
3602
5079
  * @example
3603
- * 0
5080
+ * 23************
3604
5081
  */
3605
- code?: string;
5082
+ code?: number;
5083
+ /**
5084
+ * @example
5085
+ * ods transform task
5086
+ */
5087
+ description?: string;
5088
+ /**
5089
+ * @example
5090
+ * true
5091
+ */
5092
+ failAlertEnable?: boolean;
5093
+ /**
5094
+ * @example
5095
+ * 1
5096
+ */
5097
+ failRetryTimes?: number;
3606
5098
  /**
3607
5099
  * @remarks
3608
- * The error message.
5100
+ * This parameter is required.
3609
5101
  *
3610
5102
  * @example
3611
- * Success
5103
+ * ods_transform_task
3612
5104
  */
3613
- message?: string;
5105
+ name?: string;
5106
+ /**
5107
+ * @example
5108
+ * true
5109
+ */
5110
+ startAlertEnable?: boolean;
5111
+ tags?: {
5112
+ [key: string]: string;
5113
+ };
5114
+ /**
5115
+ * @remarks
5116
+ * This parameter is required.
5117
+ */
5118
+ taskParams?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParams;
5119
+ /**
5120
+ * @remarks
5121
+ * This parameter is required.
5122
+ *
5123
+ * @example
5124
+ * EMR-SERVERLESS-SPARK
5125
+ */
5126
+ taskType?: string;
5127
+ /**
5128
+ * @example
5129
+ * 30
5130
+ */
5131
+ timeout?: number;
3614
5132
  static names(): {
3615
5133
  [key: string]: string;
3616
5134
  };
@@ -3621,208 +5139,153 @@ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason exten
3621
5139
  [key: string]: any;
3622
5140
  });
3623
5141
  }
3624
- export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
5142
+ export declare class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends $tea.Model {
3625
5143
  /**
3626
5144
  * @remarks
3627
- * Indicates whether auto-renewal is enabled. This parameter is required only if the paymentType parameter is set to Subscription.
5145
+ * This parameter is required.
3628
5146
  *
3629
5147
  * @example
3630
- * true
5148
+ * ods batch workflow
3631
5149
  */
3632
- autoRenew?: boolean;
5150
+ name?: string;
3633
5151
  /**
3634
5152
  * @remarks
3635
- * The auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
5153
+ * This parameter is required.
3636
5154
  *
3637
5155
  * @example
3638
- * 1
5156
+ * 19************
3639
5157
  */
3640
- autoRenewPeriod?: number;
5158
+ postTaskCode?: number;
3641
5159
  /**
3642
5160
  * @remarks
3643
- * The unit of the auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
5161
+ * This parameter is required.
3644
5162
  *
3645
5163
  * @example
3646
- * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
5164
+ * 1
3647
5165
  */
3648
- autoRenewPeriodUnit?: string;
5166
+ postTaskVersion?: number;
3649
5167
  /**
3650
5168
  * @remarks
3651
- * The time when the workspace was created.
5169
+ * This parameter is required.
3652
5170
  *
3653
5171
  * @example
3654
- * 1684115879955
5172
+ * 16************
3655
5173
  */
3656
- createTime?: number;
5174
+ preTaskCode?: number;
3657
5175
  /**
3658
5176
  * @remarks
3659
- * The information of the Data Lake Formation (DLF) catalog.
5177
+ * This parameter is required.
3660
5178
  *
3661
5179
  * @example
3662
- * default
5180
+ * 1
3663
5181
  */
3664
- dlfCatalogId?: string;
3665
- dlfType?: string;
5182
+ preTaskVersion?: number;
5183
+ static names(): {
5184
+ [key: string]: string;
5185
+ };
5186
+ static types(): {
5187
+ [key: string]: any;
5188
+ };
5189
+ constructor(map?: {
5190
+ [key: string]: any;
5191
+ });
5192
+ }
5193
+ export declare class UpdateProcessDefinitionWithScheduleResponseBodyData extends $tea.Model {
3666
5194
  /**
3667
- * @remarks
3668
- * The subscription period. This parameter is required only if the paymentType parameter is set to Subscription.
3669
- *
3670
5195
  * @example
3671
- * 1
5196
+ * foo_bar@spark.alert.invalid.com
3672
5197
  */
3673
- duration?: number;
5198
+ alertEmailAddress?: string;
3674
5199
  /**
3675
- * @remarks
3676
- * The time when the workspace was released.
3677
- *
3678
5200
  * @example
3679
- * 1687103999999
5201
+ * alicloud_ack_one_cluster
3680
5202
  */
3681
- endTime?: number;
5203
+ bizId?: string;
3682
5204
  /**
3683
- * @remarks
3684
- * The reason for the failure.
3685
- *
3686
5205
  * @example
3687
- * out of stock
5206
+ * 12***********
3688
5207
  */
3689
- failReason?: string;
5208
+ code?: string;
3690
5209
  /**
3691
- * @remarks
3692
- * The unit of the subscription duration. This parameter is required only if the paymentType parameter is set to Subscription.
3693
- *
3694
5210
  * @example
3695
- * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
5211
+ * 2024-09-05T02:03:19Z
3696
5212
  */
3697
- paymentDurationUnit?: string;
5213
+ createTime?: string;
3698
5214
  /**
3699
- * @remarks
3700
- * The status of the payment.
3701
- *
3702
5215
  * @example
3703
- * PAID/UNPAID
5216
+ * 0 0 0 * * ?
3704
5217
  */
3705
- paymentStatus?: string;
5218
+ crontab?: string;
3706
5219
  /**
3707
- * @remarks
3708
- * The payment type.
3709
- *
3710
5220
  * @example
3711
- * PayAsYouGo or Subscription
5221
+ * 1
3712
5222
  */
3713
- paymentType?: string;
5223
+ description?: string;
3714
5224
  /**
3715
- * @remarks
3716
- * The region ID.
3717
- *
3718
5225
  * @example
3719
- * cn-shanghai
5226
+ * 1710432000000
3720
5227
  */
3721
- regionId?: string;
5228
+ endTime?: string;
3722
5229
  /**
3723
- * @remarks
3724
- * The reason why the workspace is released.
3725
- *
3726
5230
  * @example
3727
- * SERVICE_RELEASE
5231
+ * SERIAL
3728
5232
  */
3729
- releaseType?: string;
5233
+ executionType?: string;
3730
5234
  /**
3731
- * @remarks
3732
- * The resource specifications.
3733
- *
3734
5235
  * @example
3735
- * 100cu
5236
+ * 123223
3736
5237
  */
3737
- resourceSpec?: string;
5238
+ id?: string;
3738
5239
  /**
3739
- * @remarks
3740
- * The information about the workspace status change.
5240
+ * @example
5241
+ * ods_batch_workflow
3741
5242
  */
3742
- stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
5243
+ name?: string;
3743
5244
  /**
3744
- * @remarks
3745
- * The Object Storage Service (OSS) path.
3746
- *
3747
5245
  * @example
3748
- * spark-result
5246
+ * w-********
3749
5247
  */
3750
- storage?: string;
5248
+ projectName?: string;
3751
5249
  /**
3752
- * @remarks
3753
- * The workspace ID.
3754
- *
3755
5250
  * @example
3756
- * w-******
5251
+ * ONLINE
3757
5252
  */
3758
- workspaceId?: string;
5253
+ releaseState?: string;
3759
5254
  /**
3760
- * @remarks
3761
- * The name of the workspace.
3762
- *
3763
5255
  * @example
3764
- * spark批作业空间-1
5256
+ * 0
3765
5257
  */
3766
- workspaceName?: string;
5258
+ startTime?: string;
3767
5259
  /**
3768
- * @remarks
3769
- * The workspace status.
3770
- *
3771
5260
  * @example
3772
- * STARTING,RUNNING,TERMINATED
5261
+ * Asia/Shanghai
3773
5262
  */
3774
- workspaceStatus?: string;
3775
- static names(): {
3776
- [key: string]: string;
3777
- };
3778
- static types(): {
3779
- [key: string]: any;
3780
- };
3781
- constructor(map?: {
3782
- [key: string]: any;
3783
- });
3784
- }
3785
- export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
5263
+ timezoneId?: string;
3786
5264
  /**
3787
- * @remarks
3788
- * The configuration file of SparkConf.
3789
- *
3790
5265
  * @example
3791
- * spark-default.conf
5266
+ * 2024-03-05T06:24:27Z
3792
5267
  */
3793
- configFileName?: string;
5268
+ updateTime?: string;
3794
5269
  /**
3795
- * @remarks
3796
- * The key of SparkConf.
3797
- *
3798
5270
  * @example
3799
- * spark.app.name
5271
+ * 113*********
3800
5272
  */
3801
- configItemKey?: string;
5273
+ userId?: string;
3802
5274
  /**
3803
- * @remarks
3804
- * The value of SparkConf.
3805
- *
3806
5275
  * @example
3807
- * test_app
5276
+ * w-********
3808
5277
  */
3809
- configItemValue?: string;
3810
- static names(): {
3811
- [key: string]: string;
3812
- };
3813
- static types(): {
3814
- [key: string]: any;
3815
- };
3816
- constructor(map?: {
3817
- [key: string]: any;
3818
- });
3819
- }
3820
- export declare class StartJobRunRequestConfigurationOverrides extends $tea.Model {
5278
+ userName?: string;
3821
5279
  /**
3822
- * @remarks
3823
- * The SparkConf objects.
5280
+ * @example
5281
+ * 1
3824
5282
  */
3825
- configurations?: StartJobRunRequestConfigurationOverridesConfigurations[];
5283
+ version?: number;
5284
+ /**
5285
+ * @example
5286
+ * dwerf*********
5287
+ */
5288
+ versionHashCode?: string;
3826
5289
  static names(): {
3827
5290
  [key: string]: string;
3828
5291
  };
@@ -3874,6 +5337,24 @@ export default class Client extends OpenApi {
3874
5337
  * @returns CancelJobRunResponse
3875
5338
  */
3876
5339
  cancelJobRun(workspaceId: string, jobRunId: string, request: CancelJobRunRequest): Promise<CancelJobRunResponse>;
5340
+ /**
5341
+ * 创建工作流定义
5342
+ *
5343
+ * @param tmpReq - CreateProcessDefinitionWithScheduleRequest
5344
+ * @param headers - map
5345
+ * @param runtime - runtime options for this request RuntimeOptions
5346
+ * @returns CreateProcessDefinitionWithScheduleResponse
5347
+ */
5348
+ createProcessDefinitionWithScheduleWithOptions(bizId: string, tmpReq: CreateProcessDefinitionWithScheduleRequest, headers: {
5349
+ [key: string]: string;
5350
+ }, runtime: $Util.RuntimeOptions): Promise<CreateProcessDefinitionWithScheduleResponse>;
5351
+ /**
5352
+ * 创建工作流定义
5353
+ *
5354
+ * @param request - CreateProcessDefinitionWithScheduleRequest
5355
+ * @returns CreateProcessDefinitionWithScheduleResponse
5356
+ */
5357
+ createProcessDefinitionWithSchedule(bizId: string, request: CreateProcessDefinitionWithScheduleRequest): Promise<CreateProcessDefinitionWithScheduleResponse>;
3877
5358
  /**
3878
5359
  * Creates an SQL query task.
3879
5360
  *
@@ -3911,7 +5392,7 @@ export default class Client extends OpenApi {
3911
5392
  */
3912
5393
  getJobRun(workspaceId: string, jobRunId: string, request: GetJobRunRequest): Promise<GetJobRunResponse>;
3913
5394
  /**
3914
- * 查询SessionCluster集群
5395
+ * Queries a list of sessions.
3915
5396
  *
3916
5397
  * @param request - GetSessionClusterRequest
3917
5398
  * @param headers - map
@@ -3922,7 +5403,7 @@ export default class Client extends OpenApi {
3922
5403
  [key: string]: string;
3923
5404
  }, runtime: $Util.RuntimeOptions): Promise<GetSessionClusterResponse>;
3924
5405
  /**
3925
- * 查询SessionCluster集群
5406
+ * Queries a list of sessions.
3926
5407
  *
3927
5408
  * @param request - GetSessionClusterRequest
3928
5409
  * @returns GetSessionClusterResponse
@@ -3947,7 +5428,7 @@ export default class Client extends OpenApi {
3947
5428
  */
3948
5429
  getSqlStatement(workspaceId: string, statementId: string, request: GetSqlStatementRequest): Promise<GetSqlStatementResponse>;
3949
5430
  /**
3950
- * 获取任务模板
5431
+ * Queries task templates.
3951
5432
  *
3952
5433
  * @param request - GetTemplateRequest
3953
5434
  * @param headers - map
@@ -3958,7 +5439,7 @@ export default class Client extends OpenApi {
3958
5439
  [key: string]: string;
3959
5440
  }, runtime: $Util.RuntimeOptions): Promise<GetTemplateResponse>;
3960
5441
  /**
3961
- * 获取任务模板
5442
+ * Queries task templates.
3962
5443
  *
3963
5444
  * @param request - GetTemplateRequest
3964
5445
  * @returns GetTemplateResponse
@@ -4108,6 +5589,24 @@ export default class Client extends OpenApi {
4108
5589
  * @returns StartJobRunResponse
4109
5590
  */
4110
5591
  startJobRun(workspaceId: string, request: StartJobRunRequest): Promise<StartJobRunResponse>;
5592
+ /**
5593
+ * 启动工作流实例
5594
+ *
5595
+ * @param request - StartProcessInstanceRequest
5596
+ * @param headers - map
5597
+ * @param runtime - runtime options for this request RuntimeOptions
5598
+ * @returns StartProcessInstanceResponse
5599
+ */
5600
+ startProcessInstanceWithOptions(bizId: string, request: StartProcessInstanceRequest, headers: {
5601
+ [key: string]: string;
5602
+ }, runtime: $Util.RuntimeOptions): Promise<StartProcessInstanceResponse>;
5603
+ /**
5604
+ * 启动工作流实例
5605
+ *
5606
+ * @param request - StartProcessInstanceRequest
5607
+ * @returns StartProcessInstanceResponse
5608
+ */
5609
+ startProcessInstance(bizId: string, request: StartProcessInstanceRequest): Promise<StartProcessInstanceResponse>;
4111
5610
  /**
4112
5611
  * Starts a session.
4113
5612
  *
@@ -4162,4 +5661,22 @@ export default class Client extends OpenApi {
4162
5661
  * @returns TerminateSqlStatementResponse
4163
5662
  */
4164
5663
  terminateSqlStatement(workspaceId: string, statementId: string, request: TerminateSqlStatementRequest): Promise<TerminateSqlStatementResponse>;
5664
+ /**
5665
+ * 更新工作流定义和定时调度
5666
+ *
5667
+ * @param tmpReq - UpdateProcessDefinitionWithScheduleRequest
5668
+ * @param headers - map
5669
+ * @param runtime - runtime options for this request RuntimeOptions
5670
+ * @returns UpdateProcessDefinitionWithScheduleResponse
5671
+ */
5672
+ updateProcessDefinitionWithScheduleWithOptions(bizId: string, code: string, tmpReq: UpdateProcessDefinitionWithScheduleRequest, headers: {
5673
+ [key: string]: string;
5674
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateProcessDefinitionWithScheduleResponse>;
5675
+ /**
5676
+ * 更新工作流定义和定时调度
5677
+ *
5678
+ * @param request - UpdateProcessDefinitionWithScheduleRequest
5679
+ * @returns UpdateProcessDefinitionWithScheduleResponse
5680
+ */
5681
+ updateProcessDefinitionWithSchedule(bizId: string, code: string, request: UpdateProcessDefinitionWithScheduleRequest): Promise<UpdateProcessDefinitionWithScheduleResponse>;
4165
5682
  }