@alicloud/dataworks-public20200518 4.3.3 → 4.3.4
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 +45 -0
- package/dist/client.js +93 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +113 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -18069,6 +18069,78 @@ export class UpdateUdfFileResponse extends $tea.Model {
|
|
|
18069
18069
|
}
|
|
18070
18070
|
}
|
|
18071
18071
|
|
|
18072
|
+
export class UpdateWorkbenchEventResultRequest extends $tea.Model {
|
|
18073
|
+
checkResult?: string;
|
|
18074
|
+
checkResultTip?: string;
|
|
18075
|
+
extensionCode?: string;
|
|
18076
|
+
messageId?: string;
|
|
18077
|
+
static names(): { [key: string]: string } {
|
|
18078
|
+
return {
|
|
18079
|
+
checkResult: 'CheckResult',
|
|
18080
|
+
checkResultTip: 'CheckResultTip',
|
|
18081
|
+
extensionCode: 'ExtensionCode',
|
|
18082
|
+
messageId: 'MessageId',
|
|
18083
|
+
};
|
|
18084
|
+
}
|
|
18085
|
+
|
|
18086
|
+
static types(): { [key: string]: any } {
|
|
18087
|
+
return {
|
|
18088
|
+
checkResult: 'string',
|
|
18089
|
+
checkResultTip: 'string',
|
|
18090
|
+
extensionCode: 'string',
|
|
18091
|
+
messageId: 'string',
|
|
18092
|
+
};
|
|
18093
|
+
}
|
|
18094
|
+
|
|
18095
|
+
constructor(map?: { [key: string]: any }) {
|
|
18096
|
+
super(map);
|
|
18097
|
+
}
|
|
18098
|
+
}
|
|
18099
|
+
|
|
18100
|
+
export class UpdateWorkbenchEventResultResponseBody extends $tea.Model {
|
|
18101
|
+
requestId?: string;
|
|
18102
|
+
success?: boolean;
|
|
18103
|
+
static names(): { [key: string]: string } {
|
|
18104
|
+
return {
|
|
18105
|
+
requestId: 'RequestId',
|
|
18106
|
+
success: 'Success',
|
|
18107
|
+
};
|
|
18108
|
+
}
|
|
18109
|
+
|
|
18110
|
+
static types(): { [key: string]: any } {
|
|
18111
|
+
return {
|
|
18112
|
+
requestId: 'string',
|
|
18113
|
+
success: 'boolean',
|
|
18114
|
+
};
|
|
18115
|
+
}
|
|
18116
|
+
|
|
18117
|
+
constructor(map?: { [key: string]: any }) {
|
|
18118
|
+
super(map);
|
|
18119
|
+
}
|
|
18120
|
+
}
|
|
18121
|
+
|
|
18122
|
+
export class UpdateWorkbenchEventResultResponse extends $tea.Model {
|
|
18123
|
+
headers: { [key: string]: string };
|
|
18124
|
+
body: UpdateWorkbenchEventResultResponseBody;
|
|
18125
|
+
static names(): { [key: string]: string } {
|
|
18126
|
+
return {
|
|
18127
|
+
headers: 'headers',
|
|
18128
|
+
body: 'body',
|
|
18129
|
+
};
|
|
18130
|
+
}
|
|
18131
|
+
|
|
18132
|
+
static types(): { [key: string]: any } {
|
|
18133
|
+
return {
|
|
18134
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18135
|
+
body: UpdateWorkbenchEventResultResponseBody,
|
|
18136
|
+
};
|
|
18137
|
+
}
|
|
18138
|
+
|
|
18139
|
+
constructor(map?: { [key: string]: any }) {
|
|
18140
|
+
super(map);
|
|
18141
|
+
}
|
|
18142
|
+
}
|
|
18143
|
+
|
|
18072
18144
|
export class CreateDISyncTaskResponseBodyData extends $tea.Model {
|
|
18073
18145
|
fileId?: number;
|
|
18074
18146
|
message?: string;
|
|
@@ -38142,4 +38214,45 @@ export default class Client extends OpenApi {
|
|
|
38142
38214
|
return await this.updateUdfFileWithOptions(request, runtime);
|
|
38143
38215
|
}
|
|
38144
38216
|
|
|
38217
|
+
async updateWorkbenchEventResultWithOptions(request: UpdateWorkbenchEventResultRequest, runtime: $Util.RuntimeOptions): Promise<UpdateWorkbenchEventResultResponse> {
|
|
38218
|
+
Util.validateModel(request);
|
|
38219
|
+
let query = { };
|
|
38220
|
+
if (!Util.isUnset(request.checkResult)) {
|
|
38221
|
+
query["CheckResult"] = request.checkResult;
|
|
38222
|
+
}
|
|
38223
|
+
|
|
38224
|
+
if (!Util.isUnset(request.checkResultTip)) {
|
|
38225
|
+
query["CheckResultTip"] = request.checkResultTip;
|
|
38226
|
+
}
|
|
38227
|
+
|
|
38228
|
+
if (!Util.isUnset(request.extensionCode)) {
|
|
38229
|
+
query["ExtensionCode"] = request.extensionCode;
|
|
38230
|
+
}
|
|
38231
|
+
|
|
38232
|
+
if (!Util.isUnset(request.messageId)) {
|
|
38233
|
+
query["MessageId"] = request.messageId;
|
|
38234
|
+
}
|
|
38235
|
+
|
|
38236
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38237
|
+
query: OpenApiUtil.query(query),
|
|
38238
|
+
});
|
|
38239
|
+
let params = new $OpenApi.Params({
|
|
38240
|
+
action: "UpdateWorkbenchEventResult",
|
|
38241
|
+
version: "2020-05-18",
|
|
38242
|
+
protocol: "HTTPS",
|
|
38243
|
+
pathname: "/",
|
|
38244
|
+
method: "POST",
|
|
38245
|
+
authType: "AK",
|
|
38246
|
+
style: "RPC",
|
|
38247
|
+
reqBodyType: "formData",
|
|
38248
|
+
bodyType: "json",
|
|
38249
|
+
});
|
|
38250
|
+
return $tea.cast<UpdateWorkbenchEventResultResponse>(await this.callApi(params, req, runtime), new UpdateWorkbenchEventResultResponse({}));
|
|
38251
|
+
}
|
|
38252
|
+
|
|
38253
|
+
async updateWorkbenchEventResult(request: UpdateWorkbenchEventResultRequest): Promise<UpdateWorkbenchEventResultResponse> {
|
|
38254
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38255
|
+
return await this.updateWorkbenchEventResultWithOptions(request, runtime);
|
|
38256
|
+
}
|
|
38257
|
+
|
|
38145
38258
|
}
|