@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/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ English | [简体中文](README-CN.md)
2
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
3
+
4
+ # Alibaba Cloud dataworks-public SDK for NodeJS
5
+
6
+ ## Installation
7
+ If you use `npm` to manage your dependence, you can use the following command:
8
+
9
+ ```sh
10
+ npm install @alicloud/dataworks-public20200518 -S
11
+ ```
12
+
13
+ ## Issues
14
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
15
+
16
+ ## Usage
17
+ [Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
18
+
19
+ ## References
20
+ * [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
21
+
22
+ ## License
23
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
24
+
25
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
package/dist/client.d.ts CHANGED
@@ -6903,6 +6903,7 @@ export declare class ListManualDagInstancesResponse extends $tea.Model {
6903
6903
  });
6904
6904
  }
6905
6905
  export declare class ListMetaDBRequest extends $tea.Model {
6906
+ clusterId?: string;
6906
6907
  dataSourceType?: string;
6907
6908
  pageNum?: number;
6908
6909
  pageSize?: number;
@@ -9831,6 +9832,7 @@ export declare class UpdateQualityRuleRequest extends $tea.Model {
9831
9832
  expectValue?: string;
9832
9833
  id?: number;
9833
9834
  methodName?: string;
9835
+ openSwitch?: boolean;
9834
9836
  operator?: string;
9835
9837
  predictType?: number;
9836
9838
  projectName?: string;
@@ -10235,6 +10237,49 @@ export declare class UpdateUdfFileResponse extends $tea.Model {
10235
10237
  [key: string]: any;
10236
10238
  });
10237
10239
  }
