@alicloud/emr-serverless-spark20230808 1.4.2 → 1.6.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 +412 -25
- package/dist/client.js +380 -12
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +638 -25
package/dist/client.d.ts
CHANGED
|
@@ -392,6 +392,7 @@ export declare class Task extends $tea.Model {
|
|
|
392
392
|
tags?: {
|
|
393
393
|
[key: string]: string;
|
|
394
394
|
};
|
|
395
|
+
timeout?: number;
|
|
395
396
|
/**
|
|
396
397
|
* @remarks
|
|
397
398
|
* This parameter is required.
|
|
@@ -955,7 +956,7 @@ export declare class GrantRoleToUsersResponse extends $tea.Model {
|
|
|
955
956
|
export declare class ListJobRunsRequest extends $tea.Model {
|
|
956
957
|
/**
|
|
957
958
|
* @remarks
|
|
958
|
-
* The ID of the user who
|
|
959
|
+
* The ID of the user who created the job.
|
|
959
960
|
*
|
|
960
961
|
* @example
|
|
961
962
|
* 1509789347011222
|
|
@@ -1046,7 +1047,7 @@ export declare class ListJobRunsRequest extends $tea.Model {
|
|
|
1046
1047
|
export declare class ListJobRunsShrinkRequest extends $tea.Model {
|
|
1047
1048
|
/**
|
|
1048
1049
|
* @remarks
|
|
1049
|
-
* The ID of the user who
|
|
1050
|
+
* The ID of the user who created the job.
|
|
1050
1051
|
*
|
|
1051
1052
|
* @example
|
|
1052
1053
|
* 1509789347011222
|
|
@@ -1198,6 +1199,69 @@ export declare class ListJobRunsResponse extends $tea.Model {
|
|
|
1198
1199
|
[key: string]: any;
|
|
1199
1200
|
});
|
|
1200
1201
|
}
|
|
1202
|
+
export declare class ListLogContentsRequest extends $tea.Model {
|
|
1203
|
+
fileName?: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* @example
|
|
1206
|
+
* 9999
|
|
1207
|
+
*/
|
|
1208
|
+
length?: number;
|
|
1209
|
+
/**
|
|
1210
|
+
* @example
|
|
1211
|
+
* 0
|
|
1212
|
+
*/
|
|
1213
|
+
offset?: number;
|
|
1214
|
+
/**
|
|
1215
|
+
* @example
|
|
1216
|
+
* cn-hangzhou
|
|
1217
|
+
*/
|
|
1218
|
+
regionId?: string;
|
|
1219
|
+
static names(): {
|
|
1220
|
+
[key: string]: string;
|
|
1221
|
+
};
|
|
1222
|
+
static types(): {
|
|
1223
|
+
[key: string]: any;
|
|
1224
|
+
};
|
|
1225
|
+
constructor(map?: {
|
|
1226
|
+
[key: string]: any;
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
export declare class ListLogContentsResponseBody extends $tea.Model {
|
|
1230
|
+
listLogContent?: ListLogContentsResponseBodyListLogContent;
|
|
1231
|
+
/**
|
|
1232
|
+
* @remarks
|
|
1233
|
+
* 请求ID。
|
|
1234
|
+
*
|
|
1235
|
+
* @example
|
|
1236
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
1237
|
+
*/
|
|
1238
|
+
requestId?: string;
|
|
1239
|
+
static names(): {
|
|
1240
|
+
[key: string]: string;
|
|
1241
|
+
};
|
|
1242
|
+
static types(): {
|
|
1243
|
+
[key: string]: any;
|
|
1244
|
+
};
|
|
1245
|
+
constructor(map?: {
|
|
1246
|
+
[key: string]: any;
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
export declare class ListLogContentsResponse extends $tea.Model {
|
|
1250
|
+
headers?: {
|
|
1251
|
+
[key: string]: string;
|
|
1252
|
+
};
|
|
1253
|
+
statusCode?: number;
|
|
1254
|
+
body?: ListLogContentsResponseBody;
|
|
1255
|
+
static names(): {
|
|
1256
|
+
[key: string]: string;
|
|
1257
|
+
};
|
|
1258
|
+
static types(): {
|
|
1259
|
+
[key: string]: any;
|
|
1260
|
+
};
|
|
1261
|
+
constructor(map?: {
|
|
1262
|
+
[key: string]: any;
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1201
1265
|
export declare class ListReleaseVersionsRequest extends $tea.Model {
|
|
1202
1266
|
/**
|
|
1203
1267
|
* @remarks
|
|
@@ -1214,7 +1278,7 @@ export declare class ListReleaseVersionsRequest extends $tea.Model {
|
|
|
1214
1278
|
* Valid values:
|
|
1215
1279
|
*
|
|
1216
1280
|
* * stable
|
|
1217
|
-
* *
|
|
1281
|
+
* * Beta
|
|
1218
1282
|
*
|
|
1219
1283
|
* @example
|
|
1220
1284
|
* stable
|
|
@@ -1222,7 +1286,7 @@ export declare class ListReleaseVersionsRequest extends $tea.Model {
|
|
|
1222
1286
|
releaseType?: string;
|
|
1223
1287
|
/**
|
|
1224
1288
|
* @remarks
|
|
1225
|
-
* The version of Serverless Spark.
|
|
1289
|
+
* The version of EMR Serverless Spark.
|
|
1226
1290
|
*
|
|
1227
1291
|
* @example
|
|
1228
1292
|
* esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
|
|
@@ -1230,7 +1294,7 @@ export declare class ListReleaseVersionsRequest extends $tea.Model {
|
|
|
1230
1294
|
releaseVersion?: string;
|
|
1231
1295
|
/**
|
|
1232
1296
|
* @remarks
|
|
1233
|
-
* The status of the version.
|
|
1297
|
+
* The status of the version.
|
|
1234
1298
|
*
|
|
1235
1299
|
* Valid values:
|
|
1236
1300
|
*
|
|
@@ -1241,6 +1305,14 @@ export declare class ListReleaseVersionsRequest extends $tea.Model {
|
|
|
1241
1305
|
* ONLINE
|
|
1242
1306
|
*/
|
|
1243
1307
|
releaseVersionStatus?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* @remarks
|
|
1310
|
+
* The workspace ID.
|
|
1311
|
+
*
|
|
1312
|
+
* @example
|
|
1313
|
+
* w-d2d82aa09155****
|
|
1314
|
+
*/
|
|
1315
|
+
workspaceId?: string;
|
|
1244
1316
|
static names(): {
|
|
1245
1317
|
[key: string]: string;
|
|
1246
1318
|
};
|
|
@@ -1316,6 +1388,19 @@ export declare class ListReleaseVersionsResponse extends $tea.Model {
|
|
|
1316
1388
|
});
|
|
1317
1389
|
}
|
|
1318
1390
|
export declare class ListSessionClustersRequest extends $tea.Model {
|
|
1391
|
+
/**
|
|
1392
|
+
* @remarks
|
|
1393
|
+
* The session type.
|
|
1394
|
+
*
|
|
1395
|
+
* Valid values:
|
|
1396
|
+
*
|
|
1397
|
+
* * NOTEBOOK
|
|
1398
|
+
* * THRIFT
|
|
1399
|
+
* * SQL
|
|
1400
|
+
*
|
|
1401
|
+
* @example
|
|
1402
|
+
* SQL
|
|
1403
|
+
*/
|
|
1319
1404
|
kind?: string;
|
|
1320
1405
|
/**
|
|
1321
1406
|
* @remarks
|
|
@@ -1394,7 +1479,7 @@ export declare class ListSessionClustersResponseBody extends $tea.Model {
|
|
|
1394
1479
|
requestId?: string;
|
|
1395
1480
|
/**
|
|
1396
1481
|
* @remarks
|
|
1397
|
-
* The
|
|
1482
|
+
* The list of sessions.
|
|
1398
1483
|
*/
|
|
1399
1484
|
sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
|
|
1400
1485
|
/**
|
|
@@ -1781,6 +1866,162 @@ export declare class StartJobRunResponse extends $tea.Model {
|
|
|
1781
1866
|
[key: string]: any;
|
|
1782
1867
|
});
|
|
1783
1868
|
}
|
|
1869
|
+
export declare class StartSessionClusterRequest extends $tea.Model {
|
|
1870
|
+
/**
|
|
1871
|
+
* @remarks
|
|
1872
|
+
* The queue name.
|
|
1873
|
+
*
|
|
1874
|
+
* @example
|
|
1875
|
+
* root_queue
|
|
1876
|
+
*/
|
|
1877
|
+
queueName?: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* @remarks
|
|
1880
|
+
* The session ID.
|
|
1881
|
+
*
|
|
1882
|
+
* @example
|
|
1883
|
+
* sc-xxxxxxxxxxx
|
|
1884
|
+
*/
|
|
1885
|
+
sessionClusterId?: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* @remarks
|
|
1888
|
+
* The region ID.
|
|
1889
|
+
*
|
|
1890
|
+
* @example
|
|
1891
|
+
* cn-hangzhou
|
|
1892
|
+
*/
|
|
1893
|
+
regionId?: string;
|
|
1894
|
+
static names(): {
|
|
1895
|
+
[key: string]: string;
|
|
1896
|
+
};
|
|
1897
|
+
static types(): {
|
|
1898
|
+
[key: string]: any;
|
|
1899
|
+
};
|
|
1900
|
+
constructor(map?: {
|
|
1901
|
+
[key: string]: any;
|
|
1902
|
+
});
|
|
1903
|
+
}
|
|
1904
|
+
export declare class StartSessionClusterResponseBody extends $tea.Model {
|
|
1905
|
+
/**
|
|
1906
|
+
* @remarks
|
|
1907
|
+
* The request ID.
|
|
1908
|
+
*
|
|
1909
|
+
* @example
|
|
1910
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
1911
|
+
*/
|
|
1912
|
+
requestId?: string;
|
|
1913
|
+
/**
|
|
1914
|
+
* @remarks
|
|
1915
|
+
* The workspace ID.
|
|
1916
|
+
*
|
|
1917
|
+
* @example
|
|
1918
|
+
* w-******
|
|
1919
|
+
*/
|
|
1920
|
+
sessionClusterId?: string;
|
|
1921
|
+
static names(): {
|
|
1922
|
+
[key: string]: string;
|
|
1923
|
+
};
|
|
1924
|
+
static types(): {
|
|
1925
|
+
[key: string]: any;
|
|
1926
|
+
};
|
|
1927
|
+
constructor(map?: {
|
|
1928
|
+
[key: string]: any;
|
|
1929
|
+
});
|
|
1930
|
+
}
|
|
1931
|
+
export declare class StartSessionClusterResponse extends $tea.Model {
|
|
1932
|
+
headers?: {
|
|
1933
|
+
[key: string]: string;
|
|
1934
|
+
};
|
|
1935
|
+
statusCode?: number;
|
|
1936
|
+
body?: StartSessionClusterResponseBody;
|
|
1937
|
+
static names(): {
|
|
1938
|
+
[key: string]: string;
|
|
1939
|
+
};
|
|
1940
|
+
static types(): {
|
|
1941
|
+
[key: string]: any;
|
|
1942
|
+
};
|
|
1943
|
+
constructor(map?: {
|
|
1944
|
+
[key: string]: any;
|
|
1945
|
+
});
|
|
1946
|
+
}
|
|
1947
|
+
export declare class StopSessionClusterRequest extends $tea.Model {
|
|
1948
|
+
/**
|
|
1949
|
+
* @remarks
|
|
1950
|
+
* The queue name.
|
|
1951
|
+
*
|
|
1952
|
+
* @example
|
|
1953
|
+
* root_queue
|
|
1954
|
+
*/
|
|
1955
|
+
queueName?: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* @remarks
|
|
1958
|
+
* The session ID.
|
|
1959
|
+
*
|
|
1960
|
+
* @example
|
|
1961
|
+
* sc-xxxxxxxxxxxx
|
|
1962
|
+
*/
|
|
1963
|
+
sessionClusterId?: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* @remarks
|
|
1966
|
+
* The region ID.
|
|
1967
|
+
*
|
|
1968
|
+
* @example
|
|
1969
|
+
* cn-hangzhou
|
|
1970
|
+
*/
|
|
1971
|
+
regionId?: string;
|
|
1972
|
+
static names(): {
|
|
1973
|
+
[key: string]: string;
|
|
1974
|
+
};
|
|
1975
|
+
static types(): {
|
|
1976
|
+
[key: string]: any;
|
|
1977
|
+
};
|
|
1978
|
+
constructor(map?: {
|
|
1979
|
+
[key: string]: any;
|
|
1980
|
+
});
|
|
1981
|
+
}
|
|
1982
|
+
export declare class StopSessionClusterResponseBody extends $tea.Model {
|
|
1983
|
+
/**
|
|
1984
|
+
* @remarks
|
|
1985
|
+
* The request ID.
|
|
1986
|
+
*
|
|
1987
|
+
* @example
|
|
1988
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
1989
|
+
*/
|
|
1990
|
+
requestId?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* @remarks
|
|
1993
|
+
* The workspace ID.
|
|
1994
|
+
*
|
|
1995
|
+
* @example
|
|
1996
|
+
* w-******
|
|
1997
|
+
*/
|
|
1998
|
+
sessionClusterId?: string;
|
|
1999
|
+
static names(): {
|
|
2000
|
+
[key: string]: string;
|
|
2001
|
+
};
|
|
2002
|
+
static types(): {
|
|
2003
|
+
[key: string]: any;
|
|
2004
|
+
};
|
|
2005
|
+
constructor(map?: {
|
|
2006
|
+
[key: string]: any;
|
|
2007
|
+
});
|
|
2008
|
+
}
|
|
2009
|
+
export declare class StopSessionClusterResponse extends $tea.Model {
|
|
2010
|
+
headers?: {
|
|
2011
|
+
[key: string]: string;
|
|
2012
|
+
};
|
|
2013
|
+
statusCode?: number;
|
|
2014
|
+
body?: StopSessionClusterResponseBody;
|
|
2015
|
+
static names(): {
|
|
2016
|
+
[key: string]: string;
|
|
2017
|
+
};
|
|
2018
|
+
static types(): {
|
|
2019
|
+
[key: string]: any;
|
|
2020
|
+
};
|
|
2021
|
+
constructor(map?: {
|
|
2022
|
+
[key: string]: any;
|
|
2023
|
+
});
|
|
2024
|
+
}
|
|
1784
2025
|
export declare class TerminateSqlStatementRequest extends $tea.Model {
|
|
1785
2026
|
/**
|
|
1786
2027
|
* @remarks
|
|
@@ -2449,6 +2690,39 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
|
|
|
2449
2690
|
[key: string]: any;
|
|
2450
2691
|
});
|
|
2451
2692
|
}
|
|
2693
|
+
export declare class ListLogContentsResponseBodyListLogContentContents extends $tea.Model {
|
|
2694
|
+
/**
|
|
2695
|
+
* @example
|
|
2696
|
+
* spark pi is 3.14\\n
|
|
2697
|
+
*/
|
|
2698
|
+
lineContent?: string;
|
|
2699
|
+
static names(): {
|
|
2700
|
+
[key: string]: string;
|
|
2701
|
+
};
|
|
2702
|
+
static types(): {
|
|
2703
|
+
[key: string]: any;
|
|
2704
|
+
};
|
|
2705
|
+
constructor(map?: {
|
|
2706
|
+
[key: string]: any;
|
|
2707
|
+
});
|
|
2708
|
+
}
|
|
2709
|
+
export declare class ListLogContentsResponseBodyListLogContent extends $tea.Model {
|
|
2710
|
+
contents?: ListLogContentsResponseBodyListLogContentContents[];
|
|
2711
|
+
/**
|
|
2712
|
+
* @example
|
|
2713
|
+
* 10
|
|
2714
|
+
*/
|
|
2715
|
+
totalLength?: number;
|
|
2716
|
+
static names(): {
|
|
2717
|
+
[key: string]: string;
|
|
2718
|
+
};
|
|
2719
|
+
static types(): {
|
|
2720
|
+
[key: string]: any;
|
|
2721
|
+
};
|
|
2722
|
+
constructor(map?: {
|
|
2723
|
+
[key: string]: any;
|
|
2724
|
+
});
|
|
2725
|
+
}
|
|
2452
2726
|
export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
|
|
2453
2727
|
/**
|
|
2454
2728
|
* @remarks
|
|
@@ -2463,7 +2737,21 @@ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea
|
|
|
2463
2737
|
* The CPU architectures.
|
|
2464
2738
|
*/
|
|
2465
2739
|
cpuArchitectures?: string[];
|
|
2740
|
+
/**
|
|
2741
|
+
* @remarks
|
|
2742
|
+
* The version number.
|
|
2743
|
+
*
|
|
2744
|
+
* @example
|
|
2745
|
+
* esr-2.1 (Spark 3.3.1, Scala 2.12)
|
|
2746
|
+
*/
|
|
2466
2747
|
displayReleaseVersion?: string;
|
|
2748
|
+
/**
|
|
2749
|
+
* @remarks
|
|
2750
|
+
* Indicates whether the Fusion engine is used for acceleration.
|
|
2751
|
+
*
|
|
2752
|
+
* @example
|
|
2753
|
+
* true
|
|
2754
|
+
*/
|
|
2467
2755
|
fusion?: boolean;
|
|
2468
2756
|
/**
|
|
2469
2757
|
* @remarks
|
|
@@ -2483,7 +2771,7 @@ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea
|
|
|
2483
2771
|
iaasType?: string;
|
|
2484
2772
|
/**
|
|
2485
2773
|
* @remarks
|
|
2486
|
-
* The version.
|
|
2774
|
+
* The version number.
|
|
2487
2775
|
*
|
|
2488
2776
|
* @example
|
|
2489
2777
|
* esr-2.1 (Spark 3.3.1, Scala 2.12, Java Runtime)
|
|
@@ -2588,7 +2876,7 @@ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfi
|
|
|
2588
2876
|
enable?: boolean;
|
|
2589
2877
|
/**
|
|
2590
2878
|
* @remarks
|
|
2591
|
-
* The idle timeout period. The
|
|
2879
|
+
* The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
|
|
2592
2880
|
*
|
|
2593
2881
|
* @example
|
|
2594
2882
|
* 45
|
|
@@ -2634,7 +2922,7 @@ export declare class ListSessionClustersResponseBodySessionClustersStateChangeRe
|
|
|
2634
2922
|
export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
|
|
2635
2923
|
/**
|
|
2636
2924
|
* @remarks
|
|
2637
|
-
* The
|
|
2925
|
+
* The session configurations, which are equivalent to the configurations of the Spark job.
|
|
2638
2926
|
*/
|
|
2639
2927
|
applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
|
|
2640
2928
|
/**
|
|
@@ -2644,17 +2932,48 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2644
2932
|
autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
|
|
2645
2933
|
/**
|
|
2646
2934
|
* @remarks
|
|
2647
|
-
* The automatic termination
|
|
2935
|
+
* The configurations of automatic termination.
|
|
2648
2936
|
*/
|
|
2649
2937
|
autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
|
|
2938
|
+
/**
|
|
2939
|
+
* @remarks
|
|
2940
|
+
* The version of the Spark engine.
|
|
2941
|
+
*/
|
|
2650
2942
|
displayReleaseVersion?: string;
|
|
2651
2943
|
domain?: string;
|
|
2944
|
+
/**
|
|
2945
|
+
* @remarks
|
|
2946
|
+
* The ID of the job that is associated with the session.
|
|
2947
|
+
*
|
|
2948
|
+
* @example
|
|
2949
|
+
* TSK-xxxxxxxxx
|
|
2950
|
+
*/
|
|
2652
2951
|
draftId?: string;
|
|
2952
|
+
/**
|
|
2953
|
+
* @remarks
|
|
2954
|
+
* Indicates whether the Fusion engine is used for acceleration.
|
|
2955
|
+
*
|
|
2956
|
+
* @example
|
|
2957
|
+
* false
|
|
2958
|
+
*/
|
|
2653
2959
|
fusion?: boolean;
|
|
2960
|
+
/**
|
|
2961
|
+
* @remarks
|
|
2962
|
+
* The session type.
|
|
2963
|
+
*
|
|
2964
|
+
* Valid values:
|
|
2965
|
+
*
|
|
2966
|
+
* * NOTEBOOK
|
|
2967
|
+
* * THRIFT
|
|
2968
|
+
* * SQL
|
|
2969
|
+
*
|
|
2970
|
+
* @example
|
|
2971
|
+
* SQL
|
|
2972
|
+
*/
|
|
2654
2973
|
kind?: string;
|
|
2655
2974
|
/**
|
|
2656
2975
|
* @remarks
|
|
2657
|
-
* The name of the
|
|
2976
|
+
* The name of the session.
|
|
2658
2977
|
*
|
|
2659
2978
|
* @example
|
|
2660
2979
|
* adhoc_query
|
|
@@ -2662,16 +2981,23 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2662
2981
|
name?: string;
|
|
2663
2982
|
/**
|
|
2664
2983
|
* @remarks
|
|
2665
|
-
* The name of the queue
|
|
2984
|
+
* The name of the queue that is used to run the session.
|
|
2666
2985
|
*
|
|
2667
2986
|
* @example
|
|
2668
2987
|
* dev_queue
|
|
2669
2988
|
*/
|
|
2670
2989
|
queueName?: string;
|
|
2990
|
+
/**
|
|
2991
|
+
* @remarks
|
|
2992
|
+
* The version of EMR Serverless Spark.
|
|
2993
|
+
*
|
|
2994
|
+
* @example
|
|
2995
|
+
* esr-2.1
|
|
2996
|
+
*/
|
|
2671
2997
|
releaseVersion?: string;
|
|
2672
2998
|
/**
|
|
2673
2999
|
* @remarks
|
|
2674
|
-
* The
|
|
3000
|
+
* The session ID.
|
|
2675
3001
|
*
|
|
2676
3002
|
* @example
|
|
2677
3003
|
* sc-123131
|
|
@@ -2679,7 +3005,7 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2679
3005
|
sessionClusterId?: string;
|
|
2680
3006
|
/**
|
|
2681
3007
|
* @remarks
|
|
2682
|
-
* The status of the
|
|
3008
|
+
* The status of the session.
|
|
2683
3009
|
*
|
|
2684
3010
|
* @example
|
|
2685
3011
|
* Running
|
|
@@ -2687,7 +3013,7 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2687
3013
|
state?: string;
|
|
2688
3014
|
/**
|
|
2689
3015
|
* @remarks
|
|
2690
|
-
* The details of the
|
|
3016
|
+
* The details of the most recent status change of the session.
|
|
2691
3017
|
*/
|
|
2692
3018
|
stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
|
|
2693
3019
|
/**
|
|
@@ -2706,6 +3032,13 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2706
3032
|
* test_user
|
|
2707
3033
|
*/
|
|
2708
3034
|
userName?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* @remarks
|
|
3037
|
+
* The Spark UI of the session.
|
|
3038
|
+
*
|
|
3039
|
+
* @example
|
|
3040
|
+
* http://spark-ui-xxxx
|
|
3041
|
+
*/
|
|
2709
3042
|
webUI?: string;
|
|
2710
3043
|
/**
|
|
2711
3044
|
* @remarks
|
|
@@ -3166,7 +3499,7 @@ export default class Client extends OpenApi {
|
|
|
3166
3499
|
*/
|
|
3167
3500
|
cancelJobRun(workspaceId: string, jobRunId: string, request: CancelJobRunRequest): Promise<CancelJobRunResponse>;
|
|
3168
3501
|
/**
|
|
3169
|
-
*
|
|
3502
|
+
* Creates an SQL query task.
|
|
3170
3503
|
*
|
|
3171
3504
|
* @param request - CreateSqlStatementRequest
|
|
3172
3505
|
* @param headers - map
|
|
@@ -3177,7 +3510,7 @@ export default class Client extends OpenApi {
|
|
|
3177
3510
|
[key: string]: string;
|
|
3178
3511
|
}, runtime: $Util.RuntimeOptions): Promise<CreateSqlStatementResponse>;
|
|
3179
3512
|
/**
|
|
3180
|
-
*
|
|
3513
|
+
* Creates an SQL query task.
|
|
3181
3514
|
*
|
|
3182
3515
|
* @param request - CreateSqlStatementRequest
|
|
3183
3516
|
* @returns CreateSqlStatementResponse
|
|
@@ -3202,7 +3535,7 @@ export default class Client extends OpenApi {
|
|
|
3202
3535
|
*/
|
|
3203
3536
|
getJobRun(workspaceId: string, jobRunId: string, request: GetJobRunRequest): Promise<GetJobRunResponse>;
|
|
3204
3537
|
/**
|
|
3205
|
-
*
|
|
3538
|
+
* Queries the status of an SQL query task.
|
|
3206
3539
|
*
|
|
3207
3540
|
* @param request - GetSqlStatementRequest
|
|
3208
3541
|
* @param headers - map
|
|
@@ -3213,7 +3546,7 @@ export default class Client extends OpenApi {
|
|
|
3213
3546
|
[key: string]: string;
|
|
3214
3547
|
}, runtime: $Util.RuntimeOptions): Promise<GetSqlStatementResponse>;
|
|
3215
3548
|
/**
|
|
3216
|
-
*
|
|
3549
|
+
* Queries the status of an SQL query task.
|
|
3217
3550
|
*
|
|
3218
3551
|
* @param request - GetSqlStatementRequest
|
|
3219
3552
|
* @returns GetSqlStatementResponse
|
|
@@ -3256,7 +3589,25 @@ export default class Client extends OpenApi {
|
|
|
3256
3589
|
*/
|
|
3257
3590
|
listJobRuns(workspaceId: string, request: ListJobRunsRequest): Promise<ListJobRunsResponse>;
|
|
3258
3591
|
/**
|
|
3259
|
-
*
|
|
3592
|
+
* 获取日志内容
|
|
3593
|
+
*
|
|
3594
|
+
* @param request - ListLogContentsRequest
|
|
3595
|
+
* @param headers - map
|
|
3596
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3597
|
+
* @returns ListLogContentsResponse
|
|
3598
|
+
*/
|
|
3599
|
+
listLogContentsWithOptions(workspaceId: string, request: ListLogContentsRequest, headers: {
|
|
3600
|
+
[key: string]: string;
|
|
3601
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListLogContentsResponse>;
|
|
3602
|
+
/**
|
|
3603
|
+
* 获取日志内容
|
|
3604
|
+
*
|
|
3605
|
+
* @param request - ListLogContentsRequest
|
|
3606
|
+
* @returns ListLogContentsResponse
|
|
3607
|
+
*/
|
|
3608
|
+
listLogContents(workspaceId: string, request: ListLogContentsRequest): Promise<ListLogContentsResponse>;
|
|
3609
|
+
/**
|
|
3610
|
+
* Queries the list of published versions of E-MapReduce (EMR) Serverless Spark.
|
|
3260
3611
|
*
|
|
3261
3612
|
* @param request - ListReleaseVersionsRequest
|
|
3262
3613
|
* @param headers - map
|
|
@@ -3267,14 +3618,14 @@ export default class Client extends OpenApi {
|
|
|
3267
3618
|
[key: string]: string;
|
|
3268
3619
|
}, runtime: $Util.RuntimeOptions): Promise<ListReleaseVersionsResponse>;
|
|
3269
3620
|
/**
|
|
3270
|
-
*
|
|
3621
|
+
* Queries the list of published versions of E-MapReduce (EMR) Serverless Spark.
|
|
3271
3622
|
*
|
|
3272
3623
|
* @param request - ListReleaseVersionsRequest
|
|
3273
3624
|
* @returns ListReleaseVersionsResponse
|
|
3274
3625
|
*/
|
|
3275
3626
|
listReleaseVersions(request: ListReleaseVersionsRequest): Promise<ListReleaseVersionsResponse>;
|
|
3276
3627
|
/**
|
|
3277
|
-
*
|
|
3628
|
+
* Queries a list of sessions.
|
|
3278
3629
|
*
|
|
3279
3630
|
* @param request - ListSessionClustersRequest
|
|
3280
3631
|
* @param headers - map
|
|
@@ -3285,7 +3636,7 @@ export default class Client extends OpenApi {
|
|
|
3285
3636
|
[key: string]: string;
|
|
3286
3637
|
}, runtime: $Util.RuntimeOptions): Promise<ListSessionClustersResponse>;
|
|
3287
3638
|
/**
|
|
3288
|
-
*
|
|
3639
|
+
* Queries a list of sessions.
|
|
3289
3640
|
*
|
|
3290
3641
|
* @param request - ListSessionClustersRequest
|
|
3291
3642
|
* @returns ListSessionClustersResponse
|
|
@@ -3346,7 +3697,43 @@ export default class Client extends OpenApi {
|
|
|
3346
3697
|
*/
|
|
3347
3698
|
startJobRun(workspaceId: string, request: StartJobRunRequest): Promise<StartJobRunResponse>;
|
|
3348
3699
|
/**
|
|
3349
|
-
*
|
|
3700
|
+
* Starts a session.
|
|
3701
|
+
*
|
|
3702
|
+
* @param request - StartSessionClusterRequest
|
|
3703
|
+
* @param headers - map
|
|
3704
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3705
|
+
* @returns StartSessionClusterResponse
|
|
3706
|
+
*/
|
|
3707
|
+
startSessionClusterWithOptions(workspaceId: string, request: StartSessionClusterRequest, headers: {
|
|
3708
|
+
[key: string]: string;
|
|
3709
|
+
}, runtime: $Util.RuntimeOptions): Promise<StartSessionClusterResponse>;
|
|
3710
|
+
/**
|
|
3711
|
+
* Starts a session.
|
|
3712
|
+
*
|
|
3713
|
+
* @param request - StartSessionClusterRequest
|
|
3714
|
+
* @returns StartSessionClusterResponse
|
|
3715
|
+
*/
|
|
3716
|
+
startSessionCluster(workspaceId: string, request: StartSessionClusterRequest): Promise<StartSessionClusterResponse>;
|
|
3717
|
+
/**
|
|
3718
|
+
* Stops a session.
|
|
3719
|
+
*
|
|
3720
|
+
* @param request - StopSessionClusterRequest
|
|
3721
|
+
* @param headers - map
|
|
3722
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3723
|
+
* @returns StopSessionClusterResponse
|
|
3724
|
+
*/
|
|
3725
|
+
stopSessionClusterWithOptions(workspaceId: string, request: StopSessionClusterRequest, headers: {
|
|
3726
|
+
[key: string]: string;
|
|
3727
|
+
}, runtime: $Util.RuntimeOptions): Promise<StopSessionClusterResponse>;
|
|
3728
|
+
/**
|
|
3729
|
+
* Stops a session.
|
|
3730
|
+
*
|
|
3731
|
+
* @param request - StopSessionClusterRequest
|
|
3732
|
+
* @returns StopSessionClusterResponse
|
|
3733
|
+
*/
|
|
3734
|
+
stopSessionCluster(workspaceId: string, request: StopSessionClusterRequest): Promise<StopSessionClusterResponse>;
|
|
3735
|
+
/**
|
|
3736
|
+
* Terminates an SQL query task.
|
|
3350
3737
|
*
|
|
3351
3738
|
* @param request - TerminateSqlStatementRequest
|
|
3352
3739
|
* @param headers - map
|
|
@@ -3357,7 +3744,7 @@ export default class Client extends OpenApi {
|
|
|
3357
3744
|
[key: string]: string;
|
|
3358
3745
|
}, runtime: $Util.RuntimeOptions): Promise<TerminateSqlStatementResponse>;
|
|
3359
3746
|
/**
|
|
3360
|
-
*
|
|
3747
|
+
* Terminates an SQL query task.
|
|
3361
3748
|
*
|
|
3362
3749
|
* @param request - TerminateSqlStatementRequest
|
|
3363
3750
|
* @returns TerminateSqlStatementResponse
|