@alicloud/emr-serverless-spark20230808 1.21.1 → 1.22.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 +18 -0
- package/dist/client.js +51 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListExecutorLogsRequest.d.ts +33 -0
- package/dist/models/ListExecutorLogsRequest.js +64 -0
- package/dist/models/ListExecutorLogsRequest.js.map +1 -0
- package/dist/models/ListExecutorLogsResponse.d.ts +19 -0
- package/dist/models/ListExecutorLogsResponse.js +69 -0
- package/dist/models/ListExecutorLogsResponse.js.map +1 -0
- package/dist/models/ListExecutorLogsResponseBody.d.ts +70 -0
- package/dist/models/ListExecutorLogsResponseBody.js +96 -0
- package/dist/models/ListExecutorLogsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +15 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -0
- package/src/models/ListExecutorLogsRequest.ts +52 -0
- package/src/models/ListExecutorLogsResponse.ts +40 -0
- package/src/models/ListExecutorLogsResponseBody.ts +112 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -626,6 +626,24 @@ export default class Client extends OpenApi {
|
|
|
626
626
|
* @returns ListCatalogsResponse
|
|
627
627
|
*/
|
|
628
628
|
listCatalogs(workspaceId: string, request: $_model.ListCatalogsRequest): Promise<$_model.ListCatalogsResponse>;
|
|
629
|
+
/**
|
|
630
|
+
* 列出作业executor的日志文件列表
|
|
631
|
+
*
|
|
632
|
+
* @param request - ListExecutorLogsRequest
|
|
633
|
+
* @param headers - map
|
|
634
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
635
|
+
* @returns ListExecutorLogsResponse
|
|
636
|
+
*/
|
|
637
|
+
listExecutorLogsWithOptions(workspaceId: string, jobRunId: string, executorId: string, request: $_model.ListExecutorLogsRequest, headers: {
|
|
638
|
+
[key: string]: string;
|
|
639
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutorLogsResponse>;
|
|
640
|
+
/**
|
|
641
|
+
* 列出作业executor的日志文件列表
|
|
642
|
+
*
|
|
643
|
+
* @param request - ListExecutorLogsRequest
|
|
644
|
+
* @returns ListExecutorLogsResponse
|
|
645
|
+
*/
|
|
646
|
+
listExecutorLogs(workspaceId: string, jobRunId: string, executorId: string, request: $_model.ListExecutorLogsRequest): Promise<$_model.ListExecutorLogsResponse>;
|
|
629
647
|
/**
|
|
630
648
|
* 列出作业的executors
|
|
631
649
|
*
|
package/dist/client.js
CHANGED
|
@@ -1880,6 +1880,57 @@ class Client extends openapi_core_1.default {
|
|
|
1880
1880
|
let headers = {};
|
|
1881
1881
|
return await this.listCatalogsWithOptions(workspaceId, request, headers, runtime);
|
|
1882
1882
|
}
|
|
1883
|
+
/**
|
|
1884
|
+
* 列出作业executor的日志文件列表
|
|
1885
|
+
*
|
|
1886
|
+
* @param request - ListExecutorLogsRequest
|
|
1887
|
+
* @param headers - map
|
|
1888
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1889
|
+
* @returns ListExecutorLogsResponse
|
|
1890
|
+
*/
|
|
1891
|
+
async listExecutorLogsWithOptions(workspaceId, jobRunId, executorId, request, headers, runtime) {
|
|
1892
|
+
request.validate();
|
|
1893
|
+
let query = {};
|
|
1894
|
+
if (!$dara.isNull(request.logType)) {
|
|
1895
|
+
query["logType"] = request.logType;
|
|
1896
|
+
}
|
|
1897
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
1898
|
+
query["maxResults"] = request.maxResults;
|
|
1899
|
+
}
|
|
1900
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
1901
|
+
query["nextToken"] = request.nextToken;
|
|
1902
|
+
}
|
|
1903
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1904
|
+
query["regionId"] = request.regionId;
|
|
1905
|
+
}
|
|
1906
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1907
|
+
headers: headers,
|
|
1908
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1909
|
+
});
|
|
1910
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1911
|
+
action: "ListExecutorLogs",
|
|
1912
|
+
version: "2023-08-08",
|
|
1913
|
+
protocol: "HTTPS",
|
|
1914
|
+
pathname: `/api/v1/workspaces/${$dara.URL.percentEncode(workspaceId)}/jobRuns/${$dara.URL.percentEncode(jobRunId)}/executors/${$dara.URL.percentEncode(executorId)}/logs`,
|
|
1915
|
+
method: "GET",
|
|
1916
|
+
authType: "AK",
|
|
1917
|
+
style: "ROA",
|
|
1918
|
+
reqBodyType: "json",
|
|
1919
|
+
bodyType: "json",
|
|
1920
|
+
});
|
|
1921
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExecutorLogsResponse({}));
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* 列出作业executor的日志文件列表
|
|
1925
|
+
*
|
|
1926
|
+
* @param request - ListExecutorLogsRequest
|
|
1927
|
+
* @returns ListExecutorLogsResponse
|
|
1928
|
+
*/
|
|
1929
|
+
async listExecutorLogs(workspaceId, jobRunId, executorId, request) {
|
|
1930
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1931
|
+
let headers = {};
|
|
1932
|
+
return await this.listExecutorLogsWithOptions(workspaceId, jobRunId, executorId, request, headers, runtime);
|
|
1933
|
+
}
|
|
1883
1934
|
/**
|
|
1884
1935
|
* 列出作业的executors
|
|
1885
1936
|
*
|