@alicloud/emr-serverless-spark20230808 1.8.0 → 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
@@ -183,6 +183,27 @@ export declare class JobDriver extends $tea.Model {
183
183
  [key: string]: any;
184
184
  });
185
185
  }
186
+ export declare class KerberosConf extends $tea.Model {
187
+ creator?: string;
188
+ enabled?: boolean;
189
+ gmtCreated?: string;
190
+ gmtModified?: string;
191
+ kerberosConfId?: string;
192
+ keytabs?: string[];
193
+ krb5Conf?: string;
194
+ name?: string;
195
+ networkServiceId?: string;
196
+ workspaceId?: string;
197
+ static names(): {
198
+ [key: string]: string;
199
+ };
200
+ static types(): {
201
+ [key: string]: any;
202
+ };
203
+ constructor(map?: {
204
+ [key: string]: any;
205
+ });
206
+ }
186
207
  export declare class PrincipalAction extends $tea.Model {
187
208
  /**
188
209
  * @example
@@ -677,6 +698,256 @@ export declare class CancelJobRunResponse extends $tea.Model {
677
698
  [key: string]: any;
678
699
  });
679
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
+ }
680
951
  export declare class CreateSqlStatementRequest extends $tea.Model {
681
952
  /**
682
953
  * @remarks
@@ -837,6 +1108,9 @@ export declare class GetJobRunResponse extends $tea.Model {
837
1108
  }
838
1109
  export declare class GetSessionClusterRequest extends $tea.Model {
839
1110
  /**
1111
+ * @remarks
1112
+ * The region ID.
1113
+ *
840
1114
  * @example
841
1115
  * cn-hangzhou
842
1116
  */
@@ -854,12 +1128,16 @@ export declare class GetSessionClusterRequest extends $tea.Model {
854
1128
  export declare class GetSessionClusterResponseBody extends $tea.Model {
855
1129
  /**
856
1130
  * @remarks
857
- * 请求ID。
1131
+ * The request ID.
858
1132
  *
859
1133
  * @example
860
1134
  * DD6B1B2A-5837-5237-ABE4-FF0C8944****
861
1135
  */
862
1136
  requestId?: string;
1137
+ /**
1138
+ * @remarks
1139
+ * The session.
1140
+ */
863
1141
  sessionCluster?: GetSessionClusterResponseBodySessionCluster;
864
1142
  static names(): {
865
1143
  [key: string]: string;
@@ -909,7 +1187,7 @@ export declare class GetSqlStatementRequest extends $tea.Model {
909
1187
  export declare class GetSqlStatementResponseBody extends $tea.Model {
910
1188
  /**
911
1189
  * @remarks
912
- * The data returned.
1190
+ * The response parameters.
913
1191
  */
914
1192
  data?: GetSqlStatementResponseBodyData;
915
1193
  /**
@@ -948,11 +1226,20 @@ export declare class GetSqlStatementResponse extends $tea.Model {
948
1226
  }
949
1227
  export declare class GetTemplateRequest extends $tea.Model {
950
1228
  /**
1229
+ * @remarks
1230
+ * The region ID.
1231
+ *
951
1232
  * @example
952
1233
  * cn-hangzhou
953
1234
  */
954
1235
  regionId?: string;
955
1236
  /**
1237
+ * @remarks
1238
+ * The template type.
1239
+ *
1240
+ * * TASK
1241
+ * * SESSION
1242
+ *
956
1243
  * @example
957
1244
  * TASK
958
1245
  */
@@ -968,31 +1255,49 @@ export declare class GetTemplateRequest extends $tea.Model {
968
1255
  });
969
1256
  }
970
1257
  export declare class GetTemplateResponseBody extends $tea.Model {
1258
+ /**
1259
+ * @remarks
1260
+ * The data returned.
1261
+ */
971
1262
  data?: Template;
972
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
+ *
973
1268
  * @example
974
1269
  * 040003
975
1270
  */
976
1271
  errorCode?: string;
977
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
+ *
978
1277
  * @example
979
1278
  * InvalidUser.NotFound
980
1279
  */
981
1280
  errorMessage?: string;
982
1281
  /**
983
1282
  * @remarks
984
- * Id of the request
1283
+ * The HTTP status code.
985
1284
  *
986
1285
  * @example
987
1286
  * 200
988
1287
  */
989
1288
  httpStatusCode?: string;
990
1289
  /**
1290
+ * @remarks
1291
+ * The request ID.
1292
+ *
991
1293
  * @example
992
1294
  * 484D9DDA-300D-525E-AF7A-0CCCA5C64A7A
993
1295
  */
994
1296
  requestId?: string;
995
1297
  /**
1298
+ * @remarks
1299
+ * Indicates whether the request was successful.
1300
+ *
996
1301
  * @example
997
1302
  * True
998
1303
  */
@@ -1275,7 +1580,7 @@ export declare class ListJobRunsShrinkRequest extends $tea.Model {
1275
1580
  export declare class ListJobRunsResponseBody extends $tea.Model {
1276
1581
  /**
1277
1582
  * @remarks
1278
- * The list of Spark jobs.
1583
+ * The Spark jobs.
1279
1584
  */
1280
1585
  jobRuns?: ListJobRunsResponseBodyJobRuns[];
1281
1586
  /**
@@ -1600,7 +1905,7 @@ export declare class ListSessionClustersResponseBody extends $tea.Model {
1600
1905
  maxResults?: number;
1601
1906
  /**
1602
1907
  * @remarks
1603
- * A pagination token. It can be used in the next request to retrieve a new page of results.
1908
+ * A pagination token.
1604
1909
  *
1605
1910
  * @example
1606
1911
  * DD6B1B2A-5837-5237-ABE4-FF0C89568980
@@ -1616,7 +1921,7 @@ export declare class ListSessionClustersResponseBody extends $tea.Model {
1616
1921
  requestId?: string;
1617
1922
  /**
1618
1923
  * @remarks
1619
- * The list of sessions.
1924
+ * The sessions.
1620
1925
  */
1621
1926
  sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
1622
1927
  /**
@@ -1939,7 +2244,7 @@ export declare class StartJobRunRequest extends $tea.Model {
1939
2244
  resourceQueueId?: string;
1940
2245
  /**
1941
2246
  * @remarks
1942
- * The tags of the job.
2247
+ * The tags.
1943
2248
  */
1944
2249
  tags?: Tag[];
1945
2250
  /**
@@ -2003,31 +2308,48 @@ export declare class StartJobRunResponse extends $tea.Model {
2003
2308
  [key: string]: any;
2004
2309
  });
2005
2310
  }
2006
- export declare class StartSessionClusterRequest extends $tea.Model {
2311
+ export declare class StartProcessInstanceRequest extends $tea.Model {
2007
2312
  /**
2008
- * @remarks
2009
- * The queue name.
2010
- *
2011
2313
  * @example
2012
- * root_queue
2314
+ * false
2013
2315
  */
2014
- queueName?: string;
2316
+ isProd?: boolean;
2015
2317
  /**
2016
2318
  * @remarks
2017
- * The session ID.
2319
+ * This parameter is required.
2018
2320
  *
2019
2321
  * @example
2020
- * sc-xxxxxxxxxxx
2322
+ * 12***********
2021
2323
  */
2022
- sessionClusterId?: string;
2324
+ processDefinitionCode?: number;
2023
2325
  /**
2024
2326
  * @remarks
2025
- * The region ID.
2327
+ * This parameter is required.
2026
2328
  *
2329
+ * @example
2330
+ * SS
2331
+ */
2332
+ productNamespace?: string;
2333
+ /**
2027
2334
  * @example
2028
2335
  * cn-hangzhou
2029
2336
  */
2030
2337
  regionId?: string;
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;
2031
2353
  static names(): {
2032
2354
  [key: string]: string;
2033
2355
  };
@@ -2038,23 +2360,45 @@ export declare class StartSessionClusterRequest extends $tea.Model {
2038
2360
  [key: string]: any;
2039
2361
  });
2040
2362
  }
2041
- 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;
2042
2389
  /**
2043
2390
  * @remarks
2044
- * The request ID.
2391
+ * Id of the request
2045
2392
  *
2046
2393
  * @example
2047
2394
  * DD6B1B2A-5837-5237-ABE4-FF0C8944****
2048
2395
  */
2049
2396
  requestId?: string;
2050
2397
  /**
2051
- * @remarks
2052
- * The workspace ID.
2053
- *
2054
2398
  * @example
2055
- * w-******
2399
+ * true
2056
2400
  */
2057
- sessionClusterId?: string;
2401
+ success?: boolean;
2058
2402
  static names(): {
2059
2403
  [key: string]: string;
2060
2404
  };
@@ -2065,12 +2409,12 @@ export declare class StartSessionClusterResponseBody extends $tea.Model {
2065
2409
  [key: string]: any;
2066
2410
  });
2067
2411
  }
2068
- export declare class StartSessionClusterResponse extends $tea.Model {
2412
+ export declare class StartProcessInstanceResponse extends $tea.Model {
2069
2413
  headers?: {
2070
2414
  [key: string]: string;
2071
2415
  };
2072
2416
  statusCode?: number;
2073
- body?: StartSessionClusterResponseBody;
2417
+ body?: StartProcessInstanceResponseBody;
2074
2418
  static names(): {
2075
2419
  [key: string]: string;
2076
2420
  };
@@ -2081,7 +2425,7 @@ export declare class StartSessionClusterResponse extends $tea.Model {
2081
2425
  [key: string]: any;
2082
2426
  });
2083
2427
  }
2084
- export declare class StopSessionClusterRequest extends $tea.Model {
2428
+ export declare class StartSessionClusterRequest extends $tea.Model {
2085
2429
  /**
2086
2430
  * @remarks
2087
2431
  * The queue name.
@@ -2095,7 +2439,7 @@ export declare class StopSessionClusterRequest extends $tea.Model {
2095
2439
  * The session ID.
2096
2440
  *
2097
2441
  * @example
2098
- * sc-xxxxxxxxxxxx
2442
+ * sc-xxxxxxxxxxx
2099
2443
  */
2100
2444
  sessionClusterId?: string;
2101
2445
  /**
@@ -2116,7 +2460,7 @@ export declare class StopSessionClusterRequest extends $tea.Model {
2116
2460
  [key: string]: any;
2117
2461
  });
2118
2462
  }
2119
- export declare class StopSessionClusterResponseBody extends $tea.Model {
2463
+ export declare class StartSessionClusterResponseBody extends $tea.Model {
2120
2464
  /**
2121
2465
  * @remarks
2122
2466
  * The request ID.
@@ -2143,12 +2487,12 @@ export declare class StopSessionClusterResponseBody extends $tea.Model {
2143
2487
  [key: string]: any;
2144
2488
  });
2145
2489
  }
2146
- export declare class StopSessionClusterResponse extends $tea.Model {
2490
+ export declare class StartSessionClusterResponse extends $tea.Model {
2147
2491
  headers?: {
2148
2492
  [key: string]: string;
2149
2493
  };
2150
2494
  statusCode?: number;
2151
- body?: StopSessionClusterResponseBody;
2495
+ body?: StartSessionClusterResponseBody;
2152
2496
  static names(): {
2153
2497
  [key: string]: string;
2154
2498
  };
@@ -2159,7 +2503,23 @@ export declare class StopSessionClusterResponse extends $tea.Model {
2159
2503
  [key: string]: any;
2160
2504
  });
2161
2505
  }
2162
- 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;
2163
2523
  /**
2164
2524
  * @remarks
2165
2525
  * The region ID.
@@ -2178,7 +2538,7 @@ export declare class TerminateSqlStatementRequest extends $tea.Model {
2178
2538
  [key: string]: any;
2179
2539
  });
2180
2540
  }
2181
- export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2541
+ export declare class StopSessionClusterResponseBody extends $tea.Model {
2182
2542
  /**
2183
2543
  * @remarks
2184
2544
  * The request ID.
@@ -2187,6 +2547,14 @@ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2187
2547
  * DD6B1B2A-5837-5237-ABE4-FF0C8944****
2188
2548
  */
2189
2549
  requestId?: string;
2550
+ /**
2551
+ * @remarks
2552
+ * The workspace ID.
2553
+ *
2554
+ * @example
2555
+ * w-******
2556
+ */
2557
+ sessionClusterId?: string;
2190
2558
  static names(): {
2191
2559
  [key: string]: string;
2192
2560
  };
@@ -2197,40 +2565,12 @@ export declare class TerminateSqlStatementResponseBody extends $tea.Model {
2197
2565
  [key: string]: any;
2198
2566
  });
2199
2567
  }
2200
- export declare class TerminateSqlStatementResponse extends $tea.Model {
2568
+ export declare class StopSessionClusterResponse extends $tea.Model {
2201
2569
  headers?: {
2202
2570
  [key: string]: string;
2203
2571
  };
2204
2572
  statusCode?: number;
2205
- body?: TerminateSqlStatementResponseBody;
2206
- static names(): {
2207
- [key: string]: string;
2208
- };
2209
- static types(): {
2210
- [key: string]: any;
2211
- };
2212
- constructor(map?: {
2213
- [key: string]: any;
2214
- });
2215
- }
2216
- export declare class ConfigurationOverridesConfigurations extends $tea.Model {
2217
- configFileName?: string;
2218
- configItemKey?: string;
2219
- configItemValue?: string;
2220
- static names(): {
2221
- [key: string]: string;
2222
- };
2223
- static types(): {
2224
- [key: string]: any;
2225
- };
2226
- constructor(map?: {
2227
- [key: string]: any;
2228
- });
2229
- }
2230
- export declare class JobDriverSparkSubmit extends $tea.Model {
2231
- entryPoint?: string;
2232
- entryPointArguments?: string[];
2233
- sparkSubmitParameters?: string;
2573
+ body?: StopSessionClusterResponseBody;
2234
2574
  static names(): {
2235
2575
  [key: string]: string;
2236
2576
  };
@@ -2241,12 +2581,15 @@ export declare class JobDriverSparkSubmit extends $tea.Model {
2241
2581
  [key: string]: any;
2242
2582
  });
2243
2583
  }
2244
- export declare class SqlOutputRows extends $tea.Model {
2584
+ export declare class TerminateSqlStatementRequest extends $tea.Model {
2245
2585
  /**
2586
+ * @remarks
2587
+ * The region ID.
2588
+ *
2246
2589
  * @example
2247
- * null
2590
+ * cn-hangzhou
2248
2591
  */
2249
- values?: string[];
2592
+ regionId?: string;
2250
2593
  static names(): {
2251
2594
  [key: string]: string;
2252
2595
  };
@@ -2257,10 +2600,15 @@ export declare class SqlOutputRows extends $tea.Model {
2257
2600
  [key: string]: any;
2258
2601
  });
2259
2602
  }
2260
- export declare class SqlOutputSchemaFields extends $tea.Model {
2261
- name?: string;
2262
- nullable?: boolean;
2263
- 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;
2264
2612
  static names(): {
2265
2613
  [key: string]: string;
2266
2614
  };
@@ -2271,27 +2619,12 @@ export declare class SqlOutputSchemaFields extends $tea.Model {
2271
2619
  [key: string]: any;
2272
2620
  });
2273
2621
  }
2274
- export declare class SqlOutputSchema extends $tea.Model {
2275
- fields?: SqlOutputSchemaFields[];
2276
- static names(): {
2622
+ export declare class TerminateSqlStatementResponse extends $tea.Model {
2623
+ headers?: {
2277
2624
  [key: string]: string;
2278
2625
  };
2279
- static types(): {
2280
- [key: string]: any;
2281
- };
2282
- constructor(map?: {
2283
- [key: string]: any;
2284
- });
2285
- }
2286
- export declare class TaskCredential extends $tea.Model {
2287
- accessId?: string;
2288
- accessUrl?: string;
2289
- expire?: number;
2290
- host?: string;
2291
- path?: string;
2292
- policy?: string;
2293
- securityToken?: string;
2294
- signature?: string;
2626
+ statusCode?: number;
2627
+ body?: TerminateSqlStatementResponseBody;
2295
2628
  static names(): {
2296
2629
  [key: string]: string;
2297
2630
  };
@@ -2302,197 +2635,1229 @@ export declare class TaskCredential extends $tea.Model {
2302
2635
  [key: string]: any;
2303
2636
  });
2304
2637
  }
2305
- export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
2638
+ export declare class UpdateProcessDefinitionWithScheduleRequest extends $tea.Model {
2306
2639
  /**
2307
- * @remarks
2308
- * The ID of the SQL query.
2309
- *
2310
2640
  * @example
2311
- * st-1231dfafadfa***
2641
+ * foo_bar@spark.alert.invalid.com
2312
2642
  */
2313
- statementId?: string;
2314
- static names(): {
2315
- [key: string]: string;
2316
- };
2317
- static types(): {
2318
- [key: string]: any;
2319
- };
2320
- constructor(map?: {
2321
- [key: string]: any;
2322
- });
2323
- }
2324
- export declare class GetJobRunResponseBodyJobRunConfigurationOverrides extends $tea.Model {
2643
+ alertEmailAddress?: string;
2325
2644
  /**
2326
- * @remarks
2327
- * The configurations.
2645
+ * @example
2646
+ * ods batch workflow
2328
2647
  */
2329
- configurations?: Configuration[];
2330
- static names(): {
2331
- [key: string]: string;
2332
- };
2333
- static types(): {
2334
- [key: string]: any;
2335
- };
2336
- constructor(map?: {
2337
- [key: string]: any;
2338
- });
2339
- }
2340
- export declare class GetJobRunResponseBodyJobRunStateChangeReason extends $tea.Model {
2648
+ description?: string;
2341
2649
  /**
2342
2650
  * @remarks
2343
- * The error code.
2651
+ * This parameter is required.
2344
2652
  *
2345
2653
  * @example
2346
- * ERR-100000
2654
+ * PARALLEL
2347
2655
  */
2348
- code?: string;
2656
+ executionType?: string;
2349
2657
  /**
2350
2658
  * @remarks
2351
- * The error message.
2659
+ * This parameter is required.
2352
2660
  *
2353
2661
  * @example
2354
- * connection refused
2662
+ * ods_batch_workflow
2355
2663
  */
2356
- message?: string;
2357
- static names(): {
2358
- [key: string]: string;
2359
- };
2360
- static types(): {
2361
- [key: string]: any;
2362
- };
2363
- constructor(map?: {
2364
- [key: string]: any;
2365
- });
2366
- }
2367
- export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
2664
+ name?: string;
2368
2665
  /**
2369
2666
  * @remarks
2370
- * The code type of the job. Valid values:
2371
- *
2372
- * * SQL
2373
- * * JAR
2374
- * * PYTHON
2667
+ * This parameter is required.
2375
2668
  *
2376
2669
  * @example
2377
- * SQL
2670
+ * SS
2378
2671
  */
2379
- codeType?: string;
2672
+ productNamespace?: string;
2380
2673
  /**
2381
- * @remarks
2382
- * The job configurations of Spark.
2674
+ * @example
2675
+ * true
2383
2676
  */
2384
- configurationOverrides?: GetJobRunResponseBodyJobRunConfigurationOverrides;
2385
- displayReleaseVersion?: string;
2677
+ publish?: boolean;
2386
2678
  /**
2387
- * @remarks
2388
- * The end time of the job.
2389
- *
2390
2679
  * @example
2391
- * 1684119314000
2680
+ * cn-hangzhou
2392
2681
  */
2393
- endTime?: number;
2394
- environmentId?: string;
2682
+ regionId?: string;
2395
2683
  /**
2396
- * @remarks
2397
- * The timeout period of the job.
2398
- *
2399
2684
  * @example
2400
- * 3600
2685
+ * ONLINE
2401
2686
  */
2402
- executionTimeoutSeconds?: number;
2403
- fusion?: boolean;
2687
+ releaseState?: string;
2404
2688
  /**
2405
- * @remarks
2406
- * The information about Spark Driver.
2689
+ * @example
2690
+ * root_queue
2407
2691
  */
2408
- jobDriver?: JobDriver;
2692
+ resourceQueue?: string;
2409
2693
  /**
2410
- * @remarks
2411
- * The job ID.
2412
- *
2413
2694
  * @example
2414
- * jr-231231
2695
+ * 1
2696
+ */
2697
+ retryTimes?: number;
2698
+ /**
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
2415
3378
  */
2416
3379
  jobRunId?: string;
2417
3380
  /**
2418
3381
  * @remarks
2419
- * The path where the operational logs are stored.
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
2420
3492
  */
2421
- 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 {
2422
3757
  /**
2423
3758
  * @remarks
2424
- * The job name.
3759
+ * The queried data, which is a string in the JSON format.
2425
3760
  *
2426
3761
  * @example
2427
- * jobName
3762
+ * [{\\"values\\":[\\"test_db\\",\\"test_table\\",false]}
2428
3763
  */
2429
- name?: string;
3764
+ rows?: string;
2430
3765
  /**
2431
3766
  * @remarks
2432
- * 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.
2433
3768
  *
2434
3769
  * @example
2435
- * 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\\":{}}]}
2436
3771
  */
2437
- 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 {
2438
3784
  /**
2439
3785
  * @remarks
2440
- * The ID of the user who created the job.
2441
- *
2442
- * @example
2443
- * 1509789347011222
3786
+ * The list of time that is consumed by SQL queries.
2444
3787
  */
2445
- resourceOwnerId?: string;
3788
+ executionTime?: number[];
2446
3789
  /**
2447
3790
  * @remarks
2448
- * The name of the queue on which the job runs.
3791
+ * The error code.
2449
3792
  *
2450
3793
  * @example
2451
- * root_queue
3794
+ * ERROR-102
2452
3795
  */
2453
- resourceQueueId?: string;
3796
+ sqlErrorCode?: string;
2454
3797
  /**
2455
3798
  * @remarks
2456
- * The job state.
3799
+ * The error message.
2457
3800
  *
2458
3801
  * @example
2459
- * Running
3802
+ * error message
2460
3803
  */
2461
- state?: string;
3804
+ sqlErrorMessage?: string;
2462
3805
  /**
2463
3806
  * @remarks
2464
- * The reason of the job status change.
3807
+ * The query results.
2465
3808
  */
2466
- stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
3809
+ sqlOutputs?: GetSqlStatementResponseBodyDataSqlOutputs[];
2467
3810
  /**
2468
3811
  * @remarks
2469
- * 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
2470
3821
  *
2471
3822
  * @example
2472
- * 1684119314000
3823
+ * running
2473
3824
  */
2474
- submitTime?: number;
3825
+ state?: string;
2475
3826
  /**
2476
3827
  * @remarks
2477
- * The tags of the job.
3828
+ * The query ID.
3829
+ *
3830
+ * @example
3831
+ * st-1231311abadfaa
2478
3832
  */
2479
- 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 {
2480
3845
  /**
2481
3846
  * @remarks
2482
- * The web UI of the job.
3847
+ * The end of the end time range.
2483
3848
  *
2484
3849
  * @example
2485
- * http://spark-ui
3850
+ * 1710432000000
2486
3851
  */
2487
- webUI?: string;
3852
+ endTime?: number;
2488
3853
  /**
2489
3854
  * @remarks
2490
- * The workspace ID.
3855
+ * The beginning of the end time range.
2491
3856
  *
2492
3857
  * @example
2493
- * w-1234abcd
3858
+ * 1709740800000
2494
3859
  */
2495
- workspaceId?: string;
3860
+ startTime?: number;
2496
3861
  static names(): {
2497
3862
  [key: string]: string;
2498
3863
  };
@@ -2503,22 +3868,23 @@ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
2503
3868
  [key: string]: any;
2504
3869
  });
2505
3870
  }
2506
- export declare class GetSessionClusterResponseBodySessionClusterApplicationConfigs extends $tea.Model {
2507
- /**
2508
- * @example
2509
- * spark-defaults.conf
2510
- */
2511
- configFileName?: string;
3871
+ export declare class ListJobRunsRequestStartTime extends $tea.Model {
2512
3872
  /**
3873
+ * @remarks
3874
+ * The end of the start time range.
3875
+ *
2513
3876
  * @example
2514
- * spark.app.name
3877
+ * 1710432000000
2515
3878
  */
2516
- configItemKey?: string;
3879
+ endTime?: number;
2517
3880
  /**
3881
+ * @remarks
3882
+ * The beginning of the start time range.
3883
+ *
2518
3884
  * @example
2519
- * test
3885
+ * 1709740800000
2520
3886
  */
2521
- configItemValue?: string;
3887
+ startTime?: number;
2522
3888
  static names(): {
2523
3889
  [key: string]: string;
2524
3890
  };
@@ -2529,12 +3895,23 @@ export declare class GetSessionClusterResponseBodySessionClusterApplicationConfi
2529
3895
  [key: string]: any;
2530
3896
  });
2531
3897
  }
2532
- export declare class GetSessionClusterResponseBodySessionClusterAutoStartConfiguration extends $tea.Model {
3898
+ export declare class ListJobRunsRequestTags extends $tea.Model {
2533
3899
  /**
3900
+ * @remarks
3901
+ * The key of tag N.
3902
+ *
2534
3903
  * @example
2535
- * false
3904
+ * tag_key
2536
3905
  */
2537
- enable?: boolean;
3906
+ key?: string;
3907
+ /**
3908
+ * @remarks
3909
+ * The value of tag N.
3910
+ *
3911
+ * @example
3912
+ * value
3913
+ */
3914
+ value?: string;
2538
3915
  static names(): {
2539
3916
  [key: string]: string;
2540
3917
  };
@@ -2545,17 +3922,12 @@ export declare class GetSessionClusterResponseBodySessionClusterAutoStartConfigu
2545
3922
  [key: string]: any;
2546
3923
  });
2547
3924
  }
2548
- export declare class GetSessionClusterResponseBodySessionClusterAutoStopConfiguration extends $tea.Model {
2549
- /**
2550
- * @example
2551
- * false
2552
- */
2553
- enable?: boolean;
3925
+ export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extends $tea.Model {
2554
3926
  /**
2555
- * @example
2556
- * 60
3927
+ * @remarks
3928
+ * The SparkConf objects.
2557
3929
  */
2558
- idleTimeoutMinutes?: number;
3930
+ configurations?: Configuration[];
2559
3931
  static names(): {
2560
3932
  [key: string]: string;
2561
3933
  };
@@ -2566,15 +3938,21 @@ export declare class GetSessionClusterResponseBodySessionClusterAutoStopConfigur
2566
3938
  [key: string]: any;
2567
3939
  });
2568
3940
  }
