@alicloud/dataworks-public20200518 4.3.3 → 4.3.6
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 +79 -0
- package/dist/client.js +157 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +197 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1522,6 +1522,8 @@ export class CreateFileRequest extends $tea.Model {
|
|
|
1522
1522
|
fileName?: string;
|
|
1523
1523
|
fileType?: number;
|
|
1524
1524
|
inputList?: string;
|
|
1525
|
+
inputParameters?: string;
|
|
1526
|
+
outputParameters?: string;
|
|
1525
1527
|
owner?: string;
|
|
1526
1528
|
paraValue?: string;
|
|
1527
1529
|
projectId?: number;
|
|
@@ -1551,6 +1553,8 @@ export class CreateFileRequest extends $tea.Model {
|
|
|
1551
1553
|
fileName: 'FileName',
|
|
1552
1554
|
fileType: 'FileType',
|
|
1553
1555
|
inputList: 'InputList',
|
|
1556
|
+
inputParameters: 'InputParameters',
|
|
1557
|
+
outputParameters: 'OutputParameters',
|
|
1554
1558
|
owner: 'Owner',
|
|
1555
1559
|
paraValue: 'ParaValue',
|
|
1556
1560
|
projectId: 'ProjectId',
|
|
@@ -1583,6 +1587,8 @@ export class CreateFileRequest extends $tea.Model {
|
|
|
1583
1587
|
fileName: 'string',
|
|
1584
1588
|
fileType: 'number',
|
|
1585
1589
|
inputList: 'string',
|
|
1590
|
+
inputParameters: 'string',
|
|
1591
|
+
outputParameters: 'string',
|
|
1586
1592
|
owner: 'string',
|
|
1587
1593
|
paraValue: 'string',
|
|
1588
1594
|
projectId: 'number',
|
|
@@ -16541,7 +16547,9 @@ export class UpdateFileRequest extends $tea.Model {
|
|
|
16541
16547
|
fileId?: number;
|
|
16542
16548
|
fileName?: string;
|
|
16543
16549
|
inputList?: string;
|
|
16550
|
+
inputParameters?: string;
|
|
16544
16551
|
outputList?: string;
|
|
16552
|
+
outputParameters?: string;
|
|
16545
16553
|
owner?: string;
|
|
16546
16554
|
paraValue?: string;
|
|
16547
16555
|
projectId?: number;
|
|
@@ -16570,7 +16578,9 @@ export class UpdateFileRequest extends $tea.Model {
|
|
|
16570
16578
|
fileId: 'FileId',
|
|
16571
16579
|
fileName: 'FileName',
|
|
16572
16580
|
inputList: 'InputList',
|
|
16581
|
+
inputParameters: 'InputParameters',
|
|
16573
16582
|
outputList: 'OutputList',
|
|
16583
|
+
outputParameters: 'OutputParameters',
|
|
16574
16584
|
owner: 'Owner',
|
|
16575
16585
|
paraValue: 'ParaValue',
|
|
16576
16586
|
projectId: 'ProjectId',
|
|
@@ -16602,7 +16612,9 @@ export class UpdateFileRequest extends $tea.Model {
|
|
|
16602
16612
|
fileId: 'number',
|
|
16603
16613
|
fileName: 'string',
|
|
16604
16614
|
inputList: 'string',
|
|
16615
|
+
inputParameters: 'string',
|
|
16605
16616
|
outputList: 'string',
|
|
16617
|
+
outputParameters: 'string',
|
|
16606
16618
|
owner: 'string',
|
|
16607
16619
|
paraValue: 'string',
|
|
16608
16620
|
projectId: 'number',
|
|
@@ -18069,6 +18081,78 @@ export class UpdateUdfFileResponse extends $tea.Model {
|
|
|
18069
18081
|
}
|
|
18070
18082
|
}
|
|
18071
18083
|
|
|
18084
|
+
export class UpdateWorkbenchEventResultRequest extends $tea.Model {
|
|
18085
|
+
checkResult?: string;
|
|
18086
|
+
checkResultTip?: string;
|
|
18087
|
+
extensionCode?: string;
|
|
18088
|
+
messageId?: string;
|
|
18089
|
+
static names(): { [key: string]: string } {
|
|
18090
|
+
return {
|
|
18091
|
+
checkResult: 'CheckResult',
|
|
18092
|
+
checkResultTip: 'CheckResultTip',
|
|
18093
|
+
extensionCode: 'ExtensionCode',
|
|
18094
|
+
messageId: 'MessageId',
|
|
18095
|
+
};
|
|
18096
|
+
}
|
|
18097
|
+
|
|
18098
|
+
static types(): { [key: string]: any } {
|
|
18099
|
+
return {
|
|
18100
|
+
checkResult: 'string',
|
|
18101
|
+
checkResultTip: 'string',
|
|
18102
|
+
extensionCode: 'string',
|
|
18103
|
+
messageId: 'string',
|
|
18104
|
+
};
|
|
18105
|
+
}
|
|
18106
|
+
|
|
18107
|
+
constructor(map?: { [key: string]: any }) {
|
|
18108
|
+
super(map);
|
|
18109
|
+
}
|
|
18110
|
+
}
|
|
18111
|
+
|
|
18112
|
+
export class UpdateWorkbenchEventResultResponseBody extends $tea.Model {
|
|
18113
|
+
requestId?: string;
|
|
18114
|
+
success?: boolean;
|
|
18115
|
+
static names(): { [key: string]: string } {
|
|
18116
|
+
return {
|
|
18117
|
+
requestId: 'RequestId',
|
|
18118
|
+
success: 'Success',
|
|
18119
|
+
};
|
|
18120
|
+
}
|
|
18121
|
+
|
|
18122
|
+
static types(): { [key: string]: any } {
|
|
18123
|
+
return {
|
|
18124
|
+
requestId: 'string',
|
|
18125
|
+
success: 'boolean',
|
|
18126
|
+
};
|
|
18127
|
+
}
|
|
18128
|
+
|
|
18129
|
+
constructor(map?: { [key: string]: any }) {
|
|
18130
|
+
super(map);
|
|
18131
|
+
}
|
|
18132
|
+
}
|
|
18133
|
+
|
|
18134
|
+
export class UpdateWorkbenchEventResultResponse extends $tea.Model {
|
|
18135
|
+
headers: { [key: string]: string };
|
|
18136
|
+
body: UpdateWorkbenchEventResultResponseBody;
|
|
18137
|
+
static names(): { [key: string]: string } {
|
|
18138
|
+
return {
|
|
18139
|
+
headers: 'headers',
|
|
18140
|
+
body: 'body',
|
|
18141
|
+
};
|
|
18142
|
+
}
|
|
18143
|
+
|
|
18144
|
+
static types(): { [key: string]: any } {
|
|
18145
|
+
return {
|
|
18146
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18147
|
+
body: UpdateWorkbenchEventResultResponseBody,
|
|
18148
|
+
};
|
|
18149
|
+
}
|
|
18150
|
+
|
|
18151
|
+
constructor(map?: { [key: string]: any }) {
|
|
18152
|
+
super(map);
|
|
18153
|
+
}
|
|
18154
|
+
}
|
|
18155
|
+
|
|
18072
18156
|
export class CreateDISyncTaskResponseBodyData extends $tea.Model {
|
|
18073
18157
|
fileId?: number;
|
|
18074
18158
|
message?: string;
|
|
@@ -20368,6 +20452,28 @@ export class GetFileResponseBodyDataNodeConfigurationInputList extends $tea.Mode
|
|
|
20368
20452
|
}
|
|
20369
20453
|
}
|
|
20370
20454
|
|
|
20455
|
+
export class GetFileResponseBodyDataNodeConfigurationInputParameters extends $tea.Model {
|
|
20456
|
+
parameterName?: string;
|
|
20457
|
+
valueSource?: string;
|
|
20458
|
+
static names(): { [key: string]: string } {
|
|
20459
|
+
return {
|
|
20460
|
+
parameterName: 'ParameterName',
|
|
20461
|
+
valueSource: 'ValueSource',
|
|
20462
|
+
};
|
|
20463
|
+
}
|
|
20464
|
+
|
|
20465
|
+
static types(): { [key: string]: any } {
|
|
20466
|
+
return {
|
|
20467
|
+
parameterName: 'string',
|
|
20468
|
+
valueSource: 'string',
|
|
20469
|
+
};
|
|
20470
|
+
}
|
|
20471
|
+
|
|
20472
|
+
constructor(map?: { [key: string]: any }) {
|
|
20473
|
+
super(map);
|
|
20474
|
+
}
|
|
20475
|
+
}
|
|
20476
|
+
|
|
20371
20477
|
export class GetFileResponseBodyDataNodeConfigurationOutputList extends $tea.Model {
|
|
20372
20478
|
output?: string;
|
|
20373
20479
|
refTableName?: string;
|
|
@@ -20390,6 +20496,34 @@ export class GetFileResponseBodyDataNodeConfigurationOutputList extends $tea.Mod
|
|
|
20390
20496
|
}
|
|
20391
20497
|
}
|
|
20392
20498
|
|
|
20499
|
+
export class GetFileResponseBodyDataNodeConfigurationOutputParameters extends $tea.Model {
|
|
20500
|
+
description?: string;
|
|
20501
|
+
parameterName?: string;
|
|
20502
|
+
type?: string;
|
|
20503
|
+
value?: string;
|
|
20504
|
+
static names(): { [key: string]: string } {
|
|
20505
|
+
return {
|
|
20506
|
+
description: 'Description',
|
|
20507
|
+
parameterName: 'ParameterName',
|
|
20508
|
+
type: 'Type',
|
|
20509
|
+
value: 'Value',
|
|
20510
|
+
};
|
|
20511
|
+
}
|
|
20512
|
+
|
|
20513
|
+
static types(): { [key: string]: any } {
|
|
20514
|
+
return {
|
|
20515
|
+
description: 'string',
|
|
20516
|
+
parameterName: 'string',
|
|
20517
|
+
type: 'string',
|
|
20518
|
+
value: 'string',
|
|
20519
|
+
};
|
|
20520
|
+
}
|
|
20521
|
+
|
|
20522
|
+
constructor(map?: { [key: string]: any }) {
|
|
20523
|
+
super(map);
|
|
20524
|
+
}
|
|
20525
|
+
}
|
|
20526
|
+
|
|
20393
20527
|
export class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
20394
20528
|
autoRerunIntervalMillis?: number;
|
|
20395
20529
|
autoRerunTimes?: number;
|
|
@@ -20399,7 +20533,9 @@ export class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
20399
20533
|
dependentType?: string;
|
|
20400
20534
|
endEffectDate?: number;
|
|
20401
20535
|
inputList?: GetFileResponseBodyDataNodeConfigurationInputList[];
|
|
20536
|
+
inputParameters?: GetFileResponseBodyDataNodeConfigurationInputParameters[];
|
|
20402
20537
|
outputList?: GetFileResponseBodyDataNodeConfigurationOutputList[];
|
|
20538
|
+
outputParameters?: GetFileResponseBodyDataNodeConfigurationOutputParameters[];
|
|
20403
20539
|
paraValue?: string;
|
|
20404
20540
|
rerunMode?: string;
|
|
20405
20541
|
resourceGroupId?: number;
|
|
@@ -20417,7 +20553,9 @@ export class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
20417
20553
|
dependentType: 'DependentType',
|
|
20418
20554
|
endEffectDate: 'EndEffectDate',
|
|
20419
20555
|
inputList: 'InputList',
|
|
20556
|
+
inputParameters: 'InputParameters',
|
|
20420
20557
|
outputList: 'OutputList',
|
|
20558
|
+
outputParameters: 'OutputParameters',
|
|
20421
20559
|
paraValue: 'ParaValue',
|
|
20422
20560
|
rerunMode: 'RerunMode',
|
|
20423
20561
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -20438,7 +20576,9 @@ export class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
20438
20576
|
dependentType: 'string',
|
|
20439
20577
|
endEffectDate: 'number',
|
|
20440
20578
|
inputList: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationInputList },
|
|
20579
|
+
inputParameters: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationInputParameters },
|
|
20441
20580
|
outputList: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationOutputList },
|
|
20581
|
+
outputParameters: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationOutputParameters },
|
|
20442
20582
|
paraValue: 'string',
|
|
20443
20583
|
rerunMode: 'string',
|
|
20444
20584
|
resourceGroupId: 'number',
|
|
@@ -29538,6 +29678,14 @@ export default class Client extends OpenApi {
|
|
|
29538
29678
|
body["InputList"] = request.inputList;
|
|
29539
29679
|
}
|
|
29540
29680
|
|
|
29681
|
+
if (!Util.isUnset(request.inputParameters)) {
|
|
29682
|
+
body["InputParameters"] = request.inputParameters;
|
|
29683
|
+
}
|
|
29684
|
+
|
|
29685
|
+
if (!Util.isUnset(request.outputParameters)) {
|
|
29686
|
+
body["OutputParameters"] = request.outputParameters;
|
|
29687
|
+
}
|
|
29688
|
+
|
|
29541
29689
|
if (!Util.isUnset(request.owner)) {
|
|
29542
29690
|
body["Owner"] = request.owner;
|
|
29543
29691
|
}
|
|
@@ -37204,10 +37352,18 @@ export default class Client extends OpenApi {
|
|
|
37204
37352
|
body["InputList"] = request.inputList;
|
|
37205
37353
|
}
|
|
37206
37354
|
|
|
37355
|
+
if (!Util.isUnset(request.inputParameters)) {
|
|
37356
|
+
body["InputParameters"] = request.inputParameters;
|
|
37357
|
+
}
|
|
37358
|
+
|
|
37207
37359
|
if (!Util.isUnset(request.outputList)) {
|
|
37208
37360
|
body["OutputList"] = request.outputList;
|
|
37209
37361
|
}
|
|
37210
37362
|
|
|
37363
|
+
if (!Util.isUnset(request.outputParameters)) {
|
|
37364
|
+
body["OutputParameters"] = request.outputParameters;
|
|
37365
|
+
}
|
|
37366
|
+
|
|
37211
37367
|
if (!Util.isUnset(request.owner)) {
|
|
37212
37368
|
body["Owner"] = request.owner;
|
|
37213
37369
|
}
|
|
@@ -38142,4 +38298,45 @@ export default class Client extends OpenApi {
|
|
|
38142
38298
|
return await this.updateUdfFileWithOptions(request, runtime);
|
|
38143
38299
|
}
|
|
38144
38300
|
|
|
38301
|
+
async updateWorkbenchEventResultWithOptions(request: UpdateWorkbenchEventResultRequest, runtime: $Util.RuntimeOptions): Promise<UpdateWorkbenchEventResultResponse> {
|
|
38302
|
+
Util.validateModel(request);
|
|
38303
|
+
let query = { };
|
|
38304
|
+
if (!Util.isUnset(request.checkResult)) {
|
|
38305
|
+
query["CheckResult"] = request.checkResult;
|
|
38306
|
+
}
|
|
38307
|
+
|
|
38308
|
+
if (!Util.isUnset(request.checkResultTip)) {
|
|
38309
|
+
query["CheckResultTip"] = request.checkResultTip;
|
|
38310
|
+
}
|
|
38311
|
+
|
|
38312
|
+
if (!Util.isUnset(request.extensionCode)) {
|
|
38313
|
+
query["ExtensionCode"] = request.extensionCode;
|
|
38314
|
+
}
|
|
38315
|
+
|
|
38316
|
+
if (!Util.isUnset(request.messageId)) {
|
|
38317
|
+
query["MessageId"] = request.messageId;
|
|
38318
|
+
}
|
|
38319
|
+
|
|
38320
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38321
|
+
query: OpenApiUtil.query(query),
|
|
38322
|
+
});
|
|
38323
|
+
let params = new $OpenApi.Params({
|
|
38324
|
+
action: "UpdateWorkbenchEventResult",
|
|
38325
|
+
version: "2020-05-18",
|
|
38326
|
+
protocol: "HTTPS",
|
|
38327
|
+
pathname: "/",
|
|
38328
|
+
method: "POST",
|
|
38329
|
+
authType: "AK",
|
|
38330
|
+
style: "RPC",
|
|
38331
|
+
reqBodyType: "formData",
|
|
38332
|
+
bodyType: "json",
|
|
38333
|
+
});
|
|
38334
|
+
return $tea.cast<UpdateWorkbenchEventResultResponse>(await this.callApi(params, req, runtime), new UpdateWorkbenchEventResultResponse({}));
|
|
38335
|
+
}
|
|
38336
|
+
|
|
38337
|
+
async updateWorkbenchEventResult(request: UpdateWorkbenchEventResultRequest): Promise<UpdateWorkbenchEventResultResponse> {
|
|
38338
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38339
|
+
return await this.updateWorkbenchEventResultWithOptions(request, runtime);
|
|
38340
|
+
}
|
|
38341
|
+
|
|
38145
38342
|
}
|