@alicloud/dataworks-public20200518 4.3.12 → 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.d.ts CHANGED
@@ -4117,6 +4117,7 @@ export declare class GetInstanceErrorRankResponse extends $tea.Model {
4117
4117
  });
4118
4118
  }
4119
4119
  export declare class GetInstanceLogRequest extends $tea.Model {
4120
+ instanceHistoryId?: number;
4120
4121
  instanceId?: number;
4121
4122
  projectEnv?: string;
4122
4123
  static names(): {
@@ -7284,6 +7285,54 @@ export declare class ListHistoryTasksForResourceGroupResponse extends $tea.Model
7284
7285
  [key: string]: any;
7285
7286
  });
7286
7287
  }
7288
+ export declare class ListInnerNodesRequest extends $tea.Model {
7289
+ nodeName?: string;
7290
+ outerNodeId?: number;
7291
+ pageNumber?: number;
7292
+ pageSize?: number;
7293
+ programType?: string;
7294
+ projectEnv?: string;
7295
+ projectId?: number;
7296
+ static names(): {
7297
+ [key: string]: string;
7298
+ };
7299
+ static types(): {
7300
+ [key: string]: any;
7301
+ };
7302
+ constructor(map?: {
7303
+ [key: string]: any;
7304
+ });
7305
+ }
7306
+ export declare class ListInnerNodesResponseBody extends $tea.Model {
7307
+ paging?: ListInnerNodesResponseBodyPaging;
7308
+ requestId?: string;
7309
+ success?: boolean;
7310
+ static names(): {
7311
+ [key: string]: string;
7312
+ };
7313
+ static types(): {
7314
+ [key: string]: any;
7315
+ };
7316
+ constructor(map?: {
7317
+ [key: string]: any;
7318
+ });
7319
+ }
7320
+ export declare class ListInnerNodesResponse extends $tea.Model {
7321
+ headers: {
7322
+ [key: string]: string;
7323
+ };
7324
+ statusCode: number;
7325
+ body: ListInnerNodesResponseBody;
7326
+ static names(): {
7327
+ [key: string]: string;
7328
+ };
7329
+ static types(): {
7330
+ [key: string]: any;
7331
+ };
7332
+ constructor(map?: {
7333
+ [key: string]: any;
7334
+ });
7335
+ }
7287
7336
  export declare class ListInstanceAmountRequest extends $tea.Model {
7288
7337
  beginDate?: string;
7289
7338
  endDate?: string;
@@ -7327,6 +7376,49 @@ export declare class ListInstanceAmountResponse extends $tea.Model {
7327
7376
  [key: string]: any;
7328
7377
  });
7329
7378
  }
7379
+ export declare class ListInstanceHistoryRequest extends $tea.Model {
7380
+ instanceId?: number;
7381
+ projectEnv?: string;
7382
+ static names(): {
7383
+ [key: string]: string;
7384
+ };
7385
+ static types(): {
7386
+ [key: string]: any;
7387
+ };
7388
+ constructor(map?: {
7389
+ [key: string]: any;
7390
+ });
7391
+ }
7392
+ export declare class ListInstanceHistoryResponseBody extends $tea.Model {
7393
+ instances?: ListInstanceHistoryResponseBodyInstances[];
7394
+ requestId?: string;
7395
+ success?: boolean;
7396
+ static names(): {
7397
+ [key: string]: string;
7398
+ };
7399
+ static types(): {
7400
+ [key: string]: any;
7401
+ };
7402
+ constructor(map?: {
7403
+ [key: string]: any;
7404
+ });
7405
+ }
7406
+ export declare class ListInstanceHistoryResponse extends $tea.Model {
7407
+ headers: {
7408
+ [key: string]: string;
7409
+ };
7410
+ statusCode: number;
7411
+ body: ListInstanceHistoryResponseBody;
7412
+ static names(): {
7413
+ [key: string]: string;
7414
+ };
7415
+ static types(): {
7416
+ [key: string]: any;
7417
+ };
7418
+ constructor(map?: {
7419
+ [key: string]: any;
7420
+ });
7421
+ }
7330
7422
  export declare class ListInstancesRequest extends $tea.Model {
7331
7423
  beginBizdate?: string;
7332
7424
  bizName?: string;
@@ -9006,6 +9098,7 @@ export declare class RunCycleDagNodesRequest extends $tea.Model {
9006
9098
  projectEnv?: string;
9007
9099
  rootNodeId?: number;
9008
9100
  startBizDate?: string;
9101
+ startFutureInstanceImmediately?: boolean;
9009
9102
  static names(): {
9010
9103
  [key: string]: string;
9011
9104
  };
@@ -15296,6 +15389,50 @@ export declare class ListHistoryTasksForResourceGroupResponseBodyData extends $t
15296
15389
  [key: string]: any;
15297
15390
  });