2569
- export declare class GetSessionClusterResponseBodySessionClusterStateChangeReason extends $tea.Model {
3941
+ export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $tea.Model {
2570
3942
  /**
3943
+ * @remarks
3944
+ * The error code.
3945
+ *
2571
3946
  * @example
2572
- * 1000000
3947
+ * 0
2573
3948
  */
2574
3949
  code?: string;
2575
3950
  /**
3951
+ * @remarks
3952
+ * The error message.
3953
+ *
2576
3954
  * @example
2577
- * ok
3955
+ * success
2578
3956
  */
2579
3957
  message?: string;
2580
3958
  static names(): {
@@ -2587,99 +3965,146 @@ export declare class GetSessionClusterResponseBodySessionClusterStateChangeReaso
2587
3965
  [key: string]: any;
2588
3966
  });
2589
3967
  }
2590
- export declare class GetSessionClusterResponseBodySessionCluster extends $tea.Model {
2591
- applicationConfigs?: GetSessionClusterResponseBodySessionClusterApplicationConfigs[];
2592
- autoStartConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStartConfiguration;
2593
- autoStopConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStopConfiguration;
3968
+ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
2594
3969
  /**
3970
+ * @remarks
3971
+ * The code type of the job. Valid values:
3972
+ *
3973
+ * SQL
3974
+ *
3975
+ * JAR
3976
+ *
3977
+ * PYTHON
3978
+ *
2595
3979
  * @example
2596
- * esr-2.2(Java Runtime)
3980
+ * SQL
2597
3981
  */
2598
- displayReleaseVersion?: string;
3982
+ codeType?: string;
2599
3983
  /**
3984
+ * @remarks
3985
+ * The advanced configurations of Spark.
3986
+ */
3987
+ configurationOverrides?: ListJobRunsResponseBodyJobRunsConfigurationOverrides;
3988
+ /**
3989
+ * @remarks
3990
+ * The ID of the user who created the job.
3991
+ *
2600
3992
  * @example
2601
- * your.domain.com
3993
+ * 1509789347011222
2602
3994
  */
2603
- domain?: string;
2604
- domainInner?: string;
3995
+ creator?: string;
2605
3996
  /**
2606
3997
  * @example
2607
- * TSK-xxxxxxxx
3998
+ * 2.059
2608
3999
  */
2609
- draftId?: string;
4000
+ cuHours?: number;
2610
4001
  /**
2611
4002
  * @example
2612
- * env-cpv569tlhtgndjl86t40
4003
+ * esr-3.0.0 (Spark 3.4.3, Scala 2.12)
2613
4004
  */
2614
- envId?: string;
4005
+ displayReleaseVersion?: string;
2615
4006
  /**
4007
+ * @remarks
4008
+ * The end time of the job.
4009
+ *
2616
4010
  * @example
2617
- * false
4011
+ * 1684119314000
4012
+ */
4013
+ endTime?: number;
4014
+ /**
4015
+ * @remarks
4016
+ * The timeout period of the job.
4017
+ *
4018
+ * @example
4019
+ * 3600
4020
+ */
4021
+ executionTimeoutSeconds?: number;
4022
+ /**
4023
+ * @example
4024
+ * true
2618
4025
  */
2619
4026
  fusion?: boolean;
2620
- gmtCreate?: number;
2621
4027
  /**
4028
+ * @remarks
4029
+ * The information about Spark Driver.
4030
+ */
4031
+ jobDriver?: JobDriver;
4032
+ /**
4033
+ * @remarks
4034
+ * The job ID.
4035
+ *
2622
4036
  * @example
2623
- * SQL
4037
+ * jr-231231
2624
4038
  */
2625
- kind?: string;
4039
+ jobRunId?: string;
4040
+ /**
4041
+ * @remarks
4042
+ * The path where the operational logs are stored.
4043
+ */
4044
+ log?: RunLog;
2626
4045
  /**
2627
4046
  * @example
2628
- * test
4047
+ * 33030784
2629
4048
  */
2630
- name?: string;
4049
+ mbSeconds?: number;
2631
4050
  /**
2632
4051
  * @remarks
2633
- * 作业实例名称。
4052
+ * The job name.
2634
4053
  *
2635
4054
  * @example
2636
4055
  * jobName
2637
4056
  */
2638
- queueName?: string;
4057
+ name?: string;
2639
4058
  /**
4059
+ * @remarks
4060
+ * The version of Spark on which the jobs run.
4061
+ *
2640
4062
  * @example
2641
- * esr-2.2(Java Runtime)
4063
+ * esr-native-3.4.0
2642
4064
  */
2643
4065
  releaseVersion?: string;
2644
4066
  /**
2645
4067
  * @remarks
2646
- * 交互式作业会话id。
4068
+ * The job state.
2647
4069
  *
2648
4070
  * @example
2649
- * 1234abcd-12ab-34cd-56ef-1234567890ab
4071
+ * Running
2650
4072
  */
2651
- sessionClusterId?: string;
2652
- startTime?: number;
4073
+ state?: string;
4074
+ /**
4075
+ * @remarks
4076
+ * The reason of the job status change.
4077
+ */
4078
+ stateChangeReason?: ListJobRunsResponseBodyJobRunsStateChangeReason;
2653
4079
  /**
2654
4080
  * @remarks
2655
- * 作业状态。
4081
+ * The time when the job was submitted.
2656
4082
  *
2657
4083
  * @example
2658
- * Running
4084
+ * 1684119314000
2659
4085
  */
2660
- state?: string;
2661
- stateChangeReason?: GetSessionClusterResponseBodySessionClusterStateChangeReason;
4086
+ submitTime?: number;
2662
4087
  /**
2663
4088
  * @remarks
2664
- * 任务实例ID。
2665
- *
2666
- * @example
2667
- * jr-231231
4089
+ * The tags.
2668
4090
  */
2669
- userId?: string;
4091
+ tags?: Tag[];
2670
4092
  /**
2671
4093
  * @example
2672
- * user1
4094
+ * 8236
2673
4095
  */
2674
- userName?: string;
4096
+ vcoreSeconds?: number;
2675
4097
  /**
4098
+ * @remarks
4099
+ * The web UI of the job.
4100
+ *
2676
4101
  * @example
2677
- * https://spark-ui/link
4102
+ * http://spark-ui
2678
4103
  */
2679
4104
  webUI?: string;
2680
4105
  /**
2681
4106
  * @remarks
2682
- * 工作空间id。
4107
+ * The workspace ID.
2683
4108
  *
2684
4109
  * @example
2685
4110
  * w-1234abcd
@@ -2695,23 +4120,29 @@ export declare class GetSessionClusterResponseBodySessionCluster extends $tea.Mo
2695
4120
  [key: string]: any;
2696
4121
  });
2697
4122
  }
2698
- export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Model {
4123
+ export declare class ListLogContentsResponseBodyListLogContentContents extends $tea.Model {
2699
4124
  /**
2700
- * @remarks
2701
- * The queried data, which is a string in the JSON format.
2702
- *
2703
4125
  * @example
2704
- * [{\\"values\\":[\\"test_db\\",\\"test_table\\",false]}
4126
+ * spark pi is 3.14\\n
2705
4127
  */
2706
- 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[];
2707
4141
  /**
2708
- * @remarks
2709
- * The information about the schema, which is a string in the JSON format.
2710
- *
2711
4142
  * @example
2712
- * {\\"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
2713
4144
  */
2714
- schema?: string;
4145
+ totalLength?: number;
2715
4146
  static names(): {
2716
4147
  [key: string]: string;
2717
4148
  };
@@ -2722,84 +4153,84 @@ export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Mode
2722
4153
  [key: string]: any;
2723
4154
  });
