@alicloud/dataworks-public20200518 4.3.2 → 4.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/dataworks-public20200518",
3
- "version": "4.3.2",
3
+ "version": "4.3.5",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -12187,12 +12187,14 @@ export class ListManualDagInstancesResponse extends $tea.Model {
12187
12187
  }
12188
12188
 
12189
12189
  export class ListMetaDBRequest extends $tea.Model {
12190
+ clusterId?: string;
12190
12191
  dataSourceType?: string;
12191
12192
  pageNum?: number;
12192
12193
  pageSize?: number;
12193
12194
  projectId?: number;
12194
12195
  static names(): { [key: string]: string } {
12195
12196
  return {
12197
+ clusterId: 'ClusterId',
12196
12198
  dataSourceType: 'DataSourceType',
12197
12199
  pageNum: 'PageNum',
12198
12200
  pageSize: 'PageSize',
@@ -12202,6 +12204,7 @@ export class ListMetaDBRequest extends $tea.Model {
12202
12204
 
12203
12205
  static types(): { [key: string]: any } {
12204
12206
  return {
12207
+ clusterId: 'string',
12205
12208
  dataSourceType: 'string',
12206
12209
  pageNum: 'number',
12207
12210
  pageSize: 'number',
@@ -17289,6 +17292,7 @@ export class UpdateQualityRuleRequest extends $tea.Model {
17289
17292
  expectValue?: string;
17290
17293
  id?: number;
17291
17294
  methodName?: string;
17295
+ openSwitch?: boolean;
17292
17296
  operator?: string;
17293
17297
  predictType?: number;
17294
17298
  projectName?: string;
@@ -17310,6 +17314,7 @@ export class UpdateQualityRuleRequest extends $tea.Model {
17310
17314
  expectValue: 'ExpectValue',
17311
17315
  id: 'Id',
17312
17316
  methodName: 'MethodName',
17317
+ openSwitch: 'OpenSwitch',
17313
17318
  operator: 'Operator',
17314
17319
  predictType: 'PredictType',
17315
17320
  projectName: 'ProjectName',
@@ -17334,6 +17339,7 @@ export class UpdateQualityRuleRequest extends $tea.Model {
17334
17339
  expectValue: 'string',
17335
17340
  id: 'number',
17336
17341
  methodName: 'string',
17342
+ openSwitch: 'boolean',
17337
17343
  operator: 'string',
17338
17344
  predictType: 'number',
17339
17345
  projectName: 'string',
@@ -18063,6 +18069,78 @@ export class UpdateUdfFileResponse extends $tea.Model {
18063
18069
  }
18064
18070
  }
18065
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
+
18066
18144
  export class CreateDISyncTaskResponseBodyData extends $tea.Model {
18067
18145
  fileId?: number;
18068
18146
  message?: string;
@@ -37635,6 +37713,10 @@ export default class Client extends OpenApi {
37635
37713
  body["MethodName"] = request.methodName;
37636
37714
  }
37637
37715
 
37716
+ if (!Util.isUnset(request.openSwitch)) {
37717
+ body["OpenSwitch"] = request.openSwitch;
37718
+ }
37719
+
37638
37720
  if (!Util.isUnset(request.operator)) {
37639
37721
  body["Operator"] = request.operator;
37640
37722
  }
@@ -38132,4 +38214,45 @@ export default class Client extends OpenApi {
38132
38214
  return await this.updateUdfFileWithOptions(request, runtime);
38133
38215
  }
38134
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
+
38135
38258
  }