@alicloud/dms20250414 1.9.8 → 1.10.1
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 +79 -4
- package/dist/client.js +248 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAirflowRequest.d.ts +13 -6
- package/dist/models/CreateAirflowRequest.js +12 -0
- package/dist/models/CreateAirflowRequest.js.map +1 -1
- package/dist/models/CreateAirflowResponseBody.d.ts +14 -0
- package/dist/models/CreateAirflowResponseBody.js +17 -0
- package/dist/models/CreateAirflowResponseBody.js.map +1 -1
- package/dist/models/CreateAirflowShrinkRequest.d.ts +134 -0
- package/dist/models/CreateAirflowShrinkRequest.js +96 -0
- package/dist/models/CreateAirflowShrinkRequest.js.map +1 -0
- package/dist/models/DataMountInfo.d.ts +17 -0
- package/dist/models/DataMountInfo.js +64 -0
- package/dist/models/DataMountInfo.js.map +1 -0
- package/dist/models/GetWorkspaceCodePublishSettingRequest.d.ts +21 -0
- package/dist/models/GetWorkspaceCodePublishSettingRequest.js +58 -0
- package/dist/models/GetWorkspaceCodePublishSettingRequest.js.map +1 -0
- package/dist/models/GetWorkspaceCodePublishSettingResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceCodePublishSettingResponse.js +69 -0
- package/dist/models/GetWorkspaceCodePublishSettingResponse.js.map +1 -0
- package/dist/models/GetWorkspaceCodePublishSettingResponseBody.d.ts +85 -0
- package/dist/models/GetWorkspaceCodePublishSettingResponseBody.js +123 -0
- package/dist/models/GetWorkspaceCodePublishSettingResponseBody.js.map +1 -0
- package/dist/models/SetWorkspaceCodePublishSettingRequest.d.ts +29 -0
- package/dist/models/SetWorkspaceCodePublishSettingRequest.js +60 -0
- package/dist/models/SetWorkspaceCodePublishSettingRequest.js.map +1 -0
- package/dist/models/SetWorkspaceCodePublishSettingResponse.d.ts +19 -0
- package/dist/models/SetWorkspaceCodePublishSettingResponse.js +69 -0
- package/dist/models/SetWorkspaceCodePublishSettingResponse.js.map +1 -0
- package/dist/models/SetWorkspaceCodePublishSettingResponseBody.d.ts +38 -0
- package/dist/models/SetWorkspaceCodePublishSettingResponseBody.js +66 -0
- package/dist/models/SetWorkspaceCodePublishSettingResponseBody.js.map +1 -0
- package/dist/models/UpdateAirflowRequest.d.ts +8 -0
- package/dist/models/UpdateAirflowRequest.js +10 -0
- package/dist/models/UpdateAirflowRequest.js.map +1 -1
- package/dist/models/UpdateAirflowResponseBody.d.ts +13 -0
- package/dist/models/UpdateAirflowResponseBody.js +12 -0
- package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
- package/dist/models/UpdateAirflowShrinkRequest.d.ts +81 -0
- package/dist/models/UpdateAirflowShrinkRequest.js +84 -0
- package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -0
- package/dist/models/WorkspaceActionLogRequest.d.ts +29 -0
- package/dist/models/WorkspaceActionLogRequest.js +60 -0
- package/dist/models/WorkspaceActionLogRequest.js.map +1 -0
- package/dist/models/WorkspaceActionLogResponse.d.ts +19 -0
- package/dist/models/WorkspaceActionLogResponse.js +69 -0
- package/dist/models/WorkspaceActionLogResponse.js.map +1 -0
- package/dist/models/WorkspaceActionLogResponseBody.d.ts +43 -0
- package/dist/models/WorkspaceActionLogResponseBody.js +68 -0
- package/dist/models/WorkspaceActionLogResponseBody.js.map +1 -0
- package/dist/models/WorkspaceActionStatusRequest.d.ts +29 -0
- package/dist/models/WorkspaceActionStatusRequest.js +60 -0
- package/dist/models/WorkspaceActionStatusRequest.js.map +1 -0
- package/dist/models/WorkspaceActionStatusResponse.d.ts +19 -0
- package/dist/models/WorkspaceActionStatusResponse.js +69 -0
- package/dist/models/WorkspaceActionStatusResponse.js.map +1 -0
- package/dist/models/WorkspaceActionStatusResponseBody.d.ts +74 -0
- package/dist/models/WorkspaceActionStatusResponseBody.js +96 -0
- package/dist/models/WorkspaceActionStatusResponseBody.js.map +1 -0
- package/dist/models/WorkspaceCodePublishRequest.d.ts +29 -0
- package/dist/models/WorkspaceCodePublishRequest.js +60 -0
- package/dist/models/WorkspaceCodePublishRequest.js.map +1 -0
- package/dist/models/WorkspaceCodePublishResponse.d.ts +19 -0
- package/dist/models/WorkspaceCodePublishResponse.js +69 -0
- package/dist/models/WorkspaceCodePublishResponse.js.map +1 -0
- package/dist/models/WorkspaceCodePublishResponseBody.d.ts +60 -0
- package/dist/models/WorkspaceCodePublishResponseBody.js +90 -0
- package/dist/models/WorkspaceCodePublishResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +22 -0
- package/dist/models/model.js +51 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +276 -6
- package/src/models/CreateAirflowRequest.ts +24 -6
- package/src/models/CreateAirflowResponseBody.ts +30 -0
- package/src/models/CreateAirflowShrinkRequest.ts +185 -0
- package/src/models/DataMountInfo.ts +36 -0
- package/src/models/GetWorkspaceCodePublishSettingRequest.ts +34 -0
- package/src/models/GetWorkspaceCodePublishSettingResponse.ts +40 -0
- package/src/models/GetWorkspaceCodePublishSettingResponseBody.ts +145 -0
- package/src/models/SetWorkspaceCodePublishSettingRequest.ts +44 -0
- package/src/models/SetWorkspaceCodePublishSettingResponse.ts +40 -0
- package/src/models/SetWorkspaceCodePublishSettingResponseBody.ts +59 -0
- package/src/models/UpdateAirflowRequest.ts +17 -0
- package/src/models/UpdateAirflowResponseBody.ts +24 -0
- package/src/models/UpdateAirflowShrinkRequest.ts +120 -0
- package/src/models/WorkspaceActionLogRequest.ts +44 -0
- package/src/models/WorkspaceActionLogResponse.ts +40 -0
- package/src/models/WorkspaceActionLogResponseBody.ts +66 -0
- package/src/models/WorkspaceActionStatusRequest.ts +44 -0
- package/src/models/WorkspaceActionStatusResponse.ts +40 -0
- package/src/models/WorkspaceActionStatusResponseBody.ts +116 -0
- package/src/models/WorkspaceCodePublishRequest.ts +44 -0
- package/src/models/WorkspaceCodePublishResponse.ts +40 -0
- package/src/models/WorkspaceCodePublishResponseBody.ts +96 -0
- package/src/models/model.ts +22 -0
package/dist/client.d.ts
CHANGED
|
@@ -71,11 +71,11 @@ export default class Client extends OpenApi {
|
|
|
71
71
|
/**
|
|
72
72
|
* 创建Airflow
|
|
73
73
|
*
|
|
74
|
-
* @param
|
|
74
|
+
* @param tmpReq - CreateAirflowRequest
|
|
75
75
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
76
76
|
* @returns CreateAirflowResponse
|
|
77
77
|
*/
|
|
78
|
-
createAirflowWithOptions(
|
|
78
|
+
createAirflowWithOptions(tmpReq: $_model.CreateAirflowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAirflowResponse>;
|
|
79
79
|
/**
|
|
80
80
|
* 创建Airflow
|
|
81
81
|
*
|
|
@@ -556,6 +556,21 @@ export default class Client extends OpenApi {
|
|
|
556
556
|
* @returns GetNotebookTaskStatusResponse
|
|
557
557
|
*/
|
|
558
558
|
getNotebookTaskStatus(request: $_model.GetNotebookTaskStatusRequest): Promise<$_model.GetNotebookTaskStatusResponse>;
|
|
559
|
+
/**
|
|
560
|
+
* 获取工作空间发布配置
|
|
561
|
+
*
|
|
562
|
+
* @param request - GetWorkspaceCodePublishSettingRequest
|
|
563
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
564
|
+
* @returns GetWorkspaceCodePublishSettingResponse
|
|
565
|
+
*/
|
|
566
|
+
getWorkspaceCodePublishSettingWithOptions(request: $_model.GetWorkspaceCodePublishSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceCodePublishSettingResponse>;
|
|
567
|
+
/**
|
|
568
|
+
* 获取工作空间发布配置
|
|
569
|
+
*
|
|
570
|
+
* @param request - GetWorkspaceCodePublishSettingRequest
|
|
571
|
+
* @returns GetWorkspaceCodePublishSettingResponse
|
|
572
|
+
*/
|
|
573
|
+
getWorkspaceCodePublishSetting(request: $_model.GetWorkspaceCodePublishSettingRequest): Promise<$_model.GetWorkspaceCodePublishSettingResponse>;
|
|
559
574
|
/**
|
|
560
575
|
* 列出资源Airflow
|
|
561
576
|
*
|
|
@@ -886,14 +901,29 @@ export default class Client extends OpenApi {
|
|
|
886
901
|
* @returns SendChatMessageResponse
|
|
887
902
|
*/
|
|
888
903
|
sendChatMessage(request: $_model.SendChatMessageRequest): Promise<$_model.SendChatMessageResponse>;
|
|
904
|
+
/**
|
|
905
|
+
* 设置工作空间代码发布配置
|
|
906
|
+
*
|
|
907
|
+
* @param request - SetWorkspaceCodePublishSettingRequest
|
|
908
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
909
|
+
* @returns SetWorkspaceCodePublishSettingResponse
|
|
910
|
+
*/
|
|
911
|
+
setWorkspaceCodePublishSettingWithOptions(request: $_model.SetWorkspaceCodePublishSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetWorkspaceCodePublishSettingResponse>;
|
|
912
|
+
/**
|
|
913
|
+
* 设置工作空间代码发布配置
|
|
914
|
+
*
|
|
915
|
+
* @param request - SetWorkspaceCodePublishSettingRequest
|
|
916
|
+
* @returns SetWorkspaceCodePublishSettingResponse
|
|
917
|
+
*/
|
|
918
|
+
setWorkspaceCodePublishSetting(request: $_model.SetWorkspaceCodePublishSettingRequest): Promise<$_model.SetWorkspaceCodePublishSettingResponse>;
|
|
889
919
|
/**
|
|
890
920
|
* 更新UpdateAirflow
|
|
891
921
|
*
|
|
892
|
-
* @param
|
|
922
|
+
* @param tmpReq - UpdateAirflowRequest
|
|
893
923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
894
924
|
* @returns UpdateAirflowResponse
|
|
895
925
|
*/
|
|
896
|
-
updateAirflowWithOptions(
|
|
926
|
+
updateAirflowWithOptions(tmpReq: $_model.UpdateAirflowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAirflowResponse>;
|
|
897
927
|
/**
|
|
898
928
|
* 更新UpdateAirflow
|
|
899
929
|
*
|
|
@@ -991,4 +1021,49 @@ export default class Client extends OpenApi {
|
|
|
991
1021
|
* @returns UpdateDataLakeTableResponse
|
|
992
1022
|
*/
|
|
993
1023
|
updateDataLakeTable(request: $_model.UpdateDataLakeTableRequest): Promise<$_model.UpdateDataLakeTableResponse>;
|
|
1024
|
+
/**
|
|
1025
|
+
* 工作空间异步操作日志查询接口
|
|
1026
|
+
*
|
|
1027
|
+
* @param request - WorkspaceActionLogRequest
|
|
1028
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1029
|
+
* @returns WorkspaceActionLogResponse
|
|
1030
|
+
*/
|
|
1031
|
+
workspaceActionLogWithOptions(request: $_model.WorkspaceActionLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.WorkspaceActionLogResponse>;
|
|
1032
|
+
/**
|
|
1033
|
+
* 工作空间异步操作日志查询接口
|
|
1034
|
+
*
|
|
1035
|
+
* @param request - WorkspaceActionLogRequest
|
|
1036
|
+
* @returns WorkspaceActionLogResponse
|
|
1037
|
+
*/
|
|
1038
|
+
workspaceActionLog(request: $_model.WorkspaceActionLogRequest): Promise<$_model.WorkspaceActionLogResponse>;
|
|
1039
|
+
/**
|
|
1040
|
+
* 工作空间异步操作状态查询接口
|
|
1041
|
+
*
|
|
1042
|
+
* @param request - WorkspaceActionStatusRequest
|
|
1043
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1044
|
+
* @returns WorkspaceActionStatusResponse
|
|
1045
|
+
*/
|
|
1046
|
+
workspaceActionStatusWithOptions(request: $_model.WorkspaceActionStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.WorkspaceActionStatusResponse>;
|
|
1047
|
+
/**
|
|
1048
|
+
* 工作空间异步操作状态查询接口
|
|
1049
|
+
*
|
|
1050
|
+
* @param request - WorkspaceActionStatusRequest
|
|
1051
|
+
* @returns WorkspaceActionStatusResponse
|
|
1052
|
+
*/
|
|
1053
|
+
workspaceActionStatus(request: $_model.WorkspaceActionStatusRequest): Promise<$_model.WorkspaceActionStatusResponse>;
|
|
1054
|
+
/**
|
|
1055
|
+
* 工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态
|
|
1056
|
+
*
|
|
1057
|
+
* @param request - WorkspaceCodePublishRequest
|
|
1058
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1059
|
+
* @returns WorkspaceCodePublishResponse
|
|
1060
|
+
*/
|
|
1061
|
+
workspaceCodePublishWithOptions(request: $_model.WorkspaceCodePublishRequest, runtime: $dara.RuntimeOptions): Promise<$_model.WorkspaceCodePublishResponse>;
|
|
1062
|
+
/**
|
|
1063
|
+
* 工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态
|
|
1064
|
+
*
|
|
1065
|
+
* @param request - WorkspaceCodePublishRequest
|
|
1066
|
+
* @returns WorkspaceCodePublishResponse
|
|
1067
|
+
*/
|
|
1068
|
+
workspaceCodePublish(request: $_model.WorkspaceCodePublishRequest): Promise<$_model.WorkspaceCodePublishResponse>;
|
|
994
1069
|
}
|
package/dist/client.js
CHANGED
|
@@ -317,16 +317,24 @@ class Client extends openapi_core_1.default {
|
|
|
317
317
|
/**
|
|
318
318
|
* 创建Airflow
|
|
319
319
|
*
|
|
320
|
-
* @param
|
|
320
|
+
* @param tmpReq - CreateAirflowRequest
|
|
321
321
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
322
322
|
* @returns CreateAirflowResponse
|
|
323
323
|
*/
|
|
324
|
-
async createAirflowWithOptions(
|
|
325
|
-
|
|
324
|
+
async createAirflowWithOptions(tmpReq, runtime) {
|
|
325
|
+
tmpReq.validate();
|
|
326
|
+
let request = new $_model.CreateAirflowShrinkRequest({});
|
|
327
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
328
|
+
if (!$dara.isNull(tmpReq.dataMountInfoList)) {
|
|
329
|
+
request.dataMountInfoListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.dataMountInfoList, "DataMountInfoList", "json");
|
|
330
|
+
}
|
|
326
331
|
let query = {};
|
|
327
332
|
if (!$dara.isNull(request.airflowName)) {
|
|
328
333
|
query["AirflowName"] = request.airflowName;
|
|
329
334
|
}
|
|
335
|
+
if (!$dara.isNull(request.airflowVersion)) {
|
|
336
|
+
query["AirflowVersion"] = request.airflowVersion;
|
|
337
|
+
}
|
|
330
338
|
if (!$dara.isNull(request.appSpec)) {
|
|
331
339
|
query["AppSpec"] = request.appSpec;
|
|
332
340
|
}
|
|
@@ -336,9 +344,18 @@ class Client extends openapi_core_1.default {
|
|
|
336
344
|
if (!$dara.isNull(request.dagsDir)) {
|
|
337
345
|
query["DagsDir"] = request.dagsDir;
|
|
338
346
|
}
|
|
347
|
+
if (!$dara.isNull(request.dataMountInfoListShrink)) {
|
|
348
|
+
query["DataMountInfoList"] = request.dataMountInfoListShrink;
|
|
349
|
+
}
|
|
339
350
|
if (!$dara.isNull(request.description)) {
|
|
340
351
|
query["Description"] = request.description;
|
|
341
352
|
}
|
|
353
|
+
if (!$dara.isNull(request.enableServerless)) {
|
|
354
|
+
query["EnableServerless"] = request.enableServerless;
|
|
355
|
+
}
|
|
356
|
+
if (!$dara.isNull(request.gracefulShutdownTimeout)) {
|
|
357
|
+
query["GracefulShutdownTimeout"] = request.gracefulShutdownTimeout;
|
|
358
|
+
}
|
|
342
359
|
if (!$dara.isNull(request.ossBucketName)) {
|
|
343
360
|
query["OssBucketName"] = request.ossBucketName;
|
|
344
361
|
}
|
|
@@ -2032,6 +2049,45 @@ class Client extends openapi_core_1.default {
|
|
|
2032
2049
|
let runtime = new $dara.RuntimeOptions({});
|
|
2033
2050
|
return await this.getNotebookTaskStatusWithOptions(request, runtime);
|
|
2034
2051
|
}
|
|
2052
|
+
/**
|
|
2053
|
+
* 获取工作空间发布配置
|
|
2054
|
+
*
|
|
2055
|
+
* @param request - GetWorkspaceCodePublishSettingRequest
|
|
2056
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2057
|
+
* @returns GetWorkspaceCodePublishSettingResponse
|
|
2058
|
+
*/
|
|
2059
|
+
async getWorkspaceCodePublishSettingWithOptions(request, runtime) {
|
|
2060
|
+
request.validate();
|
|
2061
|
+
let query = {};
|
|
2062
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2063
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2064
|
+
}
|
|
2065
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2066
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2067
|
+
});
|
|
2068
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2069
|
+
action: "GetWorkspaceCodePublishSetting",
|
|
2070
|
+
version: "2025-04-14",
|
|
2071
|
+
protocol: "HTTPS",
|
|
2072
|
+
pathname: "/",
|
|
2073
|
+
method: "POST",
|
|
2074
|
+
authType: "AK",
|
|
2075
|
+
style: "RPC",
|
|
2076
|
+
reqBodyType: "formData",
|
|
2077
|
+
bodyType: "json",
|
|
2078
|
+
});
|
|
2079
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceCodePublishSettingResponse({}));
|
|
2080
|
+
}
|
|
2081
|
+
/**
|
|
2082
|
+
* 获取工作空间发布配置
|
|
2083
|
+
*
|
|
2084
|
+
* @param request - GetWorkspaceCodePublishSettingRequest
|
|
2085
|
+
* @returns GetWorkspaceCodePublishSettingResponse
|
|
2086
|
+
*/
|
|
2087
|
+
async getWorkspaceCodePublishSetting(request) {
|
|
2088
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2089
|
+
return await this.getWorkspaceCodePublishSettingWithOptions(request, runtime);
|
|
2090
|
+
}
|
|
2035
2091
|
/**
|
|
2036
2092
|
* 列出资源Airflow
|
|
2037
2093
|
*
|
|
@@ -3350,15 +3406,64 @@ class Client extends openapi_core_1.default {
|
|
|
3350
3406
|
let runtime = new $dara.RuntimeOptions({});
|
|
3351
3407
|
return await this.sendChatMessageWithOptions(request, runtime);
|
|
3352
3408
|
}
|
|
3409
|
+
/**
|
|
3410
|
+
* 设置工作空间代码发布配置
|
|
3411
|
+
*
|
|
3412
|
+
* @param request - SetWorkspaceCodePublishSettingRequest
|
|
3413
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3414
|
+
* @returns SetWorkspaceCodePublishSettingResponse
|
|
3415
|
+
*/
|
|
3416
|
+
async setWorkspaceCodePublishSettingWithOptions(request, runtime) {
|
|
3417
|
+
request.validate();
|
|
3418
|
+
let query = {};
|
|
3419
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3420
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3421
|
+
}
|
|
3422
|
+
let body = {};
|
|
3423
|
+
if (!$dara.isNull(request.config)) {
|
|
3424
|
+
body["Config"] = request.config;
|
|
3425
|
+
}
|
|
3426
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3427
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3428
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3429
|
+
});
|
|
3430
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3431
|
+
action: "SetWorkspaceCodePublishSetting",
|
|
3432
|
+
version: "2025-04-14",
|
|
3433
|
+
protocol: "HTTPS",
|
|
3434
|
+
pathname: "/",
|
|
3435
|
+
method: "POST",
|
|
3436
|
+
authType: "AK",
|
|
3437
|
+
style: "RPC",
|
|
3438
|
+
reqBodyType: "formData",
|
|
3439
|
+
bodyType: "json",
|
|
3440
|
+
});
|
|
3441
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetWorkspaceCodePublishSettingResponse({}));
|
|
3442
|
+
}
|
|
3443
|
+
/**
|
|
3444
|
+
* 设置工作空间代码发布配置
|
|
3445
|
+
*
|
|
3446
|
+
* @param request - SetWorkspaceCodePublishSettingRequest
|
|
3447
|
+
* @returns SetWorkspaceCodePublishSettingResponse
|
|
3448
|
+
*/
|
|
3449
|
+
async setWorkspaceCodePublishSetting(request) {
|
|
3450
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3451
|
+
return await this.setWorkspaceCodePublishSettingWithOptions(request, runtime);
|
|
3452
|
+
}
|
|
3353
3453
|
/**
|
|
3354
3454
|
* 更新UpdateAirflow
|
|
3355
3455
|
*
|
|
3356
|
-
* @param
|
|
3456
|
+
* @param tmpReq - UpdateAirflowRequest
|
|
3357
3457
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3358
3458
|
* @returns UpdateAirflowResponse
|
|
3359
3459
|
*/
|
|
3360
|
-
async updateAirflowWithOptions(
|
|
3361
|
-
|
|
3460
|
+
async updateAirflowWithOptions(tmpReq, runtime) {
|
|
3461
|
+
tmpReq.validate();
|
|
3462
|
+
let request = new $_model.UpdateAirflowShrinkRequest({});
|
|
3463
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3464
|
+
if (!$dara.isNull(tmpReq.dataMountInfoList)) {
|
|
3465
|
+
request.dataMountInfoListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.dataMountInfoList, "DataMountInfoList", "json");
|
|
3466
|
+
}
|
|
3362
3467
|
let query = {};
|
|
3363
3468
|
if (!$dara.isNull(request.airflowId)) {
|
|
3364
3469
|
query["AirflowId"] = request.airflowId;
|
|
@@ -3375,9 +3480,18 @@ class Client extends openapi_core_1.default {
|
|
|
3375
3480
|
if (!$dara.isNull(request.dagsDir)) {
|
|
3376
3481
|
query["DagsDir"] = request.dagsDir;
|
|
3377
3482
|
}
|
|
3483
|
+
if (!$dara.isNull(request.dataMountInfoListShrink)) {
|
|
3484
|
+
query["DataMountInfoList"] = request.dataMountInfoListShrink;
|
|
3485
|
+
}
|
|
3378
3486
|
if (!$dara.isNull(request.description)) {
|
|
3379
3487
|
query["Description"] = request.description;
|
|
3380
3488
|
}
|
|
3489
|
+
if (!$dara.isNull(request.enableServerless)) {
|
|
3490
|
+
query["EnableServerless"] = request.enableServerless;
|
|
3491
|
+
}
|
|
3492
|
+
if (!$dara.isNull(request.gracefulShutdownTimeout)) {
|
|
3493
|
+
query["GracefulShutdownTimeout"] = request.gracefulShutdownTimeout;
|
|
3494
|
+
}
|
|
3381
3495
|
if (!$dara.isNull(request.pluginsDir)) {
|
|
3382
3496
|
query["PluginsDir"] = request.pluginsDir;
|
|
3383
3497
|
}
|
|
@@ -3763,6 +3877,134 @@ class Client extends openapi_core_1.default {
|
|
|
3763
3877
|
let runtime = new $dara.RuntimeOptions({});
|
|
3764
3878
|
return await this.updateDataLakeTableWithOptions(request, runtime);
|
|
3765
3879
|
}
|
|
3880
|
+
/**
|
|
3881
|
+
* 工作空间异步操作日志查询接口
|
|
3882
|
+
*
|
|
3883
|
+
* @param request - WorkspaceActionLogRequest
|
|
3884
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3885
|
+
* @returns WorkspaceActionLogResponse
|
|
3886
|
+
*/
|
|
3887
|
+
async workspaceActionLogWithOptions(request, runtime) {
|
|
3888
|
+
request.validate();
|
|
3889
|
+
let query = {};
|
|
3890
|
+
if (!$dara.isNull(request.key)) {
|
|
3891
|
+
query["Key"] = request.key;
|
|
3892
|
+
}
|
|
3893
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3894
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3895
|
+
}
|
|
3896
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3897
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3898
|
+
});
|
|
3899
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3900
|
+
action: "WorkspaceActionLog",
|
|
3901
|
+
version: "2025-04-14",
|
|
3902
|
+
protocol: "HTTPS",
|
|
3903
|
+
pathname: "/",
|
|
3904
|
+
method: "POST",
|
|
3905
|
+
authType: "AK",
|
|
3906
|
+
style: "RPC",
|
|
3907
|
+
reqBodyType: "formData",
|
|
3908
|
+
bodyType: "json",
|
|
3909
|
+
});
|
|
3910
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WorkspaceActionLogResponse({}));
|
|
3911
|
+
}
|
|
3912
|
+
/**
|
|
3913
|
+
* 工作空间异步操作日志查询接口
|
|
3914
|
+
*
|
|
3915
|
+
* @param request - WorkspaceActionLogRequest
|
|
3916
|
+
* @returns WorkspaceActionLogResponse
|
|
3917
|
+
*/
|
|
3918
|
+
async workspaceActionLog(request) {
|
|
3919
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3920
|
+
return await this.workspaceActionLogWithOptions(request, runtime);
|
|
3921
|
+
}
|
|
3922
|
+
/**
|
|
3923
|
+
* 工作空间异步操作状态查询接口
|
|
3924
|
+
*
|
|
3925
|
+
* @param request - WorkspaceActionStatusRequest
|
|
3926
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3927
|
+
* @returns WorkspaceActionStatusResponse
|
|
3928
|
+
*/
|
|
3929
|
+
async workspaceActionStatusWithOptions(request, runtime) {
|
|
3930
|
+
request.validate();
|
|
3931
|
+
let query = {};
|
|
3932
|
+
if (!$dara.isNull(request.key)) {
|
|
3933
|
+
query["Key"] = request.key;
|
|
3934
|
+
}
|
|
3935
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3936
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3937
|
+
}
|
|
3938
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3939
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3940
|
+
});
|
|
3941
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3942
|
+
action: "WorkspaceActionStatus",
|
|
3943
|
+
version: "2025-04-14",
|
|
3944
|
+
protocol: "HTTPS",
|
|
3945
|
+
pathname: "/",
|
|
3946
|
+
method: "POST",
|
|
3947
|
+
authType: "AK",
|
|
3948
|
+
style: "RPC",
|
|
3949
|
+
reqBodyType: "formData",
|
|
3950
|
+
bodyType: "json",
|
|
3951
|
+
});
|
|
3952
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WorkspaceActionStatusResponse({}));
|
|
3953
|
+
}
|
|
3954
|
+
/**
|
|
3955
|
+
* 工作空间异步操作状态查询接口
|
|
3956
|
+
*
|
|
3957
|
+
* @param request - WorkspaceActionStatusRequest
|
|
3958
|
+
* @returns WorkspaceActionStatusResponse
|
|
3959
|
+
*/
|
|
3960
|
+
async workspaceActionStatus(request) {
|
|
3961
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3962
|
+
return await this.workspaceActionStatusWithOptions(request, runtime);
|
|
3963
|
+
}
|
|
3964
|
+
/**
|
|
3965
|
+
* 工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态
|
|
3966
|
+
*
|
|
3967
|
+
* @param request - WorkspaceCodePublishRequest
|
|
3968
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3969
|
+
* @returns WorkspaceCodePublishResponse
|
|
3970
|
+
*/
|
|
3971
|
+
async workspaceCodePublishWithOptions(request, runtime) {
|
|
3972
|
+
request.validate();
|
|
3973
|
+
let query = {};
|
|
3974
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3975
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3976
|
+
}
|
|
3977
|
+
let body = {};
|
|
3978
|
+
if (!$dara.isNull(request.config)) {
|
|
3979
|
+
body["Config"] = request.config;
|
|
3980
|
+
}
|
|
3981
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3982
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3983
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3984
|
+
});
|
|
3985
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3986
|
+
action: "WorkspaceCodePublish",
|
|
3987
|
+
version: "2025-04-14",
|
|
3988
|
+
protocol: "HTTPS",
|
|
3989
|
+
pathname: "/",
|
|
3990
|
+
method: "POST",
|
|
3991
|
+
authType: "AK",
|
|
3992
|
+
style: "RPC",
|
|
3993
|
+
reqBodyType: "formData",
|
|
3994
|
+
bodyType: "json",
|
|
3995
|
+
});
|
|
3996
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WorkspaceCodePublishResponse({}));
|
|
3997
|
+
}
|
|
3998
|
+
/**
|
|
3999
|
+
* 工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态
|
|
4000
|
+
*
|
|
4001
|
+
* @param request - WorkspaceCodePublishRequest
|
|
4002
|
+
* @returns WorkspaceCodePublishResponse
|
|
4003
|
+
*/
|
|
4004
|
+
async workspaceCodePublish(request) {
|
|
4005
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4006
|
+
return await this.workspaceCodePublishWithOptions(request, runtime);
|
|
4007
|
+
}
|
|
3766
4008
|
}
|
|
3767
4009
|
exports.default = Client;
|
|
3768
4010
|
//# sourceMappingURL=client.js.map
|