2724
4155
  }
2725
- export declare class GetSqlStatementResponseBodyData extends $tea.Model {
4156
+ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
2726
4157
  /**
2727
4158
  * @remarks
2728
- * 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
2729
4163
  */
2730
- executionTime?: number[];
4164
+ communityVersion?: string;
2731
4165
  /**
2732
4166
  * @remarks
2733
- * The error code.
4167
+ * The CPU architectures.
4168
+ */
4169
+ cpuArchitectures?: string[];
4170
+ /**
4171
+ * @remarks
4172
+ * The version number.
2734
4173
  *
2735
4174
  * @example
2736
- * ERROR-102
4175
+ * esr-2.1 (Spark 3.3.1, Scala 2.12)
2737
4176
  */
2738
- sqlErrorCode?: string;
4177
+ displayReleaseVersion?: string;
2739
4178
  /**
2740
4179
  * @remarks
2741
- * The error message.
4180
+ * Indicates whether the Fusion engine is used for acceleration.
2742
4181
  *
2743
4182
  * @example
2744
- * error message
4183
+ * true
2745
4184
  */
2746
- sqlErrorMessage?: string;
4185
+ fusion?: boolean;
2747
4186
  /**
2748
4187
  * @remarks
2749
- * The query results.
4188
+ * The creation time.
4189
+ *
4190
+ * @example
4191
+ * 1716215854101
2750
4192
  */
2751
- sqlOutputs?: GetSqlStatementResponseBodyDataSqlOutputs[];
4193
+ gmtCreate?: number;
2752
4194
  /**
2753
4195
  * @remarks
2754
- * The query status.
2755
- *
2756
- * Valid values:
4196
+ * The type of the Infrastructure as a Service (IaaS) layer.
2757
4197
  *
2758
- * * running
2759
- * * available
2760
- * * cancelled
2761
- * * error
2762
- * * cancelling
4198
+ * @example
4199
+ * ASI
4200
+ */
4201
+ iaasType?: string;
4202
+ /**
4203
+ * @remarks
4204
+ * The version number.
2763
4205
  *
2764
4206
  * @example
2765
- * running
4207
+ * esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
2766
4208
  */
2767
- state?: string;
4209
+ releaseVersion?: string;
2768
4210
  /**
2769
4211
  * @remarks
2770
- * The query ID.
4212
+ * The version of Scala.
2771
4213
  *
2772
4214
  * @example
2773
- * st-1231311abadfaa
4215
+ * 2.12
2774
4216
  */
2775
- statementId?: string;
2776
- static names(): {
2777
- [key: string]: string;
2778
- };
2779
- static types(): {
2780
- [key: string]: any;
2781
- };
2782
- constructor(map?: {
2783
- [key: string]: any;
2784
- });
2785
- }
2786
- export declare class ListJobRunsRequestEndTime extends $tea.Model {
4217
+ scalaVersion?: string;
2787
4218
  /**
2788
4219
  * @remarks
2789
- * The end of the end time range.
4220
+ * The status of the version.
2790
4221
  *
2791
4222
  * @example
2792
- * 1710432000000
4223
+ * ONLINE
2793
4224
  */
2794
- endTime?: number;
4225
+ state?: string;
2795
4226
  /**
2796
4227
  * @remarks
2797
- * The beginning of the end time range.
4228
+ * The type of the version.
2798
4229
  *
2799
4230
  * @example
2800
- * 1709740800000
4231
+ * stable
2801
4232
  */
2802
- startTime?: number;
4233
+ type?: string;
2803
4234
  static names(): {
2804
4235
  [key: string]: string;
2805
4236
  };
@@ -2810,23 +4241,31 @@ export declare class ListJobRunsRequestEndTime extends $tea.Model {
2810
4241
  [key: string]: any;
2811
4242
  });
