@alicloud/dataworks-public20200518 4.3.10 → 4.3.13

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.js CHANGED
@@ -5806,12 +5806,14 @@ class GetInstanceLogRequest extends $tea.Model {
5806
5806
  }
5807
5807
  static names() {
5808
5808
  return {
5809
+ instanceHistoryId: 'InstanceHistoryId',
5809
5810
  instanceId: 'InstanceId',
5810
5811
  projectEnv: 'ProjectEnv',
5811
5812
  };
5812
5813
  }
5813
5814
  static types() {
5814
5815
  return {
5816
+ instanceHistoryId: 'number',
5815
5817
  instanceId: 'number',
5816
5818
  projectEnv: 'string',
5817
5819
  };
@@ -6891,6 +6893,7 @@ class GetMetaTablePartitionRequest extends $tea.Model {
6891
6893
  databaseName: 'DatabaseName',
6892
6894
  pageNumber: 'PageNumber',
6893
6895
  pageSize: 'PageSize',
6896
+ sortCriterion: 'SortCriterion',
6894
6897
  tableGuid: 'TableGuid',
6895
6898
  tableName: 'TableName',
6896
6899
  };
@@ -6902,12 +6905,43 @@ class GetMetaTablePartitionRequest extends $tea.Model {
6902
6905
  databaseName: 'string',
6903
6906
  pageNumber: 'number',
6904
6907
  pageSize: 'number',
6908
+ sortCriterion: GetMetaTablePartitionRequestSortCriterion,
6905
6909
  tableGuid: 'string',
6906
6910
  tableName: 'string',
6907
6911
  };
6908
6912
  }
6909
6913
  }
6910
6914
  exports.GetMetaTablePartitionRequest = GetMetaTablePartitionRequest;
