Skip to content

Commit 6f6006a

Browse files
committed
Update API GetCreateWorkflowInstancesResult: add response parameters Body.Result.WorkflowTaskInstanceIds.
1 parent 57a385e commit 6f6006a

File tree

122 files changed

+2151
-249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+2151
-249
lines changed

dataworks-public-20240518/ChangeLog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2025-10-29 Version: 4.4.1
2+
- Update API GetCreateWorkflowInstancesResult: add response parameters Body.Result.WorkflowTaskInstanceIds.
3+
- Update API GetWorkflowInstance: add response parameters Body.WorkflowInstance.Owner.
4+
- Update API GetWorkflowInstance: add response parameters Body.WorkflowInstance.WorkflowTaskInstanceId.
5+
- Update API ListWorkflowInstances: add response parameters Body.PagingInfo.WorkflowInstances.$.Owner.
6+
- Update API ListWorkflowInstances: add response parameters Body.PagingInfo.WorkflowInstances.$.WorkflowTaskInstanceId.
7+
8+
19
2025-10-09 Version: 4.4.0
210
- Support API CreateComponent.
311
- Support API DeleteComponent.

dataworks-public-20240518/core/Client.cs

Lines changed: 108 additions & 28 deletions
Large diffs are not rendered by default.

dataworks-public-20240518/core/Models/AddEntityIntoMetaCollectionRequest.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
1111
public class AddEntityIntoMetaCollectionRequest : TeaModel {
1212
/// <summary>
13-
/// <para>The entity ID. Currently, entities can only be tables. You can call the ListTables operation to query the ID.</para>
13+
/// <para>The entity ID. Currently, only table entities are supported. You can call the ListTables operation to obtain the ID.</para>
1414
/// <para>This parameter is required.</para>
1515
///
1616
/// <b>Example:</b>
@@ -21,7 +21,7 @@ public class AddEntityIntoMetaCollectionRequest : TeaModel {
2121
public string Id { get; set; }
2222

2323
/// <summary>
24-
/// <para>The collection ID. You can call the ListMetaCollections operation to query the ID.</para>
24+
/// <para>The collection ID. You can refer to the return result of the ListMetaCollections operation.</para>
2525
/// <para>This parameter is required.</para>
2626
///
2727
/// <b>Example:</b>
@@ -31,6 +31,12 @@ public class AddEntityIntoMetaCollectionRequest : TeaModel {
3131
[Validation(Required=false)]
3232
public string MetaCollectionId { get; set; }
3333

34+
/// <summary>
35+
/// <para>Remarks added when adding the entity to a collection. This parameter is currently valid only for album collections.</para>
36+
///
37+
/// <b>Example:</b>
38+
/// <para>test</para>
39+
/// </summary>
3440
[NameInMap("Remark")]
3541
[Validation(Required=false)]
3642
public string Remark { get; set; }

dataworks-public-20240518/core/Models/AddEntityIntoMetaCollectionResponseBody.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
1111
public class AddEntityIntoMetaCollectionResponseBody : TeaModel {
1212
/// <summary>
13-
/// <para>Id of the request</para>
13+
/// <para>The request ID.</para>
1414
///
1515
/// <b>Example:</b>
1616
/// <para>C99E2BE6-9DEA-5C2E-8F51-1DDCFEADE490</para>

dataworks-public-20240518/core/Models/BatchUpdateTasksRequest.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ public class BatchUpdateTasksRequest : TeaModel {
2020
public string Comment { get; set; }
2121

2222
/// <summary>
23-
/// <para>The tasks.</para>
23+
/// <para>The list of tasks.</para>
2424
/// </summary>
2525
[NameInMap("Tasks")]
2626
[Validation(Required=false)]
2727
public List<BatchUpdateTasksRequestTasks> Tasks { get; set; }
2828
public class BatchUpdateTasksRequestTasks : TeaModel {
2929
/// <summary>
30-
/// <para>The information about the associated data source.</para>
30+
/// <para>Associated data source information.</para>
3131
/// </summary>
3232
[NameInMap("DataSource")]
3333
[Validation(Required=false)]
3434
public BatchUpdateTasksRequestTasksDataSource DataSource { get; set; }
3535
public class BatchUpdateTasksRequestTasksDataSource : TeaModel {
3636
/// <summary>
37-
/// <para>The name of the data source.</para>
37+
/// <para>The data source name.</para>
3838
///
3939
/// <b>Example:</b>
4040
/// <para>odps_test</para>
@@ -56,10 +56,10 @@ public class BatchUpdateTasksRequestTasksDataSource : TeaModel {
5656
public string Description { get; set; }
5757

5858
/// <summary>
59-
/// <para>The environment of the workspace. Valid values:</para>
59+
/// <para>The project environment.</para>
6060
/// <list type="bullet">
61-
/// <item><description>Prod: production environment</description></item>
62-
/// <item><description>Dev: development environment</description></item>
61+
/// <item><description>Prod: Production</description></item>
62+
/// <item><description>Dev: Development</description></item>
6363
/// </list>
6464
///
6565
/// <b>Example:</b>
@@ -101,7 +101,7 @@ public class BatchUpdateTasksRequestTasksDataSource : TeaModel {
101101
public string Owner { get; set; }
102102

103103
/// <summary>
104-
/// <para>The rerun interval. Unit: seconds.</para>
104+
/// <para>The retry interval in seconds.</para>
105105
///
106106
/// <b>Example:</b>
107107
/// <para>60</para>
@@ -113,9 +113,9 @@ public class BatchUpdateTasksRequestTasksDataSource : TeaModel {
113113
/// <summary>
114114
/// <para>The rerun mode. Valid values:</para>
115115
/// <list type="bullet">
116-
/// <item><description>AllDenied: The task cannot be rerun regardless of whether the task is successfully run or fails to run.</description></item>
117-
/// <item><description>FailureAllowed: The task can be rerun only after it fails to run.</description></item>
118-
/// <item><description>AllAllowed: The task can be rerun regardless of whether the task is successfully run or fails to run.</description></item>
116+
/// <item><description>AllDenied: The task cannot be rerun.</description></item>
117+
/// <item><description>FailureAllowed: The task can be rerun only after it fails.</description></item>
118+
/// <item><description>AllAllowed: The task can always be rerun.</description></item>
119119
/// </list>
120120
///
121121
/// <b>Example:</b>
@@ -126,7 +126,7 @@ public class BatchUpdateTasksRequestTasksDataSource : TeaModel {
126126
public string RerunMode { get; set; }
127127

128128
/// <summary>
129-
/// <para>The number of times that the task is rerun. This parameter takes effect only if the RerunMode parameter is set to AllAllowed or FailureAllowed.</para>
129+
/// <para>The number of retry attempts. Takes effect when the task is configured to allow reruns.</para>
130130
///
131131
/// <b>Example:</b>
132132
/// <para>3</para>
@@ -136,7 +136,7 @@ public class BatchUpdateTasksRequestTasksDataSource : TeaModel {
136136
public int? RerunTimes { get; set; }
137137

138138
/// <summary>
139-
/// <para>The configurations of the runtime environment, such as the resource group information.</para>
139+
/// <para>Runtime environment configurations, such as resource group information.</para>
140140
/// </summary>
141141
[NameInMap("RuntimeResource")]
142142
[Validation(Required=false)]
@@ -153,7 +153,7 @@ public class BatchUpdateTasksRequestTasksRuntimeResource : TeaModel {
153153
public string Cu { get; set; }
154154

155155
/// <summary>
156-
/// <para>The ID of the image configured for task running.</para>
156+
/// <para>The image ID used in the task runtime configuration.</para>
157157
///
158158
/// <b>Example:</b>
159159
/// <para>i-xxxxxx</para>
@@ -163,7 +163,7 @@ public class BatchUpdateTasksRequestTasksRuntimeResource : TeaModel {
163163
public string Image { get; set; }
164164

165165
/// <summary>
166-
/// <para>The ID of the resource group for scheduling configured for task running.</para>
166+
/// <para>The identifier of the scheduling resource group used in the task runtime configuration.</para>
167167
///
168168
/// <b>Example:</b>
169169
/// <para>S_res_group_524258031846018_1684XXXXXXXXX</para>
@@ -175,7 +175,7 @@ public class BatchUpdateTasksRequestTasksRuntimeResource : TeaModel {
175175
}
176176

177177
/// <summary>
178-
/// <para>The tags.</para>
178+
/// <para>The list of task tags.</para>
179179
/// </summary>
180180
[NameInMap("Tags")]
181181
[Validation(Required=false)]
@@ -205,7 +205,7 @@ public class BatchUpdateTasksRequestTasksTags : TeaModel {
205205
}
206206

207207
/// <summary>
208-
/// <para>The timeout period of task running. Unit: seconds.</para>
208+
/// <para>The task execution timeout in seconds. The value should be greater than 3600.</para>
209209
///
210210
/// <b>Example:</b>
211211
/// <para>3600</para>
@@ -215,14 +215,14 @@ public class BatchUpdateTasksRequestTasksTags : TeaModel {
215215
public int? Timeout { get; set; }
216216

217217
/// <summary>
218-
/// <para>The trigger method.</para>
218+
/// <para>The task trigger configurations.</para>
219219
/// </summary>
220220
[NameInMap("Trigger")]
221221
[Validation(Required=false)]
222222
public BatchUpdateTasksRequestTasksTrigger Trigger { get; set; }
223223
public class BatchUpdateTasksRequestTasksTrigger : TeaModel {
224224
/// <summary>
225-
/// <para>The CRON expression. This parameter takes effect only if the Type parameter is set to Scheduler.</para>
225+
/// <para>The cron expression. Takes effect when type=Scheduler.</para>
226226
///
227227
/// <b>Example:</b>
228228
/// <para>00 00 00 * * ?</para>
@@ -232,7 +232,7 @@ public class BatchUpdateTasksRequestTasksTrigger : TeaModel {
232232
public string Cron { get; set; }
233233

234234
/// <summary>
235-
/// <para>The end time of the time range during which the task is periodically scheduled. This parameter takes effect only if the Type parameter is set to Scheduler. The value of this parameter is in the <c>yyyy-mm-dd hh:mm:ss</c>.</para>
235+
/// <para>The expiration time of periodic triggering. Takes effect only when type is set to Scheduler. The value of this parameter is in the<c>yyyy-mm-dd hh:mm:ss</c> format.</para>
236236
///
237237
/// <b>Example:</b>
238238
/// <para>9999-01-01 00:00:00</para>
@@ -257,7 +257,7 @@ public class BatchUpdateTasksRequestTasksTrigger : TeaModel {
257257
public string Recurrence { get; set; }
258258

259259
/// <summary>
260-
/// <para>The start time of the time range during which the task is periodically scheduled. This parameter takes effect only if the Type parameter is set to Scheduler. The value of this parameter is in the <c>yyyy-mm-dd hh:mm:ss</c>.</para>
260+
/// <para>The time when periodic triggering takes effect. This parameter takes effect only if the Type parameter is set to Scheduler. The value of this parameter is in the <c>yyyy-mm-dd hh:mm:ss</c> format.</para>
261261
///
262262
/// <b>Example:</b>
263263
/// <para>1970-01-01 00:00:00</para>
@@ -269,8 +269,8 @@ public class BatchUpdateTasksRequestTasksTrigger : TeaModel {
269269
/// <summary>
270270
/// <para>The trigger type. Valid values:</para>
271271
/// <list type="bullet">
272-
/// <item><description>Scheduler: scheduling cycle-based trigger</description></item>
273-
/// <item><description>Manual: manual trigger</description></item>
272+
/// <item><description>Scheduler: periodically triggered</description></item>
273+
/// <item><description>Manual</description></item>
274274
/// </list>
275275
///
276276
/// <b>Example:</b>

dataworks-public-20240518/core/Models/BatchUpdateTasksShrinkRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class BatchUpdateTasksShrinkRequest : TeaModel {
2020
public string Comment { get; set; }
2121

2222
/// <summary>
23-
/// <para>The tasks.</para>
23+
/// <para>The list of tasks.</para>
2424
/// </summary>
2525
[NameInMap("Tasks")]
2626
[Validation(Required=false)]

dataworks-public-20240518/core/Models/CreateBusinessRequest.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
1111
public class CreateBusinessRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The name of the workflow. Workflow names must be unique within the same workspace.</para>
1314
/// <para>This parameter is required.</para>
1415
///
1516
/// <b>Example:</b>
@@ -19,11 +20,19 @@ public class CreateBusinessRequest : TeaModel {
1920
[Validation(Required=false)]
2021
public string BusinessName { get; set; }
2122

23+
/// <summary>
24+
/// <para>The description of the workflow.</para>
25+
///
26+
/// <b>Example:</b>
27+
/// <para>test</para>
28+
/// </summary>
2229
[NameInMap("Description")]
2330
[Validation(Required=false)]
2431
public string Description { get; set; }
2532

2633
/// <summary>
34+
/// <para>The Alibaba Cloud account ID of the person responsible for the workflow. You can view the account ID by hovering over the user avatar in the top-right corner of the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a>. If this parameter is not specified, the account ID of the API caller is used by default.</para>
35+
///
2736
/// <b>Example:</b>
2837
/// <para>1000000000001</para>
2938
/// </summary>
@@ -32,6 +41,8 @@ public class CreateBusinessRequest : TeaModel {
3241
public string Owner { get; set; }
3342

3443
/// <summary>
44+
/// <para>The ID of the DataWorks workspace. You can view the workspace ID on the workspace management page in the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a>.</para>
45+
///
3546
/// <b>Example:</b>
3647
/// <para>10000</para>
3748
/// </summary>
@@ -40,6 +51,8 @@ public class CreateBusinessRequest : TeaModel {
4051
public long? ProjectId { get; set; }
4152

4253
/// <summary>
54+
/// <para>The unique identifier of the DataWorks workspace, This is the identifier shown in the workspace switch at the top of the Data Studio page. Either this parameter or ProjectId must be specified to determine which DataWorks project this API call operates on.</para>
55+
///
4356
/// <b>Example:</b>
4457
/// <para>dw_project</para>
4558
/// </summary>
@@ -48,6 +61,12 @@ public class CreateBusinessRequest : TeaModel {
4861
public string ProjectIdentifier { get; set; }
4962

5063
/// <summary>
64+
/// <para>The module to which the workflow belongs. Valid values:</para>
65+
/// <list type="bullet">
66+
/// <item><description>NORMAL: Data Studio</description></item>
67+
/// <item><description>MANUAL_BIZ: Manually triggered workflow</description></item>
68+
/// </list>
69+
///
5170
/// <b>Example:</b>
5271
/// <para>NORMAL</para>
5372
/// </summary>

dataworks-public-20240518/core/Models/CreateBusinessResponseBody.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
1111
public class CreateBusinessResponseBody : TeaModel {
1212
/// <summary>
13+
/// <para>The workflow ID.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>100001</para>
1517
/// </summary>
@@ -18,6 +20,13 @@ public class CreateBusinessResponseBody : TeaModel {
1820
public long? BusinessId { get; set; }
1921

2022
/// <summary>
23+
/// <para>The error code.</para>
24+
/// <list type="bullet">
25+
/// <item><description>Request succeeded: The ErrorCode field is not returned.</description></item>
26+
/// <item><description>Request failed: The ErrorCode field is returned.</description></item>
27+
/// </list>
28+
/// <para>For more information, see the error code section.</para>
29+
///
2130
/// <b>Example:</b>
2231
/// <para>Invalid.Tenant.ConnectionNotExists</para>
2332
/// </summary>
@@ -26,6 +35,8 @@ public class CreateBusinessResponseBody : TeaModel {
2635
public string ErrorCode { get; set; }
2736

2837
/// <summary>
38+
/// <para>The error message.</para>
39+
///
2940
/// <b>Example:</b>
3041
/// <para>The connection does not exist.</para>
3142
/// </summary>
@@ -34,6 +45,8 @@ public class CreateBusinessResponseBody : TeaModel {
3445
public string ErrorMessage { get; set; }
3546

3647
/// <summary>
48+
/// <para>The HTTP status code.</para>
49+
///
3750
/// <b>Example:</b>
3851
/// <para>200</para>
3952
/// </summary>
@@ -42,6 +55,8 @@ public class CreateBusinessResponseBody : TeaModel {
4255
public int? HttpStatusCode { get; set; }
4356

4457
/// <summary>
58+
/// <para>The unique ID of this request. You can troubleshoot issues based on the ID.</para>
59+
///
4560
/// <b>Example:</b>
4661
/// <para>0000-ABCD-EFG****</para>
4762
/// </summary>
@@ -50,6 +65,12 @@ public class CreateBusinessResponseBody : TeaModel {
5065
public string RequestId { get; set; }
5166

5267
/// <summary>
68+
/// <para>Indicates whether the call succeeded. Valid values:</para>
69+
/// <list type="bullet">
70+
/// <item><description>true</description></item>
71+
/// <item><description>false</description></item>
72+
/// </list>
73+
///
5374
/// <b>Example:</b>
5475
/// <para>true</para>
5576
/// </summary>

dataworks-public-20240518/core/Models/CreateComponentRequest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
1111
public class CreateComponentRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The client token that is used to ensure the idempotence of the request.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>1AFAE64E-D1BE-432B-A9****</para>
1517
/// </summary>
@@ -18,6 +20,7 @@ public class CreateComponentRequest : TeaModel {
1820
public string ClientToken { get; set; }
1921

2022
/// <summary>
23+
/// <para>The DataWorks workspace ID. You can call the <a href="https://help.aliyun.com/document_detail/2852607.html">ListProjects</a> operation to obtain the ID.</para>
2124
/// <para>This parameter is required.</para>
2225
///
2326
/// <b>Example:</b>
@@ -28,6 +31,7 @@ public class CreateComponentRequest : TeaModel {
2831
public long? ProjectId { get; set; }
2932

3033
/// <summary>
34+
/// <para>The FlowSpec information for this UDF function. For more information, see <a href="https://github.com/aliyun/dataworks-spec/blob/master/README_zh_CN.md">FlowSpec</a>.</para>
3135
/// <para>This parameter is required.</para>
3236
///
3337
/// <b>Example:</b>

dataworks-public-20240518/core/Models/CreateComponentResponseBody.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
1111
public class CreateComponentResponseBody : TeaModel {
1212
/// <summary>
13+
/// <para>The ID of the dataset acceleration component. To obtain the component ID, see <a href="https://help.aliyun.com/document_detail/2979566.html">ListComponents</a>.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>123123123123123</para>
1517
/// </summary>

0 commit comments

Comments
 (0)