2812
4243
  }
2813
- export declare class ListJobRunsRequestStartTime extends $tea.Model {
4244
+ export declare class ListSessionClustersResponseBodySessionClustersApplicationConfigs extends $tea.Model {
2814
4245
  /**
2815
4246
  * @remarks
2816
- * The end of the start time range.
4247
+ * The name of the configuration file.
2817
4248
  *
2818
4249
  * @example
2819
- * 1710432000000
4250
+ * spark-default.conf
2820
4251
  */
2821
- endTime?: number;
4252
+ configFileName?: string;
2822
4253
  /**
2823
4254
  * @remarks
2824
- * The beginning of the start time range.
4255
+ * The key of the configuration.
2825
4256
  *
2826
4257
  * @example
2827
- * 1709740800000
4258
+ * spark.app.name
2828
4259
  */
2829
- startTime?: number;
4260
+ configItemKey?: string;
4261
+ /**
4262
+ * @remarks
4263
+ * The configuration value.
4264
+ *
4265
+ * @example
4266
+ * test_application
4267
+ */
4268
+ configItemValue?: string;
2830
4269
  static names(): {
2831
4270
  [key: string]: string;
2832
4271
  };
@@ -2837,23 +4276,15 @@ export declare class ListJobRunsRequestStartTime extends $tea.Model {
2837
4276
  [key: string]: any;
2838
4277
  });
2839
4278
  }