10240
+ export declare class UpdateWorkbenchEventResultRequest extends $tea.Model {
10241
+ checkResult?: string;
10242
+ checkResultTip?: string;
10243
+ extensionCode?: string;
10244
+ messageId?: string;
10245
+ static names(): {
10246
+ [key: string]: string;
10247
+ };
10248
+ static types(): {
10249
+ [key: string]: any;
10250
+ };
10251
+ constructor(map?: {
10252
+ [key: string]: any;
10253
+ });
10254
+ }
10255
+ export declare class UpdateWorkbenchEventResultResponseBody extends $tea.Model {
10256
+ requestId?: string;
10257
+ success?: boolean;
10258
+ static names(): {
10259
+ [key: string]: string;
10260
+ };
10261
+ static types(): {
10262
+ [key: string]: any;
10263
+ };
10264
+ constructor(map?: {
10265
+ [key: string]: any;
10266
+ });
10267
+ }
10268
+ export declare class UpdateWorkbenchEventResultResponse extends $tea.Model {
10269
+ headers: {
10270
+ [key: string]: string;
10271
+ };
10272
+ body: UpdateWorkbenchEventResultResponseBody;
10273
+ static names(): {
10274
+ [key: string]: string;
10275
+ };
10276
+ static types(): {
10277
+ [key: string]: any;
10278
+ };
10279
+ constructor(map?: {
10280
+ [key: string]: any;
10281
+ });
10282
+ }
10238
10283
  export declare class CreateDISyncTaskResponseBodyData extends $tea.Model {
10239
10284
  fileId?: number;
10240
10285
  message?: string;
@@ -15819,4 +15864,6 @@ export default class Client extends OpenApi {
15819
15864
  updateTableTheme(request: UpdateTableThemeRequest): Promise<UpdateTableThemeResponse>;
15820
15865
  updateUdfFileWithOptions(request: UpdateUdfFileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUdfFileResponse>;
15821
15866
  updateUdfFile(request: UpdateUdfFileRequest): Promise<UpdateUdfFileResponse>;
15867
+ updateWorkbenchEventResultWithOptions(request: UpdateWorkbenchEventResultRequest, runtime: $Util.RuntimeOptions): Promise<UpdateWorkbenchEventResultResponse>;
15868
+ updateWorkbenchEventResult(request: UpdateWorkbenchEventResultRequest): Promise<UpdateWorkbenchEventResultResponse>;
15822
15869
  }
package/dist/client.js CHANGED
@@ -9638,6 +9638,7 @@ class ListMetaDBRequest extends $tea.Model {
9638
9638
  }
9639
9639
  static names() {
9640
9640
  return {
9641
+ clusterId: 'ClusterId',
9641
9642
  dataSourceType: 'DataSourceType',
9642
9643
  pageNum: 'PageNum',
9643
9644
  pageSize: 'PageSize',
@@ -9646,6 +9647,7 @@ class ListMetaDBRequest extends $tea.Model {
9646
9647
  }
9647
9648
  static types() {
9648
9649
  return {
9650
+ clusterId: 'string',
9649
9651
  dataSourceType: 'string',
9650
9652
  pageNum: 'number',
9651
9653
  pageSize: 'number',
@@ -13682,6 +13684,7 @@ class UpdateQualityRuleRequest extends $tea.Model {
13682
13684
  expectValue: 'ExpectValue',
13683
13685
  id: 'Id',
13684
13686
  methodName: 'MethodName',
13687
+ openSwitch: 'OpenSwitch',
13685
13688
  operator: 'Operator',
13686
13689
  predictType: 'PredictType',
13687
13690
  projectName: 'ProjectName',
@@ -13705,6 +13708,7 @@ class UpdateQualityRuleRequest extends $tea.Model {
13705
13708
  expectValue: 'string',
13706
13709
  id: 'number',
13707
13710
  methodName: 'string',
13711
+ openSwitch: 'boolean',
13708
13712
  operator: 'string',
13709
13713
  predictType: 'number',
13710
13714
  projectName: 'string',
@@ -14270,6 +14274,64 @@ class UpdateUdfFileResponse extends $tea.Model {
14270
14274
  }
14271
14275
  }
14272
14276
  exports.UpdateUdfFileResponse = UpdateUdfFileResponse;
14277
+ class UpdateWorkbenchEventResultRequest extends $tea.Model {
14278
+ constructor(map) {
14279
+ super(map);
14280
+ }
14281
+ static names() {
14282
+ return {
14283
+ checkResult: 'CheckResult',
14284
+ checkResultTip: 'CheckResultTip',
14285
+ extensionCode: 'ExtensionCode',
14286
+ messageId: 'MessageId',
14287
+ };
14288
+ }
14289
+ static types() {
14290
+ return {
14291
+ checkResult: 'string',
14292
+ checkResultTip: 'string',
14293
+ extensionCode: 'string',
14294
+ messageId: 'string',
14295
+ };
14296
+ }
14297
+ }
14298
+ exports.UpdateWorkbenchEventResultRequest = UpdateWorkbenchEventResultRequest;
14299
+ class UpdateWorkbenchEventResultResponseBody extends $tea.Model {
14300
+ constructor(map) {
14301
+ super(map);
14302
+ }
14303
+ static names() {
14304
+ return {
14305
+ requestId: 'RequestId',
14306
+ success: 'Success',
14307
+ };
14308
+ }
14309
+ static types() {
14310
+ return {
14311
+ requestId: 'string',
14312
+ success: 'boolean',
14313
+ };
14314
+ }
14315
+ }
14316
+ exports.UpdateWorkbenchEventResultResponseBody = UpdateWorkbenchEventResultResponseBody;
14317
+ class UpdateWorkbenchEventResultResponse extends $tea.Model {
14318
+ constructor(map) {
14319
+ super(map);
14320
+ }
14321
+ static names() {
14322
+ return {
14323
+ headers: 'headers',
14324
+ body: 'body',
14325
+ };
14326
+ }
14327
+ static types() {
14328
+ return {
14329
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14330
+ body: UpdateWorkbenchEventResultResponseBody,
14331
+ };
14332
+ }
14333
+ }
14334
+ exports.UpdateWorkbenchEventResultResponse = UpdateWorkbenchEventResultResponse;
14273
14335
  class CreateDISyncTaskResponseBodyData extends $tea.Model {
14274
14336
  constructor(map) {
14275
14337
  super(map);
@@ -29967,6 +30029,9 @@ class Client extends openapi_client_1.default {
29967
30029
  if (!tea_util_1.default.isUnset(request.methodName)) {
29968
30030
  body["MethodName"] = request.methodName;
29969
30031
  }
30032
+ if (!tea_util_1.default.isUnset(request.openSwitch)) {
30033
+ body["OpenSwitch"] = request.openSwitch;
30034
+ }
29970
30035
  if (!tea_util_1.default.isUnset(request.operator)) {
29971
30036
  body["Operator"] = request.operator;
29972
30037
  }
@@ -30374,6 +30439,41 @@ class Client extends openapi_client_1.default {
30374
30439
  let runtime = new $Util.RuntimeOptions({});
30375
30440
  return await this.updateUdfFileWithOptions(request, runtime);
30376
30441
  }
30442
+ async updateWorkbenchEventResultWithOptions(request, runtime) {
30443
+ tea_util_1.default.validateModel(request);
30444
+ let query = {};
30445
+ if (!tea_util_1.default.isUnset(request.checkResult)) {
30446
+ query["CheckResult"] = request.checkResult;
30447
+ }
30448
+ if (!tea_util_1.default.isUnset(request.checkResultTip)) {
30449
+ query["CheckResultTip"] = request.checkResultTip;
30450
+ }
30451
+ if (!tea_util_1.default.isUnset(request.extensionCode)) {
30452
+ query["ExtensionCode"] = request.extensionCode;
30453
+ }
30454
+ if (!tea_util_1.default.isUnset(request.messageId)) {
30455
+ query["MessageId"] = request.messageId;
30456
+ }
30457
+ let req = new $OpenApi.OpenApiRequest({
30458
+ query: openapi_util_1.default.query(query),
30459
+ });
30460
+ let params = new $OpenApi.Params({
30461
+ action: "UpdateWorkbenchEventResult",
30462
+ version: "2020-05-18",
30463
+ protocol: "HTTPS",
30464
+ pathname: "/",
30465
+ method: "POST",
30466
+ authType: "AK",
30467
+ style: "RPC",
30468
+ reqBodyType: "formData",
30469
+ bodyType: "json",
30470
+ });
30471
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateWorkbenchEventResultResponse({}));
30472
+ }
30473
+ async updateWorkbenchEventResult(request) {
30474
+ let runtime = new $Util.RuntimeOptions({});
30475
+ return await this.updateWorkbenchEventResultWithOptions(request, runtime);
30476
+ }
30377
30477
  }
30378
30478
  exports.default = Client;
30379
30479
  //# sourceMappingURL=client.js.map