6915
+ class GetMetaTablePartitionShrinkRequest extends $tea.Model {
6916
+ constructor(map) {
6917
+ super(map);
6918
+ }
6919
+ static names() {
6920
+ return {
6921
+ clusterId: 'ClusterId',
6922
+ dataSourceType: 'DataSourceType',
6923
+ databaseName: 'DatabaseName',
6924
+ pageNumber: 'PageNumber',
6925
+ pageSize: 'PageSize',
6926
+ sortCriterionShrink: 'SortCriterion',
6927
+ tableGuid: 'TableGuid',
6928
+ tableName: 'TableName',
6929
+ };
6930
+ }
6931
+ static types() {
6932
+ return {
6933
+ clusterId: 'string',
6934
+ dataSourceType: 'string',
6935
+ databaseName: 'string',
6936
+ pageNumber: 'number',
6937
+ pageSize: 'number',
6938
+ sortCriterionShrink: 'string',
6939
+ tableGuid: 'string',
6940
+ tableName: 'string',
6941
+ };
6942
+ }
6943
+ }
6944
+ exports.GetMetaTablePartitionShrinkRequest = GetMetaTablePartitionShrinkRequest;
6911
6945
  class GetMetaTablePartitionResponseBody extends $tea.Model {
6912
6946
  constructor(map) {
6913
6947
  super(map);
@@ -10216,6 +10250,74 @@ class ListHistoryTasksForResourceGroupResponse extends $tea.Model {
10216
10250
  }
10217
10251
  }
10218
10252
  exports.ListHistoryTasksForResourceGroupResponse = ListHistoryTasksForResourceGroupResponse;
10253
+ class ListInnerNodesRequest extends $tea.Model {
10254
+ constructor(map) {
10255
+ super(map);
10256
+ }
10257
+ static names() {
10258
+ return {
10259
+ nodeName: 'NodeName',
10260
+ outerNodeId: 'OuterNodeId',
10261
+ pageNumber: 'PageNumber',
10262
+ pageSize: 'PageSize',
10263
+ programType: 'ProgramType',
10264
+ projectEnv: 'ProjectEnv',
10265
+ projectId: 'ProjectId',
10266
+ };
10267
+ }
10268
+ static types() {
10269
+ return {
10270
+ nodeName: 'string',
10271
+ outerNodeId: 'number',
10272
+ pageNumber: 'number',
10273
+ pageSize: 'number',
10274
+ programType: 'string',
10275
+ projectEnv: 'string',
10276
+ projectId: 'number',
10277
+ };
10278
+ }
10279
+ }
10280
+ exports.ListInnerNodesRequest = ListInnerNodesRequest;
10281
+ class ListInnerNodesResponseBody extends $tea.Model {
10282
+ constructor(map) {
10283
+ super(map);
10284
+ }
10285
+ static names() {
10286
+ return {
10287
+ paging: 'Paging',
10288
+ requestId: 'RequestId',
10289
+ success: 'Success',
10290
+ };
10291
+ }
10292
+ static types() {
10293
+ return {
10294
+ paging: ListInnerNodesResponseBodyPaging,
10295
+ requestId: 'string',
10296
+ success: 'boolean',
10297
+ };
10298
+ }
10299
+ }
10300
+ exports.ListInnerNodesResponseBody = ListInnerNodesResponseBody;
10301
+ class ListInnerNodesResponse extends $tea.Model {
10302
+ constructor(map) {
10303
+ super(map);
10304
+ }
10305
+ static names() {
10306
+ return {
10307
+ headers: 'headers',
10308
+ statusCode: 'statusCode',
10309
+ body: 'body',
10310
+ };
10311
+ }
10312
+ static types() {
10313
+ return {
10314
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10315
+ statusCode: 'number',
10316
+ body: ListInnerNodesResponseBody,
10317
+ };
10318
+ }
10319
+ }
10320
+ exports.ListInnerNodesResponse = ListInnerNodesResponse;
10219
10321
  class ListInstanceAmountRequest extends $tea.Model {
10220
10322
  constructor(map) {
10221
10323
  super(map);
@@ -10274,6 +10376,64 @@ class ListInstanceAmountResponse extends $tea.Model {
10274
10376
  }
10275
10377
  }
10276
10378
  exports.ListInstanceAmountResponse = ListInstanceAmountResponse;
10379
+ class ListInstanceHistoryRequest extends $tea.Model {
10380
+ constructor(map) {
10381
+ super(map);
10382
+ }
10383
+ static names() {
10384
+ return {
10385
+ instanceId: 'InstanceId',
10386
+ projectEnv: 'ProjectEnv',
10387
+ };
10388
+ }
10389
+ static types() {
10390
+ return {
10391
+ instanceId: 'number',
10392
+ projectEnv: 'string',
10393
+ };
10394
+ }
10395
+ }
10396
+ exports.ListInstanceHistoryRequest = ListInstanceHistoryRequest;
10397
+ class ListInstanceHistoryResponseBody extends $tea.Model {
10398
+ constructor(map) {
10399
+ super(map);
10400
+ }
10401
+ static names() {
10402
+ return {
10403
+ instances: 'Instances',
10404
+ requestId: 'RequestId',
10405
+ success: 'Success',
10406
+ };
10407
+ }
10408
+ static types() {
10409
+ return {
10410
+ instances: { 'type': 'array', 'itemType': ListInstanceHistoryResponseBodyInstances },
10411
+ requestId: 'string',
10412
+ success: 'boolean',
10413
+ };
10414
+ }
10415
+ }
10416
+ exports.ListInstanceHistoryResponseBody = ListInstanceHistoryResponseBody;
10417
+ class ListInstanceHistoryResponse extends $tea.Model {
10418
+ constructor(map) {
10419
+ super(map);
10420
+ }
10421
+ static names() {
10422
+ return {
10423
+ headers: 'headers',
10424
+ statusCode: 'statusCode',
10425
+ body: 'body',
10426
+ };
10427
+ }
10428
+ static types() {
10429
+ return {
10430
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10431
+ statusCode: 'number',
10432
+ body: ListInstanceHistoryResponseBody,
10433
+ };
10434
+ }
10435
+ }
10436
+ exports.ListInstanceHistoryResponse = ListInstanceHistoryResponse;
10277
10437
  class ListInstancesRequest extends $tea.Model {
10278
10438
  constructor(map) {
10279
10439
  super(map);
@@ -12613,6 +12773,7 @@ class RunCycleDagNodesRequest extends $tea.Model {
12613
12773
  projectEnv: 'ProjectEnv',
12614
12774
  rootNodeId: 'RootNodeId',
12615
12775
  startBizDate: 'StartBizDate',
12776
+ startFutureInstanceImmediately: 'StartFutureInstanceImmediately',
12616
12777
  };
12617
12778
  }
12618
12779
  static types() {
@@ -12628,6 +12789,7 @@ class RunCycleDagNodesRequest extends $tea.Model {
12628
12789
  projectEnv: 'string',
12629
12790
  rootNodeId: 'number',
12630
12791
  startBizDate: 'string',
12792
+ startFutureInstanceImmediately: 'boolean',
12631
12793
  };
12632
12794
  }
12633
12795
  }
@@ -13460,6 +13622,7 @@ class SubmitFileRequest extends $tea.Model {
13460
13622
  fileId: 'FileId',
13461
13623
  projectId: 'ProjectId',
13462
13624
  projectIdentifier: 'ProjectIdentifier',
13625
+ skipAllDeployFileExtensions: 'SkipAllDeployFileExtensions',
13463
13626
  };
13464
13627
  }
13465
13628
  static types() {
@@ -13468,6 +13631,7 @@ class SubmitFileRequest extends $tea.Model {
13468
13631
  fileId: 'number',
13469
13632
  projectId: 'number',
13470
13633
  projectIdentifier: 'string',
13634
+ skipAllDeployFileExtensions: 'boolean',
13471
13635
  };
13472
13636
  }
13473
13637
  }