2840
- export declare class ListJobRunsRequestTags extends $tea.Model {
2841
- /**
2842
- * @remarks
2843
- * The key of tag N.
2844
- *
2845
- * @example
2846
- * tag_key
2847
- */
2848
- key?: string;
4279
+ export declare class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $tea.Model {
2849
4280
  /**
2850
4281
  * @remarks
2851
- * The value of tag N.
4282
+ * Indicates whether automatic startup is enabled.
2852
4283
  *
2853
4284
  * @example
2854
- * value
4285
+ * true
2855
4286
  */
2856
- value?: string;
4287
+ enable?: boolean;
2857
4288
  static names(): {
2858
4289
  [key: string]: string;
2859
4290
  };
@@ -2864,12 +4295,23 @@ export declare class ListJobRunsRequestTags extends $tea.Model {
2864
4295
  [key: string]: any;
2865
4296
  });
2866
4297
  }
2867
- export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extends $tea.Model {
4298
+ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $tea.Model {
2868
4299
  /**
2869
4300
  * @remarks
2870
- * The SparkConf objects.
4301
+ * Indicates whether automatic termination is enabled.
4302
+ *
4303
+ * @example
4304
+ * false
2871
4305
  */
2872
- 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;
2873
4315
  static names(): {
2874
4316
  [key: string]: string;
2875
4317
  };
@@ -2880,21 +4322,21 @@ export declare class ListJobRunsResponseBodyJobRunsConfigurationOverrides extend
2880
4322
  [key: string]: any;
2881
4323
  });
2882
4324
  }
2883
- export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $tea.Model {
4325
+ export declare class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $tea.Model {
2884
4326
  /**
2885
4327
  * @remarks
2886
- * The error code.
4328
+ * The status change code.
2887
4329
  *
2888
4330
  * @example
2889
- * 0
4331
+ * 200
2890
4332
  */
2891
4333
  code?: string;
2892
4334
  /**
2893
4335
  * @remarks
2894
- * The error message.
4336
+ * The status change message.
2895
4337
  *
2896
4338
  * @example
2897
- * success
4339
+ * ok
2898
4340
  */
2899
4341
  message?: string;
2900
4342
  static names(): {
@@ -2907,89 +4349,133 @@ export declare class ListJobRunsResponseBodyJobRunsStateChangeReason extends $te
2907
4349
  [key: string]: any;
2908
4350
  });
2909
4351
  }
2910
- export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
4352
+ export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
2911
4353
  /**
2912
4354
  * @remarks
2913
- * The code type of the job. Valid values:
2914
- *
2915
- * 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.
2916
4371
  *
2917
- * 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.
2918
4379
  *
2919
- * 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.
2920
4387
  *
2921
4388
  * @example
2922
- * SQL
4389
+ * emr-spark-gateway-cn-hangzhou-internal.data.aliyuncs.com
2923
4390
  */
2924
- codeType?: string;
4391
+ domainInner?: string;
2925
4392
  /**
2926
4393
  * @remarks
2927
- * The advanced configurations of Spark.
4394
+ * The ID of the job that is associated with the session.
4395
+ *
4396
+ * @example
4397
+ * TSK-xxxxxxxxx
2928
4398
  */
2929
- configurationOverrides?: ListJobRunsResponseBodyJobRunsConfigurationOverrides;
4399
+ draftId?: string;
2930
4400
  /**
2931
4401
  * @remarks
2932
- * The ID of the user who created the job.
4402
+ * Indicates whether the Fusion engine is used for acceleration.
2933
4403
  *
2934
4404
  * @example
2935
- * 1509789347011222
4405
+ * false
2936
4406
  */
2937
- creator?: string;
2938
- displayReleaseVersion?: string;
4407
+ fusion?: boolean;
2939
4408
  /**
2940
4409
  * @remarks
2941
- * The end time of the job.
4410
+ * The creation time.
2942
4411
  *
2943
4412
  * @example
2944
- * 1684119314000
4413
+ * 1732267598000
2945
4414
  */
2946
- endTime?: number;
4415
+ gmtCreate?: number;
2947
4416
  /**
2948
4417
  * @remarks
2949
- * The timeout period of the job.
4418
+ * The session type.
4419
+ *
4420
+ * Valid values:
4421
+ *
4422
+ * * NOTEBOOK
4423
+ * * THRIFT
4424
+ * * SQL
2950
4425
  *
2951
4426
  * @example
2952
- * 3600
4427
+ * SQL
2953
4428
  */
2954
- executionTimeoutSeconds?: number;
2955
- fusion?: boolean;
4429
+ kind?: string;
2956
4430
  /**
2957
4431
  * @remarks
2958
- * The information about Spark Driver.
4432
+ * The name of the session.
4433
+ *
4434
+ * @example
4435
+ * adhoc_query
2959
4436
  */
2960
- jobDriver?: JobDriver;
4437
+ name?: string;
2961
4438
  /**
2962
4439
  * @remarks
2963
- * The job ID.
4440
+ * The name of the queue that is used to run the session.
2964
4441
  *
2965
4442
  * @example
2966
- * jr-231231
4443
+ * dev_queue
2967
4444
  */
2968
- jobRunId?: string;
4445
+ queueName?: string;
2969
4446
  /**
2970
4447
  * @remarks
2971
- * The path where the operational logs are stored.
4448
+ * The version of EMR Serverless Spark.
4449
+ *
4450
+ * @example
4451
+ * esr-2.1
2972
4452
  */
2973
- log?: RunLog;
4453
+ releaseVersion?: string;
2974
4454
  /**
2975
4455
  * @remarks
2976
- * The job name.
4456
+ * The session ID.
2977
4457
  *
2978
4458
  * @example
2979
- * jobName
4459
+ * sc-123131
2980
4460
  */
2981
- name?: string;
4461
+ sessionClusterId?: string;
2982
4462
  /**
2983
4463
  * @remarks
2984
- * The version of Spark on which the jobs run.
4464
+ * The start time.
2985
4465
  *
2986
4466
  * @example
2987
- * esr-native-3.4.0
4467
+ * 1732267598000
2988
4468
  */
2989
- releaseVersion?: string;
4469
+ startTime?: number;
2990
4470
  /**
2991
4471
  * @remarks
2992
- * The job state.
4472
+ * The status of the session.
4473
+ *
4474
+ * * Starting
4475
+ * * Running
4476
+ * * Stopping
4477
+ * * Stopped
4478
+ * * Error
2993
4479
  *
2994
4480
  * @example
2995
4481
  * Running
@@ -2997,28 +4483,31 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
2997
4483
  state?: string;
2998
4484
  /**
2999
4485
  * @remarks
3000
- * The reason of the job status change.
4486
+ * The details of the most recent status change of the session.
3001
4487
  */
3002
- stateChangeReason?: ListJobRunsResponseBodyJobRunsStateChangeReason;
4488
+ stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
3003
4489
  /**
3004
4490
  * @remarks
3005
- * The time when the job was submitted.
4491
+ * The user ID.
3006
4492
  *
3007
4493
  * @example
3008
- * 1684119314000
4494
+ * 123131
3009
4495
  */
3010
- submitTime?: number;
4496
+ userId?: string;
3011
4497
  /**
3012
4498
  * @remarks
3013
- * The tags of the job.
4499
+ * The username.
4500
+ *
4501
+ * @example
4502
+ * test_user
3014
4503
  */
3015
- tags?: Tag[];
4504
+ userName?: string;
3016
4505
  /**
3017
4506
  * @remarks
3018
- * The web UI of the job.
4507
+ * The Spark UI of the session.
3019
4508
  *
3020
4509
  * @example
3021
- * http://spark-ui
4510
+ * http://spark-ui-xxxx
3022
4511
  */
3023
4512
  webUI?: string;
3024
4513
  /**
@@ -3039,198 +4528,156 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
3039
4528
  [key: string]: any;
3040
4529
  });
3041
4530
  }
3042
- export declare class ListLogContentsResponseBodyListLogContentContents extends $tea.Model {
4531
+ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
3043
4532
  /**
4533
+ * @remarks
4534
+ * The Alibaba Cloud Resource Name (ARN) of a behavior.
4535
+ *
3044
4536
  * @example
3045
- * spark pi is 3.14\\n
4537
+ * acs:emr::workspaceId:action/create_queue
3046
4538
  */
3047
- lineContent?: string;
3048
- static names(): {
3049
- [key: string]: string;
3050
- };
3051
- static types(): {
3052
- [key: string]: any;
3053
- };
3054
- constructor(map?: {
3055
- [key: string]: any;
3056
- });
3057
- }
3058
- export declare class ListLogContentsResponseBodyListLogContent extends $tea.Model {
3059
- contents?: ListLogContentsResponseBodyListLogContentContents[];
4539
+ actionArn?: string;
3060
4540
  /**
4541
+ * @remarks
4542
+ * The name of the permission.
4543
+ *
3061
4544
  * @example
3062
- * 10
4545
+ * view
3063
4546
  */
3064
- totalLength?: number;
3065
- static names(): {
3066
- [key: string]: string;
3067
- };
3068
- static types(): {
3069
- [key: string]: any;
3070
- };
3071
- constructor(map?: {
3072
- [key: string]: any;
3073
- });
3074
- }
3075
- export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
4547
+ actionName?: string;
3076
4548
  /**
3077
4549
  * @remarks
3078
- * The version number of open source Spark.
4550
+ * The dependencies of the operation.
3079
4551
  *
3080
4552
  * @example
3081
- * Spark 3.3.1
4553
+ * ["view"]
3082
4554
  */
