@alicloud/emr-serverless-spark20230808 1.19.0 → 1.19.2
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 +4 -4
- package/dist/client.js +34 -4
- package/dist/client.js.map +1 -1
- package/dist/models/Category.d.ts +42 -0
- package/dist/models/Category.js.map +1 -1
- package/dist/models/Configuration.d.ts +21 -0
- package/dist/models/Configuration.js.map +1 -1
- package/dist/models/CreateRayClusterRequest.d.ts +11 -0
- package/dist/models/CreateRayClusterRequest.js +9 -0
- package/dist/models/CreateRayClusterRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceRequest.d.ts +11 -0
- package/dist/models/CreateWorkspaceRequest.js +9 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/EditWorkspaceQueueRequest.d.ts +6 -0
- package/dist/models/EditWorkspaceQueueRequest.js +7 -0
- package/dist/models/EditWorkspaceQueueRequest.js.map +1 -1
- package/dist/models/GetJobRunResponseBody.d.ts +5 -0
- package/dist/models/GetJobRunResponseBody.js +2 -0
- package/dist/models/GetJobRunResponseBody.js.map +1 -1
- package/dist/models/GetRayClusterResponseBody.d.ts +16 -0
- package/dist/models/GetRayClusterResponseBody.js +11 -0
- package/dist/models/GetRayClusterResponseBody.js.map +1 -1
- package/dist/models/JobDriver.d.ts +22 -0
- package/dist/models/JobDriver.js.map +1 -1
- package/dist/models/ListJobRunsResponseBody.d.ts +5 -0
- package/dist/models/ListJobRunsResponseBody.js +2 -0
- package/dist/models/ListJobRunsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +45 -0
- package/dist/models/ListKyuubiSparkApplicationsRequest.js +31 -1
- package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +5 -0
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js +2 -0
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +23 -0
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js +6 -0
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
- package/dist/models/ListRayClusterResponseBody.d.ts +10 -0
- package/dist/models/ListRayClusterResponseBody.js +4 -0
- package/dist/models/ListRayClusterResponseBody.js.map +1 -1
- package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +6 -0
- package/dist/models/ListWorkspaceQueuesResponseBody.js +7 -0
- package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +13 -0
- package/dist/models/ListWorkspacesRequest.js +2 -0
- package/dist/models/ListWorkspacesRequest.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +6 -0
- package/dist/models/ListWorkspacesResponseBody.js +7 -0
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesShrinkRequest.d.ts +5 -0
- package/dist/models/ListWorkspacesShrinkRequest.js +2 -0
- package/dist/models/ListWorkspacesShrinkRequest.js.map +1 -1
- package/dist/models/PrincipalAction.d.ts +7 -1
- package/dist/models/PrincipalAction.js.map +1 -1
- package/dist/models/RunLog.d.ts +28 -0
- package/dist/models/RunLog.js.map +1 -1
- package/dist/models/SparkConf.d.ts +10 -0
- package/dist/models/SparkConf.js.map +1 -1
- package/dist/models/Tag.d.ts +2 -2
- package/dist/models/TaskInstance.d.ts +53 -0
- package/dist/models/TaskInstance.js.map +1 -1
- package/dist/models/Template.d.ts +80 -0
- package/dist/models/Template.js.map +1 -1
- package/dist/models/TimeRange.d.ts +2 -2
- package/dist/models/UpdateRayClusterRequest.d.ts +11 -0
- package/dist/models/UpdateRayClusterRequest.js +9 -0
- package/dist/models/UpdateRayClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +11 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +44 -4
- package/src/models/Category.ts +42 -0
- package/src/models/Configuration.ts +21 -0
- package/src/models/CreateRayClusterRequest.ts +20 -0
- package/src/models/CreateWorkspaceRequest.ts +20 -0
- package/src/models/EditWorkspaceQueueRequest.ts +13 -0
- package/src/models/GetJobRunResponseBody.ts +7 -0
- package/src/models/GetRayClusterResponseBody.ts +27 -0
- package/src/models/JobDriver.ts +22 -0
- package/src/models/ListJobRunsResponseBody.ts +7 -0
- package/src/models/ListKyuubiSparkApplicationsRequest.ts +66 -0
- package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +7 -0
- package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +29 -0
- package/src/models/ListRayClusterResponseBody.ts +14 -0
- package/src/models/ListWorkspaceQueuesResponseBody.ts +13 -0
- package/src/models/ListWorkspacesRequest.ts +15 -0
- package/src/models/ListWorkspacesResponseBody.ts +13 -0
- package/src/models/ListWorkspacesShrinkRequest.ts +7 -0
- package/src/models/PrincipalAction.ts +7 -1
- package/src/models/RunLog.ts +28 -0
- package/src/models/SparkConf.ts +10 -0
- package/src/models/Tag.ts +2 -2
- package/src/models/TaskInstance.ts +53 -0
- package/src/models/Template.ts +80 -0
- package/src/models/TimeRange.ts +2 -2
- package/src/models/UpdateRayClusterRequest.ts +20 -0
- package/src/models/model.ts +1 -0
package/dist/client.d.ts
CHANGED
|
@@ -627,7 +627,7 @@ export default class Client extends OpenApi {
|
|
|
627
627
|
*/
|
|
628
628
|
listJobRuns(workspaceId: string, request: $_model.ListJobRunsRequest): Promise<$_model.ListJobRunsResponse>;
|
|
629
629
|
/**
|
|
630
|
-
*
|
|
630
|
+
* Gets the list of KyuubiServers
|
|
631
631
|
*
|
|
632
632
|
* @param headers - map
|
|
633
633
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -637,7 +637,7 @@ export default class Client extends OpenApi {
|
|
|
637
637
|
[key: string]: string;
|
|
638
638
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListKyuubiServicesResponse>;
|
|
639
639
|
/**
|
|
640
|
-
*
|
|
640
|
+
* Gets the list of KyuubiServers
|
|
641
641
|
* @returns ListKyuubiServicesResponse
|
|
642
642
|
*/
|
|
643
643
|
listKyuubiServices(workspaceId: string): Promise<$_model.ListKyuubiServicesResponse>;
|
|
@@ -678,7 +678,7 @@ export default class Client extends OpenApi {
|
|
|
678
678
|
*/
|
|
679
679
|
listKyuubiToken(workspaceId: string, kyuubiServiceId: string, request: $_model.ListKyuubiTokenRequest): Promise<$_model.ListKyuubiTokenResponse>;
|
|
680
680
|
/**
|
|
681
|
-
*
|
|
681
|
+
* List the Livy Gateway.
|
|
682
682
|
*
|
|
683
683
|
* @param request - ListLivyComputeRequest
|
|
684
684
|
* @param headers - map
|
|
@@ -689,7 +689,7 @@ export default class Client extends OpenApi {
|
|
|
689
689
|
[key: string]: string;
|
|
690
690
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListLivyComputeResponse>;
|
|
691
691
|
/**
|
|
692
|
-
*
|
|
692
|
+
* List the Livy Gateway.
|
|
693
693
|
*
|
|
694
694
|
* @param request - ListLivyComputeRequest
|
|
695
695
|
* @returns ListLivyComputeResponse
|
package/dist/client.js
CHANGED
|
@@ -595,6 +595,9 @@ class Client extends openapi_core_1.default {
|
|
|
595
595
|
if (!$dara.isNull(request.networkServiceName)) {
|
|
596
596
|
body["networkServiceName"] = request.networkServiceName;
|
|
597
597
|
}
|
|
598
|
+
if (!$dara.isNull(request.volumeIds)) {
|
|
599
|
+
body["volumeIds"] = request.volumeIds;
|
|
600
|
+
}
|
|
598
601
|
if (!$dara.isNull(request.workerSpec)) {
|
|
599
602
|
body["workerSpec"] = request.workerSpec;
|
|
600
603
|
}
|
|
@@ -807,6 +810,9 @@ class Client extends openapi_core_1.default {
|
|
|
807
810
|
if (!$dara.isNull(request.duration)) {
|
|
808
811
|
body["duration"] = request.duration;
|
|
809
812
|
}
|
|
813
|
+
if (!$dara.isNull(request.gpuSpec)) {
|
|
814
|
+
body["gpuSpec"] = request.gpuSpec;
|
|
815
|
+
}
|
|
810
816
|
if (!$dara.isNull(request.ossBucket)) {
|
|
811
817
|
body["ossBucket"] = request.ossBucket;
|
|
812
818
|
}
|
|
@@ -822,6 +828,9 @@ class Client extends openapi_core_1.default {
|
|
|
822
828
|
if (!$dara.isNull(request.releaseType)) {
|
|
823
829
|
body["releaseType"] = request.releaseType;
|
|
824
830
|
}
|
|
831
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
832
|
+
body["resourceGroupId"] = request.resourceGroupId;
|
|
833
|
+
}
|
|
825
834
|
if (!$dara.isNull(request.resourceSpec)) {
|
|
826
835
|
body["resourceSpec"] = request.resourceSpec;
|
|
827
836
|
}
|
|
@@ -1070,6 +1079,9 @@ class Client extends openapi_core_1.default {
|
|
|
1070
1079
|
if (!$dara.isNull(request.environments)) {
|
|
1071
1080
|
body["environments"] = request.environments;
|
|
1072
1081
|
}
|
|
1082
|
+
if (!$dara.isNull(request.gpuSpec)) {
|
|
1083
|
+
body["gpuSpec"] = request.gpuSpec;
|
|
1084
|
+
}
|
|
1073
1085
|
if (!$dara.isNull(request.resourceSpec)) {
|
|
1074
1086
|
body["resourceSpec"] = request.resourceSpec;
|
|
1075
1087
|
}
|
|
@@ -1908,7 +1920,7 @@ class Client extends openapi_core_1.default {
|
|
|
1908
1920
|
return await this.listJobRunsWithOptions(workspaceId, request, headers, runtime);
|
|
1909
1921
|
}
|
|
1910
1922
|
/**
|
|
1911
|
-
*
|
|
1923
|
+
* Gets the list of KyuubiServers
|
|
1912
1924
|
*
|
|
1913
1925
|
* @param headers - map
|
|
1914
1926
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1932,7 +1944,7 @@ class Client extends openapi_core_1.default {
|
|
|
1932
1944
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListKyuubiServicesResponse({}));
|
|
1933
1945
|
}
|
|
1934
1946
|
/**
|
|
1935
|
-
*
|
|
1947
|
+
* Gets the list of KyuubiServers
|
|
1936
1948
|
* @returns ListKyuubiServicesResponse
|
|
1937
1949
|
*/
|
|
1938
1950
|
async listKyuubiServices(workspaceId) {
|
|
@@ -1952,6 +1964,9 @@ class Client extends openapi_core_1.default {
|
|
|
1952
1964
|
tmpReq.validate();
|
|
1953
1965
|
let request = new $_model.ListKyuubiSparkApplicationsShrinkRequest({});
|
|
1954
1966
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
1967
|
+
if (!$dara.isNull(tmpReq.endTime)) {
|
|
1968
|
+
request.endTimeShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.endTime, "endTime", "json");
|
|
1969
|
+
}
|
|
1955
1970
|
if (!$dara.isNull(tmpReq.orderBy)) {
|
|
1956
1971
|
request.orderByShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.orderBy, "orderBy", "json");
|
|
1957
1972
|
}
|
|
@@ -1965,6 +1980,12 @@ class Client extends openapi_core_1.default {
|
|
|
1965
1980
|
if (!$dara.isNull(request.applicationName)) {
|
|
1966
1981
|
query["applicationName"] = request.applicationName;
|
|
1967
1982
|
}
|
|
1983
|
+
if (!$dara.isNull(request.endTimeShrink)) {
|
|
1984
|
+
query["endTime"] = request.endTimeShrink;
|
|
1985
|
+
}
|
|
1986
|
+
if (!$dara.isNull(request.latestSqlStatementStatuses)) {
|
|
1987
|
+
query["latestSqlStatementStatuses"] = request.latestSqlStatementStatuses;
|
|
1988
|
+
}
|
|
1968
1989
|
if (!$dara.isNull(request.maxResults)) {
|
|
1969
1990
|
query["maxResults"] = request.maxResults;
|
|
1970
1991
|
}
|
|
@@ -1986,6 +2007,9 @@ class Client extends openapi_core_1.default {
|
|
|
1986
2007
|
if (!$dara.isNull(request.startTimeShrink)) {
|
|
1987
2008
|
query["startTime"] = request.startTimeShrink;
|
|
1988
2009
|
}
|
|
2010
|
+
if (!$dara.isNull(request.states)) {
|
|
2011
|
+
query["states"] = request.states;
|
|
2012
|
+
}
|
|
1989
2013
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1990
2014
|
headers: headers,
|
|
1991
2015
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
@@ -2057,7 +2081,7 @@ class Client extends openapi_core_1.default {
|
|
|
2057
2081
|
return await this.listKyuubiTokenWithOptions(workspaceId, kyuubiServiceId, request, headers, runtime);
|
|
2058
2082
|
}
|
|
2059
2083
|
/**
|
|
2060
|
-
*
|
|
2084
|
+
* List the Livy Gateway.
|
|
2061
2085
|
*
|
|
2062
2086
|
* @param request - ListLivyComputeRequest
|
|
2063
2087
|
* @param headers - map
|
|
@@ -2091,7 +2115,7 @@ class Client extends openapi_core_1.default {
|
|
|
2091
2115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLivyComputeResponse({}));
|
|
2092
2116
|
}
|
|
2093
2117
|
/**
|
|
2094
|
-
*
|
|
2118
|
+
* List the Livy Gateway.
|
|
2095
2119
|
*
|
|
2096
2120
|
* @param request - ListLivyComputeRequest
|
|
2097
2121
|
* @returns ListLivyComputeResponse
|
|
@@ -2612,6 +2636,9 @@ class Client extends openapi_core_1.default {
|
|
|
2612
2636
|
if (!$dara.isNull(request.regionId)) {
|
|
2613
2637
|
query["regionId"] = request.regionId;
|
|
2614
2638
|
}
|
|
2639
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
2640
|
+
query["resourceGroupId"] = request.resourceGroupId;
|
|
2641
|
+
}
|
|
2615
2642
|
if (!$dara.isNull(request.state)) {
|
|
2616
2643
|
query["state"] = request.state;
|
|
2617
2644
|
}
|
|
@@ -3580,6 +3607,9 @@ class Client extends openapi_core_1.default {
|
|
|
3580
3607
|
if (!$dara.isNull(request.networkServiceName)) {
|
|
3581
3608
|
body["networkServiceName"] = request.networkServiceName;
|
|
3582
3609
|
}
|
|
3610
|
+
if (!$dara.isNull(request.volumeIds)) {
|
|
3611
|
+
body["volumeIds"] = request.volumeIds;
|
|
3612
|
+
}
|
|
3583
3613
|
if (!$dara.isNull(request.workerSpec)) {
|
|
3584
3614
|
body["workerSpec"] = request.workerSpec;
|
|
3585
3615
|
}
|