@@ -18778,6 +18942,24 @@ class GetMetaTableOutputResponseBodyData extends $tea.Model {
18778
18942
  }
18779
18943
  }
18780
18944
  exports.GetMetaTableOutputResponseBodyData = GetMetaTableOutputResponseBodyData;
18945
+ class GetMetaTablePartitionRequestSortCriterion extends $tea.Model {
18946
+ constructor(map) {
18947
+ super(map);
18948
+ }
18949
+ static names() {
18950
+ return {
18951
+ order: 'Order',
18952
+ sortField: 'SortField',
18953
+ };
18954
+ }
18955
+ static types() {
18956
+ return {
18957
+ order: 'string',
18958
+ sortField: 'string',
18959
+ };
18960
+ }
18961
+ }
18962
+ exports.GetMetaTablePartitionRequestSortCriterion = GetMetaTablePartitionRequestSortCriterion;
18781
18963
  class GetMetaTablePartitionResponseBodyDataDataEntityList extends $tea.Model {
18782
18964
  constructor(map) {
18783
18965
  super(map);
@@ -22048,6 +22230,78 @@ class ListHistoryTasksForResourceGroupResponseBodyData extends $tea.Model {
22048
22230
  }
22049
22231
  }
22050
22232
  exports.ListHistoryTasksForResourceGroupResponseBodyData = ListHistoryTasksForResourceGroupResponseBodyData;
22233
+ class ListInnerNodesResponseBodyPagingNodes extends $tea.Model {
22234
+ constructor(map) {
22235
+ super(map);
22236
+ }
22237
+ static names() {
22238
+ return {
22239
+ baselineId: 'BaselineId',
22240
+ businessId: 'BusinessId',
22241
+ connection: 'Connection',
22242
+ cronExpress: 'CronExpress',
22243
+ description: 'Description',
22244
+ dqcDescription: 'DqcDescription',
22245
+ dqcType: 'DqcType',
22246
+ nodeId: 'NodeId',
22247
+ nodeName: 'NodeName',
22248
+ ownerId: 'OwnerId',
22249
+ paramValues: 'ParamValues',
22250
+ priority: 'Priority',
22251
+ programType: 'ProgramType',
22252
+ projectId: 'ProjectId',
22253
+ repeatInterval: 'RepeatInterval',
22254
+ repeatability: 'Repeatability',
22255
+ resGroupName: 'ResGroupName',
22256
+ schedulerType: 'SchedulerType',
22257
+ };
22258
+ }
22259
+ static types() {
22260
+ return {
22261
+ baselineId: 'number',
22262
+ businessId: 'number',
22263
+ connection: 'string',
22264
+ cronExpress: 'string',
22265
+ description: 'string',
22266
+ dqcDescription: 'string',
22267
+ dqcType: 'string',
22268
+ nodeId: 'number',
22269
+ nodeName: 'string',
22270
+ ownerId: 'string',
22271
+ paramValues: 'string',
22272
+ priority: 'number',
22273
+ programType: 'string',
22274
+ projectId: 'number',
22275
+ repeatInterval: 'number',
22276
+ repeatability: 'boolean',
22277
+ resGroupName: 'string',
22278
+ schedulerType: 'string',
22279
+ };
22280
+ }
22281
+ }
22282
+ exports.ListInnerNodesResponseBodyPagingNodes = ListInnerNodesResponseBodyPagingNodes;
22283
+ class ListInnerNodesResponseBodyPaging extends $tea.Model {
22284
+ constructor(map) {
22285
+ super(map);
22286
+ }
22287
+ static names() {
22288
+ return {
22289
+ nodes: 'Nodes',
22290
+ pageNumber: 'PageNumber',
22291
+ pageSize: 'PageSize',
22292
+ totalCount: 'TotalCount',
22293
+ };
22294
+ }
22295
+ static types() {
22296
+ return {
22297
+ nodes: { 'type': 'array', 'itemType': ListInnerNodesResponseBodyPagingNodes },
22298
+ pageNumber: 'number',
22299
+ pageSize: 'number',
22300
+ totalCount: 'number',
22301
+ };
22302
+ }
22303
+ }
22304
+ exports.ListInnerNodesResponseBodyPaging = ListInnerNodesResponseBodyPaging;
22051
22305
  class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
22052
22306
  constructor(map) {
22053
22307
  super(map);
@@ -22066,6 +22320,54 @@ class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
22066
22320
  }
22067
22321
  }