3083
- communityVersion?: string;
4555
+ dependencies?: string[];
3084
4556
  /**
3085
4557
  * @remarks
3086
- * The CPU architectures.
4558
+ * The description of the operation.
4559
+ *
4560
+ * @example
4561
+ * 文件目录遍历、文件浏览
3087
4562
  */
3088
- cpuArchitectures?: string[];
4563
+ description?: string;
3089
4564
  /**
3090
4565
  * @remarks
3091
- * The version number.
4566
+ * The display name of the permission.
3092
4567
  *
3093
4568
  * @example
3094
- * esr-2.1 (Spark 3.3.1, Scala 2.12)
4569
+ * 文件目录遍历、文件浏览
3095
4570
  */
3096
- 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 {
3097
4583
  /**
3098
4584
  * @remarks
3099
- * Indicates whether the Fusion engine is used for acceleration.
3100
- *
3101
- * @example
3102
- * true
4585
+ * The operations allowed for the queue.
3103
4586
  */
3104
- fusion?: boolean;
4587
+ allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
3105
4588
  /**
3106
4589
  * @remarks
3107
- * The creation time.
4590
+ * The ID of the user who created the queue.
3108
4591
  *
3109
4592
  * @example
3110
- * 1716215854101
4593
+ * 237109
3111
4594
  */
3112
- gmtCreate?: number;
4595
+ creator?: string;
3113
4596
  /**
3114
4597
  * @remarks
3115
- * The type of the Infrastructure as a Service (IaaS) layer.
3116
- *
3117
- * @example
3118
- * ASI
4598
+ * The environment types of the queue.
3119
4599
  */
3120
- iaasType?: string;
4600
+ environments?: string[];
3121
4601
  /**
3122
4602
  * @remarks
3123
- * The version number.
4603
+ * The maximum capacity of resources that can be used in the queue.
3124
4604
  *
3125
4605
  * @example
3126
- * esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
4606
+ * {"cpu": "2","memory": "2Gi"}
3127
4607
  */
3128
- releaseVersion?: string;
4608
+ maxResource?: string;
3129
4609
  /**
3130
4610
  * @remarks
3131
- * The version of Scala.
4611
+ * The minimum capacity of resources that can be used in the queue.
3132
4612
  *
3133
4613
  * @example
3134
- * 2.12
4614
+ * {"cpu": "2","memory": "2Gi"}
3135
4615
  */
3136
- scalaVersion?: string;
4616
+ minResource?: string;
3137
4617
  /**
3138
4618
  * @remarks
3139
- * The status of the version.
4619
+ * The queue label.
3140
4620
  *
3141
4621
  * @example
3142
- * ONLINE
4622
+ * dev_queue
3143
4623
  */
3144
- state?: string;
4624
+ properties?: string;
3145
4625
  /**
3146
4626
  * @remarks
3147
- * The type of the version.
4627
+ * The name of the queue.
3148
4628
  *
3149
4629
  * @example
3150
- * stable
4630
+ * dev_queue
3151
4631
  */
3152
- type?: string;
3153
- static names(): {
3154
- [key: string]: string;
3155
- };
3156
- static types(): {
3157
- [key: string]: any;
3158
- };
3159
- constructor(map?: {
3160
- [key: string]: any;
3161
- });
3162
- }
3163
- export declare class ListSessionClustersResponseBodySessionClustersApplicationConfigs extends $tea.Model {
4632
+ queueName?: string;
3164
4633
  /**
3165
4634
  * @remarks
3166
- * The name of the configuration file.
4635
+ * The queue architecture.
3167
4636
  *
3168
4637
  * @example
3169
- * spark-default.conf
4638
+ * {"arch": "x86"}
3170
4639
  */
3171
- configFileName?: string;
4640
+ queueScope?: string;
3172
4641
  /**
3173
4642
  * @remarks
3174
- * The key of the configuration.
4643
+ * The status of the queue.
3175
4644
  *
3176
4645
  * @example
3177
- * spark.app.name
4646
+ * RUNNING
3178
4647
  */
3179
- configItemKey?: string;
4648
+ queueStatus?: string;
3180
4649
  /**
3181
4650
  * @remarks
3182
- * The configuration value.
4651
+ * The queue type.
3183
4652
  *
3184
4653
  * @example
3185
- * test_application
4654
+ * instance, instanceChildren
3186
4655
  */
3187
- configItemValue?: string;
3188
- static names(): {
3189
- [key: string]: string;
3190
- };
3191
- static types(): {
3192
- [key: string]: any;
3193
- };
3194
- constructor(map?: {
3195
- [key: string]: any;
3196
- });
3197
- }
3198
- export declare class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $tea.Model {
4656
+ queueType?: string;
3199
4657
  /**
3200
4658
  * @remarks
3201
- * Indicates whether automatic startup is enabled.
4659
+ * The region ID.
3202
4660
  *
3203
4661
  * @example
3204
- * true
4662
+ * cn-hangzhou
3205
4663
  */
3206
- enable?: boolean;
3207
- static names(): {
3208
- [key: string]: string;
3209
- };
3210
- static types(): {
3211
- [key: string]: any;
3212
- };
3213
- constructor(map?: {
3214
- [key: string]: any;
3215
- });
3216
- }
3217
- export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $tea.Model {
4664
+ regionId?: string;
3218
4665
  /**
3219
4666
  * @remarks
3220
- * Indicates whether automatic termination is enabled.
4667
+ * The capacity of resources that are used in the queue.
3221
4668
  *
3222
4669
  * @example
3223
- * false
4670
+ * {"cpu": "2","memory": "2Gi"}
3224
4671
  */
3225
- enable?: boolean;
4672
+ usedResource?: string;
3226
4673
  /**
3227
4674
  * @remarks
3228
- * The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
4675
+ * The workspace ID.
3229
4676
  *
3230
4677
  * @example
3231
- * 45
4678
+ * w-1234abcd
3232
4679
  */
3233
- idleTimeoutMinutes?: number;
4680
+ workspaceId?: string;
3234
4681
  static names(): {
3235
4682
  [key: string]: string;
3236
4683
  };
@@ -3241,21 +4688,21 @@ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfi
3241
4688
  [key: string]: any;
3242
4689
  });
3243
4690
  }
3244
- export declare class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $tea.Model {
4691
+ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason extends $tea.Model {
3245
4692
  /**
3246
4693
  * @remarks
3247
- * The status change code.
4694
+ * The error code.
3248
4695
  *
3249
4696
  * @example
3250
- * 200
4697
+ * 0
3251
4698
  */
3252
4699
  code?: string;
3253
4700
  /**
3254
4701
  * @remarks
3255
- * The status change message.
4702
+ * The error message.
3256
4703
  *
3257
4704
  * @example
3258
- * ok
4705
+ * Success
3259
4706
  */
3260
4707
  message?: string;
3261
4708
  static names(): {
@@ -3268,138 +4715,157 @@ export declare class ListSessionClustersResponseBodySessionClustersStateChangeRe
3268
4715
  [key: string]: any;
3269
4716
  });
3270
4717
  }
3271
- 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;
3272
4727
  /**
3273
4728
  * @remarks
3274
- * 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
3275
4733
  */
3276
- applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
4734
+ autoRenewPeriod?: number;
3277
4735
  /**
3278
4736
  * @remarks
3279
- * 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
3280
4741
  */
3281
- autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
4742
+ autoRenewPeriodUnit?: string;
3282
4743
  /**
3283
4744
  * @remarks
3284
- * The configurations of automatic termination.
4745
+ * The time when the workspace was created.
4746
+ *
4747
+ * @example
4748
+ * 1684115879955
3285
4749
  */
3286
- autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
4750
+ createTime?: number;
3287
4751
  /**
3288
4752
  * @remarks
3289
- * The version of the Spark engine.
4753
+ * The information of the Data Lake Formation (DLF) catalog.
4754
+ *
4755
+ * @example
4756
+ * default
3290
4757
  */
3291
- displayReleaseVersion?: string;
3292
- domain?: string;
3293
- domainInner?: string;
4758
+ dlfCatalogId?: string;
4759
+ dlfType?: string;
3294
4760
  /**
3295
4761
  * @remarks
3296
- * 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.
3297
4763
  *
3298
4764
  * @example
3299
- * TSK-xxxxxxxxx
4765
+ * 1
3300
4766
  */
3301
- draftId?: string;
4767
+ duration?: number;
3302
4768
  /**
3303
4769
  * @remarks
3304
- * Indicates whether the Fusion engine is used for acceleration.
4770
+ * The time when the workspace was released.
3305
4771
  *
3306
4772
  * @example
3307
- * false
4773
+ * 1687103999999
3308
4774
  */
3309
- fusion?: boolean;
3310
- gmtCreate?: number;
4775
+ endTime?: number;
3311
4776
  /**
3312
4777
  * @remarks
3313
- * The session type.
3314
- *
3315
- * Valid values:
4778
+ * The reason for the failure.
3316
4779
  *
3317
- * * NOTEBOOK
3318
- * * THRIFT
3319
- * * 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.
3320
4787
  *
3321
4788
  * @example
3322
- * SQL
4789
+ * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
3323
4790
  */
3324
- kind?: string;
4791
+ paymentDurationUnit?: string;
3325
4792
  /**
3326
4793
  * @remarks
3327
- * The name of the session.
4794
+ * The status of the payment.
3328
4795
  *
3329
4796
  * @example
3330
- * adhoc_query
4797
+ * PAID/UNPAID
3331
4798
  */
3332
- name?: string;
4799
+ paymentStatus?: string;
3333
4800
  /**
3334
4801
  * @remarks
3335
- * The name of the queue that is used to run the session.
4802
+ * The payment type.
3336
4803
  *
3337
4804
  * @example
3338
- * dev_queue
4805
+ * PayAsYouGo or Subscription
3339
4806
  */
