@alicloud/dataworks-public20240518 7.1.2 → 7.2.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 +48 -2
- package/dist/client.js +134 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataSourceRequest.d.ts +1 -1
- package/dist/models/CreateWorkflowInstancesRequest.d.ts +7 -7
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunProperties.d.ts +14 -8
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunProperties.js +2 -0
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunProperties.js.map +1 -1
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunPropertiesAnalysis.d.ts +2 -2
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunPropertiesRunPolicy.d.ts +3 -3
- package/dist/models/CreateWorkflowInstancesRequestPeriods.d.ts +5 -5
- package/dist/models/CreateWorkflowInstancesRequestPeriodsBizDates.d.ts +2 -2
- package/dist/models/CreateWorkflowInstancesShrinkRequest.d.ts +7 -7
- package/dist/models/GetRerunWorkflowInstancesResultRequest.d.ts +21 -0
- package/dist/models/GetRerunWorkflowInstancesResultRequest.js +58 -0
- package/dist/models/GetRerunWorkflowInstancesResultRequest.js.map +1 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponse.d.ts +19 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponse.js +69 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponse.js.map +1 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBody.d.ts +20 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBody.js +64 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBody.js.map +1 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBodyResult.d.ts +19 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBodyResult.js +60 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBodyResult.js.map +1 -0
- package/dist/models/GetSchemaRequest.d.ts +6 -0
- package/dist/models/GetSchemaRequest.js.map +1 -1
- package/dist/models/GetTaskInstanceResponseBodyTaskInstance.d.ts +2 -0
- package/dist/models/GetTaskInstanceResponseBodyTaskInstance.js +4 -0
- package/dist/models/GetTaskInstanceResponseBodyTaskInstance.js.map +1 -1
- package/dist/models/ListNodesRequest.d.ts +7 -11
- package/dist/models/ListNodesRequest.js.map +1 -1
- package/dist/models/ListResourcesRequest.d.ts +1 -1
- package/dist/models/ListResourcesResponseBodyPagingInfo.d.ts +1 -1
- package/dist/models/ListResourcesResponseBodyPagingInfoResources.d.ts +1 -1
- package/dist/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.d.ts +3 -0
- package/dist/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.js +6 -0
- package/dist/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.js.map +1 -1
- package/dist/models/RerunWorkflowInstancesRequest.d.ts +67 -0
- package/dist/models/RerunWorkflowInstancesRequest.js +85 -0
- package/dist/models/RerunWorkflowInstancesRequest.js.map +1 -0
- package/dist/models/RerunWorkflowInstancesRequestFilter.d.ts +26 -0
- package/dist/models/RerunWorkflowInstancesRequestFilter.js +75 -0
- package/dist/models/RerunWorkflowInstancesRequestFilter.js.map +1 -0
- package/dist/models/RerunWorkflowInstancesResponse.d.ts +19 -0
- package/dist/models/RerunWorkflowInstancesResponse.js +69 -0
- package/dist/models/RerunWorkflowInstancesResponse.js.map +1 -0
- package/dist/models/RerunWorkflowInstancesResponseBody.d.ts +23 -0
- package/dist/models/RerunWorkflowInstancesResponseBody.js +60 -0
- package/dist/models/RerunWorkflowInstancesResponseBody.js.map +1 -0
- package/dist/models/RerunWorkflowInstancesShrinkRequest.d.ts +66 -0
- package/dist/models/RerunWorkflowInstancesShrinkRequest.js +78 -0
- package/dist/models/RerunWorkflowInstancesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateBusinessRequest.d.ts +23 -0
- package/dist/models/UpdateBusinessRequest.js.map +1 -1
- package/dist/models/UpdateBusinessResponseBody.d.ts +18 -0
- package/dist/models/UpdateBusinessResponseBody.js.map +1 -1
- package/dist/models/UpdateDataSourceRequest.d.ts +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +42 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +152 -2
- package/src/models/CreateDataSourceRequest.ts +1 -1
- package/src/models/CreateWorkflowInstancesRequest.ts +7 -7
- package/src/models/CreateWorkflowInstancesRequestDefaultRunProperties.ts +16 -8
- package/src/models/CreateWorkflowInstancesRequestDefaultRunPropertiesAnalysis.ts +2 -2
- package/src/models/CreateWorkflowInstancesRequestDefaultRunPropertiesRunPolicy.ts +3 -3
- package/src/models/CreateWorkflowInstancesRequestPeriods.ts +5 -5
- package/src/models/CreateWorkflowInstancesRequestPeriodsBizDates.ts +2 -2
- package/src/models/CreateWorkflowInstancesShrinkRequest.ts +7 -7
- package/src/models/GetRerunWorkflowInstancesResultRequest.ts +34 -0
- package/src/models/GetRerunWorkflowInstancesResultResponse.ts +40 -0
- package/src/models/GetRerunWorkflowInstancesResultResponseBody.ts +38 -0
- package/src/models/GetRerunWorkflowInstancesResultResponseBodyResult.ts +34 -0
- package/src/models/GetSchemaRequest.ts +6 -0
- package/src/models/GetTaskInstanceResponseBodyTaskInstance.ts +6 -0
- package/src/models/ListNodesRequest.ts +7 -11
- package/src/models/ListResourcesRequest.ts +1 -1
- package/src/models/ListResourcesResponseBodyPagingInfo.ts +1 -1
- package/src/models/ListResourcesResponseBodyPagingInfoResources.ts +1 -1
- package/src/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.ts +9 -0
- package/src/models/RerunWorkflowInstancesRequest.ts +106 -0
- package/src/models/RerunWorkflowInstancesRequestFilter.ts +56 -0
- package/src/models/RerunWorkflowInstancesResponse.ts +40 -0
- package/src/models/RerunWorkflowInstancesResponseBody.ts +38 -0
- package/src/models/RerunWorkflowInstancesShrinkRequest.ts +99 -0
- package/src/models/UpdateBusinessRequest.ts +23 -0
- package/src/models/UpdateBusinessResponseBody.ts +18 -0
- package/src/models/UpdateDataSourceRequest.ts +1 -1
- package/src/models/model.ts +9 -0
package/dist/client.d.ts
CHANGED
|
@@ -612,12 +612,16 @@ export default class Client extends OpenApi {
|
|
|
612
612
|
*/
|
|
613
613
|
createWorkflowDefinition(request: $_model.CreateWorkflowDefinitionRequest): Promise<$_model.CreateWorkflowDefinitionResponse>;
|
|
614
614
|
/**
|
|
615
|
+
* Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
|
|
616
|
+
*
|
|
615
617
|
* @param tmpReq - CreateWorkflowInstancesRequest
|
|
616
618
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
617
619
|
* @returns CreateWorkflowInstancesResponse
|
|
618
620
|
*/
|
|
619
621
|
createWorkflowInstancesWithOptions(tmpReq: $_model.CreateWorkflowInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateWorkflowInstancesResponse>;
|
|
620
622
|
/**
|
|
623
|
+
* Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
|
|
624
|
+
*
|
|
621
625
|
* @param request - CreateWorkflowInstancesRequest
|
|
622
626
|
* @returns CreateWorkflowInstancesResponse
|
|
623
627
|
*/
|
|
@@ -1724,6 +1728,21 @@ export default class Client extends OpenApi {
|
|
|
1724
1728
|
* @returns GetProjectRoleResponse
|
|
1725
1729
|
*/
|
|
1726
1730
|
getProjectRole(request: $_model.GetProjectRoleRequest): Promise<$_model.GetProjectRoleResponse>;
|
|
1731
|
+
/**
|
|
1732
|
+
* 查询异步重跑工作流实例的结果
|
|
1733
|
+
*
|
|
1734
|
+
* @param request - GetRerunWorkflowInstancesResultRequest
|
|
1735
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1736
|
+
* @returns GetRerunWorkflowInstancesResultResponse
|
|
1737
|
+
*/
|
|
1738
|
+
getRerunWorkflowInstancesResultWithOptions(request: $_model.GetRerunWorkflowInstancesResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetRerunWorkflowInstancesResultResponse>;
|
|
1739
|
+
/**
|
|
1740
|
+
* 查询异步重跑工作流实例的结果
|
|
1741
|
+
*
|
|
1742
|
+
* @param request - GetRerunWorkflowInstancesResultRequest
|
|
1743
|
+
* @returns GetRerunWorkflowInstancesResultResponse
|
|
1744
|
+
*/
|
|
1745
|
+
getRerunWorkflowInstancesResult(request: $_model.GetRerunWorkflowInstancesResultRequest): Promise<$_model.GetRerunWorkflowInstancesResultResponse>;
|
|
1727
1746
|
/**
|
|
1728
1747
|
* Queries the information about a file resource.
|
|
1729
1748
|
*
|
|
@@ -1782,7 +1801,11 @@ export default class Client extends OpenApi {
|
|
|
1782
1801
|
*/
|
|
1783
1802
|
getRoute(request: $_model.GetRouteRequest): Promise<$_model.GetRouteResponse>;
|
|
1784
1803
|
/**
|
|
1785
|
-
*
|
|
1804
|
+
* Queries the information about a schema in Data Map. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
1805
|
+
*
|
|
1806
|
+
* @remarks
|
|
1807
|
+
* 1. This API operation is available for all DataWorks editions.
|
|
1808
|
+
* 2. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
1786
1809
|
*
|
|
1787
1810
|
* @param request - GetSchemaRequest
|
|
1788
1811
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1790,7 +1813,11 @@ export default class Client extends OpenApi {
|
|
|
1790
1813
|
*/
|
|
1791
1814
|
getSchemaWithOptions(request: $_model.GetSchemaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSchemaResponse>;
|
|
1792
1815
|
/**
|
|
1793
|
-
*
|
|
1816
|
+
* Queries the information about a schema in Data Map. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
1817
|
+
*
|
|
1818
|
+
* @remarks
|
|
1819
|
+
* 1. This API operation is available for all DataWorks editions.
|
|
1820
|
+
* 2. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
1794
1821
|
*
|
|
1795
1822
|
* @param request - GetSchemaRequest
|
|
1796
1823
|
* @returns GetSchemaResponse
|
|
@@ -3140,6 +3167,21 @@ export default class Client extends OpenApi {
|
|
|
3140
3167
|
* @returns RerunTaskInstancesResponse
|
|
3141
3168
|
*/
|
|
3142
3169
|
rerunTaskInstances(request: $_model.RerunTaskInstancesRequest): Promise<$_model.RerunTaskInstancesResponse>;
|
|
3170
|
+
/**
|
|
3171
|
+
* 重跑工作流实例
|
|
3172
|
+
*
|
|
3173
|
+
* @param tmpReq - RerunWorkflowInstancesRequest
|
|
3174
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3175
|
+
* @returns RerunWorkflowInstancesResponse
|
|
3176
|
+
*/
|
|
3177
|
+
rerunWorkflowInstancesWithOptions(tmpReq: $_model.RerunWorkflowInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RerunWorkflowInstancesResponse>;
|
|
3178
|
+
/**
|
|
3179
|
+
* 重跑工作流实例
|
|
3180
|
+
*
|
|
3181
|
+
* @param request - RerunWorkflowInstancesRequest
|
|
3182
|
+
* @returns RerunWorkflowInstancesResponse
|
|
3183
|
+
*/
|
|
3184
|
+
rerunWorkflowInstances(request: $_model.RerunWorkflowInstancesRequest): Promise<$_model.RerunWorkflowInstancesResponse>;
|
|
3143
3185
|
/**
|
|
3144
3186
|
* Resumes multiple suspended instances at a time.
|
|
3145
3187
|
*
|
|
@@ -3442,12 +3484,16 @@ export default class Client extends OpenApi {
|
|
|
3442
3484
|
*/
|
|
3443
3485
|
updateAlertRule(request: $_model.UpdateAlertRuleRequest): Promise<$_model.UpdateAlertRuleResponse>;
|
|
3444
3486
|
/**
|
|
3487
|
+
* Updates a workflow.
|
|
3488
|
+
*
|
|
3445
3489
|
* @param request - UpdateBusinessRequest
|
|
3446
3490
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3447
3491
|
* @returns UpdateBusinessResponse
|
|
3448
3492
|
*/
|
|
3449
3493
|
updateBusinessWithOptions(request: $_model.UpdateBusinessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateBusinessResponse>;
|
|
3450
3494
|
/**
|
|
3495
|
+
* Updates a workflow.
|
|
3496
|
+
*
|
|
3451
3497
|
* @param request - UpdateBusinessRequest
|
|
3452
3498
|
* @returns UpdateBusinessResponse
|
|
3453
3499
|
*/
|
package/dist/client.js
CHANGED
|
@@ -2209,6 +2209,8 @@ class Client extends openapi_core_1.default {
|
|
|
2209
2209
|
return await this.createWorkflowDefinitionWithOptions(request, runtime);
|
|
2210
2210
|
}
|
|
2211
2211
|
/**
|
|
2212
|
+
* Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
|
|
2213
|
+
*
|
|
2212
2214
|
* @param tmpReq - CreateWorkflowInstancesRequest
|
|
2213
2215
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2214
2216
|
* @returns CreateWorkflowInstancesResponse
|
|
@@ -2274,6 +2276,8 @@ class Client extends openapi_core_1.default {
|
|
|
2274
2276
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWorkflowInstancesResponse({}));
|
|
2275
2277
|
}
|
|
2276
2278
|
/**
|
|
2279
|
+
* Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
|
|
2280
|
+
*
|
|
2277
2281
|
* @param request - CreateWorkflowInstancesRequest
|
|
2278
2282
|
* @returns CreateWorkflowInstancesResponse
|
|
2279
2283
|
*/
|
|
@@ -4974,6 +4978,45 @@ class Client extends openapi_core_1.default {
|
|
|
4974
4978
|
let runtime = new $dara.RuntimeOptions({});
|
|
4975
4979
|
return await this.getProjectRoleWithOptions(request, runtime);
|
|
4976
4980
|
}
|
|
4981
|
+
/**
|
|
4982
|
+
* 查询异步重跑工作流实例的结果
|
|
4983
|
+
*
|
|
4984
|
+
* @param request - GetRerunWorkflowInstancesResultRequest
|
|
4985
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4986
|
+
* @returns GetRerunWorkflowInstancesResultResponse
|
|
4987
|
+
*/
|
|
4988
|
+
async getRerunWorkflowInstancesResultWithOptions(request, runtime) {
|
|
4989
|
+
request.validate();
|
|
4990
|
+
let query = {};
|
|
4991
|
+
if (!$dara.isNull(request.operationId)) {
|
|
4992
|
+
query["OperationId"] = request.operationId;
|
|
4993
|
+
}
|
|
4994
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4995
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4996
|
+
});
|
|
4997
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4998
|
+
action: "GetRerunWorkflowInstancesResult",
|
|
4999
|
+
version: "2024-05-18",
|
|
5000
|
+
protocol: "HTTPS",
|
|
5001
|
+
pathname: "/",
|
|
5002
|
+
method: "POST",
|
|
5003
|
+
authType: "AK",
|
|
5004
|
+
style: "RPC",
|
|
5005
|
+
reqBodyType: "formData",
|
|
5006
|
+
bodyType: "json",
|
|
5007
|
+
});
|
|
5008
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRerunWorkflowInstancesResultResponse({}));
|
|
5009
|
+
}
|
|
5010
|
+
/**
|
|
5011
|
+
* 查询异步重跑工作流实例的结果
|
|
5012
|
+
*
|
|
5013
|
+
* @param request - GetRerunWorkflowInstancesResultRequest
|
|
5014
|
+
* @returns GetRerunWorkflowInstancesResultResponse
|
|
5015
|
+
*/
|
|
5016
|
+
async getRerunWorkflowInstancesResult(request) {
|
|
5017
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5018
|
+
return await this.getRerunWorkflowInstancesResultWithOptions(request, runtime);
|
|
5019
|
+
}
|
|
4977
5020
|
/**
|
|
4978
5021
|
* Queries the information about a file resource.
|
|
4979
5022
|
*
|
|
@@ -5095,7 +5138,11 @@ class Client extends openapi_core_1.default {
|
|
|
5095
5138
|
return await this.getRouteWithOptions(request, runtime);
|
|
5096
5139
|
}
|
|
5097
5140
|
/**
|
|
5098
|
-
*
|
|
5141
|
+
* Queries the information about a schema in Data Map. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
5142
|
+
*
|
|
5143
|
+
* @remarks
|
|
5144
|
+
* 1. This API operation is available for all DataWorks editions.
|
|
5145
|
+
* 2. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
5099
5146
|
*
|
|
5100
5147
|
* @param request - GetSchemaRequest
|
|
5101
5148
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5121,7 +5168,11 @@ class Client extends openapi_core_1.default {
|
|
|
5121
5168
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSchemaResponse({}));
|
|
5122
5169
|
}
|
|
5123
5170
|
/**
|
|
5124
|
-
*
|
|
5171
|
+
* Queries the information about a schema in Data Map. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
5172
|
+
*
|
|
5173
|
+
* @remarks
|
|
5174
|
+
* 1. This API operation is available for all DataWorks editions.
|
|
5175
|
+
* 2. You can call this API operation to query the information only about MaxCompute and Hologres schemas.
|
|
5125
5176
|
*
|
|
5126
5177
|
* @param request - GetSchemaRequest
|
|
5127
5178
|
* @returns GetSchemaResponse
|
|
@@ -8800,6 +8851,83 @@ class Client extends openapi_core_1.default {
|
|
|
8800
8851
|
let runtime = new $dara.RuntimeOptions({});
|
|
8801
8852
|
return await this.rerunTaskInstancesWithOptions(request, runtime);
|
|
8802
8853
|
}
|
|
8854
|
+
/**
|
|
8855
|
+
* 重跑工作流实例
|
|
8856
|
+
*
|
|
8857
|
+
* @param tmpReq - RerunWorkflowInstancesRequest
|
|
8858
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8859
|
+
* @returns RerunWorkflowInstancesResponse
|
|
8860
|
+
*/
|
|
8861
|
+
async rerunWorkflowInstancesWithOptions(tmpReq, runtime) {
|
|
8862
|
+
tmpReq.validate();
|
|
8863
|
+
let request = new $_model.RerunWorkflowInstancesShrinkRequest({});
|
|
8864
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
8865
|
+
if (!$dara.isNull(tmpReq.filter)) {
|
|
8866
|
+
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
8867
|
+
}
|
|
8868
|
+
if (!$dara.isNull(tmpReq.ids)) {
|
|
8869
|
+
request.idsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ids, "Ids", "json");
|
|
8870
|
+
}
|
|
8871
|
+
let body = {};
|
|
8872
|
+
if (!$dara.isNull(request.bizdate)) {
|
|
8873
|
+
body["Bizdate"] = request.bizdate;
|
|
8874
|
+
}
|
|
8875
|
+
if (!$dara.isNull(request.endTriggerTime)) {
|
|
8876
|
+
body["EndTriggerTime"] = request.endTriggerTime;
|
|
8877
|
+
}
|
|
8878
|
+
if (!$dara.isNull(request.envType)) {
|
|
8879
|
+
body["EnvType"] = request.envType;
|
|
8880
|
+
}
|
|
8881
|
+
if (!$dara.isNull(request.filterShrink)) {
|
|
8882
|
+
body["Filter"] = request.filterShrink;
|
|
8883
|
+
}
|
|
8884
|
+
if (!$dara.isNull(request.idsShrink)) {
|
|
8885
|
+
body["Ids"] = request.idsShrink;
|
|
8886
|
+
}
|
|
8887
|
+
if (!$dara.isNull(request.name)) {
|
|
8888
|
+
body["Name"] = request.name;
|
|
8889
|
+
}
|
|
8890
|
+
if (!$dara.isNull(request.projectId)) {
|
|
8891
|
+
body["ProjectId"] = request.projectId;
|
|
8892
|
+
}
|
|
8893
|
+
if (!$dara.isNull(request.startTriggerTime)) {
|
|
8894
|
+
body["StartTriggerTime"] = request.startTriggerTime;
|
|
8895
|
+
}
|
|
8896
|
+
if (!$dara.isNull(request.status)) {
|
|
8897
|
+
body["Status"] = request.status;
|
|
8898
|
+
}
|
|
8899
|
+
if (!$dara.isNull(request.type)) {
|
|
8900
|
+
body["Type"] = request.type;
|
|
8901
|
+
}
|
|
8902
|
+
if (!$dara.isNull(request.workflowId)) {
|
|
8903
|
+
body["WorkflowId"] = request.workflowId;
|
|
8904
|
+
}
|
|
8905
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8906
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
8907
|
+
});
|
|
8908
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8909
|
+
action: "RerunWorkflowInstances",
|
|
8910
|
+
version: "2024-05-18",
|
|
8911
|
+
protocol: "HTTPS",
|
|
8912
|
+
pathname: "/",
|
|
8913
|
+
method: "POST",
|
|
8914
|
+
authType: "AK",
|
|
8915
|
+
style: "RPC",
|
|
8916
|
+
reqBodyType: "formData",
|
|
8917
|
+
bodyType: "json",
|
|
8918
|
+
});
|
|
8919
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RerunWorkflowInstancesResponse({}));
|
|
8920
|
+
}
|
|
8921
|
+
/**
|
|
8922
|
+
* 重跑工作流实例
|
|
8923
|
+
*
|
|
8924
|
+
* @param request - RerunWorkflowInstancesRequest
|
|
8925
|
+
* @returns RerunWorkflowInstancesResponse
|
|
8926
|
+
*/
|
|
8927
|
+
async rerunWorkflowInstances(request) {
|
|
8928
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8929
|
+
return await this.rerunWorkflowInstancesWithOptions(request, runtime);
|
|
8930
|
+
}
|
|
8803
8931
|
/**
|
|
8804
8932
|
* Resumes multiple suspended instances at a time.
|
|
8805
8933
|
*
|
|
@@ -9612,6 +9740,8 @@ class Client extends openapi_core_1.default {
|
|
|
9612
9740
|
return await this.updateAlertRuleWithOptions(request, runtime);
|
|
9613
9741
|
}
|
|
9614
9742
|
/**
|
|
9743
|
+
* Updates a workflow.
|
|
9744
|
+
*
|
|
9615
9745
|
* @param request - UpdateBusinessRequest
|
|
9616
9746
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
9617
9747
|
* @returns UpdateBusinessResponse
|
|
@@ -9654,6 +9784,8 @@ class Client extends openapi_core_1.default {
|
|
|
9654
9784
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateBusinessResponse({}));
|
|
9655
9785
|
}
|
|
9656
9786
|
/**
|
|
9787
|
+
* Updates a workflow.
|
|
9788
|
+
*
|
|
9657
9789
|
* @param request - UpdateBusinessRequest
|
|
9658
9790
|
* @returns UpdateBusinessResponse
|
|
9659
9791
|
*/
|