tencentcloud-sdk-nodejs-intl-en 3.0.1321 → 3.0.1322

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.
@@ -0,0 +1,313 @@
1
+ /*
2
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const models = require("./models");
18
+ const AbstractClient = require('../../common/abstract_client')
19
+ const ArchiveLogInterval = models.ArchiveLogInterval;
20
+ const IsolateDBInstanceRequest = models.IsolateDBInstanceRequest;
21
+ const ModifyBinlogStatusResponse = models.ModifyBinlogStatusResponse;
22
+ const DescribeFlowRequest = models.DescribeFlowRequest;
23
+ const ModifyDBSBackupSetCommentResponse = models.ModifyDBSBackupSetCommentResponse;
24
+ const ModifyInstanceNameResponse = models.ModifyInstanceNameResponse;
25
+ const DescribeDatabaseTableRequest = models.DescribeDatabaseTableRequest;
26
+ const ModifyDBInstanceSecurityGroupsResponse = models.ModifyDBInstanceSecurityGroupsResponse;
27
+ const DescribeDBParametersRequest = models.DescribeDBParametersRequest;
28
+ const DescribeDatabaseTableResponse = models.DescribeDatabaseTableResponse;
29
+ const DescribeDatabaseObjectsResponse = models.DescribeDatabaseObjectsResponse;
30
+ const SecurityGroupBound = models.SecurityGroupBound;
31
+ const CreateDBSBackupResponse = models.CreateDBSBackupResponse;
32
+ const CreateDBSBackupRequest = models.CreateDBSBackupRequest;
33
+ const DescribeBillingEnableResponse = models.DescribeBillingEnableResponse;
34
+ const DestroyInstancesRequest = models.DestroyInstancesRequest;
35
+ const DescribeBillingEnableRequest = models.DescribeBillingEnableRequest;
36
+ const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
37
+ const TableColumn = models.TableColumn;
38
+ const ModifyDBParametersResponse = models.ModifyDBParametersResponse;
39
+ const ModifyInstanceNameRequest = models.ModifyInstanceNameRequest;
40
+ const ParamDesc = models.ParamDesc;
41
+ const ModifyAutoRenewFlagRequest = models.ModifyAutoRenewFlagRequest;
42
+ const ModifyDBSBackupPolicyResponse = models.ModifyDBSBackupPolicyResponse;
43
+ const DescribeDBSCloneInstancesResponse = models.DescribeDBSCloneInstancesResponse;
44
+ const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
45
+ const BackupPolicyModelInput = models.BackupPolicyModelInput;
46
+ const DatabaseFunction = models.DatabaseFunction;
47
+ const ModifyDBSBackupPolicyRequest = models.ModifyDBSBackupPolicyRequest;
48
+ const DescribeDBSCloneInstancesRequest = models.DescribeDBSCloneInstancesRequest;
49
+ const DescribeDatabaseObjectsRequest = models.DescribeDatabaseObjectsRequest;
50
+ const DescribeDBSAvailableRecoveryTimeResponse = models.DescribeDBSAvailableRecoveryTimeResponse;
51
+ const ModifyAutoRenewFlagResponse = models.ModifyAutoRenewFlagResponse;
52
+ const DestroyInstancesResponse = models.DestroyInstancesResponse;
53
+ const DescribeDBParametersResponse = models.DescribeDBParametersResponse;
54
+ const SecurityGroup = models.SecurityGroup;
55
+ const IsolateDBInstanceResponse = models.IsolateDBInstanceResponse;
56
+ const DescribeDBSAvailableRecoveryTimeRequest = models.DescribeDBSAvailableRecoveryTimeRequest;
57
+ const DatabaseTable = models.DatabaseTable;
58
+ const DeleteDBSBackupSetsResponse = models.DeleteDBSBackupSetsResponse;
59
+ const DescribeFlowResponse = models.DescribeFlowResponse;
60
+ const ConstraintRange = models.ConstraintRange;
61
+ const CancelIsolateDBInstancesResponse = models.CancelIsolateDBInstancesResponse;
62
+ const DatabaseView = models.DatabaseView;
63
+ const CancelIsolateDBInstancesRequest = models.CancelIsolateDBInstancesRequest;
64
+ const ModifyDBSBackupSetCommentRequest = models.ModifyDBSBackupSetCommentRequest;
65
+ const DatabaseProcedure = models.DatabaseProcedure;
66
+ const DBParamValue = models.DBParamValue;
67
+ const ParamConstraint = models.ParamConstraint;
68
+ const ModifyBinlogStatusRequest = models.ModifyBinlogStatusRequest;
69
+ const ModifyDBParametersRequest = models.ModifyDBParametersRequest;
70
+ const ModifyDBInstanceSecurityGroupsRequest = models.ModifyDBInstanceSecurityGroupsRequest;
71
+ const DeleteDBSBackupSetsRequest = models.DeleteDBSBackupSetsRequest;
72
+ const CloneInstanceModel = models.CloneInstanceModel;
73
+
74
+
75
+ /**
76
+ * tdmysql client
77
+ * @class
78
+ */
79
+ class TdmysqlClient extends AbstractClient {
80
+
81
+ constructor(credential, region, profile) {
82
+ super("tdmysql.intl.tencentcloudapi.com", "2021-11-22", credential, region, profile);
83
+ }
84
+
85
+ /**
86
+ * This API is used to query the object list in the database of a cloud database instance, including table, stored procedure, view and function.
87
+ * @param {DescribeDatabaseObjectsRequest} req
88
+ * @param {function(string, DescribeDatabaseObjectsResponse):void} cb
89
+ * @public
90
+ */
91
+ DescribeDatabaseObjects(req, cb) {
92
+ let resp = new DescribeDatabaseObjectsResponse();
93
+ this.request("DescribeDatabaseObjects", req, resp, cb);
94
+ }
95
+
96
+ /**
97
+ * Redundant API, no API calls.
98
+
99
+ This API is used to query table information of a cloud database instance.
100
+ * @param {DescribeDatabaseTableRequest} req
101
+ * @param {function(string, DescribeDatabaseTableResponse):void} cb
102
+ * @public
103
+ */
104
+ DescribeDatabaseTable(req, cb) {
105
+ let resp = new DescribeDatabaseTableResponse();
106
+ this.request("DescribeDatabaseTable", req, resp, cb);
107
+ }
108
+
109
+ /**
110
+ * This API is used to obtain the current parameter settings of the instance.
111
+ * @param {DescribeDBParametersRequest} req
112
+ * @param {function(string, DescribeDBParametersResponse):void} cb
113
+ * @public
114
+ */
115
+ DescribeDBParameters(req, cb) {
116
+ let resp = new DescribeDBParametersResponse();
117
+ this.request("DescribeDBParameters", req, resp, cb);
118
+ }
119
+
120
+ /**
121
+ * This API is used to query instance security group information.
122
+ * @param {DescribeDBSecurityGroupsRequest} req
123
+ * @param {function(string, DescribeDBSecurityGroupsResponse):void} cb
124
+ * @public
125
+ */
126
+ DescribeDBSecurityGroups(req, cb) {
127
+ let resp = new DescribeDBSecurityGroupsResponse();
128
+ this.request("DescribeDBSecurityGroups", req, resp, cb);
129
+ }
130
+
131
+ /**
132
+ * This API is used to lift isolation for instances in batch.
133
+ * @param {CancelIsolateDBInstancesRequest} req
134
+ * @param {function(string, CancelIsolateDBInstancesResponse):void} cb
135
+ * @public
136
+ */
137
+ CancelIsolateDBInstances(req, cb) {
138
+ let resp = new CancelIsolateDBInstancesResponse();
139
+ this.request("CancelIsolateDBInstances", req, resp, cb);
140
+ }
141
+
142
+ /**
143
+ * This API is used to entirely overwrite the API feature of ModifyInstanceCdc.
144
+
145
+ Modify the binlog status.
146
+ * @param {ModifyBinlogStatusRequest} req
147
+ * @param {function(string, ModifyBinlogStatusResponse):void} cb
148
+ * @public
149
+ */
150
+ ModifyBinlogStatus(req, cb) {
151
+ let resp = new ModifyBinlogStatusResponse();
152
+ this.request("ModifyBinlogStatus", req, resp, cb);
153
+ }
154
+
155
+ /**
156
+ * Query recoverable time.
157
+ * @param {DescribeDBSAvailableRecoveryTimeRequest} req
158
+ * @param {function(string, DescribeDBSAvailableRecoveryTimeResponse):void} cb
159
+ * @public
160
+ */
161
+ DescribeDBSAvailableRecoveryTime(req, cb) {
162
+ let resp = new DescribeDBSAvailableRecoveryTimeResponse();
163
+ this.request("DescribeDBSAvailableRecoveryTime", req, resp, cb);
164
+ }
165
+
166
+ /**
167
+ * No place to call.
168
+
169
+ This API is used to query whether billing is enabled.
170
+ * @param {DescribeBillingEnableRequest} req
171
+ * @param {function(string, DescribeBillingEnableResponse):void} cb
172
+ * @public
173
+ */
174
+ DescribeBillingEnable(req, cb) {
175
+ let resp = new DescribeBillingEnableResponse();
176
+ this.request("DescribeBillingEnable", req, resp, cb);
177
+ }
178
+
179
+ /**
180
+ * Modify the backup set remark.
181
+ * @param {ModifyDBSBackupSetCommentRequest} req
182
+ * @param {function(string, ModifyDBSBackupSetCommentResponse):void} cb
183
+ * @public
184
+ */
185
+ ModifyDBSBackupSetComment(req, cb) {
186
+ let resp = new ModifyDBSBackupSetCommentResponse();
187
+ this.request("ModifyDBSBackupSetComment", req, resp, cb);
188
+ }
189
+
190
+ /**
191
+ * Delete instance backup sets.
192
+ * @param {DeleteDBSBackupSetsRequest} req
193
+ * @param {function(string, DeleteDBSBackupSetsResponse):void} cb
194
+ * @public
195
+ */
196
+ DeleteDBSBackupSets(req, cb) {
197
+ let resp = new DeleteDBSBackupSetsResponse();
198
+ this.request("DeleteDBSBackupSets", req, resp, cb);
199
+ }
200
+
201
+ /**
202
+ * Modify the instance backup strategy.
203
+ * @param {ModifyDBSBackupPolicyRequest} req
204
+ * @param {function(string, ModifyDBSBackupPolicyResponse):void} cb
205
+ * @public
206
+ */
207
+ ModifyDBSBackupPolicy(req, cb) {
208
+ let resp = new ModifyDBSBackupPolicyResponse();
209
+ this.request("ModifyDBSBackupPolicy", req, resp, cb);
210
+ }
211
+
212
+ /**
213
+ * This API is used to destroy instances in batch.
214
+ * @param {DestroyInstancesRequest} req
215
+ * @param {function(string, DestroyInstancesResponse):void} cb
216
+ * @public
217
+ */
218
+ DestroyInstances(req, cb) {
219
+ let resp = new DestroyInstancesResponse();
220
+ this.request("DestroyInstances", req, resp, cb);
221
+ }
222
+
223
+ /**
224
+ * This API is used to modify the auto-renewal flag.
225
+ * @param {ModifyAutoRenewFlagRequest} req
226
+ * @param {function(string, ModifyAutoRenewFlagResponse):void} cb
227
+ * @public
228
+ */
229
+ ModifyAutoRenewFlag(req, cb) {
230
+ let resp = new ModifyAutoRenewFlagResponse();
231
+ this.request("ModifyAutoRenewFlag", req, resp, cb);
232
+ }
233
+
234
+ /**
235
+ * Create an instance backup set.
236
+ * @param {CreateDBSBackupRequest} req
237
+ * @param {function(string, CreateDBSBackupResponse):void} cb
238
+ * @public
239
+ */
240
+ CreateDBSBackup(req, cb) {
241
+ let resp = new CreateDBSBackupResponse();
242
+ this.request("CreateDBSBackup", req, resp, cb);
243
+ }
244
+
245
+ /**
246
+ * This API is used to modify instance name.
247
+ * @param {ModifyInstanceNameRequest} req
248
+ * @param {function(string, ModifyInstanceNameResponse):void} cb
249
+ * @public
250
+ */
251
+ ModifyInstanceName(req, cb) {
252
+ let resp = new ModifyInstanceNameResponse();
253
+ this.request("ModifyInstanceName", req, resp, cb);
254
+ }
255
+
256
+ /**
257
+ * This API is used to modify instance parameters.
258
+ * @param {ModifyDBParametersRequest} req
259
+ * @param {function(string, ModifyDBParametersResponse):void} cb
260
+ * @public
261
+ */
262
+ ModifyDBParameters(req, cb) {
263
+ let resp = new ModifyDBParametersResponse();
264
+ this.request("ModifyDBParameters", req, resp, cb);
265
+ }
266
+
267
+ /**
268
+ * Query clone list of instances.
269
+ * @param {DescribeDBSCloneInstancesRequest} req
270
+ * @param {function(string, DescribeDBSCloneInstancesResponse):void} cb
271
+ * @public
272
+ */
273
+ DescribeDBSCloneInstances(req, cb) {
274
+ let resp = new DescribeDBSCloneInstancesResponse();
275
+ this.request("DescribeDBSCloneInstances", req, resp, cb);
276
+ }
277
+
278
+ /**
279
+ * This API is used to batch isolate instances.
280
+ * @param {IsolateDBInstanceRequest} req
281
+ * @param {function(string, IsolateDBInstanceResponse):void} cb
282
+ * @public
283
+ */
284
+ IsolateDBInstance(req, cb) {
285
+ let resp = new IsolateDBInstanceResponse();
286
+ this.request("IsolateDBInstance", req, resp, cb);
287
+ }
288
+
289
+ /**
290
+ * This API is used to modify cloud database security groups.
291
+ * @param {ModifyDBInstanceSecurityGroupsRequest} req
292
+ * @param {function(string, ModifyDBInstanceSecurityGroupsResponse):void} cb
293
+ * @public
294
+ */
295
+ ModifyDBInstanceSecurityGroups(req, cb) {
296
+ let resp = new ModifyDBInstanceSecurityGroupsResponse();
297
+ this.request("ModifyDBInstanceSecurityGroups", req, resp, cb);
298
+ }
299
+
300
+ /**
301
+ * This API is used to query the process status of an asynchronous task.
302
+ * @param {DescribeFlowRequest} req
303
+ * @param {function(string, DescribeFlowResponse):void} cb
304
+ * @public
305
+ */
306
+ DescribeFlow(req, cb) {
307
+ let resp = new DescribeFlowResponse();
308
+ this.request("DescribeFlow", req, resp, cb);
309
+ }
310
+
311
+
312
+ }
313
+ module.exports = TdmysqlClient;
@@ -1237,6 +1237,47 @@ class KVMap extends AbstractModel {
1237
1237
  }