3340
- queueName?: string;
4807
+ paymentType?: string;
3341
4808
  /**
3342
4809
  * @remarks
3343
- * The version of EMR Serverless Spark.
4810
+ * The region ID.
3344
4811
  *
3345
4812
  * @example
3346
- * esr-2.1
4813
+ * cn-shanghai
3347
4814
  */
3348
- releaseVersion?: string;
4815
+ regionId?: string;
3349
4816
  /**
3350
4817
  * @remarks
3351
- * The session ID.
4818
+ * The reason why the workspace is released.
3352
4819
  *
3353
4820
  * @example
3354
- * sc-123131
4821
+ * SERVICE_RELEASE
3355
4822
  */
3356
- sessionClusterId?: string;
3357
- startTime?: number;
4823
+ releaseType?: string;
3358
4824
  /**
3359
4825
  * @remarks
3360
- * The status of the session.
4826
+ * The resource specifications.
3361
4827
  *
3362
4828
  * @example
3363
- * Running
4829
+ * 100cu
3364
4830
  */
3365
- state?: string;
4831
+ resourceSpec?: string;
3366
4832
  /**
3367
4833
  * @remarks
3368
- * The details of the most recent status change of the session.
4834
+ * The information about the workspace status change.
3369
4835
  */
3370
- stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
4836
+ stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
3371
4837
  /**
3372
4838
  * @remarks
3373
- * The user ID.
4839
+ * The Object Storage Service (OSS) path.
3374
4840
  *
3375
4841
  * @example
3376
- * 123131
4842
+ * spark-result
3377
4843
  */
3378
- userId?: string;
4844
+ storage?: string;
3379
4845
  /**
3380
4846
  * @remarks
3381
- * The username.
4847
+ * The workspace ID.
3382
4848
  *
3383
4849
  * @example
3384
- * test_user
4850
+ * w-******
3385
4851
  */
3386
- userName?: string;
4852
+ workspaceId?: string;
3387
4853
  /**
3388
4854
  * @remarks
3389
- * The Spark UI of the session.
4855
+ * The name of the workspace.
3390
4856
  *
3391
4857
  * @example
3392
- * http://spark-ui-xxxx
4858
+ * spark批作业空间-1
3393
4859
  */
3394
- webUI?: string;
4860
+ workspaceName?: string;
3395
4861
  /**
3396
4862
  * @remarks
3397
- * The workspace ID.
4863
+ * The workspace status.
3398
4864
  *
3399
4865
  * @example
3400
- * w-1234abcd
4866
+ * STARTING,RUNNING,TERMINATED
3401
4867
  */
3402
- workspaceId?: string;
4868
+ workspaceStatus?: string;
3403
4869
  static names(): {
3404
4870
  [key: string]: string;
3405
4871
  };
@@ -3410,47 +4876,78 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
3410
4876
  [key: string]: any;
3411
4877
  });
3412
4878
  }
3413
- export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
4879
+ export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
3414
4880
  /**
3415
4881
  * @remarks
3416
- * The Alibaba Cloud Resource Name (ARN) of a behavior.
4882
+ * The configuration file of SparkConf.
3417
4883
  *
3418
4884
  * @example
3419
- * acs:emr::workspaceId:action/create_queue
4885
+ * spark-default.conf
3420
4886
  */
3421
- actionArn?: string;
4887
+ configFileName?: string;
3422
4888
  /**
3423
4889
  * @remarks
3424
- * The name of the permission.
4890
+ * The key of SparkConf.
3425
4891
  *
3426
4892
  * @example
3427
- * view
4893
+ * spark.app.name
3428
4894
  */
3429
- actionName?: string;
4895
+ configItemKey?: string;
3430
4896
  /**
3431
4897
  * @remarks
3432
- * The dependencies of the operation.
4898
+ * The value of SparkConf.
3433
4899
  *
3434
4900
  * @example
3435
- * ["view"]
4901
+ * test_app
3436
4902
  */
3437
- 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 {
3438
4915
  /**
3439
4916
  * @remarks
3440
- * The description of the operation.
3441
- *
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
+ /**
3442
4932
  * @example
3443
- * 文件目录遍历、文件浏览
4933
+ * 0 0 0 * * ?
3444
4934
  */
3445
- description?: string;
4935
+ crontab?: string;
3446
4936
  /**
3447
- * @remarks
3448
- * The display name of the permission.
3449
- *
3450
4937
  * @example
3451
- * 文件目录遍历、文件浏览
4938
+ * 2025-12-23 16:13:27
3452
4939
  */
3453
- 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;
3454
4951
  static names(): {
3455
4952
  [key: string]: string;
3456
4953
  };
@@ -3461,105 +4958,104 @@ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $
3461
4958
  [key: string]: any;
3462
4959
  });
3463
4960
  }
3464
- export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
4961
+ export declare class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf extends $tea.Model {
3465
4962
  /**
3466
- * @remarks
3467
- * The operations allowed for the queue.
4963
+ * @example
4964
+ * spark.dynamicAllocation.enabled
3468
4965
  */
3469
- allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
4966
+ key?: string;
3470
4967
  /**
3471
- * @remarks
3472
- * The ID of the user who created the queue.
3473
- *
3474
4968
  * @example
3475
- * 237109
4969
+ * true
3476
4970
  */
3477
- 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 {
3478
4983
  /**
3479
- * @remarks
3480
- * The environment types of the queue.
4984
+ * @example
4985
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
3481
4986
  */
3482
- environments?: string[];
4987
+ displaySparkVersion?: string;
3483
4988
  /**
3484
- * @remarks
3485
- * The maximum capacity of resources that can be used in the queue.
3486
- *
3487
4989
  * @example
3488
- * {"cpu": "2","memory": "2Gi"}
4990
+ * ev-h*************
3489
4991
  */
3490
- maxResource?: string;
4992
+ environmentId?: string;
3491
4993
  /**
3492
- * @remarks
3493
- * The minimum capacity of resources that can be used in the queue.
3494
- *
3495
4994
  * @example
3496
- * {"cpu": "2","memory": "2Gi"}
4995
+ * false
3497
4996
  */
3498
- minResource?: string;
4997
+ fusion?: boolean;
3499
4998
  /**
3500
4999
  * @remarks
3501
- * The queue label.
5000
+ * This parameter is required.
3502
5001
  *
3503
5002
  * @example
3504
- * dev_queue
5003
+ * root_queue
3505
5004
  */
3506
- properties?: string;
5005
+ resourceQueueId?: string;
5006
+ sparkConf?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf[];
3507
5007
  /**
3508
- * @remarks
3509
- * The name of the queue.
3510
- *
3511
5008
  * @example
3512
- * dev_queue
5009
+ * 1
3513
5010
  */
3514
- queueName?: string;
5011
+ sparkDriverCores?: number;
3515
5012
  /**
3516
- * @remarks
3517
- * The queue architecture.
3518
- *
3519
5013
  * @example
3520
- * {"arch": "x86"}
5014
+ * 4g
3521
5015
  */
3522
- queueScope?: string;
5016
+ sparkDriverMemory?: number;
3523
5017
  /**
3524
- * @remarks
3525
- * The status of the queue.
3526
- *
3527
5018
  * @example
3528
- * RUNNING
5019
+ * 1
3529
5020
  */
3530
- 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;
3531
5033
  /**
3532
- * @remarks
3533
- * The queue type.
3534
- *
3535
5034
  * @example
3536
- * instance, instanceChildren
5035
+ * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
3537
5036
  */
3538
- queueType?: string;
5037
+ sparkVersion?: string;
3539
5038
  /**
3540
5039
  * @remarks
3541
- * The region ID.
5040
+ * This parameter is required.
3542
5041
  *
3543
5042
  * @example
3544
- * cn-hangzhou
5043
+ * TSK-d87******************
3545
5044
  */
3546
- regionId?: string;
5045
+ taskBizId?: string;
3547
5046
  /**
3548
- * @remarks
3549
- * The capacity of resources that are used in the queue.
3550
- *
3551
5047
  * @example
3552
- * {"cpu": "2","memory": "2Gi"}
5048
+ * SQL
3553
5049
  */
3554
- usedResource?: string;
5050
+ type?: string;
3555
5051
  /**
3556
5052
  * @remarks
3557
- * The workspace ID.
5053
+ * This parameter is required.
3558
5054
  *
3559
5055
  * @example
3560
- * w-1234abcd
5056
+ * w-d8********
3561
5057
  */
3562
- workspaceId?: string;
5058
+ workspaceBizId?: string;
3563
5059
  static names(): {
3564
5060
  [key: string]: string;
3565
5061
  };
@@ -3570,23 +5066,69 @@ export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
3570
5066
  [key: string]: any;
3571
5067
  });
3572
5068
  }
3573
- 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;
3574
5075
  /**
3575
5076
  * @remarks
3576
- * The error code.
5077
+ * This parameter is required.
3577
5078
  *
3578
5079
  * @example
3579
- * 0
5080
+ * 23************
3580
5081
  */
3581
- 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;
3582
5098
  /**
3583
5099
  * @remarks
3584
- * The error message.
5100
+ * This parameter is required.
3585
5101
  *
3586
5102
  * @example
3587
- * Success
5103
+ * ods_transform_task
3588
5104
  */
3589
- 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;
3590
5132
  static names(): {
3591
5133
  [key: string]: string;
3592
5134
  };
@@ -3597,208 +5139,153 @@ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason exten
3597
5139
  [key: string]: any;
3598
5140
  });
3599
5141
  }
