@alicloud/emr-serverless-spark20230808 1.5.0 → 1.7.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 +509 -26
- package/dist/client.js +445 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +801 -58
package/dist/client.d.ts
CHANGED
|
@@ -9,12 +9,14 @@ export declare class Artifact extends $tea.Model {
|
|
|
9
9
|
* This parameter is required.
|
|
10
10
|
*/
|
|
11
11
|
bizId?: string;
|
|
12
|
+
catagoryBizId?: string;
|
|
12
13
|
/**
|
|
13
14
|
* @remarks
|
|
14
15
|
* This parameter is required.
|
|
15
16
|
*/
|
|
16
17
|
creator?: number;
|
|
17
18
|
credential?: Credential;
|
|
19
|
+
fullPath?: string[];
|
|
18
20
|
/**
|
|
19
21
|
* @remarks
|
|
20
22
|
* This parameter is required.
|
|
@@ -307,11 +309,13 @@ export declare class Task extends $tea.Model {
|
|
|
307
309
|
* This parameter is required.
|
|
308
310
|
*/
|
|
309
311
|
creator?: number;
|
|
312
|
+
credential?: TaskCredential;
|
|
310
313
|
defaultCatalogId?: string;
|
|
311
314
|
defaultDatabase?: string;
|
|
312
315
|
defaultResourceQueueId?: string;
|
|
313
316
|
defaultSqlComputeId?: string;
|
|
314
317
|
deploymentId?: string;
|
|
318
|
+
environmentId?: string;
|
|
315
319
|
extraArtifactIds?: string[];
|
|
316
320
|
extraSparkSubmitParams?: string;
|
|
317
321
|
files?: string[];
|
|
@@ -708,7 +712,7 @@ export declare class CreateSqlStatementRequest extends $tea.Model {
|
|
|
708
712
|
limit?: number;
|
|
709
713
|
/**
|
|
710
714
|
* @remarks
|
|
711
|
-
* The SQL
|
|
715
|
+
* The SQL session ID. You can create an SQL session in the workspace created in EMR Serverless Spark.
|
|
712
716
|
*
|
|
713
717
|
* @example
|
|
714
718
|
* sc-dfahdfjafhajd****
|
|
@@ -831,6 +835,58 @@ export declare class GetJobRunResponse extends $tea.Model {
|
|
|
831
835
|
[key: string]: any;
|
|
832
836
|
});
|
|
833
837
|
}
|
|
838
|
+
export declare class GetSessionClusterRequest extends $tea.Model {
|
|
839
|
+
/**
|
|
840
|
+
* @example
|
|
841
|
+
* cn-hangzhou
|
|
842
|
+
*/
|
|
843
|
+
regionId?: string;
|
|
844
|
+
static names(): {
|
|
845
|
+
[key: string]: string;
|
|
846
|
+
};
|
|
847
|
+
static types(): {
|
|
848
|
+
[key: string]: any;
|
|
849
|
+
};
|
|
850
|
+
constructor(map?: {
|
|
851
|
+
[key: string]: any;
|
|
852
|
+
});
|
|
853
|
+
}
|
|
854
|
+
export declare class GetSessionClusterResponseBody extends $tea.Model {
|
|
855
|
+
/**
|
|
856
|
+
* @remarks
|
|
857
|
+
* 请求ID。
|
|
858
|
+
*
|
|
859
|
+
* @example
|
|
860
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
861
|
+
*/
|
|
862
|
+
requestId?: string;
|
|
863
|
+
sessionCluster?: GetSessionClusterResponseBodySessionCluster;
|
|
864
|
+
static names(): {
|
|
865
|
+
[key: string]: string;
|
|
866
|
+
};
|
|
867
|
+
static types(): {
|
|
868
|
+
[key: string]: any;
|
|
869
|
+
};
|
|
870
|
+
constructor(map?: {
|
|
871
|
+
[key: string]: any;
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
export declare class GetSessionClusterResponse extends $tea.Model {
|
|
875
|
+
headers?: {
|
|
876
|
+
[key: string]: string;
|
|
877
|
+
};
|
|
878
|
+
statusCode?: number;
|
|
879
|
+
body?: GetSessionClusterResponseBody;
|
|
880
|
+
static names(): {
|
|
881
|
+
[key: string]: string;
|
|
882
|
+
};
|
|
883
|
+
static types(): {
|
|
884
|
+
[key: string]: any;
|
|
885
|
+
};
|
|
886
|
+
constructor(map?: {
|
|
887
|
+
[key: string]: any;
|
|
888
|
+
});
|
|
889
|
+
}
|
|
834
890
|
export declare class GetSqlStatementRequest extends $tea.Model {
|
|
835
891
|
/**
|
|
836
892
|
* @remarks
|
|
@@ -893,12 +949,16 @@ export declare class GetSqlStatementResponse extends $tea.Model {
|
|
|
893
949
|
export declare class GrantRoleToUsersRequest extends $tea.Model {
|
|
894
950
|
/**
|
|
895
951
|
* @remarks
|
|
896
|
-
* The Alibaba Cloud Resource Name (ARN) of the role.
|
|
952
|
+
* The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
897
953
|
*
|
|
898
954
|
* @example
|
|
899
955
|
* acs:emr::w-975bcfda9625****:role/Owner
|
|
900
956
|
*/
|
|
901
957
|
roleArn?: string;
|
|
958
|
+
/**
|
|
959
|
+
* @remarks
|
|
960
|
+
* The user ARNs.
|
|
961
|
+
*/
|
|
902
962
|
userArns?: string[];
|
|
903
963
|
/**
|
|
904
964
|
* @remarks
|
|
@@ -1199,6 +1259,69 @@ export declare class ListJobRunsResponse extends $tea.Model {
|
|
|
1199
1259
|
[key: string]: any;
|
|
1200
1260
|
});
|
|
1201
1261
|
}
|
|
1262
|
+
export declare class ListLogContentsRequest extends $tea.Model {
|
|
1263
|
+
fileName?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* @example
|
|
1266
|
+
* 9999
|
|
1267
|
+
*/
|
|
1268
|
+
length?: number;
|
|
1269
|
+
/**
|
|
1270
|
+
* @example
|
|
1271
|
+
* 0
|
|
1272
|
+
*/
|
|
1273
|
+
offset?: number;
|
|
1274
|
+
/**
|
|
1275
|
+
* @example
|
|
1276
|
+
* cn-hangzhou
|
|
1277
|
+
*/
|
|
1278
|
+
regionId?: string;
|
|
1279
|
+
static names(): {
|
|
1280
|
+
[key: string]: string;
|
|
1281
|
+
};
|
|
1282
|
+
static types(): {
|
|
1283
|
+
[key: string]: any;
|
|
1284
|
+
};
|
|
1285
|
+
constructor(map?: {
|
|
1286
|
+
[key: string]: any;
|
|
1287
|
+
});
|
|
1288
|
+
}
|
|
1289
|
+
export declare class ListLogContentsResponseBody extends $tea.Model {
|
|
1290
|
+
listLogContent?: ListLogContentsResponseBodyListLogContent;
|
|
1291
|
+
/**
|
|
1292
|
+
* @remarks
|
|
1293
|
+
* 请求ID。
|
|
1294
|
+
*
|
|
1295
|
+
* @example
|
|
1296
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
1297
|
+
*/
|
|
1298
|
+
requestId?: string;
|
|
1299
|
+
static names(): {
|
|
1300
|
+
[key: string]: string;
|
|
1301
|
+
};
|
|
1302
|
+
static types(): {
|
|
1303
|
+
[key: string]: any;
|
|
1304
|
+
};
|
|
1305
|
+
constructor(map?: {
|
|
1306
|
+
[key: string]: any;
|
|
1307
|
+
});
|
|
1308
|
+
}
|
|
1309
|
+
export declare class ListLogContentsResponse extends $tea.Model {
|
|
1310
|
+
headers?: {
|
|
1311
|
+
[key: string]: string;
|
|
1312
|
+
};
|
|
1313
|
+
statusCode?: number;
|
|
1314
|
+
body?: ListLogContentsResponseBody;
|
|
1315
|
+
static names(): {
|
|
1316
|
+
[key: string]: string;
|
|
1317
|
+
};
|
|
1318
|
+
static types(): {
|
|
1319
|
+
[key: string]: any;
|
|
1320
|
+
};
|
|
1321
|
+
constructor(map?: {
|
|
1322
|
+
[key: string]: any;
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1202
1325
|
export declare class ListReleaseVersionsRequest extends $tea.Model {
|
|
1203
1326
|
/**
|
|
1204
1327
|
* @remarks
|
|
@@ -1325,6 +1448,19 @@ export declare class ListReleaseVersionsResponse extends $tea.Model {
|
|
|
1325
1448
|
});
|
|
1326
1449
|
}
|
|
1327
1450
|
export declare class ListSessionClustersRequest extends $tea.Model {
|
|
1451
|
+
/**
|
|
1452
|
+
* @remarks
|
|
1453
|
+
* The session type.
|
|
1454
|
+
*
|
|
1455
|
+
* Valid values:
|
|
1456
|
+
*
|
|
1457
|
+
* * NOTEBOOK
|
|
1458
|
+
* * THRIFT
|
|
1459
|
+
* * SQL
|
|
1460
|
+
*
|
|
1461
|
+
* @example
|
|
1462
|
+
* SQL
|
|
1463
|
+
*/
|
|
1328
1464
|
kind?: string;
|
|
1329
1465
|
/**
|
|
1330
1466
|
* @remarks
|
|
@@ -1403,7 +1539,7 @@ export declare class ListSessionClustersResponseBody extends $tea.Model {
|
|
|
1403
1539
|
requestId?: string;
|
|
1404
1540
|
/**
|
|
1405
1541
|
* @remarks
|
|
1406
|
-
* The
|
|
1542
|
+
* The list of sessions.
|
|
1407
1543
|
*/
|
|
1408
1544
|
sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
|
|
1409
1545
|
/**
|
|
@@ -1792,16 +1928,25 @@ export declare class StartJobRunResponse extends $tea.Model {
|
|
|
1792
1928
|
}
|
|
1793
1929
|
export declare class StartSessionClusterRequest extends $tea.Model {
|
|
1794
1930
|
/**
|
|
1931
|
+
* @remarks
|
|
1932
|
+
* The queue name.
|
|
1933
|
+
*
|
|
1795
1934
|
* @example
|
|
1796
1935
|
* root_queue
|
|
1797
1936
|
*/
|
|
1798
1937
|
queueName?: string;
|
|
1799
1938
|
/**
|
|
1939
|
+
* @remarks
|
|
1940
|
+
* The session ID.
|
|
1941
|
+
*
|
|
1800
1942
|
* @example
|
|
1801
1943
|
* sc-xxxxxxxxxxx
|
|
1802
1944
|
*/
|
|
1803
1945
|
sessionClusterId?: string;
|
|
1804
1946
|
/**
|
|
1947
|
+
* @remarks
|
|
1948
|
+
* The region ID.
|
|
1949
|
+
*
|
|
1805
1950
|
* @example
|
|
1806
1951
|
* cn-hangzhou
|
|
1807
1952
|
*/
|
|
@@ -1819,7 +1964,7 @@ export declare class StartSessionClusterRequest extends $tea.Model {
|
|
|
1819
1964
|
export declare class StartSessionClusterResponseBody extends $tea.Model {
|
|
1820
1965
|
/**
|
|
1821
1966
|
* @remarks
|
|
1822
|
-
*
|
|
1967
|
+
* The request ID.
|
|
1823
1968
|
*
|
|
1824
1969
|
* @example
|
|
1825
1970
|
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
@@ -1827,7 +1972,7 @@ export declare class StartSessionClusterResponseBody extends $tea.Model {
|
|
|
1827
1972
|
requestId?: string;
|
|
1828
1973
|
/**
|
|
1829
1974
|
* @remarks
|
|
1830
|
-
*
|
|
1975
|
+
* The workspace ID.
|
|
1831
1976
|
*
|
|
1832
1977
|
* @example
|
|
1833
1978
|
* w-******
|
|
@@ -1861,16 +2006,25 @@ export declare class StartSessionClusterResponse extends $tea.Model {
|
|
|
1861
2006
|
}
|
|
1862
2007
|
export declare class StopSessionClusterRequest extends $tea.Model {
|
|
1863
2008
|
/**
|
|
2009
|
+
* @remarks
|
|
2010
|
+
* The queue name.
|
|
2011
|
+
*
|
|
1864
2012
|
* @example
|
|
1865
2013
|
* root_queue
|
|
1866
2014
|
*/
|
|
1867
2015
|
queueName?: string;
|
|
1868
2016
|
/**
|
|
2017
|
+
* @remarks
|
|
2018
|
+
* The session ID.
|
|
2019
|
+
*
|
|
1869
2020
|
* @example
|
|
1870
2021
|
* sc-xxxxxxxxxxxx
|
|
1871
2022
|
*/
|
|
1872
2023
|
sessionClusterId?: string;
|
|
1873
2024
|
/**
|
|
2025
|
+
* @remarks
|
|
2026
|
+
* The region ID.
|
|
2027
|
+
*
|
|
1874
2028
|
* @example
|
|
1875
2029
|
* cn-hangzhou
|
|
1876
2030
|
*/
|
|
@@ -1888,7 +2042,7 @@ export declare class StopSessionClusterRequest extends $tea.Model {
|
|
|
1888
2042
|
export declare class StopSessionClusterResponseBody extends $tea.Model {
|
|
1889
2043
|
/**
|
|
1890
2044
|
* @remarks
|
|
1891
|
-
*
|
|
2045
|
+
* The request ID.
|
|
1892
2046
|
*
|
|
1893
2047
|
* @example
|
|
1894
2048
|
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
@@ -1896,7 +2050,7 @@ export declare class StopSessionClusterResponseBody extends $tea.Model {
|
|
|
1896
2050
|
requestId?: string;
|
|
1897
2051
|
/**
|
|
1898
2052
|
* @remarks
|
|
1899
|
-
*
|
|
2053
|
+
* The workspace ID.
|
|
1900
2054
|
*
|
|
1901
2055
|
* @example
|
|
1902
2056
|
* w-******
|
|
@@ -2052,6 +2206,25 @@ export declare class SqlOutputSchema extends $tea.Model {
|
|
|
2052
2206
|
[key: string]: any;
|
|
2053
2207
|
});
|
|
2054
2208
|
}
|
|
2209
|
+
export declare class TaskCredential extends $tea.Model {
|
|
2210
|
+
accessId?: string;
|
|
2211
|
+
accessUrl?: string;
|
|
2212
|
+
expire?: number;
|
|
2213
|
+
host?: string;
|
|
2214
|
+
path?: string;
|
|
2215
|
+
policy?: string;
|
|
2216
|
+
securityToken?: string;
|
|
2217
|
+
signature?: string;
|
|
2218
|
+
static names(): {
|
|
2219
|
+
[key: string]: string;
|
|
2220
|
+
};
|
|
2221
|
+
static types(): {
|
|
2222
|
+
[key: string]: any;
|
|
2223
|
+
};
|
|
2224
|
+
constructor(map?: {
|
|
2225
|
+
[key: string]: any;
|
|
2226
|
+
});
|
|
2227
|
+
}
|
|
2055
2228
|
export declare class CreateSqlStatementResponseBodyData extends $tea.Model {
|
|
2056
2229
|
/**
|
|
2057
2230
|
* @remarks
|
|
@@ -2141,6 +2314,7 @@ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
|
|
|
2141
2314
|
* 1684119314000
|
|
2142
2315
|
*/
|
|
2143
2316
|
endTime?: number;
|
|
2317
|
+
environmentId?: string;
|
|
2144
2318
|
/**
|
|
2145
2319
|
* @remarks
|
|
2146
2320
|
* The timeout period of the job.
|
|
@@ -2252,6 +2426,198 @@ export declare class GetJobRunResponseBodyJobRun extends $tea.Model {
|
|
|
2252
2426
|
[key: string]: any;
|
|
2253
2427
|
});
|
|
2254
2428
|
}
|
|
2429
|
+
export declare class GetSessionClusterResponseBodySessionClusterApplicationConfigs extends $tea.Model {
|
|
2430
|
+
/**
|
|
2431
|
+
* @example
|
|
2432
|
+
* spark-defaults.conf
|
|
2433
|
+
*/
|
|
2434
|
+
configFileName?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* @example
|
|
2437
|
+
* spark.app.name
|
|
2438
|
+
*/
|
|
2439
|
+
configItemKey?: string;
|
|
2440
|
+
/**
|
|
2441
|
+
* @example
|
|
2442
|
+
* test
|
|
2443
|
+
*/
|
|
2444
|
+
configItemValue?: string;
|
|
2445
|
+
static names(): {
|
|
2446
|
+
[key: string]: string;
|
|
2447
|
+
};
|
|
2448
|
+
static types(): {
|
|
2449
|
+
[key: string]: any;
|
|
2450
|
+
};
|
|
2451
|
+
constructor(map?: {
|
|
2452
|
+
[key: string]: any;
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2455
|
+
export declare class GetSessionClusterResponseBodySessionClusterAutoStartConfiguration extends $tea.Model {
|
|
2456
|
+
/**
|
|
2457
|
+
* @example
|
|
2458
|
+
* false
|
|
2459
|
+
*/
|
|
2460
|
+
enable?: boolean;
|
|
2461
|
+
static names(): {
|
|
2462
|
+
[key: string]: string;
|
|
2463
|
+
};
|
|
2464
|
+
static types(): {
|
|
2465
|
+
[key: string]: any;
|
|
2466
|
+
};
|
|
2467
|
+
constructor(map?: {
|
|
2468
|
+
[key: string]: any;
|
|
2469
|
+
});
|
|
2470
|
+
}
|
|
2471
|
+
export declare class GetSessionClusterResponseBodySessionClusterAutoStopConfiguration extends $tea.Model {
|
|
2472
|
+
/**
|
|
2473
|
+
* @example
|
|
2474
|
+
* false
|
|
2475
|
+
*/
|
|
2476
|
+
enable?: boolean;
|
|
2477
|
+
/**
|
|
2478
|
+
* @example
|
|
2479
|
+
* 60
|
|
2480
|
+
*/
|
|
2481
|
+
idleTimeoutMinutes?: number;
|
|
2482
|
+
static names(): {
|
|
2483
|
+
[key: string]: string;
|
|
2484
|
+
};
|
|
2485
|
+
static types(): {
|
|
2486
|
+
[key: string]: any;
|
|
2487
|
+
};
|
|
2488
|
+
constructor(map?: {
|
|
2489
|
+
[key: string]: any;
|
|
2490
|
+
});
|
|
2491
|
+
}
|
|
2492
|
+
export declare class GetSessionClusterResponseBodySessionClusterStateChangeReason extends $tea.Model {
|
|
2493
|
+
/**
|
|
2494
|
+
* @example
|
|
2495
|
+
* 1000000
|
|
2496
|
+
*/
|
|
2497
|
+
code?: string;
|
|
2498
|
+
/**
|
|
2499
|
+
* @example
|
|
2500
|
+
* ok
|
|
2501
|
+
*/
|
|
2502
|
+
message?: string;
|
|
2503
|
+
static names(): {
|
|
2504
|
+
[key: string]: string;
|
|
2505
|
+
};
|
|
2506
|
+
static types(): {
|
|
2507
|
+
[key: string]: any;
|
|
2508
|
+
};
|
|
2509
|
+
constructor(map?: {
|
|
2510
|
+
[key: string]: any;
|
|
2511
|
+
});
|
|
2512
|
+
}
|
|
2513
|
+
export declare class GetSessionClusterResponseBodySessionCluster extends $tea.Model {
|
|
2514
|
+
applicationConfigs?: GetSessionClusterResponseBodySessionClusterApplicationConfigs[];
|
|
2515
|
+
autoStartConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStartConfiguration;
|
|
2516
|
+
autoStopConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStopConfiguration;
|
|
2517
|
+
/**
|
|
2518
|
+
* @example
|
|
2519
|
+
* esr-2.2(Java Runtime)
|
|
2520
|
+
*/
|
|
2521
|
+
displayReleaseVersion?: string;
|
|
2522
|
+
/**
|
|
2523
|
+
* @example
|
|
2524
|
+
* your.domain.com
|
|
2525
|
+
*/
|
|
2526
|
+
domain?: string;
|
|
2527
|
+
domainInner?: string;
|
|
2528
|
+
/**
|
|
2529
|
+
* @example
|
|
2530
|
+
* TSK-xxxxxxxx
|
|
2531
|
+
*/
|
|
2532
|
+
draftId?: string;
|
|
2533
|
+
/**
|
|
2534
|
+
* @example
|
|
2535
|
+
* env-cpv569tlhtgndjl86t40
|
|
2536
|
+
*/
|
|
2537
|
+
envId?: string;
|
|
2538
|
+
/**
|
|
2539
|
+
* @example
|
|
2540
|
+
* false
|
|
2541
|
+
*/
|
|
2542
|
+
fusion?: boolean;
|
|
2543
|
+
gmtCreate?: number;
|
|
2544
|
+
/**
|
|
2545
|
+
* @example
|
|
2546
|
+
* SQL
|
|
2547
|
+
*/
|
|
2548
|
+
kind?: string;
|
|
2549
|
+
/**
|
|
2550
|
+
* @example
|
|
2551
|
+
* test
|
|
2552
|
+
*/
|
|
2553
|
+
name?: string;
|
|
2554
|
+
/**
|
|
2555
|
+
* @remarks
|
|
2556
|
+
* 作业实例名称。
|
|
2557
|
+
*
|
|
2558
|
+
* @example
|
|
2559
|
+
* jobName
|
|
2560
|
+
*/
|
|
2561
|
+
queueName?: string;
|
|
2562
|
+
/**
|
|
2563
|
+
* @example
|
|
2564
|
+
* esr-2.2(Java Runtime)
|
|
2565
|
+
*/
|
|
2566
|
+
releaseVersion?: string;
|
|
2567
|
+
/**
|
|
2568
|
+
* @remarks
|
|
2569
|
+
* 交互式作业会话id。
|
|
2570
|
+
*
|
|
2571
|
+
* @example
|
|
2572
|
+
* 1234abcd-12ab-34cd-56ef-1234567890ab
|
|
2573
|
+
*/
|
|
2574
|
+
sessionClusterId?: string;
|
|
2575
|
+
startTime?: number;
|
|
2576
|
+
/**
|
|
2577
|
+
* @remarks
|
|
2578
|
+
* 作业状态。
|
|
2579
|
+
*
|
|
2580
|
+
* @example
|
|
2581
|
+
* Running
|
|
2582
|
+
*/
|
|
2583
|
+
state?: string;
|
|
2584
|
+
stateChangeReason?: GetSessionClusterResponseBodySessionClusterStateChangeReason;
|
|
2585
|
+
/**
|
|
2586
|
+
* @remarks
|
|
2587
|
+
* 任务实例ID。
|
|
2588
|
+
*
|
|
2589
|
+
* @example
|
|
2590
|
+
* jr-231231
|
|
2591
|
+
*/
|
|
2592
|
+
userId?: string;
|
|
2593
|
+
/**
|
|
2594
|
+
* @example
|
|
2595
|
+
* user1
|
|
2596
|
+
*/
|
|
2597
|
+
userName?: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* @example
|
|
2600
|
+
* https://spark-ui/link
|
|
2601
|
+
*/
|
|
2602
|
+
webUI?: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* @remarks
|
|
2605
|
+
* 工作空间id。
|
|
2606
|
+
*
|
|
2607
|
+
* @example
|
|
2608
|
+
* w-1234abcd
|
|
2609
|
+
*/
|
|
2610
|
+
workspaceId?: string;
|
|
2611
|
+
static names(): {
|
|
2612
|
+
[key: string]: string;
|
|
2613
|
+
};
|
|
2614
|
+
static types(): {
|
|
2615
|
+
[key: string]: any;
|
|
2616
|
+
};
|
|
2617
|
+
constructor(map?: {
|
|
2618
|
+
[key: string]: any;
|
|
2619
|
+
});
|
|
2620
|
+
}
|
|
2255
2621
|
export declare class GetSqlStatementResponseBodyDataSqlOutputs extends $tea.Model {
|
|
2256
2622
|
/**
|
|
2257
2623
|
* @remarks
|
|
@@ -2596,6 +2962,39 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
|
|
|
2596
2962
|
[key: string]: any;
|
|
2597
2963
|
});
|
|
2598
2964
|
}
|
|
2965
|
+
export declare class ListLogContentsResponseBodyListLogContentContents extends $tea.Model {
|
|
2966
|
+
/**
|
|
2967
|
+
* @example
|
|
2968
|
+
* spark pi is 3.14\\n
|
|
2969
|
+
*/
|
|
2970
|
+
lineContent?: string;
|
|
2971
|
+
static names(): {
|
|
2972
|
+
[key: string]: string;
|
|
2973
|
+
};
|
|
2974
|
+
static types(): {
|
|
2975
|
+
[key: string]: any;
|
|
2976
|
+
};
|
|
2977
|
+
constructor(map?: {
|
|
2978
|
+
[key: string]: any;
|
|
2979
|
+
});
|
|
2980
|
+
}
|
|
2981
|
+
export declare class ListLogContentsResponseBodyListLogContent extends $tea.Model {
|
|
2982
|
+
contents?: ListLogContentsResponseBodyListLogContentContents[];
|
|
2983
|
+
/**
|
|
2984
|
+
* @example
|
|
2985
|
+
* 10
|
|
2986
|
+
*/
|
|
2987
|
+
totalLength?: number;
|
|
2988
|
+
static names(): {
|
|
2989
|
+
[key: string]: string;
|
|
2990
|
+
};
|
|
2991
|
+
static types(): {
|
|
2992
|
+
[key: string]: any;
|
|
2993
|
+
};
|
|
2994
|
+
constructor(map?: {
|
|
2995
|
+
[key: string]: any;
|
|
2996
|
+
});
|
|
2997
|
+
}
|
|
2599
2998
|
export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
|
|
2600
2999
|
/**
|
|
2601
3000
|
* @remarks
|
|
@@ -2695,7 +3094,7 @@ export declare class ListSessionClustersResponseBodySessionClustersApplicationCo
|
|
|
2695
3094
|
configFileName?: string;
|
|
2696
3095
|
/**
|
|
2697
3096
|
* @remarks
|
|
2698
|
-
* The key of the configuration
|
|
3097
|
+
* The key of the configuration.
|
|
2699
3098
|
*
|
|
2700
3099
|
* @example
|
|
2701
3100
|
* spark.app.name
|
|
@@ -2703,7 +3102,7 @@ export declare class ListSessionClustersResponseBodySessionClustersApplicationCo
|
|
|
2703
3102
|
configItemKey?: string;
|
|
2704
3103
|
/**
|
|
2705
3104
|
* @remarks
|
|
2706
|
-
* The
|
|
3105
|
+
* The configuration value.
|
|
2707
3106
|
*
|
|
2708
3107
|
* @example
|
|
2709
3108
|
* test_application
|
|
@@ -2749,7 +3148,7 @@ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfi
|
|
|
2749
3148
|
enable?: boolean;
|
|
2750
3149
|
/**
|
|
2751
3150
|
* @remarks
|
|
2752
|
-
* The idle timeout period. The
|
|
3151
|
+
* The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
|
|
2753
3152
|
*
|
|
2754
3153
|
* @example
|
|
2755
3154
|
* 45
|
|
@@ -2795,7 +3194,7 @@ export declare class ListSessionClustersResponseBodySessionClustersStateChangeRe
|
|
|
2795
3194
|
export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
|
|
2796
3195
|
/**
|
|
2797
3196
|
* @remarks
|
|
2798
|
-
* The
|
|
3197
|
+
* The session configurations, which are equivalent to the configurations of the Spark job.
|
|
2799
3198
|
*/
|
|
2800
3199
|
applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
|
|
2801
3200
|
/**
|
|
@@ -2805,17 +3204,50 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2805
3204
|
autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
|
|
2806
3205
|
/**
|
|
2807
3206
|
* @remarks
|
|
2808
|
-
* The automatic termination
|
|
3207
|
+
* The configurations of automatic termination.
|
|
2809
3208
|
*/
|
|
2810
3209
|
autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
|
|
3210
|
+
/**
|
|
3211
|
+
* @remarks
|
|
3212
|
+
* The version of the Spark engine.
|
|
3213
|
+
*/
|
|
2811
3214
|
displayReleaseVersion?: string;
|
|
2812
3215
|
domain?: string;
|
|
3216
|
+
domainInner?: string;
|
|
3217
|
+
/**
|
|
3218
|
+
* @remarks
|
|
3219
|
+
* The ID of the job that is associated with the session.
|
|
3220
|
+
*
|
|
3221
|
+
* @example
|
|
3222
|
+
* TSK-xxxxxxxxx
|
|
3223
|
+
*/
|
|
2813
3224
|
draftId?: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* @remarks
|
|
3227
|
+
* Indicates whether the Fusion engine is used for acceleration.
|
|
3228
|
+
*
|
|
3229
|
+
* @example
|
|
3230
|
+
* false
|
|
3231
|
+
*/
|
|
2814
3232
|
fusion?: boolean;
|
|
3233
|
+
gmtCreate?: number;
|
|
3234
|
+
/**
|
|
3235
|
+
* @remarks
|
|
3236
|
+
* The session type.
|
|
3237
|
+
*
|
|
3238
|
+
* Valid values:
|
|
3239
|
+
*
|
|
3240
|
+
* * NOTEBOOK
|
|
3241
|
+
* * THRIFT
|
|
3242
|
+
* * SQL
|
|
3243
|
+
*
|
|
3244
|
+
* @example
|
|
3245
|
+
* SQL
|
|
3246
|
+
*/
|
|
2815
3247
|
kind?: string;
|
|
2816
3248
|
/**
|
|
2817
3249
|
* @remarks
|
|
2818
|
-
* The name of the
|
|
3250
|
+
* The name of the session.
|
|
2819
3251
|
*
|
|
2820
3252
|
* @example
|
|
2821
3253
|
* adhoc_query
|
|
@@ -2823,24 +3255,32 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2823
3255
|
name?: string;
|
|
2824
3256
|
/**
|
|
2825
3257
|
* @remarks
|
|
2826
|
-
* The name of the queue
|
|
3258
|
+
* The name of the queue that is used to run the session.
|
|
2827
3259
|
*
|
|
2828
3260
|
* @example
|
|
2829
3261
|
* dev_queue
|
|
2830
3262
|
*/
|
|
2831
3263
|
queueName?: string;
|
|
3264
|
+
/**
|
|
3265
|
+
* @remarks
|
|
3266
|
+
* The version of EMR Serverless Spark.
|
|
3267
|
+
*
|
|
3268
|
+
* @example
|
|
3269
|
+
* esr-2.1
|
|
3270
|
+
*/
|
|
2832
3271
|
releaseVersion?: string;
|
|
2833
3272
|
/**
|
|
2834
3273
|
* @remarks
|
|
2835
|
-
* The
|
|
3274
|
+
* The session ID.
|
|
2836
3275
|
*
|
|
2837
3276
|
* @example
|
|
2838
3277
|
* sc-123131
|
|
2839
3278
|
*/
|
|
2840
3279
|
sessionClusterId?: string;
|
|
3280
|
+
startTime?: number;
|
|
2841
3281
|
/**
|
|
2842
3282
|
* @remarks
|
|
2843
|
-
* The status of the
|
|
3283
|
+
* The status of the session.
|
|
2844
3284
|
*
|
|
2845
3285
|
* @example
|
|
2846
3286
|
* Running
|
|
@@ -2848,7 +3288,7 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2848
3288
|
state?: string;
|
|
2849
3289
|
/**
|
|
2850
3290
|
* @remarks
|
|
2851
|
-
* The details of the
|
|
3291
|
+
* The details of the most recent status change of the session.
|
|
2852
3292
|
*/
|
|
2853
3293
|
stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
|
|
2854
3294
|
/**
|
|
@@ -2861,12 +3301,19 @@ export declare class ListSessionClustersResponseBodySessionClusters extends $tea
|
|
|
2861
3301
|
userId?: string;
|
|
2862
3302
|
/**
|
|
2863
3303
|
* @remarks
|
|
2864
|
-
* The
|
|
3304
|
+
* The username.
|
|
2865
3305
|
*
|
|
2866
3306
|
* @example
|
|
2867
3307
|
* test_user
|
|
2868
3308
|
*/
|
|
2869
3309
|
userName?: string;
|
|
3310
|
+
/**
|
|
3311
|
+
* @remarks
|
|
3312
|
+
* The Spark UI of the session.
|
|
3313
|
+
*
|
|
3314
|
+
* @example
|
|
3315
|
+
* http://spark-ui-xxxx
|
|
3316
|
+
*/
|
|
2870
3317
|
webUI?: string;
|
|
2871
3318
|
/**
|
|
2872
3319
|
* @remarks
|
|
@@ -3362,6 +3809,24 @@ export default class Client extends OpenApi {
|
|
|
3362
3809
|
* @returns GetJobRunResponse
|
|
3363
3810
|
*/
|
|
3364
3811
|
getJobRun(workspaceId: string, jobRunId: string, request: GetJobRunRequest): Promise<GetJobRunResponse>;
|
|
3812
|
+
/**
|
|
3813
|
+
* 查询SessionCluster集群
|
|
3814
|
+
*
|
|
3815
|
+
* @param request - GetSessionClusterRequest
|
|
3816
|
+
* @param headers - map
|
|
3817
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3818
|
+
* @returns GetSessionClusterResponse
|
|
3819
|
+
*/
|
|
3820
|
+
getSessionClusterWithOptions(workspaceId: string, sessionClusterId: string, request: GetSessionClusterRequest, headers: {
|
|
3821
|
+
[key: string]: string;
|
|
3822
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetSessionClusterResponse>;
|
|
3823
|
+
/**
|
|
3824
|
+
* 查询SessionCluster集群
|
|
3825
|
+
*
|
|
3826
|
+
* @param request - GetSessionClusterRequest
|
|
3827
|
+
* @returns GetSessionClusterResponse
|
|
3828
|
+
*/
|
|
3829
|
+
getSessionCluster(workspaceId: string, sessionClusterId: string, request: GetSessionClusterRequest): Promise<GetSessionClusterResponse>;
|
|
3365
3830
|
/**
|
|
3366
3831
|
* Queries the status of an SQL query task.
|
|
3367
3832
|
*
|
|
@@ -3416,6 +3881,24 @@ export default class Client extends OpenApi {
|
|
|
3416
3881
|
* @returns ListJobRunsResponse
|
|
3417
3882
|
*/
|
|
3418
3883
|
listJobRuns(workspaceId: string, request: ListJobRunsRequest): Promise<ListJobRunsResponse>;
|
|
3884
|
+
/**
|
|
3885
|
+
* Obtains the log content.
|
|
3886
|
+
*
|
|
3887
|
+
* @param request - ListLogContentsRequest
|
|
3888
|
+
* @param headers - map
|
|
3889
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3890
|
+
* @returns ListLogContentsResponse
|
|
3891
|
+
*/
|
|
3892
|
+
listLogContentsWithOptions(workspaceId: string, request: ListLogContentsRequest, headers: {
|
|
3893
|
+
[key: string]: string;
|
|
3894
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListLogContentsResponse>;
|
|
3895
|
+
/**
|
|
3896
|
+
* Obtains the log content.
|
|
3897
|
+
*
|
|
3898
|
+
* @param request - ListLogContentsRequest
|
|
3899
|
+
* @returns ListLogContentsResponse
|
|
3900
|
+
*/
|
|
3901
|
+
listLogContents(workspaceId: string, request: ListLogContentsRequest): Promise<ListLogContentsResponse>;
|
|
3419
3902
|
/**
|
|
3420
3903
|
* Queries the list of published versions of E-MapReduce (EMR) Serverless Spark.
|
|
3421
3904
|
*
|
|
@@ -3435,7 +3918,7 @@ export default class Client extends OpenApi {
|
|
|
3435
3918
|
*/
|
|
3436
3919
|
listReleaseVersions(request: ListReleaseVersionsRequest): Promise<ListReleaseVersionsResponse>;
|
|
3437
3920
|
/**
|
|
3438
|
-
*
|
|
3921
|
+
* Queries the list of sessions.
|
|
3439
3922
|
*
|
|
3440
3923
|
* @param request - ListSessionClustersRequest
|
|
3441
3924
|
* @param headers - map
|
|
@@ -3446,14 +3929,14 @@ export default class Client extends OpenApi {
|
|
|
3446
3929
|
[key: string]: string;
|
|
3447
3930
|
}, runtime: $Util.RuntimeOptions): Promise<ListSessionClustersResponse>;
|
|
3448
3931
|
/**
|
|
3449
|
-
*
|
|
3932
|
+
* Queries the list of sessions.
|
|
3450
3933
|
*
|
|
3451
3934
|
* @param request - ListSessionClustersRequest
|
|
3452
3935
|
* @returns ListSessionClustersResponse
|
|
3453
3936
|
*/
|
|
3454
3937
|
listSessionClusters(workspaceId: string, request: ListSessionClustersRequest): Promise<ListSessionClustersResponse>;
|
|
3455
3938
|
/**
|
|
3456
|
-
*
|
|
3939
|
+
* Queries the list of queues in a Spark workspace.
|
|
3457
3940
|
*
|
|
3458
3941
|
* @param request - ListWorkspaceQueuesRequest
|
|
3459
3942
|
* @param headers - map
|
|
@@ -3464,7 +3947,7 @@ export default class Client extends OpenApi {
|
|
|
3464
3947
|
[key: string]: string;
|
|
3465
3948
|
}, runtime: $Util.RuntimeOptions): Promise<ListWorkspaceQueuesResponse>;
|
|
3466
3949
|
/**
|
|
3467
|
-
*
|
|
3950
|
+
* Queries the list of queues in a Spark workspace.
|
|
3468
3951
|
*
|
|
3469
3952
|
* @param request - ListWorkspaceQueuesRequest
|
|
3470
3953
|
* @returns ListWorkspaceQueuesResponse
|
|
@@ -3507,7 +3990,7 @@ export default class Client extends OpenApi {
|
|
|
3507
3990
|
*/
|
|
3508
3991
|
startJobRun(workspaceId: string, request: StartJobRunRequest): Promise<StartJobRunResponse>;
|
|
3509
3992
|
/**
|
|
3510
|
-
*
|
|
3993
|
+
* Starts a session.
|
|
3511
3994
|
*
|
|
3512
3995
|
* @param request - StartSessionClusterRequest
|
|
3513
3996
|
* @param headers - map
|
|
@@ -3518,14 +4001,14 @@ export default class Client extends OpenApi {
|
|
|
3518
4001
|
[key: string]: string;
|
|
3519
4002
|
}, runtime: $Util.RuntimeOptions): Promise<StartSessionClusterResponse>;
|
|
3520
4003
|
/**
|
|
3521
|
-
*
|
|
4004
|
+
* Starts a session.
|
|
3522
4005
|
*
|
|
3523
4006
|
* @param request - StartSessionClusterRequest
|
|
3524
4007
|
* @returns StartSessionClusterResponse
|
|
3525
4008
|
*/
|
|
3526
4009
|
startSessionCluster(workspaceId: string, request: StartSessionClusterRequest): Promise<StartSessionClusterResponse>;
|
|
3527
4010
|
/**
|
|
3528
|
-
*
|
|
4011
|
+
* Stops a session.
|
|
3529
4012
|
*
|
|
3530
4013
|
* @param request - StopSessionClusterRequest
|
|
3531
4014
|
* @param headers - map
|
|
@@ -3536,7 +4019,7 @@ export default class Client extends OpenApi {
|
|
|
3536
4019
|
[key: string]: string;
|
|
3537
4020
|
}, runtime: $Util.RuntimeOptions): Promise<StopSessionClusterResponse>;
|
|
3538
4021
|
/**
|
|
3539
|
-
*
|
|
4022
|
+
* Stops a session.
|
|
3540
4023
|
*
|
|
3541
4024
|
* @param request - StopSessionClusterRequest
|
|
3542
4025
|
* @returns StopSessionClusterResponse
|