@alicloud/dms20250414 1.9.7 → 1.10.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 +75 -0
- package/dist/client.js +214 -0
- package/dist/client.js.map +1 -1
- 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/ListFileUploadRequest.d.ts +1 -0
- package/dist/models/ListFileUploadRequest.js +2 -0
- package/dist/models/ListFileUploadRequest.js.map +1 -1
- 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/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 +19 -0
- package/dist/models/model.js +45 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +234 -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/ListFileUploadRequest.ts +3 -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/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 +19 -0
package/dist/client.d.ts
CHANGED
|
@@ -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,6 +901,21 @@ 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
|
*
|
|
@@ -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
|
@@ -2032,6 +2032,45 @@ class Client extends openapi_core_1.default {
|
|
|
2032
2032
|
let runtime = new $dara.RuntimeOptions({});
|
|
2033
2033
|
return await this.getNotebookTaskStatusWithOptions(request, runtime);
|
|
2034
2034
|
}
|
|
2035
|
+
/**
|
|
2036
|
+
* 获取工作空间发布配置
|
|
2037
|
+
*
|
|
2038
|
+
* @param request - GetWorkspaceCodePublishSettingRequest
|
|
2039
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2040
|
+
* @returns GetWorkspaceCodePublishSettingResponse
|
|
2041
|
+
*/
|
|
2042
|
+
async getWorkspaceCodePublishSettingWithOptions(request, runtime) {
|
|
2043
|
+
request.validate();
|
|
2044
|
+
let query = {};
|
|
2045
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2046
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2047
|
+
}
|
|
2048
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2049
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2050
|
+
});
|
|
2051
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2052
|
+
action: "GetWorkspaceCodePublishSetting",
|
|
2053
|
+
version: "2025-04-14",
|
|
2054
|
+
protocol: "HTTPS",
|
|
2055
|
+
pathname: "/",
|
|
2056
|
+
method: "POST",
|
|
2057
|
+
authType: "AK",
|
|
2058
|
+
style: "RPC",
|
|
2059
|
+
reqBodyType: "formData",
|
|
2060
|
+
bodyType: "json",
|
|
2061
|
+
});
|
|
2062
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceCodePublishSettingResponse({}));
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
* 获取工作空间发布配置
|
|
2066
|
+
*
|
|
2067
|
+
* @param request - GetWorkspaceCodePublishSettingRequest
|
|
2068
|
+
* @returns GetWorkspaceCodePublishSettingResponse
|
|
2069
|
+
*/
|
|
2070
|
+
async getWorkspaceCodePublishSetting(request) {
|
|
2071
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2072
|
+
return await this.getWorkspaceCodePublishSettingWithOptions(request, runtime);
|
|
2073
|
+
}
|
|
2035
2074
|
/**
|
|
2036
2075
|
* 列出资源Airflow
|
|
2037
2076
|
*
|
|
@@ -3038,6 +3077,9 @@ class Client extends openapi_core_1.default {
|
|
|
3038
3077
|
if (!$dara.isNull(request.dmsUnit)) {
|
|
3039
3078
|
query["DmsUnit"] = request.dmsUnit;
|
|
3040
3079
|
}
|
|
3080
|
+
if (!$dara.isNull(request.downloadLinkExpire)) {
|
|
3081
|
+
query["DownloadLinkExpire"] = request.downloadLinkExpire;
|
|
3082
|
+
}
|
|
3041
3083
|
if (!$dara.isNull(request.fileCategory)) {
|
|
3042
3084
|
query["FileCategory"] = request.fileCategory;
|
|
3043
3085
|
}
|
|
@@ -3347,6 +3389,50 @@ class Client extends openapi_core_1.default {
|
|
|
3347
3389
|
let runtime = new $dara.RuntimeOptions({});
|
|
3348
3390
|
return await this.sendChatMessageWithOptions(request, runtime);
|
|
3349
3391
|
}
|
|
3392
|
+
/**
|
|
3393
|
+
* 设置工作空间代码发布配置
|
|
3394
|
+
*
|
|
3395
|
+
* @param request - SetWorkspaceCodePublishSettingRequest
|
|
3396
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3397
|
+
* @returns SetWorkspaceCodePublishSettingResponse
|
|
3398
|
+
*/
|
|
3399
|
+
async setWorkspaceCodePublishSettingWithOptions(request, runtime) {
|
|
3400
|
+
request.validate();
|
|
3401
|
+
let query = {};
|
|
3402
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3403
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3404
|
+
}
|
|
3405
|
+
let body = {};
|
|
3406
|
+
if (!$dara.isNull(request.config)) {
|
|
3407
|
+
body["Config"] = request.config;
|
|
3408
|
+
}
|
|
3409
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3410
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3411
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3412
|
+
});
|
|
3413
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3414
|
+
action: "SetWorkspaceCodePublishSetting",
|
|
3415
|
+
version: "2025-04-14",
|
|
3416
|
+
protocol: "HTTPS",
|
|
3417
|
+
pathname: "/",
|
|
3418
|
+
method: "POST",
|
|
3419
|
+
authType: "AK",
|
|
3420
|
+
style: "RPC",
|
|
3421
|
+
reqBodyType: "formData",
|
|
3422
|
+
bodyType: "json",
|
|
3423
|
+
});
|
|
3424
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetWorkspaceCodePublishSettingResponse({}));
|
|
3425
|
+
}
|
|
3426
|
+
/**
|
|
3427
|
+
* 设置工作空间代码发布配置
|
|
3428
|
+
*
|
|
3429
|
+
* @param request - SetWorkspaceCodePublishSettingRequest
|
|
3430
|
+
* @returns SetWorkspaceCodePublishSettingResponse
|
|
3431
|
+
*/
|
|
3432
|
+
async setWorkspaceCodePublishSetting(request) {
|
|
3433
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3434
|
+
return await this.setWorkspaceCodePublishSettingWithOptions(request, runtime);
|
|
3435
|
+
}
|
|
3350
3436
|
/**
|
|
3351
3437
|
* 更新UpdateAirflow
|
|
3352
3438
|
*
|
|
@@ -3760,6 +3846,134 @@ class Client extends openapi_core_1.default {
|
|
|
3760
3846
|
let runtime = new $dara.RuntimeOptions({});
|
|
3761
3847
|
return await this.updateDataLakeTableWithOptions(request, runtime);
|
|
3762
3848
|
}
|
|
3849
|
+
/**
|
|
3850
|
+
* 工作空间异步操作日志查询接口
|
|
3851
|
+
*
|
|
3852
|
+
* @param request - WorkspaceActionLogRequest
|
|
3853
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3854
|
+
* @returns WorkspaceActionLogResponse
|
|
3855
|
+
*/
|
|
3856
|
+
async workspaceActionLogWithOptions(request, runtime) {
|
|
3857
|
+
request.validate();
|
|
3858
|
+
let query = {};
|
|
3859
|
+
if (!$dara.isNull(request.key)) {
|
|
3860
|
+
query["Key"] = request.key;
|
|
3861
|
+
}
|
|
3862
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3863
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3864
|
+
}
|
|
3865
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3866
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3867
|
+
});
|
|
3868
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3869
|
+
action: "WorkspaceActionLog",
|
|
3870
|
+
version: "2025-04-14",
|
|
3871
|
+
protocol: "HTTPS",
|
|
3872
|
+
pathname: "/",
|
|
3873
|
+
method: "POST",
|
|
3874
|
+
authType: "AK",
|
|
3875
|
+
style: "RPC",
|
|
3876
|
+
reqBodyType: "formData",
|
|
3877
|
+
bodyType: "json",
|
|
3878
|
+
});
|
|
3879
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WorkspaceActionLogResponse({}));
|
|
3880
|
+
}
|
|
3881
|
+
/**
|
|
3882
|
+
* 工作空间异步操作日志查询接口
|
|
3883
|
+
*
|
|
3884
|
+
* @param request - WorkspaceActionLogRequest
|
|
3885
|
+
* @returns WorkspaceActionLogResponse
|
|
3886
|
+
*/
|
|
3887
|
+
async workspaceActionLog(request) {
|
|
3888
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3889
|
+
return await this.workspaceActionLogWithOptions(request, runtime);
|
|
3890
|
+
}
|
|
3891
|
+
/**
|
|
3892
|
+
* 工作空间异步操作状态查询接口
|
|
3893
|
+
*
|
|
3894
|
+
* @param request - WorkspaceActionStatusRequest
|
|
3895
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3896
|
+
* @returns WorkspaceActionStatusResponse
|
|
3897
|
+
*/
|
|
3898
|
+
async workspaceActionStatusWithOptions(request, runtime) {
|
|
3899
|
+
request.validate();
|
|
3900
|
+
let query = {};
|
|
3901
|
+
if (!$dara.isNull(request.key)) {
|
|
3902
|
+
query["Key"] = request.key;
|
|
3903
|
+
}
|
|
3904
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3905
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3906
|
+
}
|
|
3907
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3908
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3909
|
+
});
|
|
3910
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3911
|
+
action: "WorkspaceActionStatus",
|
|
3912
|
+
version: "2025-04-14",
|
|
3913
|
+
protocol: "HTTPS",
|
|
3914
|
+
pathname: "/",
|
|
3915
|
+
method: "POST",
|
|
3916
|
+
authType: "AK",
|
|
3917
|
+
style: "RPC",
|
|
3918
|
+
reqBodyType: "formData",
|
|
3919
|
+
bodyType: "json",
|
|
3920
|
+
});
|
|
3921
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WorkspaceActionStatusResponse({}));
|
|
3922
|
+
}
|
|
3923
|
+
/**
|
|
3924
|
+
* 工作空间异步操作状态查询接口
|
|
3925
|
+
*
|
|
3926
|
+
* @param request - WorkspaceActionStatusRequest
|
|
3927
|
+
* @returns WorkspaceActionStatusResponse
|
|
3928
|
+
*/
|
|
3929
|
+
async workspaceActionStatus(request) {
|
|
3930
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3931
|
+
return await this.workspaceActionStatusWithOptions(request, runtime);
|
|
3932
|
+
}
|
|
3933
|
+
/**
|
|
3934
|
+
* 工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态
|
|
3935
|
+
*
|
|
3936
|
+
* @param request - WorkspaceCodePublishRequest
|
|
3937
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3938
|
+
* @returns WorkspaceCodePublishResponse
|
|
3939
|
+
*/
|
|
3940
|
+
async workspaceCodePublishWithOptions(request, runtime) {
|
|
3941
|
+
request.validate();
|
|
3942
|
+
let query = {};
|
|
3943
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3944
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3945
|
+
}
|
|
3946
|
+
let body = {};
|
|
3947
|
+
if (!$dara.isNull(request.config)) {
|
|
3948
|
+
body["Config"] = request.config;
|
|
3949
|
+
}
|
|
3950
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3951
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3952
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3953
|
+
});
|
|
3954
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3955
|
+
action: "WorkspaceCodePublish",
|
|
3956
|
+
version: "2025-04-14",
|
|
3957
|
+
protocol: "HTTPS",
|
|
3958
|
+
pathname: "/",
|
|
3959
|
+
method: "POST",
|
|
3960
|
+
authType: "AK",
|
|
3961
|
+
style: "RPC",
|
|
3962
|
+
reqBodyType: "formData",
|
|
3963
|
+
bodyType: "json",
|
|
3964
|
+
});
|
|
3965
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WorkspaceCodePublishResponse({}));
|
|
3966
|
+
}
|
|
3967
|
+
/**
|
|
3968
|
+
* 工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态
|
|
3969
|
+
*
|
|
3970
|
+
* @param request - WorkspaceCodePublishRequest
|
|
3971
|
+
* @returns WorkspaceCodePublishResponse
|
|
3972
|
+
*/
|
|
3973
|
+
async workspaceCodePublish(request) {
|
|
3974
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3975
|
+
return await this.workspaceCodePublishWithOptions(request, runtime);
|
|
3976
|
+
}
|
|
3763
3977
|
}
|
|
3764
3978
|
exports.default = Client;
|
|
3765
3979
|
//# sourceMappingURL=client.js.map
|