15298
15391
  }
15392
+ export declare class ListInnerNodesResponseBodyPagingNodes extends $tea.Model {
15393
+ baselineId?: number;
15394
+ businessId?: number;
15395
+ connection?: string;
15396
+ cronExpress?: string;
15397
+ description?: string;
15398
+ dqcDescription?: string;
15399
+ dqcType?: string;
15400
+ nodeId?: number;
15401
+ nodeName?: string;
15402
+ ownerId?: string;
15403
+ paramValues?: string;
15404
+ priority?: number;
15405
+ programType?: string;
15406
+ projectId?: number;
15407
+ repeatInterval?: number;
15408
+ repeatability?: boolean;
15409
+ resGroupName?: string;
15410
+ schedulerType?: string;
15411
+ static names(): {
15412
+ [key: string]: string;
15413
+ };
15414
+ static types(): {
15415
+ [key: string]: any;
15416
+ };
15417
+ constructor(map?: {
15418
+ [key: string]: any;
15419
+ });
15420
+ }
15421
+ export declare class ListInnerNodesResponseBodyPaging extends $tea.Model {
15422
+ nodes?: ListInnerNodesResponseBodyPagingNodes[];
15423
+ pageNumber?: number;
15424
+ pageSize?: number;
15425
+ totalCount?: number;
15426
+ static names(): {
15427
+ [key: string]: string;
15428
+ };
15429
+ static types(): {
15430
+ [key: string]: any;
15431
+ };
15432
+ constructor(map?: {
15433
+ [key: string]: any;
15434
+ });
15435
+ }
15299
15436
  export declare class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
15300
15437
  count?: number;
15301
15438
  date?: number;
@@ -15309,6 +15446,34 @@ export declare class ListInstanceAmountResponseBodyInstanceCounts extends $tea.M
15309
15446
  [key: string]: any;
15310
15447
  });
15311
15448
  }