1238
1238
  }
1239
1239
 
1240
+ /**
1241
+ * CreateTriggerWorkflowRun response structure.
1242
+ * @class
1243
+ */
1244
+ class CreateTriggerWorkflowRunResponse extends AbstractModel {
1245
+ constructor(){
1246
+ super();
1247
+
1248
+ /**
1249
+ * Operation Result Information
1250
+ Note: This field may return null, indicating that no valid values can be obtained.
1251
+ * @type {CreateTriggerWorkflowRunResult || null}
1252
+ */
1253
+ this.Data = null;
1254
+
1255
+ /**
1256
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1257
+ * @type {string || null}
1258
+ */
1259
+ this.RequestId = null;
1260
+
1261
+ }
1262
+
1263
+ /**
1264
+ * @private
1265
+ */
1266
+ deserialize(params) {
1267
+ if (!params) {
1268
+ return;
1269
+ }
1270
+
1271
+ if (params.Data) {
1272
+ let obj = new CreateTriggerWorkflowRunResult();
1273
+ obj.deserialize(params.Data)
1274
+ this.Data = obj;
1275
+ }
1276
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1277
+
1278
+ }
1279
+ }
1280
+
1240
1281
  /**
1241
1282
  * ListResourceFiles response structure.
1242
1283
  * @class
@@ -5263,6 +5304,57 @@ class AddCalcEnginesToProjectRequest extends AbstractModel {
5263
5304
  }
5264
5305
  }
5265
5306
 
5307
+ /**
5308
+ * Updates the basic attribute information of the task.
5309
+ * @class
5310
+ */
5311
+ class UpdateTaskBaseAttribute extends AbstractModel {
5312
+ constructor(){
5313
+ super();
5314
+
5315
+ /**
5316
+ * Task name.
5317
+ * @type {string || null}
5318
+ */
5319
+ this.TaskName = null;
5320
+
5321
+ /**
5322
+ * Task owner ID.
5323
+ * @type {string || null}
5324
+ */
5325
+ this.OwnerUin = null;
5326
+
5327
+ /**
5328
+ * Task description
5329
+ * @type {string || null}
5330
+ */
5331
+ this.TaskDescription = null;
5332
+
5333
+ /**
5334
+ * Note:.
5335
+ -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
5336
+ -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
5337
+ * @type {string || null}
5338
+ */
5339
+ this.TaskFolderPath = null;
5340
+
5341
+ }
5342
+
5343
+ /**
5344
+ * @private
5345
+ */
5346
+ deserialize(params) {
5347
+ if (!params) {
5348
+ return;
5349
+ }
5350
+ this.TaskName = 'TaskName' in params ? params.TaskName : null;
5351
+ this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
5352
+ this.TaskDescription = 'TaskDescription' in params ? params.TaskDescription : null;
5353
+ this.TaskFolderPath = 'TaskFolderPath' in params ? params.TaskFolderPath : null;
5354
+
5355
+ }
5356
+ }
5357
+
5266
5358
  /**
5267
5359
  * Create workflow result.
5268
5360
  * @class
@@ -19923,6 +20015,35 @@ class ResourceFolderPage extends AbstractModel {
19923
20015
  }
19924
20016
  }
19925
20017
 
20018
+ /**
20019
+ * Workflow trigger execution result in workflow scheduling mode.
20020
+ * @class
20021
+ */
20022
+ class CreateTriggerWorkflowRunResult extends AbstractModel {
20023
+ constructor(){
20024
+ super();
20025
+
20026
+ /**
20027
+ * Workflow execution id.
20028
+ Note: This field may return null, indicating that no valid values can be obtained.
20029
+ * @type {string || null}
20030
+ */
20031
+ this.WorkflowExecutionId = null;
20032
+
20033
+ }
20034
+
20035
+ /**
20036
+ * @private
20037
+ */
20038
+ deserialize(params) {
20039
+ if (!params) {
20040
+ return;
20041
+ }
20042
+ this.WorkflowExecutionId = 'WorkflowExecutionId' in params ? params.WorkflowExecutionId : null;
20043
+
20044
+ }
20045
+ }
20046
+
19926
20047
  /**
19927
20048
  * ListDownstreamTasks response structure.
19928
20049
  * @class
@@ -26812,38 +26933,48 @@ class GetAlarmMessageResponse extends AbstractModel {
26812
26933
  }
26813
26934
 
26814
26935
  /**
26815
- * Updates the basic attribute information of the task.
26936
+ * CreateTriggerWorkflowRun request structure.
26816
26937
  * @class
26817
26938
  */
