@alicloud/dataworks-public20200518 4.4.3 → 4.4.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/dist/client.d.ts CHANGED
@@ -1477,6 +1477,7 @@ export declare class CreateQualityEntityRequest extends $tea.Model {
1477
1477
  entityLevel?: number;
1478
1478
  envType?: string;
1479
1479
  matchExpression?: string;
1480
+ projectId?: number;
1480
1481
  projectName?: string;
1481
1482
  tableName?: string;
1482
1483
  static names(): {
@@ -1526,6 +1527,7 @@ export declare class CreateQualityFollowerRequest extends $tea.Model {
1526
1527
  alarmMode?: number;
1527
1528
  entityId?: number;
1528
1529
  follower?: string;
1530
+ projectId?: number;
1529
1531
  projectName?: string;
1530
1532
  static names(): {
1531
1533
  [key: string]: string;
@@ -1632,6 +1634,7 @@ export declare class CreateQualityRuleRequest extends $tea.Model {
1632
1634
  methodName?: string;
1633
1635
  operator?: string;
1634
1636
  predictType?: number;
1637
+ projectId?: number;
1635
1638
  projectName?: string;
1636
1639
  property?: string;
1637
1640
  propertyType?: string;
@@ -2590,6 +2593,7 @@ export declare class DeleteProjectMemberResponse extends $tea.Model {
2590
2593
  export declare class DeleteQualityEntityRequest extends $tea.Model {
2591
2594
  entityId?: number;
2592
2595
  envType?: string;
2596
+ projectId?: number;
2593
2597
  projectName?: string;
2594
2598
  static names(): {
2595
2599
  [key: string]: string;
@@ -2636,6 +2640,7 @@ export declare class DeleteQualityEntityResponse extends $tea.Model {
2636
2640
  }
2637
2641
  export declare class DeleteQualityFollowerRequest extends $tea.Model {
2638
2642
  followerId?: number;
2643
+ projectId?: number;
2639
2644
  projectName?: string;
2640
2645
  static names(): {
2641
2646
  [key: string]: string;
@@ -2733,6 +2738,7 @@ export declare class DeleteQualityRelativeNodeResponse extends $tea.Model {
2733
2738
  });
2734
2739
  }
2735
2740
  export declare class DeleteQualityRuleRequest extends $tea.Model {
2741
+ projectId?: number;
2736
2742
  projectName?: string;
2737
2743
  ruleId?: number;
2738
2744
  static names(): {
@@ -6094,6 +6100,7 @@ export declare class GetProjectDetailResponse extends $tea.Model {
6094
6100
  export declare class GetQualityEntityRequest extends $tea.Model {
6095
6101
  envType?: string;
6096
6102
  matchExpression?: string;
6103
+ projectId?: number;
6097
6104
  projectName?: string;
6098
6105
  tableName?: string;
6099
6106
  static names(): {
@@ -6141,6 +6148,7 @@ export declare class GetQualityEntityResponse extends $tea.Model {
6141
6148
  }
6142
6149
  export declare class GetQualityFollowerRequest extends $tea.Model {
6143
6150
  entityId?: number;
6151
+ projectId?: number;
6144
6152
  projectName?: string;
6145
6153
  static names(): {
6146
6154
  [key: string]: string;
@@ -6186,6 +6194,7 @@ export declare class GetQualityFollowerResponse extends $tea.Model {
6186
6194
  });
6187
6195
  }
6188
6196
  export declare class GetQualityRuleRequest extends $tea.Model {
6197
+ projectId?: number;
6189
6198
  projectName?: string;
6190
6199
  ruleId?: number;
6191
6200
  static names(): {
@@ -8656,6 +8665,7 @@ export declare class ListQualityResultsByEntityRequest extends $tea.Model {
8656
8665
  entityId?: number;
8657
8666
  pageNumber?: number;
8658
8667
  pageSize?: number;
8668
+ projectId?: number;
8659
8669
  projectName?: string;
8660
8670
  startDate?: string;
8661
8671
  static names(): {
@@ -8705,6 +8715,7 @@ export declare class ListQualityResultsByRuleRequest extends $tea.Model {
8705
8715
  endDate?: string;
8706
8716
  pageNumber?: number;
8707
8717
  pageSize?: number;
8718
+ projectId?: number;
8708
8719
  projectName?: string;
8709
8720
  ruleId?: number;
8710
8721
  startDate?: string;
@@ -8755,6 +8766,7 @@ export declare class ListQualityRulesRequest extends $tea.Model {
8755
8766
  entityId?: number;
8756
8767
  pageNumber?: number;
8757
8768
  pageSize?: number;
8769
+ projectId?: number;
8758
8770
  projectName?: string;
8759
8771
  static names(): {
8760
8772
  [key: string]: string;
@@ -9887,6 +9899,53 @@ export declare class RunTriggerNodeResponse extends $tea.Model {
9887
9899
  [key: string]: any;
9888
9900
  });
9889
9901
  }
9902
+ export declare class SaveDataServiceApiTestResultRequest extends $tea.Model {
9903
+ apiId?: number;
9904
+ autoGenerate?: boolean;
9905
+ failResultSample?: string;
9906
+ projectId?: number;
9907
+ resultSample?: string;
9908
+ static names(): {
9909
+ [key: string]: string;
9910
+ };
9911
+ static types(): {
9912
+ [key: string]: any;
9913
+ };
9914
+ constructor(map?: {
9915
+ [key: string]: any;
9916
+ });
9917
+ }
9918
+ export declare class SaveDataServiceApiTestResultResponseBody extends $tea.Model {
9919
+ data?: boolean;
9920
+ httpStatusCode?: number;
9921
+ requestId?: string;
9922
+ success?: boolean;
9923
+ static names(): {
9924
+ [key: string]: string;
9925
+ };
9926
+ static types(): {
9927
+ [key: string]: any;
9928
+ };
9929
+ constructor(map?: {
9930
+ [key: string]: any;
9931
+ });
9932
+ }
9933
+ export declare class SaveDataServiceApiTestResultResponse extends $tea.Model {
9934
+ headers: {
9935
+ [key: string]: string;
9936
+ };
9937
+ statusCode: number;
9938
+ body: SaveDataServiceApiTestResultResponseBody;
9939
+ static names(): {
9940
+ [key: string]: string;
9941
+ };
9942
+ static types(): {
9943
+ [key: string]: any;
9944
+ };
9945
+ constructor(map?: {
9946
+ [key: string]: any;
9947
+ });
9948
+ }
9890
9949
  export declare class ScanSensitiveDataRequest extends $tea.Model {
9891
9950
  data?: string;
9892
9951
  static names(): {
@@ -11522,6 +11581,7 @@ export declare class UpdateQualityFollowerRequest extends $tea.Model {
11522
11581
  alarmMode?: number;
11523
11582
  follower?: string;
11524
11583
  followerId?: number;
11584
+ projectId?: number;
11525
11585
  projectName?: string;
11526
11586
  static names(): {
11527
11587
  [key: string]: string;
@@ -11578,6 +11638,7 @@ export declare class UpdateQualityRuleRequest extends $tea.Model {
11578
11638
  openSwitch?: boolean;
11579
11639
  operator?: string;
11580
11640
  predictType?: number;
11641
+ projectId?: number;
11581
11642
  projectName?: string;
11582
11643
  property?: string;
11583
11644
  propertyType?: string;
@@ -18933,6 +18994,8 @@ export default class Client extends OpenApi {
18933
18994
  runSmokeTest(request: RunSmokeTestRequest): Promise<RunSmokeTestResponse>;
18934
18995
  runTriggerNodeWithOptions(request: RunTriggerNodeRequest, runtime: $Util.RuntimeOptions): Promise<RunTriggerNodeResponse>;
18935
18996
  runTriggerNode(request: RunTriggerNodeRequest): Promise<RunTriggerNodeResponse>;
18997
+ saveDataServiceApiTestResultWithOptions(request: SaveDataServiceApiTestResultRequest, runtime: $Util.RuntimeOptions): Promise<SaveDataServiceApiTestResultResponse>;
18998
+ saveDataServiceApiTestResult(request: SaveDataServiceApiTestResultRequest): Promise<SaveDataServiceApiTestResultResponse>;
18936
18999
  scanSensitiveDataWithOptions(request: ScanSensitiveDataRequest, runtime: $Util.RuntimeOptions): Promise<ScanSensitiveDataResponse>;
18937
19000
  scanSensitiveData(request: ScanSensitiveDataRequest): Promise<ScanSensitiveDataResponse>;
18938
19001
  /**
@@ -19027,20 +19090,7 @@ export default class Client extends OpenApi {
19027
19090
  * @return UpdateConnectionResponse
19028
19091
  */
19029
19092
  updateConnection(request: UpdateConnectionRequest): Promise<UpdateConnectionResponse>;
19030
- /**
19031
- * DataWorks allows you to specify a default global configuration only for the processing rules of DDL messages in synchronization solutions. After you configure the **processing rules of DDL messages** in synchronization solutions, the configuration is used as the default global configuration and applies to all real-time synchronization nodes in the solutions. You can modify the **processing rules of DDL messages** based on your business requirements. For more information about how to configure a synchronization solution, see [Synchronization solutions](~~199008~~).
19032
- *
19033
- * @param request UpdateDIProjectConfigRequest
19034
- * @param runtime runtime options for this request RuntimeOptions
19035
- * @return UpdateDIProjectConfigResponse
19036
- */
19037
19093
  updateDIProjectConfigWithOptions(request: UpdateDIProjectConfigRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDIProjectConfigResponse>;
19038
- /**
19039
- * DataWorks allows you to specify a default global configuration only for the processing rules of DDL messages in synchronization solutions. After you configure the **processing rules of DDL messages** in synchronization solutions, the configuration is used as the default global configuration and applies to all real-time synchronization nodes in the solutions. You can modify the **processing rules of DDL messages** based on your business requirements. For more information about how to configure a synchronization solution, see [Synchronization solutions](~~199008~~).
19040
- *
19041
- * @param request UpdateDIProjectConfigRequest
19042
- * @return UpdateDIProjectConfigResponse
19043
- */
19044
19094
  updateDIProjectConfig(request: UpdateDIProjectConfigRequest): Promise<UpdateDIProjectConfigResponse>;
19045
19095
  updateDISyncTaskWithOptions(request: UpdateDISyncTaskRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDISyncTaskResponse>;
19046
19096
  updateDISyncTask(request: UpdateDISyncTaskRequest): Promise<UpdateDISyncTaskResponse>;
package/dist/client.js CHANGED
@@ -2126,6 +2126,7 @@ class CreateQualityEntityRequest extends $tea.Model {
2126
2126
  entityLevel: 'EntityLevel',
2127
2127
  envType: 'EnvType',
2128
2128
  matchExpression: 'MatchExpression',
2129
+ projectId: 'ProjectId',
2129
2130
  projectName: 'ProjectName',
2130
2131
  tableName: 'TableName',
2131
2132
  };
@@ -2135,6 +2136,7 @@ class CreateQualityEntityRequest extends $tea.Model {
2135
2136
  entityLevel: 'number',
2136
2137
  envType: 'string',
2137
2138
  matchExpression: 'string',
2139
+ projectId: 'number',
2138
2140
  projectName: 'string',
2139
2141
  tableName: 'string',
2140
2142
  };
@@ -2196,6 +2198,7 @@ class CreateQualityFollowerRequest extends $tea.Model {
2196
2198
  alarmMode: 'AlarmMode',
2197
2199
  entityId: 'EntityId',
2198
2200
  follower: 'Follower',
2201
+ projectId: 'ProjectId',
2199
2202
  projectName: 'ProjectName',
2200
2203
  };
2201
2204
  }
@@ -2204,6 +2207,7 @@ class CreateQualityFollowerRequest extends $tea.Model {
2204
2207
  alarmMode: 'number',
2205
2208
  entityId: 'number',
2206
2209
  follower: 'string',
2210
+ projectId: 'number',
2207
2211
  projectName: 'string',
2208
2212
  };
2209
2213
  }
@@ -2346,6 +2350,7 @@ class CreateQualityRuleRequest extends $tea.Model {
2346
2350
  methodName: 'MethodName',
2347
2351
  operator: 'Operator',
2348
2352
  predictType: 'PredictType',
2353
+ projectId: 'ProjectId',
2349
2354
  projectName: 'ProjectName',
2350
2355
  property: 'Property',
2351
2356
  propertyType: 'PropertyType',
@@ -2368,6 +2373,7 @@ class CreateQualityRuleRequest extends $tea.Model {
2368
2373
  methodName: 'string',
2369
2374
  operator: 'string',
2370
2375
  predictType: 'number',
2376
+ projectId: 'number',
2371
2377
  projectName: 'string',
2372
2378
  property: 'string',
2373
2379
  propertyType: 'string',
@@ -3709,6 +3715,7 @@ class DeleteQualityEntityRequest extends $tea.Model {
3709
3715
  return {
3710
3716
  entityId: 'EntityId',
3711
3717
  envType: 'EnvType',
3718
+ projectId: 'ProjectId',
3712
3719
  projectName: 'ProjectName',
3713
3720
  };
3714
3721
  }
@@ -3716,6 +3723,7 @@ class DeleteQualityEntityRequest extends $tea.Model {
3716
3723
  return {
3717
3724
  entityId: 'number',
3718
3725
  envType: 'string',
3726
+ projectId: 'number',
3719
3727
  projectName: 'string',
3720
3728
  };
3721
3729
  }
@@ -3774,12 +3782,14 @@ class DeleteQualityFollowerRequest extends $tea.Model {
3774
3782
  static names() {
3775
3783
  return {
3776
3784
  followerId: 'FollowerId',
3785
+ projectId: 'ProjectId',
3777
3786
  projectName: 'ProjectName',
3778
3787
  };
3779
3788
  }
3780
3789
  static types() {
3781
3790
  return {
3782
3791
  followerId: 'number',
3792
+ projectId: 'number',
3783
3793
  projectName: 'string',
3784
3794
  };
3785
3795
  }
@@ -3913,12 +3923,14 @@ class DeleteQualityRuleRequest extends $tea.Model {
3913
3923
  }
3914
3924
  static names() {
3915
3925
  return {
3926
+ projectId: 'ProjectId',
3916
3927
  projectName: 'ProjectName',
3917
3928
  ruleId: 'RuleId',
3918
3929
  };
3919
3930
  }
3920
3931
  static types() {
3921
3932
  return {
3933
+ projectId: 'number',
3922
3934
  projectName: 'string',
3923
3935
  ruleId: 'number',
3924
3936
  };
@@ -8581,6 +8593,7 @@ class GetQualityEntityRequest extends $tea.Model {
8581
8593
  return {
8582
8594
  envType: 'EnvType',
8583
8595
  matchExpression: 'MatchExpression',
8596
+ projectId: 'ProjectId',
8584
8597
  projectName: 'ProjectName',
8585
8598
  tableName: 'TableName',
8586
8599
  };
@@ -8589,6 +8602,7 @@ class GetQualityEntityRequest extends $tea.Model {
8589
8602
  return {
8590
8603
  envType: 'string',
8591
8604
  matchExpression: 'string',
8605
+ projectId: 'number',
8592
8606
  projectName: 'string',
8593
8607
  tableName: 'string',
8594
8608
  };
@@ -8648,12 +8662,14 @@ class GetQualityFollowerRequest extends $tea.Model {
8648
8662
  static names() {
8649
8663
  return {
8650
8664
  entityId: 'EntityId',
8665
+ projectId: 'ProjectId',
8651
8666
  projectName: 'ProjectName',
8652
8667
  };
8653
8668
  }
8654
8669
  static types() {
8655
8670
  return {
8656
8671
  entityId: 'number',
8672
+ projectId: 'number',
8657
8673
  projectName: 'string',
8658
8674
  };
8659
8675
  }
@@ -8711,12 +8727,14 @@ class GetQualityRuleRequest extends $tea.Model {
8711
8727
  }
8712
8728
  static names() {
8713
8729
  return {
8730
+ projectId: 'ProjectId',
8714
8731
  projectName: 'ProjectName',
8715
8732
  ruleId: 'RuleId',
8716
8733
  };
8717
8734
  }
8718
8735
  static types() {
8719
8736
  return {
8737
+ projectId: 'number',
8720
8738
  projectName: 'string',
8721
8739
  ruleId: 'number',
8722
8740
  };
@@ -12179,6 +12197,7 @@ class ListQualityResultsByEntityRequest extends $tea.Model {
12179
12197
  entityId: 'EntityId',
12180
12198
  pageNumber: 'PageNumber',
12181
12199
  pageSize: 'PageSize',
12200
+ projectId: 'ProjectId',
12182
12201
  projectName: 'ProjectName',
12183
12202
  startDate: 'StartDate',
12184
12203
  };
@@ -12189,6 +12208,7 @@ class ListQualityResultsByEntityRequest extends $tea.Model {
12189
12208
  entityId: 'number',
12190
12209
  pageNumber: 'number',
12191
12210
  pageSize: 'number',
12211
+ projectId: 'number',
12192
12212
  projectName: 'string',
12193
12213
  startDate: 'string',
12194
12214
  };
@@ -12250,6 +12270,7 @@ class ListQualityResultsByRuleRequest extends $tea.Model {
12250
12270
  endDate: 'EndDate',
12251
12271
  pageNumber: 'PageNumber',
12252
12272
  pageSize: 'PageSize',
12273
+ projectId: 'ProjectId',
12253
12274
  projectName: 'ProjectName',
12254
12275
  ruleId: 'RuleId',
12255
12276
  startDate: 'StartDate',
@@ -12260,6 +12281,7 @@ class ListQualityResultsByRuleRequest extends $tea.Model {
12260
12281
  endDate: 'string',
12261
12282
  pageNumber: 'number',
12262
12283
  pageSize: 'number',
12284
+ projectId: 'number',
12263
12285
  projectName: 'string',
12264
12286
  ruleId: 'number',
12265
12287
  startDate: 'string',
@@ -12322,6 +12344,7 @@ class ListQualityRulesRequest extends $tea.Model {
12322
12344
  entityId: 'EntityId',
12323
12345
  pageNumber: 'PageNumber',
12324
12346
  pageSize: 'PageSize',
12347
+ projectId: 'ProjectId',
12325
12348
  projectName: 'ProjectName',
12326
12349
  };
12327
12350
  }
@@ -12330,6 +12353,7 @@ class ListQualityRulesRequest extends $tea.Model {
12330
12353
  entityId: 'number',
12331
12354
  pageNumber: 'number',
12332
12355
  pageSize: 'number',
12356
+ projectId: 'number',
12333
12357
  projectName: 'string',
12334
12358
  };
12335
12359
  }
@@ -13901,6 +13925,72 @@ class RunTriggerNodeResponse extends $tea.Model {
13901
13925
  }
13902
13926
  }
13903
13927
  exports.RunTriggerNodeResponse = RunTriggerNodeResponse;
13928
+ class SaveDataServiceApiTestResultRequest extends $tea.Model {
13929
+ constructor(map) {
13930
+ super(map);
13931
+ }
13932
+ static names() {
13933
+ return {
13934
+ apiId: 'ApiId',
13935
+ autoGenerate: 'AutoGenerate',
13936
+ failResultSample: 'FailResultSample',
13937
+ projectId: 'ProjectId',
13938
+ resultSample: 'ResultSample',
13939
+ };
13940
+ }
13941
+ static types() {
13942
+ return {
13943
+ apiId: 'number',
13944
+ autoGenerate: 'boolean',
13945
+ failResultSample: 'string',
13946
+ projectId: 'number',
13947
+ resultSample: 'string',
13948
+ };
13949
+ }
13950
+ }
13951
+ exports.SaveDataServiceApiTestResultRequest = SaveDataServiceApiTestResultRequest;
13952
+ class SaveDataServiceApiTestResultResponseBody extends $tea.Model {
13953
+ constructor(map) {
13954
+ super(map);
13955
+ }
13956
+ static names() {
13957
+ return {
13958
+ data: 'Data',
13959
+ httpStatusCode: 'HttpStatusCode',
13960
+ requestId: 'RequestId',
13961
+ success: 'Success',
13962
+ };
13963
+ }
13964
+ static types() {
13965
+ return {
13966
+ data: 'boolean',
13967
+ httpStatusCode: 'number',
13968
+ requestId: 'string',
13969
+ success: 'boolean',
13970
+ };
13971
+ }
13972
+ }
13973
+ exports.SaveDataServiceApiTestResultResponseBody = SaveDataServiceApiTestResultResponseBody;
13974
+ class SaveDataServiceApiTestResultResponse extends $tea.Model {
13975
+ constructor(map) {
13976
+ super(map);
13977
+ }
13978
+ static names() {
13979
+ return {
13980
+ headers: 'headers',
13981
+ statusCode: 'statusCode',
13982
+ body: 'body',
13983
+ };
13984
+ }
13985
+ static types() {
13986
+ return {
13987
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13988
+ statusCode: 'number',
13989
+ body: SaveDataServiceApiTestResultResponseBody,
13990
+ };
13991
+ }
13992
+ }
13993
+ exports.SaveDataServiceApiTestResultResponse = SaveDataServiceApiTestResultResponse;
13904
13994
  class ScanSensitiveDataRequest extends $tea.Model {
13905
13995
  constructor(map) {
13906
13996
  super(map);
@@ -16204,6 +16294,7 @@ class UpdateQualityFollowerRequest extends $tea.Model {
16204
16294
  alarmMode: 'AlarmMode',
16205
16295
  follower: 'Follower',
16206
16296
  followerId: 'FollowerId',
16297
+ projectId: 'ProjectId',
16207
16298
  projectName: 'ProjectName',
16208
16299
  };
16209
16300
  }
@@ -16212,6 +16303,7 @@ class UpdateQualityFollowerRequest extends $tea.Model {
16212
16303
  alarmMode: 'number',
16213
16304
  follower: 'string',
16214
16305
  followerId: 'number',
16306
+ projectId: 'number',
16215
16307
  projectName: 'string',
16216
16308
  };
16217
16309
  }
@@ -16280,6 +16372,7 @@ class UpdateQualityRuleRequest extends $tea.Model {
16280
16372
  openSwitch: 'OpenSwitch',
16281
16373
  operator: 'Operator',
16282
16374
  predictType: 'PredictType',
16375
+ projectId: 'ProjectId',
16283
16376
  projectName: 'ProjectName',
16284
16377
  property: 'Property',
16285
16378
  propertyType: 'PropertyType',
@@ -16304,6 +16397,7 @@ class UpdateQualityRuleRequest extends $tea.Model {
16304
16397
  openSwitch: 'boolean',
16305
16398
  operator: 'string',
16306
16399
  predictType: 'number',
16400
+ projectId: 'number',
16307
16401
  projectName: 'string',
16308
16402
  property: 'string',
16309
16403
  propertyType: 'string',
@@ -27538,6 +27632,9 @@ class Client extends openapi_client_1.default {
27538
27632
  if (!tea_util_1.default.isUnset(request.matchExpression)) {
27539
27633
  body["MatchExpression"] = request.matchExpression;
27540
27634
  }
27635
+ if (!tea_util_1.default.isUnset(request.projectId)) {
27636
+ body["ProjectId"] = request.projectId;
27637
+ }
27541
27638
  if (!tea_util_1.default.isUnset(request.projectName)) {
27542
27639
  body["ProjectName"] = request.projectName;
27543
27640
  }
@@ -27576,6 +27673,9 @@ class Client extends openapi_client_1.default {
27576
27673
  if (!tea_util_1.default.isUnset(request.follower)) {
27577
27674
  body["Follower"] = request.follower;
27578
27675
  }
27676
+ if (!tea_util_1.default.isUnset(request.projectId)) {
27677
+ body["ProjectId"] = request.projectId;
27678
+ }
27579
27679
  if (!tea_util_1.default.isUnset(request.projectName)) {
27580
27680
  body["ProjectName"] = request.projectName;
27581
27681
  }
@@ -27676,6 +27776,9 @@ class Client extends openapi_client_1.default {
27676
27776
  if (!tea_util_1.default.isUnset(request.predictType)) {
27677
27777
  body["PredictType"] = request.predictType;
27678
27778
  }
27779
+ if (!tea_util_1.default.isUnset(request.projectId)) {
27780
+ body["ProjectId"] = request.projectId;
27781
+ }
27679
27782
  if (!tea_util_1.default.isUnset(request.projectName)) {
27680
27783
  body["ProjectName"] = request.projectName;
27681
27784
  }
@@ -28444,6 +28547,9 @@ class Client extends openapi_client_1.default {
28444
28547
  if (!tea_util_1.default.isUnset(request.envType)) {
28445
28548
  body["EnvType"] = request.envType;
28446
28549
  }
28550
+ if (!tea_util_1.default.isUnset(request.projectId)) {
28551
+ body["ProjectId"] = request.projectId;
28552
+ }
28447
28553
  if (!tea_util_1.default.isUnset(request.projectName)) {
28448
28554
  body["ProjectName"] = request.projectName;
28449
28555
  }
@@ -28480,6 +28586,9 @@ class Client extends openapi_client_1.default {
28480
28586
  if (!tea_util_1.default.isUnset(request.followerId)) {
28481
28587
  body["FollowerId"] = request.followerId;
28482
28588
  }
28589
+ if (!tea_util_1.default.isUnset(request.projectId)) {
28590
+ body["ProjectId"] = request.projectId;
28591
+ }
28483
28592
  if (!tea_util_1.default.isUnset(request.projectName)) {
28484
28593
  body["ProjectName"] = request.projectName;
28485
28594
  }
@@ -28559,6 +28668,9 @@ class Client extends openapi_client_1.default {
28559
28668
  async deleteQualityRuleWithOptions(request, runtime) {
28560
28669
  tea_util_1.default.validateModel(request);
28561
28670
  let body = {};
28671
+ if (!tea_util_1.default.isUnset(request.projectId)) {
28672
+ body["ProjectId"] = request.projectId;
28673
+ }
28562
28674
  if (!tea_util_1.default.isUnset(request.projectName)) {
28563
28675
  body["ProjectName"] = request.projectName;
28564
28676
  }
@@ -31068,6 +31180,9 @@ class Client extends openapi_client_1.default {
31068
31180
  if (!tea_util_1.default.isUnset(request.matchExpression)) {
31069
31181
  body["MatchExpression"] = request.matchExpression;
31070
31182
  }
31183
+ if (!tea_util_1.default.isUnset(request.projectId)) {
31184
+ body["ProjectId"] = request.projectId;
31185
+ }
31071
31186
  if (!tea_util_1.default.isUnset(request.projectName)) {
31072
31187
  body["ProjectName"] = request.projectName;
31073
31188
  }
@@ -31100,6 +31215,9 @@ class Client extends openapi_client_1.default {
31100
31215
  if (!tea_util_1.default.isUnset(request.entityId)) {
31101
31216
  body["EntityId"] = request.entityId;
31102
31217
  }
31218
+ if (!tea_util_1.default.isUnset(request.projectId)) {
31219
+ body["ProjectId"] = request.projectId;
31220
+ }
31103
31221
  if (!tea_util_1.default.isUnset(request.projectName)) {
31104
31222
  body["ProjectName"] = request.projectName;
31105
31223
  }
@@ -31126,6 +31244,9 @@ class Client extends openapi_client_1.default {
31126
31244
  async getQualityRuleWithOptions(request, runtime) {
31127
31245
  tea_util_1.default.validateModel(request);
31128
31246
  let body = {};
31247
+ if (!tea_util_1.default.isUnset(request.projectId)) {
31248
+ body["ProjectId"] = request.projectId;
31249
+ }
31129
31250
  if (!tea_util_1.default.isUnset(request.projectName)) {
31130
31251
  body["ProjectName"] = request.projectName;
31131
31252
  }
@@ -33188,6 +33309,9 @@ class Client extends openapi_client_1.default {
33188
33309
  if (!tea_util_1.default.isUnset(request.pageSize)) {
33189
33310
  body["PageSize"] = request.pageSize;
33190
33311
  }
33312
+ if (!tea_util_1.default.isUnset(request.projectId)) {
33313
+ body["ProjectId"] = request.projectId;
33314
+ }
33191
33315
  if (!tea_util_1.default.isUnset(request.projectName)) {
33192
33316
  body["ProjectName"] = request.projectName;
33193
33317
  }
@@ -33232,6 +33356,9 @@ class Client extends openapi_client_1.default {
33232
33356
  if (!tea_util_1.default.isUnset(request.pageSize)) {
33233
33357
  body["PageSize"] = request.pageSize;
33234
33358
  }
33359
+ if (!tea_util_1.default.isUnset(request.projectId)) {
33360
+ body["ProjectId"] = request.projectId;
33361
+ }
33235
33362
  if (!tea_util_1.default.isUnset(request.projectName)) {
33236
33363
  body["ProjectName"] = request.projectName;
33237
33364
  }
@@ -33273,6 +33400,9 @@ class Client extends openapi_client_1.default {
33273
33400
  if (!tea_util_1.default.isUnset(request.pageSize)) {
33274
33401
  body["PageSize"] = request.pageSize;
33275
33402
  }
33403
+ if (!tea_util_1.default.isUnset(request.projectId)) {
33404
+ body["ProjectId"] = request.projectId;
33405
+ }
33276
33406
  if (!tea_util_1.default.isUnset(request.projectName)) {
33277
33407
  body["ProjectName"] = request.projectName;
33278
33408
  }
@@ -34174,6 +34304,44 @@ class Client extends openapi_client_1.default {
34174
34304
  let runtime = new $Util.RuntimeOptions({});
34175
34305
  return await this.runTriggerNodeWithOptions(request, runtime);
34176
34306
  }
34307
+ async saveDataServiceApiTestResultWithOptions(request, runtime) {
34308
+ tea_util_1.default.validateModel(request);
34309
+ let body = {};
34310
+ if (!tea_util_1.default.isUnset(request.apiId)) {
34311
+ body["ApiId"] = request.apiId;
34312
+ }
34313
+ if (!tea_util_1.default.isUnset(request.autoGenerate)) {
34314
+ body["AutoGenerate"] = request.autoGenerate;
34315
+ }
34316
+ if (!tea_util_1.default.isUnset(request.failResultSample)) {
34317
+ body["FailResultSample"] = request.failResultSample;
34318
+ }
34319
+ if (!tea_util_1.default.isUnset(request.projectId)) {
34320
+ body["ProjectId"] = request.projectId;
34321
+ }
34322
+ if (!tea_util_1.default.isUnset(request.resultSample)) {
34323
+ body["ResultSample"] = request.resultSample;
34324
+ }
34325
+ let req = new $OpenApi.OpenApiRequest({
34326
+ body: openapi_util_1.default.parseToMap(body),
34327
+ });
34328
+ let params = new $OpenApi.Params({
34329
+ action: "SaveDataServiceApiTestResult",
34330
+ version: "2020-05-18",
34331
+ protocol: "HTTPS",
34332
+ pathname: "/",
34333
+ method: "POST",
34334
+ authType: "AK",
34335
+ style: "RPC",
34336
+ reqBodyType: "formData",
34337
+ bodyType: "json",
34338
+ });
34339
+ return $tea.cast(await this.callApi(params, req, runtime), new SaveDataServiceApiTestResultResponse({}));
34340
+ }
34341
+ async saveDataServiceApiTestResult(request) {
34342
+ let runtime = new $Util.RuntimeOptions({});
34343
+ return await this.saveDataServiceApiTestResultWithOptions(request, runtime);
34344
+ }
34177
34345
  async scanSensitiveDataWithOptions(request, runtime) {
34178
34346
  tea_util_1.default.validateModel(request);
34179
34347
  let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
@@ -34965,13 +35133,6 @@ class Client extends openapi_client_1.default {
34965
35133
  let runtime = new $Util.RuntimeOptions({});
34966
35134
  return await this.updateConnectionWithOptions(request, runtime);
34967
35135
  }
34968
- /**
34969
- * DataWorks allows you to specify a default global configuration only for the processing rules of DDL messages in synchronization solutions. After you configure the **processing rules of DDL messages** in synchronization solutions, the configuration is used as the default global configuration and applies to all real-time synchronization nodes in the solutions. You can modify the **processing rules of DDL messages** based on your business requirements. For more information about how to configure a synchronization solution, see [Synchronization solutions](~~199008~~).
34970
- *
34971
- * @param request UpdateDIProjectConfigRequest
34972
- * @param runtime runtime options for this request RuntimeOptions
34973
- * @return UpdateDIProjectConfigResponse
34974
- */
34975
35136
  async updateDIProjectConfigWithOptions(request, runtime) {
34976
35137
  tea_util_1.default.validateModel(request);
34977
35138
  let query = {};
@@ -35003,12 +35164,6 @@ class Client extends openapi_client_1.default {
35003
35164
  });
35004
35165
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateDIProjectConfigResponse({}));
35005
35166
  }
35006
- /**
35007
- * DataWorks allows you to specify a default global configuration only for the processing rules of DDL messages in synchronization solutions. After you configure the **processing rules of DDL messages** in synchronization solutions, the configuration is used as the default global configuration and applies to all real-time synchronization nodes in the solutions. You can modify the **processing rules of DDL messages** based on your business requirements. For more information about how to configure a synchronization solution, see [Synchronization solutions](~~199008~~).
35008
- *
35009
- * @param request UpdateDIProjectConfigRequest
35010
- * @return UpdateDIProjectConfigResponse
35011
- */
35012
35167
  async updateDIProjectConfig(request) {
35013
35168
  let runtime = new $Util.RuntimeOptions({});
35014
35169
  return await this.updateDIProjectConfigWithOptions(request, runtime);
@@ -35589,6 +35744,9 @@ class Client extends openapi_client_1.default {
35589
35744
  if (!tea_util_1.default.isUnset(request.followerId)) {
35590
35745
  body["FollowerId"] = request.followerId;
35591
35746
  }
35747
+ if (!tea_util_1.default.isUnset(request.projectId)) {
35748
+ body["ProjectId"] = request.projectId;
35749
+ }
35592
35750
  if (!tea_util_1.default.isUnset(request.projectName)) {
35593
35751
  body["ProjectName"] = request.projectName;
35594
35752
  }
@@ -35648,6 +35806,9 @@ class Client extends openapi_client_1.default {
35648
35806
  if (!tea_util_1.default.isUnset(request.predictType)) {
35649
35807
  body["PredictType"] = request.predictType;
35650
35808
  }
35809
+ if (!tea_util_1.default.isUnset(request.projectId)) {
35810
+ body["ProjectId"] = request.projectId;
35811
+ }
35651
35812
  if (!tea_util_1.default.isUnset(request.projectName)) {
35652
35813
  body["ProjectName"] = request.projectName;
35653
35814
  }