15449
+ export declare class ListInstanceHistoryResponseBodyInstances extends $tea.Model {
15450
+ beginRunningTime?: number;
15451
+ beginWaitResTime?: number;
15452
+ beginWaitTimeTime?: number;
15453
+ bizdate?: number;
15454
+ createTime?: number;
15455
+ cycTime?: number;
15456
+ dagId?: number;
15457
+ dagType?: string;
15458
+ errorMessage?: string;
15459
+ finishTime?: number;
15460
+ instanceHistoryId?: number;
15461
+ instanceId?: number;
15462
+ modifyTime?: number;
15463
+ nodeId?: number;
15464
+ nodeName?: string;
15465
+ status?: string;
15466
+ taskType?: string;
15467
+ static names(): {
15468
+ [key: string]: string;
15469
+ };
15470
+ static types(): {
15471
+ [key: string]: any;
15472
+ };
15473
+ constructor(map?: {
15474
+ [key: string]: any;
15475
+ });
15476
+ }
15312
15477
  export declare class ListInstancesResponseBodyDataInstances extends $tea.Model {
15313
15478
  baselineId?: number;
15314
15479
  beginRunningTime?: number;
@@ -16995,8 +17160,12 @@ export default class Client extends OpenApi {
16995
17160
  listFolders(request: ListFoldersRequest): Promise<ListFoldersResponse>;
16996
17161
  listHistoryTasksForResourceGroupWithOptions(request: ListHistoryTasksForResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ListHistoryTasksForResourceGroupResponse>;
16997
17162
  listHistoryTasksForResourceGroup(request: ListHistoryTasksForResourceGroupRequest): Promise<ListHistoryTasksForResourceGroupResponse>;
17163
+ listInnerNodesWithOptions(request: ListInnerNodesRequest, runtime: $Util.RuntimeOptions): Promise<ListInnerNodesResponse>;
17164
+ listInnerNodes(request: ListInnerNodesRequest): Promise<ListInnerNodesResponse>;
16998
17165
  listInstanceAmountWithOptions(request: ListInstanceAmountRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceAmountResponse>;
16999
17166
  listInstanceAmount(request: ListInstanceAmountRequest): Promise<ListInstanceAmountResponse>;
17167
+ listInstanceHistoryWithOptions(request: ListInstanceHistoryRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceHistoryResponse>;
17168
+ listInstanceHistory(request: ListInstanceHistoryRequest): Promise<ListInstanceHistoryResponse>;
17000
17169
  listInstancesWithOptions(request: ListInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
17001
17170
  listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
17002
17171
  listManualDagInstancesWithOptions(request: ListManualDagInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ListManualDagInstancesResponse>;
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
  };
@@ -10248,6 +10250,74 @@ class ListHistoryTasksForResourceGroupResponse extends $tea.Model {
10248
10250
  }
10249
10251
  }
10250
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;
10251
10321
  class ListInstanceAmountRequest extends $tea.Model {
10252
10322
  constructor(map) {
10253
10323
  super(map);
@@ -10306,6 +10376,64 @@ class ListInstanceAmountResponse extends $tea.Model {
10306
10376
  }
10307
10377
  }
10308
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;
10309
10437
  class ListInstancesRequest extends $tea.Model {
10310
10438
  constructor(map) {
10311
10439
  super(map);
@@ -12645,6 +12773,7 @@ class RunCycleDagNodesRequest extends $tea.Model {
12645
12773
  projectEnv: 'ProjectEnv',
12646
12774
  rootNodeId: 'RootNodeId',
12647
12775
  startBizDate: 'StartBizDate',
12776
+ startFutureInstanceImmediately: 'StartFutureInstanceImmediately',
12648
12777
  };
12649
12778
  }
12650
12779
  static types() {
@@ -12660,6 +12789,7 @@ class RunCycleDagNodesRequest extends $tea.Model {
12660
12789
  projectEnv: 'string',
12661
12790
  rootNodeId: 'number',
12662
12791
  startBizDate: 'string',
12792
+ startFutureInstanceImmediately: 'boolean',
12663
12793
  };
12664
12794
  }
12665
12795
  }
@@ -22100,6 +22230,78 @@ class ListHistoryTasksForResourceGroupResponseBodyData extends $tea.Model {
22100
22230
  }
22101
22231
  }
22102
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;
22103
22305
  class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
22104
22306
  constructor(map) {
22105
22307
  super(map);
@@ -22118,6 +22320,54 @@ class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
22118
22320
  }
22119
22321
  }
22120
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;
22121
22371
  class ListInstancesResponseBodyDataInstances extends $tea.Model {
22122
22372
  constructor(map) {
22123
22373
  super(map);
@@ -27527,6 +27777,9 @@ class Client extends openapi_client_1.default {
27527
27777
  async getInstanceLogWithOptions(request, runtime) {
27528
27778
  tea_util_1.default.validateModel(request);
27529
27779
  let body = {};
27780
+ if (!tea_util_1.default.isUnset(request.instanceHistoryId)) {
27781
+ body["InstanceHistoryId"] = request.instanceHistoryId;
27782
+ }
27530
27783
  if (!tea_util_1.default.isUnset(request.instanceId)) {
27531
27784
  body["InstanceId"] = request.instanceId;
27532
27785
  }
@@ -29761,6 +30014,50 @@ class Client extends openapi_client_1.default {
29761
30014
  let runtime = new $Util.RuntimeOptions({});
29762
30015
  return await this.listHistoryTasksForResourceGroupWithOptions(request, runtime);
29763
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
+ }
29764
30061
  async listInstanceAmountWithOptions(request, runtime) {
29765
30062
  tea_util_1.default.validateModel(request);
29766
30063
  let body = {};
@@ -29793,6 +30090,35 @@ class Client extends openapi_client_1.default {
29793
30090
  let runtime = new $Util.RuntimeOptions({});
29794
30091
  return await this.listInstanceAmountWithOptions(request, runtime);
29795
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
+ }
29796
30122
  async listInstancesWithOptions(request, runtime) {
29797
30123
  tea_util_1.default.validateModel(request);
29798
30124
  let body = {};
@@ -31077,6 +31403,9 @@ class Client extends openapi_client_1.default {
31077
31403
  if (!tea_util_1.default.isUnset(request.startBizDate)) {
31078
31404
  body["StartBizDate"] = request.startBizDate;
31079
31405
  }
31406
+ if (!tea_util_1.default.isUnset(request.startFutureInstanceImmediately)) {
31407
+ body["StartFutureInstanceImmediately"] = request.startFutureInstanceImmediately;
31408
+ }
31080
31409
  let req = new $OpenApi.OpenApiRequest({
31081
31410
  body: openapi_util_1.default.parseToMap(body),
31082
31411
  });