@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 +169 -0
- package/dist/client.js +329 -0
- package/dist/client.js.map +1 -1
- package/package.json +4 -5
- package/src/client.ts +424 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/dataworks-public20200518",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,15 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.4",
|
|
24
|
-
"@alicloud/rpc-client": "^1.3.1",
|
|
25
|
-
"@alicloud/endpoint-util": "^0.0.1",
|
|
26
|
-
"@alicloud/rpc-util": "^0.1.0",
|
|
27
24
|
"@alicloud/oss-client": "^1.1.2",
|
|
25
|
+
"@alicloud/rpc-client": "^1.3.1",
|
|
28
26
|
"@alicloud/openplatform20191219": "1.1.3",
|
|
29
27
|
"@alicloud/oss-util": "0.0.1",
|
|
30
28
|
"@alicloud/tea-fileform": "^1.0.0",
|
|
31
29
|
"@alicloud/openapi-client": "^0.4.1",
|
|
32
|
-
"@alicloud/openapi-util": "^0.2.9"
|
|
30
|
+
"@alicloud/openapi-util": "^0.2.9",
|
|
31
|
+
"@alicloud/endpoint-util": "^0.0.1"
|
|
33
32
|
},
|
|
34
33
|
"files": [
|
|
35
34
|
"dist",
|
package/src/client.ts
CHANGED
|
@@ -7369,10 +7369,12 @@ export class GetInstanceErrorRankResponse extends $tea.Model {
|
|
|
7369
7369
|
}
|
|
7370
7370
|
|
|
7371
7371
|
export class GetInstanceLogRequest extends $tea.Model {
|
|
7372
|
+
instanceHistoryId?: number;
|
|
7372
7373
|
instanceId?: number;
|
|
7373
7374
|
projectEnv?: string;
|
|
7374
7375
|
static names(): { [key: string]: string } {
|
|
7375
7376
|
return {
|
|
7377
|
+
instanceHistoryId: 'InstanceHistoryId',
|
|
7376
7378
|
instanceId: 'InstanceId',
|
|
7377
7379
|
projectEnv: 'ProjectEnv',
|
|
7378
7380
|
};
|
|
@@ -7380,6 +7382,7 @@ export class GetInstanceLogRequest extends $tea.Model {
|
|
|
7380
7382
|
|
|
7381
7383
|
static types(): { [key: string]: any } {
|
|
7382
7384
|
return {
|
|
7385
|
+
instanceHistoryId: 'number',
|
|
7383
7386
|
instanceId: 'number',
|
|
7384
7387
|
projectEnv: 'string',
|
|
7385
7388
|
};
|
|
@@ -13030,6 +13033,93 @@ export class ListHistoryTasksForResourceGroupResponse extends $tea.Model {
|
|
|
13030
13033
|
}
|
|
13031
13034
|
}
|
|
13032
13035
|
|
|
13036
|
+
export class ListInnerNodesRequest extends $tea.Model {
|
|
13037
|
+
nodeName?: string;
|
|
13038
|
+
outerNodeId?: number;
|
|
13039
|
+
pageNumber?: number;
|
|
13040
|
+
pageSize?: number;
|
|
13041
|
+
programType?: string;
|
|
13042
|
+
projectEnv?: string;
|
|
13043
|
+
projectId?: number;
|
|
13044
|
+
static names(): { [key: string]: string } {
|
|
13045
|
+
return {
|
|
13046
|
+
nodeName: 'NodeName',
|
|
13047
|
+
outerNodeId: 'OuterNodeId',
|
|
13048
|
+
pageNumber: 'PageNumber',
|
|
13049
|
+
pageSize: 'PageSize',
|
|
13050
|
+
programType: 'ProgramType',
|
|
13051
|
+
projectEnv: 'ProjectEnv',
|
|
13052
|
+
projectId: 'ProjectId',
|
|
13053
|
+
};
|
|
13054
|
+
}
|
|
13055
|
+
|
|
13056
|
+
static types(): { [key: string]: any } {
|
|
13057
|
+
return {
|
|
13058
|
+
nodeName: 'string',
|
|
13059
|
+
outerNodeId: 'number',
|
|
13060
|
+
pageNumber: 'number',
|
|
13061
|
+
pageSize: 'number',
|
|
13062
|
+
programType: 'string',
|
|
13063
|
+
projectEnv: 'string',
|
|
13064
|
+
projectId: 'number',
|
|
13065
|
+
};
|
|
13066
|
+
}
|
|
13067
|
+
|
|
13068
|
+
constructor(map?: { [key: string]: any }) {
|
|
13069
|
+
super(map);
|
|
13070
|
+
}
|
|
13071
|
+
}
|
|
13072
|
+
|
|
13073
|
+
export class ListInnerNodesResponseBody extends $tea.Model {
|
|
13074
|
+
paging?: ListInnerNodesResponseBodyPaging;
|
|
13075
|
+
requestId?: string;
|
|
13076
|
+
success?: boolean;
|
|
13077
|
+
static names(): { [key: string]: string } {
|
|
13078
|
+
return {
|
|
13079
|
+
paging: 'Paging',
|
|
13080
|
+
requestId: 'RequestId',
|
|
13081
|
+
success: 'Success',
|
|
13082
|
+
};
|
|
13083
|
+
}
|
|
13084
|
+
|
|
13085
|
+
static types(): { [key: string]: any } {
|
|
13086
|
+
return {
|
|
13087
|
+
paging: ListInnerNodesResponseBodyPaging,
|
|
13088
|
+
requestId: 'string',
|
|
13089
|
+
success: 'boolean',
|
|
13090
|
+
};
|
|
13091
|
+
}
|
|
13092
|
+
|
|
13093
|
+
constructor(map?: { [key: string]: any }) {
|
|
13094
|
+
super(map);
|
|
13095
|
+
}
|
|
13096
|
+
}
|
|
13097
|
+
|
|
13098
|
+
export class ListInnerNodesResponse extends $tea.Model {
|
|
13099
|
+
headers: { [key: string]: string };
|
|
13100
|
+
statusCode: number;
|
|
13101
|
+
body: ListInnerNodesResponseBody;
|
|
13102
|
+
static names(): { [key: string]: string } {
|
|
13103
|
+
return {
|
|
13104
|
+
headers: 'headers',
|
|
13105
|
+
statusCode: 'statusCode',
|
|
13106
|
+
body: 'body',
|
|
13107
|
+
};
|
|
13108
|
+
}
|
|
13109
|
+
|
|
13110
|
+
static types(): { [key: string]: any } {
|
|
13111
|
+
return {
|
|
13112
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13113
|
+
statusCode: 'number',
|
|
13114
|
+
body: ListInnerNodesResponseBody,
|
|
13115
|
+
};
|
|
13116
|
+
}
|
|
13117
|
+
|
|
13118
|
+
constructor(map?: { [key: string]: any }) {
|
|
13119
|
+
super(map);
|
|
13120
|
+
}
|
|
13121
|
+
}
|
|
13122
|
+
|
|
13033
13123
|
export class ListInstanceAmountRequest extends $tea.Model {
|
|
13034
13124
|
beginDate?: string;
|
|
13035
13125
|
endDate?: string;
|
|
@@ -13102,6 +13192,78 @@ export class ListInstanceAmountResponse extends $tea.Model {
|
|
|
13102
13192
|
}
|
|
13103
13193
|
}
|
|
13104
13194
|
|
|
13195
|
+
export class ListInstanceHistoryRequest extends $tea.Model {
|
|
13196
|
+
instanceId?: number;
|
|
13197
|
+
projectEnv?: string;
|
|
13198
|
+
static names(): { [key: string]: string } {
|
|
13199
|
+
return {
|
|
13200
|
+
instanceId: 'InstanceId',
|
|
13201
|
+
projectEnv: 'ProjectEnv',
|
|
13202
|
+
};
|
|
13203
|
+
}
|
|
13204
|
+
|
|
13205
|
+
static types(): { [key: string]: any } {
|
|
13206
|
+
return {
|
|
13207
|
+
instanceId: 'number',
|
|
13208
|
+
projectEnv: 'string',
|
|
13209
|
+
};
|
|
13210
|
+
}
|
|
13211
|
+
|
|
13212
|
+
constructor(map?: { [key: string]: any }) {
|
|
13213
|
+
super(map);
|
|
13214
|
+
}
|
|
13215
|
+
}
|
|
13216
|
+
|
|
13217
|
+
export class ListInstanceHistoryResponseBody extends $tea.Model {
|
|
13218
|
+
instances?: ListInstanceHistoryResponseBodyInstances[];
|
|
13219
|
+
requestId?: string;
|
|
13220
|
+
success?: boolean;
|
|
13221
|
+
static names(): { [key: string]: string } {
|
|
13222
|
+
return {
|
|
13223
|
+
instances: 'Instances',
|
|
13224
|
+
requestId: 'RequestId',
|
|
13225
|
+
success: 'Success',
|
|
13226
|
+
};
|
|
13227
|
+
}
|
|
13228
|
+
|
|
13229
|
+
static types(): { [key: string]: any } {
|
|
13230
|
+
return {
|
|
13231
|
+
instances: { 'type': 'array', 'itemType': ListInstanceHistoryResponseBodyInstances },
|
|
13232
|
+
requestId: 'string',
|
|
13233
|
+
success: 'boolean',
|
|
13234
|
+
};
|
|
13235
|
+
}
|
|
13236
|
+
|
|
13237
|
+
constructor(map?: { [key: string]: any }) {
|
|
13238
|
+
super(map);
|
|
13239
|
+
}
|
|
13240
|
+
}
|
|
13241
|
+
|
|
13242
|
+
export class ListInstanceHistoryResponse extends $tea.Model {
|
|
13243
|
+
headers: { [key: string]: string };
|
|
13244
|
+
statusCode: number;
|
|
13245
|
+
body: ListInstanceHistoryResponseBody;
|
|
13246
|
+
static names(): { [key: string]: string } {
|
|
13247
|
+
return {
|
|
13248
|
+
headers: 'headers',
|
|
13249
|
+
statusCode: 'statusCode',
|
|
13250
|
+
body: 'body',
|
|
13251
|
+
};
|
|
13252
|
+
}
|
|
13253
|
+
|
|
13254
|
+
static types(): { [key: string]: any } {
|
|
13255
|
+
return {
|
|
13256
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13257
|
+
statusCode: 'number',
|
|
13258
|
+
body: ListInstanceHistoryResponseBody,
|
|
13259
|
+
};
|
|
13260
|
+
}
|
|
13261
|
+
|
|
13262
|
+
constructor(map?: { [key: string]: any }) {
|
|
13263
|
+
super(map);
|
|
13264
|
+
}
|
|
13265
|
+
}
|
|
13266
|
+
|
|
13105
13267
|
export class ListInstancesRequest extends $tea.Model {
|
|
13106
13268
|
beginBizdate?: string;
|
|
13107
13269
|
bizName?: string;
|
|
@@ -16057,6 +16219,7 @@ export class RunCycleDagNodesRequest extends $tea.Model {
|
|
|
16057
16219
|
projectEnv?: string;
|
|
16058
16220
|
rootNodeId?: number;
|
|
16059
16221
|
startBizDate?: string;
|
|
16222
|
+
startFutureInstanceImmediately?: boolean;
|
|
16060
16223
|
static names(): { [key: string]: string } {
|
|
16061
16224
|
return {
|
|
16062
16225
|
bizBeginTime: 'BizBeginTime',
|
|
@@ -16070,6 +16233,7 @@ export class RunCycleDagNodesRequest extends $tea.Model {
|
|
|
16070
16233
|
projectEnv: 'ProjectEnv',
|
|
16071
16234
|
rootNodeId: 'RootNodeId',
|
|
16072
16235
|
startBizDate: 'StartBizDate',
|
|
16236
|
+
startFutureInstanceImmediately: 'StartFutureInstanceImmediately',
|
|
16073
16237
|
};
|
|
16074
16238
|
}
|
|
16075
16239
|
|
|
@@ -16086,6 +16250,7 @@ export class RunCycleDagNodesRequest extends $tea.Model {
|
|
|
16086
16250
|
projectEnv: 'string',
|
|
16087
16251
|
rootNodeId: 'number',
|
|
16088
16252
|
startBizDate: 'string',
|
|
16253
|
+
startFutureInstanceImmediately: 'boolean',
|
|
16089
16254
|
};
|
|
16090
16255
|
}
|
|
16091
16256
|
|
|
@@ -28413,6 +28578,104 @@ export class ListHistoryTasksForResourceGroupResponseBodyData extends $tea.Model
|
|
|
28413
28578
|
}
|
|
28414
28579
|
}
|
|
28415
28580
|
|
|
28581
|
+
export class ListInnerNodesResponseBodyPagingNodes extends $tea.Model {
|
|
28582
|
+
baselineId?: number;
|
|
28583
|
+
businessId?: number;
|
|
28584
|
+
connection?: string;
|
|
28585
|
+
cronExpress?: string;
|
|
28586
|
+
description?: string;
|
|
28587
|
+
dqcDescription?: string;
|
|
28588
|
+
dqcType?: string;
|
|
28589
|
+
nodeId?: number;
|
|
28590
|
+
nodeName?: string;
|
|
28591
|
+
ownerId?: string;
|
|
28592
|
+
paramValues?: string;
|
|
28593
|
+
priority?: number;
|
|
28594
|
+
programType?: string;
|
|
28595
|
+
projectId?: number;
|
|
28596
|
+
repeatInterval?: number;
|
|
28597
|
+
repeatability?: boolean;
|
|
28598
|
+
resGroupName?: string;
|
|
28599
|
+
schedulerType?: string;
|
|
28600
|
+
static names(): { [key: string]: string } {
|
|
28601
|
+
return {
|
|
28602
|
+
baselineId: 'BaselineId',
|
|
28603
|
+
businessId: 'BusinessId',
|
|
28604
|
+
connection: 'Connection',
|
|
28605
|
+
cronExpress: 'CronExpress',
|
|
28606
|
+
description: 'Description',
|
|
28607
|
+
dqcDescription: 'DqcDescription',
|
|
28608
|
+
dqcType: 'DqcType',
|
|
28609
|
+
nodeId: 'NodeId',
|
|
28610
|
+
nodeName: 'NodeName',
|
|
28611
|
+
ownerId: 'OwnerId',
|
|
28612
|
+
paramValues: 'ParamValues',
|
|
28613
|
+
priority: 'Priority',
|
|
28614
|
+
programType: 'ProgramType',
|
|
28615
|
+
projectId: 'ProjectId',
|
|
28616
|
+
repeatInterval: 'RepeatInterval',
|
|
28617
|
+
repeatability: 'Repeatability',
|
|
28618
|
+
resGroupName: 'ResGroupName',
|
|
28619
|
+
schedulerType: 'SchedulerType',
|
|
28620
|
+
};
|
|
28621
|
+
}
|
|
28622
|
+
|
|
28623
|
+
static types(): { [key: string]: any } {
|
|
28624
|
+
return {
|
|
28625
|
+
baselineId: 'number',
|
|
28626
|
+
businessId: 'number',
|
|
28627
|
+
connection: 'string',
|
|
28628
|
+
cronExpress: 'string',
|
|
28629
|
+
description: 'string',
|
|
28630
|
+
dqcDescription: 'string',
|
|
28631
|
+
dqcType: 'string',
|
|
28632
|
+
nodeId: 'number',
|
|
28633
|
+
nodeName: 'string',
|
|
28634
|
+
ownerId: 'string',
|
|
28635
|
+
paramValues: 'string',
|
|
28636
|
+
priority: 'number',
|
|
28637
|
+
programType: 'string',
|
|
28638
|
+
projectId: 'number',
|
|
28639
|
+
repeatInterval: 'number',
|
|
28640
|
+
repeatability: 'boolean',
|
|
28641
|
+
resGroupName: 'string',
|
|
28642
|
+
schedulerType: 'string',
|
|
28643
|
+
};
|
|
28644
|
+
}
|
|
28645
|
+
|
|
28646
|
+
constructor(map?: { [key: string]: any }) {
|
|
28647
|
+
super(map);
|
|
28648
|
+
}
|
|
28649
|
+
}
|
|
28650
|
+
|
|
28651
|
+
export class ListInnerNodesResponseBodyPaging extends $tea.Model {
|
|
28652
|
+
nodes?: ListInnerNodesResponseBodyPagingNodes[];
|
|
28653
|
+
pageNumber?: number;
|
|
28654
|
+
pageSize?: number;
|
|
28655
|
+
totalCount?: number;
|
|
28656
|
+
static names(): { [key: string]: string } {
|
|
28657
|
+
return {
|
|
28658
|
+
nodes: 'Nodes',
|
|
28659
|
+
pageNumber: 'PageNumber',
|
|
28660
|
+
pageSize: 'PageSize',
|
|
28661
|
+
totalCount: 'TotalCount',
|
|
28662
|
+
};
|
|
28663
|
+
}
|
|
28664
|
+
|
|
28665
|
+
static types(): { [key: string]: any } {
|
|
28666
|
+
return {
|
|
28667
|
+
nodes: { 'type': 'array', 'itemType': ListInnerNodesResponseBodyPagingNodes },
|
|
28668
|
+
pageNumber: 'number',
|
|
28669
|
+
pageSize: 'number',
|
|
28670
|
+
totalCount: 'number',
|
|
28671
|
+
};
|
|
28672
|
+
}
|
|
28673
|
+
|
|
28674
|
+
constructor(map?: { [key: string]: any }) {
|
|
28675
|
+
super(map);
|
|
28676
|
+
}
|
|
28677
|
+
}
|
|
28678
|
+
|
|
28416
28679
|
export class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
|
|
28417
28680
|
count?: number;
|
|
28418
28681
|
date?: number;
|
|
@@ -28435,6 +28698,73 @@ export class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
|
|
|
28435
28698
|
}
|
|
28436
28699
|
}
|
|
28437
28700
|
|
|
28701
|
+
export class ListInstanceHistoryResponseBodyInstances extends $tea.Model {
|
|
28702
|
+
beginRunningTime?: number;
|
|
28703
|
+
beginWaitResTime?: number;
|
|
28704
|
+
beginWaitTimeTime?: number;
|
|
28705
|
+
bizdate?: number;
|
|
28706
|
+
createTime?: number;
|
|
28707
|
+
cycTime?: number;
|
|
28708
|
+
dagId?: number;
|
|
28709
|
+
dagType?: string;
|
|
28710
|
+
errorMessage?: string;
|
|
28711
|
+
finishTime?: number;
|
|
28712
|
+
instanceHistoryId?: number;
|
|
28713
|
+
instanceId?: number;
|
|
28714
|
+
modifyTime?: number;
|
|
28715
|
+
nodeId?: number;
|
|
28716
|
+
nodeName?: string;
|
|
28717
|
+
status?: string;
|
|
28718
|
+
taskType?: string;
|
|
28719
|
+
static names(): { [key: string]: string } {
|
|
28720
|
+
return {
|
|
28721
|
+
beginRunningTime: 'BeginRunningTime',
|
|
28722
|
+
beginWaitResTime: 'BeginWaitResTime',
|
|
28723
|
+
beginWaitTimeTime: 'BeginWaitTimeTime',
|
|
28724
|
+
bizdate: 'Bizdate',
|
|
28725
|
+
createTime: 'CreateTime',
|
|
28726
|
+
cycTime: 'CycTime',
|
|
28727
|
+
dagId: 'DagId',
|
|
28728
|
+
dagType: 'DagType',
|
|
28729
|
+
errorMessage: 'ErrorMessage',
|
|
28730
|
+
finishTime: 'FinishTime',
|
|
28731
|
+
instanceHistoryId: 'InstanceHistoryId',
|
|
28732
|
+
instanceId: 'InstanceId',
|
|
28733
|
+
modifyTime: 'ModifyTime',
|
|
28734
|
+
nodeId: 'NodeId',
|
|
28735
|
+
nodeName: 'NodeName',
|
|
28736
|
+
status: 'Status',
|
|
28737
|
+
taskType: 'TaskType',
|
|
28738
|
+
};
|
|
28739
|
+
}
|
|
28740
|
+
|
|
28741
|
+
static types(): { [key: string]: any } {
|
|
28742
|
+
return {
|
|
28743
|
+
beginRunningTime: 'number',
|
|
28744
|
+
beginWaitResTime: 'number',
|
|
28745
|
+
beginWaitTimeTime: 'number',
|
|
28746
|
+
bizdate: 'number',
|
|
28747
|
+
createTime: 'number',
|
|
28748
|
+
cycTime: 'number',
|
|
28749
|
+
dagId: 'number',
|
|
28750
|
+
dagType: 'string',
|
|
28751
|
+
errorMessage: 'string',
|
|
28752
|
+
finishTime: 'number',
|
|
28753
|
+
instanceHistoryId: 'number',
|
|
28754
|
+
instanceId: 'number',
|
|
28755
|
+
modifyTime: 'number',
|
|
28756
|
+
nodeId: 'number',
|
|
28757
|
+
nodeName: 'string',
|
|
28758
|
+
status: 'string',
|
|
28759
|
+
taskType: 'string',
|
|
28760
|
+
};
|
|
28761
|
+
}
|
|
28762
|
+
|
|
28763
|
+
constructor(map?: { [key: string]: any }) {
|
|
28764
|
+
super(map);
|
|
28765
|
+
}
|
|
28766
|
+
}
|
|
28767
|
+
|
|
28438
28768
|
export class ListInstancesResponseBodyDataInstances extends $tea.Model {
|
|
28439
28769
|
baselineId?: number;
|
|
28440
28770
|
beginRunningTime?: number;
|
|
@@ -35076,6 +35406,10 @@ export default class Client extends OpenApi {
|
|
|
35076
35406
|
async getInstanceLogWithOptions(request: GetInstanceLogRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceLogResponse> {
|
|
35077
35407
|
Util.validateModel(request);
|
|
35078
35408
|
let body : {[key: string ]: any} = { };
|
|
35409
|
+
if (!Util.isUnset(request.instanceHistoryId)) {
|
|
35410
|
+
body["InstanceHistoryId"] = request.instanceHistoryId;
|
|
35411
|
+
}
|
|
35412
|
+
|
|
35079
35413
|
if (!Util.isUnset(request.instanceId)) {
|
|
35080
35414
|
body["InstanceId"] = request.instanceId;
|
|
35081
35415
|
}
|
|
@@ -37674,6 +38008,59 @@ export default class Client extends OpenApi {
|
|
|
37674
38008
|
return await this.listHistoryTasksForResourceGroupWithOptions(request, runtime);
|
|
37675
38009
|
}
|
|
37676
38010
|
|
|
38011
|
+
async listInnerNodesWithOptions(request: ListInnerNodesRequest, runtime: $Util.RuntimeOptions): Promise<ListInnerNodesResponse> {
|
|
38012
|
+
Util.validateModel(request);
|
|
38013
|
+
let body : {[key: string ]: any} = { };
|
|
38014
|
+
if (!Util.isUnset(request.nodeName)) {
|
|
38015
|
+
body["NodeName"] = request.nodeName;
|
|
38016
|
+
}
|
|
38017
|
+
|
|
38018
|
+
if (!Util.isUnset(request.outerNodeId)) {
|
|
38019
|
+
body["OuterNodeId"] = request.outerNodeId;
|
|
38020
|
+
}
|
|
38021
|
+
|
|
38022
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
38023
|
+
body["PageNumber"] = request.pageNumber;
|
|
38024
|
+
}
|
|
38025
|
+
|
|
38026
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
38027
|
+
body["PageSize"] = request.pageSize;
|
|
38028
|
+
}
|
|
38029
|
+
|
|
38030
|
+
if (!Util.isUnset(request.programType)) {
|
|
38031
|
+
body["ProgramType"] = request.programType;
|
|
38032
|
+
}
|
|
38033
|
+
|
|
38034
|
+
if (!Util.isUnset(request.projectEnv)) {
|
|
38035
|
+
body["ProjectEnv"] = request.projectEnv;
|
|
38036
|
+
}
|
|
38037
|
+
|
|
38038
|
+
if (!Util.isUnset(request.projectId)) {
|
|
38039
|
+
body["ProjectId"] = request.projectId;
|
|
38040
|
+
}
|
|
38041
|
+
|
|
38042
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38043
|
+
body: OpenApiUtil.parseToMap(body),
|
|
38044
|
+
});
|
|
38045
|
+
let params = new $OpenApi.Params({
|
|
38046
|
+
action: "ListInnerNodes",
|
|
38047
|
+
version: "2020-05-18",
|
|
38048
|
+
protocol: "HTTPS",
|
|
38049
|
+
pathname: "/",
|
|
38050
|
+
method: "POST",
|
|
38051
|
+
authType: "AK",
|
|
38052
|
+
style: "RPC",
|
|
38053
|
+
reqBodyType: "formData",
|
|
38054
|
+
bodyType: "json",
|
|
38055
|
+
});
|
|
38056
|
+
return $tea.cast<ListInnerNodesResponse>(await this.callApi(params, req, runtime), new ListInnerNodesResponse({}));
|
|
38057
|
+
}
|
|
38058
|
+
|
|
38059
|
+
async listInnerNodes(request: ListInnerNodesRequest): Promise<ListInnerNodesResponse> {
|
|
38060
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38061
|
+
return await this.listInnerNodesWithOptions(request, runtime);
|
|
38062
|
+
}
|
|
38063
|
+
|
|
37677
38064
|
async listInstanceAmountWithOptions(request: ListInstanceAmountRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceAmountResponse> {
|
|
37678
38065
|
Util.validateModel(request);
|
|
37679
38066
|
let body : {[key: string ]: any} = { };
|
|
@@ -37711,6 +38098,39 @@ export default class Client extends OpenApi {
|
|
|
37711
38098
|
return await this.listInstanceAmountWithOptions(request, runtime);
|
|
37712
38099
|
}
|
|
37713
38100
|
|
|
38101
|
+
async listInstanceHistoryWithOptions(request: ListInstanceHistoryRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceHistoryResponse> {
|
|
38102
|
+
Util.validateModel(request);
|
|
38103
|
+
let body : {[key: string ]: any} = { };
|
|
38104
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
38105
|
+
body["InstanceId"] = request.instanceId;
|
|
38106
|
+
}
|
|
38107
|
+
|
|
38108
|
+
if (!Util.isUnset(request.projectEnv)) {
|
|
38109
|
+
body["ProjectEnv"] = request.projectEnv;
|
|
38110
|
+
}
|
|
38111
|
+
|
|
38112
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38113
|
+
body: OpenApiUtil.parseToMap(body),
|
|
38114
|
+
});
|
|
38115
|
+
let params = new $OpenApi.Params({
|
|
38116
|
+
action: "ListInstanceHistory",
|
|
38117
|
+
version: "2020-05-18",
|
|
38118
|
+
protocol: "HTTPS",
|
|
38119
|
+
pathname: "/",
|
|
38120
|
+
method: "POST",
|
|
38121
|
+
authType: "AK",
|
|
38122
|
+
style: "RPC",
|
|
38123
|
+
reqBodyType: "formData",
|
|
38124
|
+
bodyType: "json",
|
|
38125
|
+
});
|
|
38126
|
+
return $tea.cast<ListInstanceHistoryResponse>(await this.callApi(params, req, runtime), new ListInstanceHistoryResponse({}));
|
|
38127
|
+
}
|
|
38128
|
+
|
|
38129
|
+
async listInstanceHistory(request: ListInstanceHistoryRequest): Promise<ListInstanceHistoryResponse> {
|
|
38130
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38131
|
+
return await this.listInstanceHistoryWithOptions(request, runtime);
|
|
38132
|
+
}
|
|
38133
|
+
|
|
37714
38134
|
async listInstancesWithOptions(request: ListInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse> {
|
|
37715
38135
|
Util.validateModel(request);
|
|
37716
38136
|
let body : {[key: string ]: any} = { };
|
|
@@ -39218,6 +39638,10 @@ export default class Client extends OpenApi {
|
|
|
39218
39638
|
body["StartBizDate"] = request.startBizDate;
|
|
39219
39639
|
}
|
|
39220
39640
|
|
|
39641
|
+
if (!Util.isUnset(request.startFutureInstanceImmediately)) {
|
|
39642
|
+
body["StartFutureInstanceImmediately"] = request.startFutureInstanceImmediately;
|
|
39643
|
+
}
|
|
39644
|
+
|
|
39221
39645
|
let req = new $OpenApi.OpenApiRequest({
|
|
39222
39646
|
body: OpenApiUtil.parseToMap(body),
|
|
39223
39647
|
});
|