3600
- export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
5142
+ export declare class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends $tea.Model {
3601
5143
  /**
3602
5144
  * @remarks
3603
- * Indicates whether auto-renewal is enabled. This parameter is required only if the paymentType parameter is set to Subscription.
5145
+ * This parameter is required.
3604
5146
  *
3605
5147
  * @example
3606
- * true
5148
+ * ods batch workflow
3607
5149
  */
3608
- autoRenew?: boolean;
5150
+ name?: string;
3609
5151
  /**
3610
5152
  * @remarks
3611
- * The auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
5153
+ * This parameter is required.
3612
5154
  *
3613
5155
  * @example
3614
- * 1
5156
+ * 19************
3615
5157
  */
3616
- autoRenewPeriod?: number;
5158
+ postTaskCode?: number;
3617
5159
  /**
3618
5160
  * @remarks
3619
- * 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.
3620
5162
  *
3621
5163
  * @example
3622
- * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
5164
+ * 1
3623
5165
  */
3624
- autoRenewPeriodUnit?: string;
5166
+ postTaskVersion?: number;
3625
5167
  /**
3626
5168
  * @remarks
3627
- * The time when the workspace was created.
5169
+ * This parameter is required.
3628
5170
  *
3629
5171
  * @example
3630
- * 1684115879955
5172
+ * 16************
3631
5173
  */
3632
- createTime?: number;
5174
+ preTaskCode?: number;
3633
5175
  /**
3634
5176
  * @remarks
3635
- * The information of the Data Lake Formation (DLF) catalog.
5177
+ * This parameter is required.
3636
5178
  *
3637
5179
  * @example
3638
- * default
5180
+ * 1
3639
5181
  */
3640
- dlfCatalogId?: string;
3641
- 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 {
3642
5194
  /**
3643
- * @remarks
3644
- * The subscription period. This parameter is required only if the paymentType parameter is set to Subscription.
3645
- *
3646
5195
  * @example
3647
- * 1
5196
+ * foo_bar@spark.alert.invalid.com
3648
5197
  */
3649
- duration?: number;
5198
+ alertEmailAddress?: string;
3650
5199
  /**
3651
- * @remarks
3652
- * The time when the workspace was released.
3653
- *
3654
5200
  * @example
3655
- * 1687103999999
5201
+ * alicloud_ack_one_cluster
3656
5202
  */
3657
- endTime?: number;
5203
+ bizId?: string;
3658
5204
  /**
3659
- * @remarks
3660
- * The reason for the failure.
3661
- *
3662
5205
  * @example
3663
- * out of stock
5206
+ * 12***********
3664
5207
  */
3665
- failReason?: string;
5208
+ code?: string;
3666
5209
  /**
3667
- * @remarks
3668
- * The unit of the subscription duration. This parameter is required only if the paymentType parameter is set to Subscription.
3669
- *
3670
5210
  * @example
3671
- * YEAR, MONTH, WEEK, DAY, HOUR, MINUTE
5211
+ * 2024-09-05T02:03:19Z
3672
5212
  */
3673
- paymentDurationUnit?: string;
5213
+ createTime?: string;
3674
5214
  /**
3675
- * @remarks
3676
- * The status of the payment.
3677
- *
3678
5215
  * @example
3679
- * PAID/UNPAID
5216
+ * 0 0 0 * * ?
3680
5217
  */
3681
- paymentStatus?: string;
5218
+ crontab?: string;
3682
5219
  /**
3683
- * @remarks
3684
- * The payment type.
3685
- *
3686
5220
  * @example
3687
- * PayAsYouGo or Subscription
5221
+ * 1
3688
5222
  */
3689
- paymentType?: string;
5223
+ description?: string;
3690
5224
  /**
3691
- * @remarks
3692
- * The region ID.
3693
- *
3694
5225
  * @example
3695
- * cn-shanghai
5226
+ * 1710432000000
3696
5227
  */
3697
- regionId?: string;
5228
+ endTime?: string;
3698
5229
  /**
3699
- * @remarks
3700
- * The reason why the workspace is released.
3701
- *
3702
5230
  * @example
3703
- * SERVICE_RELEASE
5231
+ * SERIAL
3704
5232
  */
3705
- releaseType?: string;
5233
+ executionType?: string;
3706
5234
  /**
3707
- * @remarks
3708
- * The resource specifications.
3709
- *
3710
5235
  * @example
3711
- * 100cu
5236
+ * 123223
3712
5237
  */
3713
- resourceSpec?: string;
5238
+ id?: string;
3714
5239
  /**
3715
- * @remarks
3716
- * The information about the workspace status change.
5240
+ * @example
5241
+ * ods_batch_workflow
3717
5242
  */
3718
- stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
5243
+ name?: string;
3719
5244
  /**
3720
- * @remarks
3721
- * The Object Storage Service (OSS) path.
3722
- *
3723
5245
  * @example
3724
- * spark-result
5246
+ * w-********
3725
5247
  */
3726
- storage?: string;
5248
+ projectName?: string;
3727
5249
  /**
3728
- * @remarks
3729
- * The workspace ID.
3730
- *
3731
5250
  * @example
3732
- * w-******
5251
+ * ONLINE
3733
5252
  */
3734
- workspaceId?: string;
5253
+ releaseState?: string;
3735
5254
  /**
3736
- * @remarks
3737
- * The name of the workspace.
3738
- *
3739
5255
  * @example
3740
- * spark批作业空间-1
5256
+ * 0
3741
5257
  */
3742
- workspaceName?: string;
5258
+ startTime?: string;
3743
5259
  /**
3744
- * @remarks
3745
- * The workspace status.
3746
- *
3747
5260
  * @example
3748
- * STARTING,RUNNING,TERMINATED
5261
+ * Asia/Shanghai
3749
5262
  */
3750
- workspaceStatus?: string;
3751
- static names(): {
3752
- [key: string]: string;
3753
- };
3754
- static types(): {
3755
- [key: string]: any;
3756
- };
3757
- constructor(map?: {
3758
- [key: string]: any;
3759
- });
3760
- }
3761
- export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
5263
+ timezoneId?: string;
3762
5264
  /**
3763
- * @remarks
3764
- * The configuration file of SparkConf.
3765
- *
3766
5265
  * @example
3767
- * spark-default.conf
5266
+ * 2024-03-05T06:24:27Z
3768
5267
  */
3769
- configFileName?: string;
5268
+ updateTime?: string;
3770
5269
  /**
3771
- * @remarks
3772
- * The key of SparkConf.
3773
- *
3774
5270
  * @example
3775
- * spark.app.name
5271
+ * 113*********
3776
5272
  */
3777
- configItemKey?: string;
5273
+ userId?: string;
3778
5274
  /**
3779
- * @remarks
3780
- * The value of SparkConf.
3781
- *
3782
5275
  * @example
3783
- * test_app
5276
+ * w-********
3784
5277
  */
3785
- configItemValue?: string;
3786
- static names(): {
3787
- [key: string]: string;
3788
- };
3789
- static types(): {
3790
- [key: string]: any;
3791
- };
3792
- constructor(map?: {
3793
- [key: string]: any;
3794
- });
3795
- }
3796
- export declare class StartJobRunRequestConfigurationOverrides extends $tea.Model {
5278
+ userName?: string;
3797
5279
  /**
3798
- * @remarks
3799
- * The SparkConf objects.
5280
+ * @example
5281
+ * 1
3800
5282
  */
3801
- configurations?: StartJobRunRequestConfigurationOverridesConfigurations[];
5283
+ version?: number;
5284
+ /**
5285
+ * @example
5286
+ * dwerf*********
5287
+ */
5288
+ versionHashCode?: string;
3802
5289
  static names(): {
3803
5290
  [key: string]: string;
3804
5291
  };
@@ -3850,6 +5337,24 @@ export default class Client extends OpenApi {
3850
5337
  * @returns CancelJobRunResponse
3851
5338
  */
3852
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>;
3853
5358
  /**
3854
5359
  * Creates an SQL query task.
3855
5360
  *
@@ -3887,7 +5392,7 @@ export default class Client extends OpenApi {
3887
5392
  */
3888
5393
  getJobRun(workspaceId: string, jobRunId: string, request: GetJobRunRequest): Promise<GetJobRunResponse>;
3889
5394
  /**
3890
- * 查询SessionCluster集群
5395
+ * Queries a list of sessions.
3891
5396
  *
3892
5397
  * @param request - GetSessionClusterRequest
3893
5398
  * @param headers - map
@@ -3898,7 +5403,7 @@ export default class Client extends OpenApi {
3898
5403
  [key: string]: string;
3899
5404
  }, runtime: $Util.RuntimeOptions): Promise<GetSessionClusterResponse>;
3900
5405
  /**
3901
- * 查询SessionCluster集群
5406
+ * Queries a list of sessions.
3902
5407
  *
3903
5408
  * @param request - GetSessionClusterRequest
3904
5409
  * @returns GetSessionClusterResponse
@@ -3923,7 +5428,7 @@ export default class Client extends OpenApi {
3923
5428
  */
3924
5429
  getSqlStatement(workspaceId: string, statementId: string, request: GetSqlStatementRequest): Promise<GetSqlStatementResponse>;
3925
5430
  /**
3926
- * 获取任务模板
5431
+ * Queries task templates.
3927
5432
  *
3928
5433
  * @param request - GetTemplateRequest
3929
5434
  * @param headers - map
@@ -3934,7 +5439,7 @@ export default class Client extends OpenApi {
3934
5439
  [key: string]: string;
3935
5440
  }, runtime: $Util.RuntimeOptions): Promise<GetTemplateResponse>;
3936
5441
  /**
3937
- * 获取任务模板
5442
+ * Queries task templates.
3938
5443
  *
3939
5444
  * @param request - GetTemplateRequest
3940
5445
  * @returns GetTemplateResponse
@@ -4084,6 +5589,24 @@ export default class Client extends OpenApi {
4084
5589
  * @returns StartJobRunResponse
4085
5590
  */
4086
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>;
4087
5610
  /**
4088
5611
  * Starts a session.
4089
5612
  *
@@ -4138,4 +5661,22 @@ export default class Client extends OpenApi {
4138
5661
  * @returns TerminateSqlStatementResponse
4139
5662
  */
4140
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>;
4141
5682
  }