26818
- class UpdateTaskBaseAttribute extends AbstractModel {
26939
+ class CreateTriggerWorkflowRunRequest extends AbstractModel {
26819
26940
  constructor(){
26820
26941
  super();
26821
26942
 
26822
26943
  /**
26823
- * Task name.
26944
+ * Project ID.
26824
26945
  * @type {string || null}
26825
26946
  */
26826
- this.TaskName = null;
26947
+ this.ProjectId = null;
26827
26948
 
26828
26949
  /**
26829
- * Task owner ID.
26950
+ * Workflow ID.
26830
26951
  * @type {string || null}
26831
26952
  */
26832
- this.OwnerUin = null;
26953
+ this.WorkflowId = null;
26833
26954
 
26834
26955
  /**
26835
- * Task description
26956
+ * Custom running parameters. if empty or null, use the latest configuration of the workflow.
26957
+ * @type {Array.<SchedulingParameter> || null}
26958
+ */
26959
+ this.AdvancedParams = null;
26960
+
26961
+ /**
26962
+ * This time, run the specified task ID set. if it is null or empty, run all.
26963
+ * @type {Array.<string> || null}
26964
+ */
26965
+ this.TaskIds = null;
26966
+
26967
+ /**
26968
+ * Specified scheduling resource group id. uses the original resource group by default if left empty.
26836
26969
  * @type {string || null}
26837
26970
  */
26838
- this.TaskDescription = null;
26971
+ this.SchedulingResourceGroupId = null;
26839
26972
 
26840
26973
  /**
26841
- * Note:.
26842
- -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
26843
- -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
26974
+ * Specified integration resource group id. uses the original resource group if left empty.
26844
26975
  * @type {string || null}
26845
26976
  */
26846
- this.TaskFolderPath = null;
26977
+ this.IntegrationResourceGroupId = null;
26847
26978
 
26848
26979
  }
26849
26980
 
@@ -26854,10 +26985,20 @@ class UpdateTaskBaseAttribute extends AbstractModel {
26854
26985
  if (!params) {
26855
26986
  return;
26856
26987
  }
26857
- this.TaskName = 'TaskName' in params ? params.TaskName : null;
26858
- this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
26859
- this.TaskDescription = 'TaskDescription' in params ? params.TaskDescription : null;
26860
- this.TaskFolderPath = 'TaskFolderPath' in params ? params.TaskFolderPath : null;
26988
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
26989
+ this.WorkflowId = 'WorkflowId' in params ? params.WorkflowId : null;
26990
+
26991
+ if (params.AdvancedParams) {
26992
+ this.AdvancedParams = new Array();
26993
+ for (let z in params.AdvancedParams) {
26994
+ let obj = new SchedulingParameter();
26995
+ obj.deserialize(params.AdvancedParams[z]);
26996
+ this.AdvancedParams.push(obj);
26997
+ }
26998
+ }
26999
+ this.TaskIds = 'TaskIds' in params ? params.TaskIds : null;
27000
+ this.SchedulingResourceGroupId = 'SchedulingResourceGroupId' in params ? params.SchedulingResourceGroupId : null;
27001
+ this.IntegrationResourceGroupId = 'IntegrationResourceGroupId' in params ? params.IntegrationResourceGroupId : null;
26861
27002
 
26862
27003
  }
26863
27004
  }
@@ -35086,6 +35227,7 @@ module.exports = {
35086
35227
  DeleteResourceFolderResponse: DeleteResourceFolderResponse,
35087
35228
  UpdateTaskRequest: UpdateTaskRequest,
35088
35229
  KVMap: KVMap,
35230
+ CreateTriggerWorkflowRunResponse: CreateTriggerWorkflowRunResponse,
35089
35231
  ListResourceFilesResponse: ListResourceFilesResponse,
35090
35232
  ListDownstreamTaskInstancesRequest: ListDownstreamTaskInstancesRequest,
35091
35233
  UpdateProjectRequest: UpdateProjectRequest,
@@ -35148,6 +35290,7 @@ module.exports = {
35148
35290
  SQLScriptConfig: SQLScriptConfig,
35149
35291
  CodeFile: CodeFile,
35150
35292
  AddCalcEnginesToProjectRequest: AddCalcEnginesToProjectRequest,
35293
+ UpdateTaskBaseAttribute: UpdateTaskBaseAttribute,
35151
35294
  CreateWorkflowResult: CreateWorkflowResult,
35152
35295
  TaskDataRegistry: TaskDataRegistry,
35153
35296
  KillTriggerWorkflowRunsRequest: KillTriggerWorkflowRunsRequest,
@@ -35382,6 +35525,7 @@ module.exports = {
35382
35525
  GetDataSourceRelatedTasksRequest: GetDataSourceRelatedTasksRequest,
35383
35526
  UpdateTriggerTaskBaseAttribute: UpdateTriggerTaskBaseAttribute,
35384
35527
  ResourceFolderPage: ResourceFolderPage,
35528
+ CreateTriggerWorkflowRunResult: CreateTriggerWorkflowRunResult,
35385
35529
  ListDownstreamTasksResponse: ListDownstreamTasksResponse,
35386
35530
  ListQualityRuleTemplatesRequest: ListQualityRuleTemplatesRequest,
35387
35531
  AuthorizePrivilegesRsp: AuthorizePrivilegesRsp,
@@ -35504,7 +35648,7 @@ module.exports = {
35504
35648
  GetResourceFolderResponse: GetResourceFolderResponse,
35505
35649
  WorkflowFolder: WorkflowFolder,
35506
35650
  GetAlarmMessageResponse: GetAlarmMessageResponse,
35507
- UpdateTaskBaseAttribute: UpdateTaskBaseAttribute,
35651
+ CreateTriggerWorkflowRunRequest: CreateTriggerWorkflowRunRequest,
35508
35652
  GetOpsTaskCodeRequest: GetOpsTaskCodeRequest,
35509
35653
  GetTaskFolderResponse: GetTaskFolderResponse,
35510
35654
  GetDataBackfillPlanRequest: GetDataBackfillPlanRequest,
@@ -36,6 +36,7 @@ const GetMyCodeMaxPermissionRequest = models.GetMyCodeMaxPermissionRequest;
36
36
  const DeleteResourceFolderResponse = models.DeleteResourceFolderResponse;
37
37
  const UpdateTaskRequest = models.UpdateTaskRequest;
38
38
  const KVMap = models.KVMap;
39
+ const CreateTriggerWorkflowRunResponse = models.CreateTriggerWorkflowRunResponse;
39
40
  const ListResourceFilesResponse = models.ListResourceFilesResponse;
40
41
  const ListDownstreamTaskInstancesRequest = models.ListDownstreamTaskInstancesRequest;
41
42
  const UpdateProjectRequest = models.UpdateProjectRequest;
@@ -98,6 +99,7 @@ const DeleteCodePermissionsRequest = models.DeleteCodePermissionsRequest;
98
99
  const SQLScriptConfig = models.SQLScriptConfig;
99
100
  const CodeFile = models.CodeFile;
100
101
  const AddCalcEnginesToProjectRequest = models.AddCalcEnginesToProjectRequest;
102
+ const UpdateTaskBaseAttribute = models.UpdateTaskBaseAttribute;
101
103
  const CreateWorkflowResult = models.CreateWorkflowResult;
102
104
  const TaskDataRegistry = models.TaskDataRegistry;
103
105
  const KillTriggerWorkflowRunsRequest = models.KillTriggerWorkflowRunsRequest;
@@ -332,6 +334,7 @@ const CreateWorkflowFolderResponse = models.CreateWorkflowFolderResponse;
332
334
  const GetDataSourceRelatedTasksRequest = models.GetDataSourceRelatedTasksRequest;
333
335
  const UpdateTriggerTaskBaseAttribute = models.UpdateTriggerTaskBaseAttribute;
334
336
  const ResourceFolderPage = models.ResourceFolderPage;
337
+ const CreateTriggerWorkflowRunResult = models.CreateTriggerWorkflowRunResult;
335
338
  const ListDownstreamTasksResponse = models.ListDownstreamTasksResponse;
336
339
  const ListQualityRuleTemplatesRequest = models.ListQualityRuleTemplatesRequest;
337
340
  const AuthorizePrivilegesRsp = models.AuthorizePrivilegesRsp;
@@ -454,7 +457,7 @@ const ListResourceGroupsRequest = models.ListResourceGroupsRequest;
454
457
  const GetResourceFolderResponse = models.GetResourceFolderResponse;
455
458
  const WorkflowFolder = models.WorkflowFolder;
456
459
  const GetAlarmMessageResponse = models.GetAlarmMessageResponse;
457
- const UpdateTaskBaseAttribute = models.UpdateTaskBaseAttribute;
460
+ const CreateTriggerWorkflowRunRequest = models.CreateTriggerWorkflowRunRequest;
458
461
  const GetOpsTaskCodeRequest = models.GetOpsTaskCodeRequest;
459
462
  const GetTaskFolderResponse = models.GetTaskFolderResponse;
460
463
  const GetDataBackfillPlanRequest = models.GetDataBackfillPlanRequest;
@@ -829,6 +832,17 @@ class WedataClient extends AbstractClient {
829
832
  this.request("GetMyWorkflowMaxPermission", req, resp, cb);
830
833
  }
831
834
 
835
+ /**
836
+ * Update workflow (including basic info and workflow parameters).
837
+ * @param {UpdateTriggerWorkflowPartiallyRequest} req
838
+ * @param {function(string, UpdateTriggerWorkflowPartiallyResponse):void} cb
839
+ * @public
840
+ */
841
+ UpdateTriggerWorkflowPartially(req, cb) {
842
+ let resp = new UpdateTriggerWorkflowPartiallyResponse();
843
+ this.request("UpdateTriggerWorkflowPartially", req, resp, cb);
844
+ }
845
+
832
846
  /**
833
847
  * Retrieve asset catalog info.
834
848
  * @param {ListCatalogRequest} req
@@ -2172,14 +2186,14 @@ class WedataClient extends AbstractClient {
2172
2186
  }
2173
2187
 
2174
2188
  /**
2175
- * Update workflow (including basic info and workflow parameters).
2176
- * @param {UpdateTriggerWorkflowPartiallyRequest} req
2177
- * @param {function(string, UpdateTriggerWorkflowPartiallyResponse):void} cb
2189
+ * Run workflow under workflow scheduling model.
2190
+ * @param {CreateTriggerWorkflowRunRequest} req
2191
+ * @param {function(string, CreateTriggerWorkflowRunResponse):void} cb
2178
2192
  * @public
2179
2193
  */
2180
- UpdateTriggerWorkflowPartially(req, cb) {
2181
- let resp = new UpdateTriggerWorkflowPartiallyResponse();
2182
- this.request("UpdateTriggerWorkflowPartially", req, resp, cb);
2194
+ CreateTriggerWorkflowRun(req, cb) {
2195
+ let resp = new CreateTriggerWorkflowRunResponse();
2196
+ this.request("CreateTriggerWorkflowRun", req, resp, cb);
2183
2197
  }
2184
2198
 
2185
2199
  /**