22068
22322
  exports.ListInstanceAmountResponseBodyInstanceCounts = ListInstanceAmountResponseBodyInstanceCounts;
22323
+ class ListInstanceHistoryResponseBodyInstances extends $tea.Model {
22324
+ constructor(map) {
22325
+ super(map);
22326
+ }
22327
+ static names() {
22328
+ return {
22329
+ beginRunningTime: 'BeginRunningTime',
22330
+ beginWaitResTime: 'BeginWaitResTime',
22331
+ beginWaitTimeTime: 'BeginWaitTimeTime',
22332
+ bizdate: 'Bizdate',
22333
+ createTime: 'CreateTime',
22334
+ cycTime: 'CycTime',
22335
+ dagId: 'DagId',
22336
+ dagType: 'DagType',
22337
+ errorMessage: 'ErrorMessage',
22338
+ finishTime: 'FinishTime',
22339
+ instanceHistoryId: 'InstanceHistoryId',
22340
+ instanceId: 'InstanceId',
22341
+ modifyTime: 'ModifyTime',
22342
+ nodeId: 'NodeId',
22343
+ nodeName: 'NodeName',
22344
+ status: 'Status',
22345
+ taskType: 'TaskType',
22346
+ };
22347
+ }
22348
+ static types() {
22349
+ return {
22350
+ beginRunningTime: 'number',
22351
+ beginWaitResTime: 'number',
22352
+ beginWaitTimeTime: 'number',
22353
+ bizdate: 'number',
22354
+ createTime: 'number',
22355
+ cycTime: 'number',
22356
+ dagId: 'number',
22357
+ dagType: 'string',
22358
+ errorMessage: 'string',
22359
+ finishTime: 'number',
22360
+ instanceHistoryId: 'number',
22361
+ instanceId: 'number',
22362
+ modifyTime: 'number',
22363
+ nodeId: 'number',
22364
+ nodeName: 'string',
22365
+ status: 'string',
22366
+ taskType: 'string',
22367
+ };
22368
+ }
22369
+ }
22370
+ exports.ListInstanceHistoryResponseBodyInstances = ListInstanceHistoryResponseBodyInstances;
22069
22371
  class ListInstancesResponseBodyDataInstances extends $tea.Model {
22070
22372
  constructor(map) {
22071
22373
  super(map);
@@ -27475,6 +27777,9 @@ class Client extends openapi_client_1.default {
27475
27777
  async getInstanceLogWithOptions(request, runtime) {
27476
27778
  tea_util_1.default.validateModel(request);
27477
27779
  let body = {};
27780
+ if (!tea_util_1.default.isUnset(request.instanceHistoryId)) {
27781
+ body["InstanceHistoryId"] = request.instanceHistoryId;
27782
+ }
27478
27783
  if (!tea_util_1.default.isUnset(request.instanceId)) {
27479
27784
  body["InstanceId"] = request.instanceId;
27480
27785
  }
@@ -27999,8 +28304,13 @@ class Client extends openapi_client_1.default {
27999
28304
  let runtime = new $Util.RuntimeOptions({});
28000
28305
  return await this.getMetaTableOutputWithOptions(request, runtime);
28001
28306
  }
28002
- async getMetaTablePartitionWithOptions(request, runtime) {
28003
- tea_util_1.default.validateModel(request);
28307
+ async getMetaTablePartitionWithOptions(tmpReq, runtime) {
28308
+ tea_util_1.default.validateModel(tmpReq);
28309
+ let request = new GetMetaTablePartitionShrinkRequest({});
28310
+ openapi_util_1.default.convert(tmpReq, request);
28311
+ if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.sortCriterion))) {
28312
+ request.sortCriterionShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.sortCriterion), "SortCriterion", "json");
28313
+ }
28004
28314
  let query = {};
28005
28315
  if (!tea_util_1.default.isUnset(request.clusterId)) {
28006
28316
  query["ClusterId"] = request.clusterId;
@@ -28017,6 +28327,9 @@ class Client extends openapi_client_1.default {
28017
28327
  if (!tea_util_1.default.isUnset(request.pageSize)) {
28018
28328
  query["PageSize"] = request.pageSize;
28019
28329
  }
28330
+ if (!tea_util_1.default.isUnset(request.sortCriterionShrink)) {
28331
+ query["SortCriterion"] = request.sortCriterionShrink;
28332
+ }
28020
28333
  if (!tea_util_1.default.isUnset(request.tableGuid)) {
28021
28334
  query["TableGuid"] = request.tableGuid;
28022
28335
  }
@@ -29701,6 +30014,50 @@ class Client extends openapi_client_1.default {
29701
30014
  let runtime = new $Util.RuntimeOptions({});
29702
30015
  return await this.listHistoryTasksForResourceGroupWithOptions(request, runtime);
29703
30016
  }
30017
+ async listInnerNodesWithOptions(request, runtime) {
30018
+ tea_util_1.default.validateModel(request);
30019
+ let body = {};
30020
+ if (!tea_util_1.default.isUnset(request.nodeName)) {
30021
+ body["NodeName"] = request.nodeName;
30022
+ }
30023
+ if (!tea_util_1.default.isUnset(request.outerNodeId)) {
30024
+ body["OuterNodeId"] = request.outerNodeId;
30025
+ }
30026
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
30027
+ body["PageNumber"] = request.pageNumber;
30028
+ }
30029
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
30030
+ body["PageSize"] = request.pageSize;
30031
+ }
30032
+ if (!tea_util_1.default.isUnset(request.programType)) {
30033
+ body["ProgramType"] = request.programType;
30034
+ }
30035
+ if (!tea_util_1.default.isUnset(request.projectEnv)) {
30036
+ body["ProjectEnv"] = request.projectEnv;
30037
+ }
30038
+ if (!tea_util_1.default.isUnset(request.projectId)) {
30039
+ body["ProjectId"] = request.projectId;
30040
+ }
30041
+ let req = new $OpenApi.OpenApiRequest({
30042
+ body: openapi_util_1.default.parseToMap(body),
30043
+ });
30044
+ let params = new $OpenApi.Params({
30045
+ action: "ListInnerNodes",
30046
+ version: "2020-05-18",
30047
+ protocol: "HTTPS",
30048
+ pathname: "/",
30049
+ method: "POST",
30050
+ authType: "AK",
30051
+ style: "RPC",
30052
+ reqBodyType: "formData",
30053
+ bodyType: "json",
30054
+ });
30055
+ return $tea.cast(await this.callApi(params, req, runtime), new ListInnerNodesResponse({}));
30056
+ }
30057
+ async listInnerNodes(request) {
30058
+ let runtime = new $Util.RuntimeOptions({});
30059
+ return await this.listInnerNodesWithOptions(request, runtime);
30060
+ }
29704
30061
  async listInstanceAmountWithOptions(request, runtime) {
29705
30062
  tea_util_1.default.validateModel(request);
29706
30063
  let body = {};
@@ -29733,6 +30090,35 @@ class Client extends openapi_client_1.default {
29733
30090
  let runtime = new $Util.RuntimeOptions({});
29734
30091
  return await this.listInstanceAmountWithOptions(request, runtime);
29735
30092
  }
30093
+ async listInstanceHistoryWithOptions(request, runtime) {
30094
+ tea_util_1.default.validateModel(request);
30095
+ let body = {};
30096
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
30097
+ body["InstanceId"] = request.instanceId;
30098
+ }
30099
+ if (!tea_util_1.default.isUnset(request.projectEnv)) {
30100
+ body["ProjectEnv"] = request.projectEnv;
30101
+ }
30102
+ let req = new $OpenApi.OpenApiRequest({
30103
+ body: openapi_util_1.default.parseToMap(body),
30104
+ });
30105
+ let params = new $OpenApi.Params({
30106
+ action: "ListInstanceHistory",
30107
+ version: "2020-05-18",
30108
+ protocol: "HTTPS",
30109
+ pathname: "/",
30110
+ method: "POST",
30111
+ authType: "AK",
30112
+ style: "RPC",
30113
+ reqBodyType: "formData",
30114
+ bodyType: "json",
30115
+ });
30116
+ return $tea.cast(await this.callApi(params, req, runtime), new ListInstanceHistoryResponse({}));
30117
+ }
30118
+ async listInstanceHistory(request) {
30119
+ let runtime = new $Util.RuntimeOptions({});
30120
+ return await this.listInstanceHistoryWithOptions(request, runtime);
30121
+ }
29736
30122
  async listInstancesWithOptions(request, runtime) {
29737
30123
  tea_util_1.default.validateModel(request);
29738
30124
  let body = {};
@@ -31017,6 +31403,9 @@ class Client extends openapi_client_1.default {
31017
31403
  if (!tea_util_1.default.isUnset(request.startBizDate)) {
31018
31404
  body["StartBizDate"] = request.startBizDate;
31019
31405
  }
31406
+ if (!tea_util_1.default.isUnset(request.startFutureInstanceImmediately)) {
31407
+ body["StartFutureInstanceImmediately"] = request.startFutureInstanceImmediately;
31408
+ }
31020
31409
  let req = new $OpenApi.OpenApiRequest({
31021
31410
  body: openapi_util_1.default.parseToMap(body),
31022
31411
  });
@@ -31466,6 +31855,9 @@ class Client extends openapi_client_1.default {
31466
31855
  if (!tea_util_1.default.isUnset(request.projectIdentifier)) {
31467
31856
  body["ProjectIdentifier"] = request.projectIdentifier;
31468
31857
  }
31858
+ if (!tea_util_1.default.isUnset(request.skipAllDeployFileExtensions)) {
31859
+ body["SkipAllDeployFileExtensions"] = request.skipAllDeployFileExtensions;
31860
+ }
31469
31861
  let req = new $OpenApi.OpenApiRequest({
31470
31862
  body: openapi_util_1.default.parseToMap(body),
31471
31863
  });