@alicloud/sddp20190103 1.4.0 → 1.4.1

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/src/client.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  /**
3
3
  */
4
4
  import Util, * as $Util from '@alicloud/tea-util';
5
+ import GatewayClient from '@alicloud/gateway-pop';
5
6
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
7
  import OpenApiUtil from '@alicloud/openapi-util';
7
8
  import EndpointUtil from '@alicloud/endpoint-util';
@@ -5914,6 +5915,7 @@ export class DescribeRulesRequest extends $tea.Model {
5914
5915
  * 1
5915
5916
  */
5916
5917
  contentCategory?: number;
5918
+ cooperationChannel?: string;
5917
5919
  /**
5918
5920
  * @remarks
5919
5921
  * The page number of the page to return.
@@ -6043,6 +6045,7 @@ export class DescribeRulesRequest extends $tea.Model {
6043
6045
  * 1
6044
6046
  */
6045
6047
  ruleType?: number;
6048
+ simplify?: boolean;
6046
6049
  /**
6047
6050
  * @remarks
6048
6051
  * The status of the sensitive data detection rule. Valid values:
@@ -6084,6 +6087,7 @@ export class DescribeRulesRequest extends $tea.Model {
6084
6087
  return {
6085
6088
  category: 'Category',
6086
6089
  contentCategory: 'ContentCategory',
6090
+ cooperationChannel: 'CooperationChannel',
6087
6091
  currentPage: 'CurrentPage',
6088
6092
  customType: 'CustomType',
6089
6093
  featureType: 'FeatureType',
@@ -6097,6 +6101,7 @@ export class DescribeRulesRequest extends $tea.Model {
6097
6101
  productId: 'ProductId',
6098
6102
  riskLevelId: 'RiskLevelId',
6099
6103
  ruleType: 'RuleType',
6104
+ simplify: 'Simplify',
6100
6105
  status: 'Status',
6101
6106
  supportForm: 'SupportForm',
6102
6107
  warnLevel: 'WarnLevel',
@@ -6107,6 +6112,7 @@ export class DescribeRulesRequest extends $tea.Model {
6107
6112
  return {
6108
6113
  category: 'number',
6109
6114
  contentCategory: 'number',
6115
+ cooperationChannel: 'string',
6110
6116
  currentPage: 'number',
6111
6117
  customType: 'number',
6112
6118
  featureType: 'number',
@@ -6120,6 +6126,7 @@ export class DescribeRulesRequest extends $tea.Model {
6120
6126
  productId: 'number',
6121
6127
  riskLevelId: 'number',
6122
6128
  ruleType: 'number',
6129
+ simplify: 'boolean',
6123
6130
  status: 'number',
6124
6131
  supportForm: 'number',
6125
6132
  warnLevel: 'number',
@@ -14631,6 +14638,9 @@ export default class Client extends OpenApi {
14631
14638
 
14632
14639
  constructor(config: $OpenApi.Config) {
14633
14640
  super(config);
14641
+ this._productId = "Sddp";
14642
+ let gatewayClient = new GatewayClient();
14643
+ this._spi = gatewayClient;
14634
14644
  this._endpointRule = "regional";
14635
14645
  this._endpointMap = {
14636
14646
  'cn-hongkong': "sddp-api.cn-hongkong.aliyuncs.com",
@@ -14705,7 +14715,12 @@ export default class Client extends OpenApi {
14705
14715
  reqBodyType: "formData",
14706
14716
  bodyType: "json",
14707
14717
  });
14708
- return $tea.cast<CreateConfigResponse>(await this.callApi(params, req, runtime), new CreateConfigResponse({}));
14718
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
14719
+ return $tea.cast<CreateConfigResponse>(await this.callApi(params, req, runtime), new CreateConfigResponse({}));
14720
+ } else {
14721
+ return $tea.cast<CreateConfigResponse>(await this.execute(params, req, runtime), new CreateConfigResponse({}));
14722
+ }
14723
+
14709
14724
  }
14710
14725
 
14711
14726
  /**
@@ -14829,7 +14844,12 @@ export default class Client extends OpenApi {
14829
14844
  reqBodyType: "formData",
14830
14845
  bodyType: "json",
14831
14846
  });
14832
- return $tea.cast<CreateDataLimitResponse>(await this.callApi(params, req, runtime), new CreateDataLimitResponse({}));
14847
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
14848
+ return $tea.cast<CreateDataLimitResponse>(await this.callApi(params, req, runtime), new CreateDataLimitResponse({}));
14849
+ } else {
14850
+ return $tea.cast<CreateDataLimitResponse>(await this.execute(params, req, runtime), new CreateDataLimitResponse({}));
14851
+ }
14852
+
14833
14853
  }
14834
14854
 
14835
14855
  /**
@@ -14940,7 +14960,12 @@ export default class Client extends OpenApi {
14940
14960
  reqBodyType: "formData",
14941
14961
  bodyType: "json",
14942
14962
  });
14943
- return $tea.cast<CreateRuleResponse>(await this.callApi(params, req, runtime), new CreateRuleResponse({}));
14963
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
14964
+ return $tea.cast<CreateRuleResponse>(await this.callApi(params, req, runtime), new CreateRuleResponse({}));
14965
+ } else {
14966
+ return $tea.cast<CreateRuleResponse>(await this.execute(params, req, runtime), new CreateRuleResponse({}));
14967
+ }
14968
+
14944
14969
  }
14945
14970
 
14946
14971
  /**
@@ -15035,7 +15060,12 @@ export default class Client extends OpenApi {
15035
15060
  reqBodyType: "formData",
15036
15061
  bodyType: "json",
15037
15062
  });
15038
- return $tea.cast<CreateScanTaskResponse>(await this.callApi(params, req, runtime), new CreateScanTaskResponse({}));
15063
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15064
+ return $tea.cast<CreateScanTaskResponse>(await this.callApi(params, req, runtime), new CreateScanTaskResponse({}));
15065
+ } else {
15066
+ return $tea.cast<CreateScanTaskResponse>(await this.execute(params, req, runtime), new CreateScanTaskResponse({}));
15067
+ }
15068
+
15039
15069
  }
15040
15070
 
15041
15071
  /**
@@ -15095,7 +15125,12 @@ export default class Client extends OpenApi {
15095
15125
  reqBodyType: "formData",
15096
15126
  bodyType: "json",
15097
15127
  });
15098
- return $tea.cast<CreateSlrRoleResponse>(await this.callApi(params, req, runtime), new CreateSlrRoleResponse({}));
15128
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15129
+ return $tea.cast<CreateSlrRoleResponse>(await this.callApi(params, req, runtime), new CreateSlrRoleResponse({}));
15130
+ } else {
15131
+ return $tea.cast<CreateSlrRoleResponse>(await this.execute(params, req, runtime), new CreateSlrRoleResponse({}));
15132
+ }
15133
+
15099
15134
  }
15100
15135
 
15101
15136
  /**
@@ -15159,7 +15194,12 @@ export default class Client extends OpenApi {
15159
15194
  reqBodyType: "formData",
15160
15195
  bodyType: "json",
15161
15196
  });
15162
- return $tea.cast<DeleteDataLimitResponse>(await this.callApi(params, req, runtime), new DeleteDataLimitResponse({}));
15197
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15198
+ return $tea.cast<DeleteDataLimitResponse>(await this.callApi(params, req, runtime), new DeleteDataLimitResponse({}));
15199
+ } else {
15200
+ return $tea.cast<DeleteDataLimitResponse>(await this.execute(params, req, runtime), new DeleteDataLimitResponse({}));
15201
+ }
15202
+
15163
15203
  }
15164
15204
 
15165
15205
  /**
@@ -15218,7 +15258,12 @@ export default class Client extends OpenApi {
15218
15258
  reqBodyType: "formData",
15219
15259
  bodyType: "json",
15220
15260
  });
15221
- return $tea.cast<DeleteRuleResponse>(await this.callApi(params, req, runtime), new DeleteRuleResponse({}));
15261
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15262
+ return $tea.cast<DeleteRuleResponse>(await this.callApi(params, req, runtime), new DeleteRuleResponse({}));
15263
+ } else {
15264
+ return $tea.cast<DeleteRuleResponse>(await this.execute(params, req, runtime), new DeleteRuleResponse({}));
15265
+ }
15266
+
15222
15267
  }
15223
15268
 
15224
15269
  /**
@@ -15274,7 +15319,12 @@ export default class Client extends OpenApi {
15274
15319
  reqBodyType: "formData",
15275
15320
  bodyType: "json",
15276
15321
  });
15277
- return $tea.cast<DescribeCategoryTemplateListResponse>(await this.callApi(params, req, runtime), new DescribeCategoryTemplateListResponse({}));
15322
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15323
+ return $tea.cast<DescribeCategoryTemplateListResponse>(await this.callApi(params, req, runtime), new DescribeCategoryTemplateListResponse({}));
15324
+ } else {
15325
+ return $tea.cast<DescribeCategoryTemplateListResponse>(await this.execute(params, req, runtime), new DescribeCategoryTemplateListResponse({}));
15326
+ }
15327
+
15278
15328
  }
15279
15329
 
15280
15330
  /**
@@ -15339,7 +15389,12 @@ export default class Client extends OpenApi {
15339
15389
  reqBodyType: "formData",
15340
15390
  bodyType: "json",
15341
15391
  });
15342
- return $tea.cast<DescribeCategoryTemplateRuleListResponse>(await this.callApi(params, req, runtime), new DescribeCategoryTemplateRuleListResponse({}));
15392
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15393
+ return $tea.cast<DescribeCategoryTemplateRuleListResponse>(await this.callApi(params, req, runtime), new DescribeCategoryTemplateRuleListResponse({}));
15394
+ } else {
15395
+ return $tea.cast<DescribeCategoryTemplateRuleListResponse>(await this.execute(params, req, runtime), new DescribeCategoryTemplateRuleListResponse({}));
15396
+ }
15397
+
15343
15398
  }
15344
15399
 
15345
15400
  /**
@@ -15461,7 +15516,12 @@ export default class Client extends OpenApi {
15461
15516
  reqBodyType: "formData",
15462
15517
  bodyType: "json",
15463
15518
  });
15464
- return $tea.cast<DescribeColumnsResponse>(await this.callApi(params, req, runtime), new DescribeColumnsResponse({}));
15519
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15520
+ return $tea.cast<DescribeColumnsResponse>(await this.callApi(params, req, runtime), new DescribeColumnsResponse({}));
15521
+ } else {
15522
+ return $tea.cast<DescribeColumnsResponse>(await this.execute(params, req, runtime), new DescribeColumnsResponse({}));
15523
+ }
15524
+
15465
15525
  }
15466
15526
 
15467
15527
  /**
@@ -15558,7 +15618,12 @@ export default class Client extends OpenApi {
15558
15618
  reqBodyType: "formData",
15559
15619
  bodyType: "json",
15560
15620
  });
15561
- return $tea.cast<DescribeColumnsV2Response>(await this.callApi(params, req, runtime), new DescribeColumnsV2Response({}));
15621
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15622
+ return $tea.cast<DescribeColumnsV2Response>(await this.callApi(params, req, runtime), new DescribeColumnsV2Response({}));
15623
+ } else {
15624
+ return $tea.cast<DescribeColumnsV2Response>(await this.execute(params, req, runtime), new DescribeColumnsV2Response({}));
15625
+ }
15626
+
15562
15627
  }
15563
15628
 
15564
15629
  /**
@@ -15600,7 +15665,12 @@ export default class Client extends OpenApi {
15600
15665
  reqBodyType: "formData",
15601
15666
  bodyType: "json",
15602
15667
  });
15603
- return $tea.cast<DescribeConfigsResponse>(await this.callApi(params, req, runtime), new DescribeConfigsResponse({}));
15668
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15669
+ return $tea.cast<DescribeConfigsResponse>(await this.callApi(params, req, runtime), new DescribeConfigsResponse({}));
15670
+ } else {
15671
+ return $tea.cast<DescribeConfigsResponse>(await this.execute(params, req, runtime), new DescribeConfigsResponse({}));
15672
+ }
15673
+
15604
15674
  }
15605
15675
 
15606
15676
  /**
@@ -15666,7 +15736,12 @@ export default class Client extends OpenApi {
15666
15736
  reqBodyType: "formData",
15667
15737
  bodyType: "json",
15668
15738
  });
15669
- return $tea.cast<DescribeDataAssetsResponse>(await this.callApi(params, req, runtime), new DescribeDataAssetsResponse({}));
15739
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15740
+ return $tea.cast<DescribeDataAssetsResponse>(await this.callApi(params, req, runtime), new DescribeDataAssetsResponse({}));
15741
+ } else {
15742
+ return $tea.cast<DescribeDataAssetsResponse>(await this.execute(params, req, runtime), new DescribeDataAssetsResponse({}));
15743
+ }
15744
+
15670
15745
  }
15671
15746
 
15672
15747
  /**
@@ -15720,7 +15795,12 @@ export default class Client extends OpenApi {
15720
15795
  reqBodyType: "formData",
15721
15796
  bodyType: "json",
15722
15797
  });
15723
- return $tea.cast<DescribeDataLimitDetailResponse>(await this.callApi(params, req, runtime), new DescribeDataLimitDetailResponse({}));
15798
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15799
+ return $tea.cast<DescribeDataLimitDetailResponse>(await this.callApi(params, req, runtime), new DescribeDataLimitDetailResponse({}));
15800
+ } else {
15801
+ return $tea.cast<DescribeDataLimitDetailResponse>(await this.execute(params, req, runtime), new DescribeDataLimitDetailResponse({}));
15802
+ }
15803
+
15724
15804
  }
15725
15805
 
15726
15806
  /**
@@ -15779,7 +15859,12 @@ export default class Client extends OpenApi {
15779
15859
  reqBodyType: "formData",
15780
15860
  bodyType: "json",
15781
15861
  });
15782
- return $tea.cast<DescribeDataLimitSetResponse>(await this.callApi(params, req, runtime), new DescribeDataLimitSetResponse({}));
15862
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15863
+ return $tea.cast<DescribeDataLimitSetResponse>(await this.callApi(params, req, runtime), new DescribeDataLimitSetResponse({}));
15864
+ } else {
15865
+ return $tea.cast<DescribeDataLimitSetResponse>(await this.execute(params, req, runtime), new DescribeDataLimitSetResponse({}));
15866
+ }
15867
+
15783
15868
  }
15784
15869
 
15785
15870
  /**
@@ -15882,7 +15967,12 @@ export default class Client extends OpenApi {
15882
15967
  reqBodyType: "formData",
15883
15968
  bodyType: "json",
15884
15969
  });
15885
- return $tea.cast<DescribeDataLimitsResponse>(await this.callApi(params, req, runtime), new DescribeDataLimitsResponse({}));
15970
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
15971
+ return $tea.cast<DescribeDataLimitsResponse>(await this.callApi(params, req, runtime), new DescribeDataLimitsResponse({}));
15972
+ } else {
15973
+ return $tea.cast<DescribeDataLimitsResponse>(await this.execute(params, req, runtime), new DescribeDataLimitsResponse({}));
15974
+ }
15975
+
15886
15976
  }
15887
15977
 
15888
15978
  /**
@@ -15969,7 +16059,12 @@ export default class Client extends OpenApi {
15969
16059
  reqBodyType: "formData",
15970
16060
  bodyType: "json",
15971
16061
  });
15972
- return $tea.cast<DescribeDataMaskingRunHistoryResponse>(await this.callApi(params, req, runtime), new DescribeDataMaskingRunHistoryResponse({}));
16062
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16063
+ return $tea.cast<DescribeDataMaskingRunHistoryResponse>(await this.callApi(params, req, runtime), new DescribeDataMaskingRunHistoryResponse({}));
16064
+ } else {
16065
+ return $tea.cast<DescribeDataMaskingRunHistoryResponse>(await this.execute(params, req, runtime), new DescribeDataMaskingRunHistoryResponse({}));
16066
+ }
16067
+
15973
16068
  }
15974
16069
 
15975
16070
  /**
@@ -16045,7 +16140,12 @@ export default class Client extends OpenApi {
16045
16140
  reqBodyType: "formData",
16046
16141
  bodyType: "json",
16047
16142
  });
16048
- return $tea.cast<DescribeDataMaskingTasksResponse>(await this.callApi(params, req, runtime), new DescribeDataMaskingTasksResponse({}));
16143
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16144
+ return $tea.cast<DescribeDataMaskingTasksResponse>(await this.callApi(params, req, runtime), new DescribeDataMaskingTasksResponse({}));
16145
+ } else {
16146
+ return $tea.cast<DescribeDataMaskingTasksResponse>(await this.execute(params, req, runtime), new DescribeDataMaskingTasksResponse({}));
16147
+ }
16148
+
16049
16149
  }
16050
16150
 
16051
16151
  /**
@@ -16116,7 +16216,12 @@ export default class Client extends OpenApi {
16116
16216
  reqBodyType: "formData",
16117
16217
  bodyType: "json",
16118
16218
  });
16119
- return $tea.cast<DescribeDataObjectColumnDetailResponse>(await this.callApi(params, req, runtime), new DescribeDataObjectColumnDetailResponse({}));
16219
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16220
+ return $tea.cast<DescribeDataObjectColumnDetailResponse>(await this.callApi(params, req, runtime), new DescribeDataObjectColumnDetailResponse({}));
16221
+ } else {
16222
+ return $tea.cast<DescribeDataObjectColumnDetailResponse>(await this.execute(params, req, runtime), new DescribeDataObjectColumnDetailResponse({}));
16223
+ }
16224
+
16120
16225
  }
16121
16226
 
16122
16227
  /**
@@ -16182,7 +16287,12 @@ export default class Client extends OpenApi {
16182
16287
  reqBodyType: "formData",
16183
16288
  bodyType: "json",
16184
16289
  });
16185
- return $tea.cast<DescribeDataObjectColumnDetailV2Response>(await this.callApi(params, req, runtime), new DescribeDataObjectColumnDetailV2Response({}));
16290
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16291
+ return $tea.cast<DescribeDataObjectColumnDetailV2Response>(await this.callApi(params, req, runtime), new DescribeDataObjectColumnDetailV2Response({}));
16292
+ } else {
16293
+ return $tea.cast<DescribeDataObjectColumnDetailV2Response>(await this.execute(params, req, runtime), new DescribeDataObjectColumnDetailV2Response({}));
16294
+ }
16295
+
16186
16296
  }
16187
16297
 
16188
16298
  /**
@@ -16288,7 +16398,12 @@ export default class Client extends OpenApi {
16288
16398
  reqBodyType: "formData",
16289
16399
  bodyType: "json",
16290
16400
  });
16291
- return $tea.cast<DescribeDataObjectsResponse>(await this.callApi(params, req, runtime), new DescribeDataObjectsResponse({}));
16401
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16402
+ return $tea.cast<DescribeDataObjectsResponse>(await this.callApi(params, req, runtime), new DescribeDataObjectsResponse({}));
16403
+ } else {
16404
+ return $tea.cast<DescribeDataObjectsResponse>(await this.execute(params, req, runtime), new DescribeDataObjectsResponse({}));
16405
+ }
16406
+
16292
16407
  }
16293
16408
 
16294
16409
  /**
@@ -16328,7 +16443,12 @@ export default class Client extends OpenApi {
16328
16443
  reqBodyType: "formData",
16329
16444
  bodyType: "json",
16330
16445
  });
16331
- return $tea.cast<DescribeDocTypesResponse>(await this.callApi(params, req, runtime), new DescribeDocTypesResponse({}));
16446
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16447
+ return $tea.cast<DescribeDocTypesResponse>(await this.callApi(params, req, runtime), new DescribeDocTypesResponse({}));
16448
+ } else {
16449
+ return $tea.cast<DescribeDocTypesResponse>(await this.execute(params, req, runtime), new DescribeDocTypesResponse({}));
16450
+ }
16451
+
16332
16452
  }
16333
16453
 
16334
16454
  /**
@@ -16372,7 +16492,12 @@ export default class Client extends OpenApi {
16372
16492
  reqBodyType: "formData",
16373
16493
  bodyType: "json",
16374
16494
  });
16375
- return $tea.cast<DescribeEventDetailResponse>(await this.callApi(params, req, runtime), new DescribeEventDetailResponse({}));
16495
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16496
+ return $tea.cast<DescribeEventDetailResponse>(await this.callApi(params, req, runtime), new DescribeEventDetailResponse({}));
16497
+ } else {
16498
+ return $tea.cast<DescribeEventDetailResponse>(await this.execute(params, req, runtime), new DescribeEventDetailResponse({}));
16499
+ }
16500
+
16376
16501
  }
16377
16502
 
16378
16503
  /**
@@ -16430,7 +16555,12 @@ export default class Client extends OpenApi {
16430
16555
  reqBodyType: "formData",
16431
16556
  bodyType: "json",
16432
16557
  });
16433
- return $tea.cast<DescribeEventTypesResponse>(await this.callApi(params, req, runtime), new DescribeEventTypesResponse({}));
16558
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16559
+ return $tea.cast<DescribeEventTypesResponse>(await this.callApi(params, req, runtime), new DescribeEventTypesResponse({}));
16560
+ } else {
16561
+ return $tea.cast<DescribeEventTypesResponse>(await this.execute(params, req, runtime), new DescribeEventTypesResponse({}));
16562
+ }
16563
+
16434
16564
  }
16435
16565
 
16436
16566
  /**
@@ -16537,7 +16667,12 @@ export default class Client extends OpenApi {
16537
16667
  reqBodyType: "formData",
16538
16668
  bodyType: "json",
16539
16669
  });
16540
- return $tea.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
16670
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16671
+ return $tea.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
16672
+ } else {
16673
+ return $tea.cast<DescribeEventsResponse>(await this.execute(params, req, runtime), new DescribeEventsResponse({}));
16674
+ }
16675
+
16541
16676
  }
16542
16677
 
16543
16678
  /**
@@ -16580,7 +16715,12 @@ export default class Client extends OpenApi {
16580
16715
  reqBodyType: "formData",
16581
16716
  bodyType: "json",
16582
16717
  });
16583
- return $tea.cast<DescribeIdentifyTaskStatusResponse>(await this.callApi(params, req, runtime), new DescribeIdentifyTaskStatusResponse({}));
16718
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16719
+ return $tea.cast<DescribeIdentifyTaskStatusResponse>(await this.callApi(params, req, runtime), new DescribeIdentifyTaskStatusResponse({}));
16720
+ } else {
16721
+ return $tea.cast<DescribeIdentifyTaskStatusResponse>(await this.execute(params, req, runtime), new DescribeIdentifyTaskStatusResponse({}));
16722
+ }
16723
+
16584
16724
  }
16585
16725
 
16586
16726
  /**
@@ -16676,7 +16816,12 @@ export default class Client extends OpenApi {
16676
16816
  reqBodyType: "formData",
16677
16817
  bodyType: "json",
16678
16818
  });
16679
- return $tea.cast<DescribeInstanceSourcesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSourcesResponse({}));
16819
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16820
+ return $tea.cast<DescribeInstanceSourcesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSourcesResponse({}));
16821
+ } else {
16822
+ return $tea.cast<DescribeInstanceSourcesResponse>(await this.execute(params, req, runtime), new DescribeInstanceSourcesResponse({}));
16823
+ }
16824
+
16680
16825
  }
16681
16826
 
16682
16827
  /**
@@ -16765,7 +16910,12 @@ export default class Client extends OpenApi {
16765
16910
  reqBodyType: "formData",
16766
16911
  bodyType: "json",
16767
16912
  });
16768
- return $tea.cast<DescribeInstancesResponse>(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
16913
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16914
+ return $tea.cast<DescribeInstancesResponse>(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
16915
+ } else {
16916
+ return $tea.cast<DescribeInstancesResponse>(await this.execute(params, req, runtime), new DescribeInstancesResponse({}));
16917
+ }
16918
+
16769
16919
  }
16770
16920
 
16771
16921
  /**
@@ -16823,7 +16973,12 @@ export default class Client extends OpenApi {
16823
16973
  reqBodyType: "formData",
16824
16974
  bodyType: "json",
16825
16975
  });
16826
- return $tea.cast<DescribeOssObjectDetailResponse>(await this.callApi(params, req, runtime), new DescribeOssObjectDetailResponse({}));
16976
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
16977
+ return $tea.cast<DescribeOssObjectDetailResponse>(await this.callApi(params, req, runtime), new DescribeOssObjectDetailResponse({}));
16978
+ } else {
16979
+ return $tea.cast<DescribeOssObjectDetailResponse>(await this.execute(params, req, runtime), new DescribeOssObjectDetailResponse({}));
16980
+ }
16981
+
16827
16982
  }
16828
16983
 
16829
16984
  /**
@@ -16892,7 +17047,12 @@ export default class Client extends OpenApi {
16892
17047
  reqBodyType: "formData",
16893
17048
  bodyType: "json",
16894
17049
  });
16895
- return $tea.cast<DescribeOssObjectDetailV2Response>(await this.callApi(params, req, runtime), new DescribeOssObjectDetailV2Response({}));
17050
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17051
+ return $tea.cast<DescribeOssObjectDetailV2Response>(await this.callApi(params, req, runtime), new DescribeOssObjectDetailV2Response({}));
17052
+ } else {
17053
+ return $tea.cast<DescribeOssObjectDetailV2Response>(await this.execute(params, req, runtime), new DescribeOssObjectDetailV2Response({}));
17054
+ }
17055
+
16896
17056
  }
16897
17057
 
16898
17058
  /**
@@ -16982,7 +17142,12 @@ export default class Client extends OpenApi {
16982
17142
  reqBodyType: "formData",
16983
17143
  bodyType: "json",
16984
17144
  });
16985
- return $tea.cast<DescribeOssObjectsResponse>(await this.callApi(params, req, runtime), new DescribeOssObjectsResponse({}));
17145
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17146
+ return $tea.cast<DescribeOssObjectsResponse>(await this.callApi(params, req, runtime), new DescribeOssObjectsResponse({}));
17147
+ } else {
17148
+ return $tea.cast<DescribeOssObjectsResponse>(await this.execute(params, req, runtime), new DescribeOssObjectsResponse({}));
17149
+ }
17150
+
16986
17151
  }
16987
17152
 
16988
17153
  /**
@@ -17057,7 +17222,12 @@ export default class Client extends OpenApi {
17057
17222
  reqBodyType: "formData",
17058
17223
  bodyType: "json",
17059
17224
  });
17060
- return $tea.cast<DescribePackagesResponse>(await this.callApi(params, req, runtime), new DescribePackagesResponse({}));
17225
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17226
+ return $tea.cast<DescribePackagesResponse>(await this.callApi(params, req, runtime), new DescribePackagesResponse({}));
17227
+ } else {
17228
+ return $tea.cast<DescribePackagesResponse>(await this.execute(params, req, runtime), new DescribePackagesResponse({}));
17229
+ }
17230
+
17061
17231
  }
17062
17232
 
17063
17233
  /**
@@ -17148,7 +17318,12 @@ export default class Client extends OpenApi {
17148
17318
  reqBodyType: "formData",
17149
17319
  bodyType: "json",
17150
17320
  });
17151
- return $tea.cast<DescribeParentInstanceResponse>(await this.callApi(params, req, runtime), new DescribeParentInstanceResponse({}));
17321
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17322
+ return $tea.cast<DescribeParentInstanceResponse>(await this.callApi(params, req, runtime), new DescribeParentInstanceResponse({}));
17323
+ } else {
17324
+ return $tea.cast<DescribeParentInstanceResponse>(await this.execute(params, req, runtime), new DescribeParentInstanceResponse({}));
17325
+ }
17326
+
17152
17327
  }
17153
17328
 
17154
17329
  /**
@@ -17203,7 +17378,12 @@ export default class Client extends OpenApi {
17203
17378
  reqBodyType: "formData",
17204
17379
  bodyType: "json",
17205
17380
  });
17206
- return $tea.cast<DescribeRiskLevelsResponse>(await this.callApi(params, req, runtime), new DescribeRiskLevelsResponse({}));
17381
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17382
+ return $tea.cast<DescribeRiskLevelsResponse>(await this.callApi(params, req, runtime), new DescribeRiskLevelsResponse({}));
17383
+ } else {
17384
+ return $tea.cast<DescribeRiskLevelsResponse>(await this.execute(params, req, runtime), new DescribeRiskLevelsResponse({}));
17385
+ }
17386
+
17207
17387
  }
17208
17388
 
17209
17389
  /**
@@ -17240,6 +17420,10 @@ export default class Client extends OpenApi {
17240
17420
  query["ContentCategory"] = request.contentCategory;
17241
17421
  }
17242
17422
 
17423
+ if (!Util.isUnset(request.cooperationChannel)) {
17424
+ query["CooperationChannel"] = request.cooperationChannel;
17425
+ }
17426
+
17243
17427
  if (!Util.isUnset(request.currentPage)) {
17244
17428
  query["CurrentPage"] = request.currentPage;
17245
17429
  }
@@ -17292,6 +17476,10 @@ export default class Client extends OpenApi {
17292
17476
  query["RuleType"] = request.ruleType;
17293
17477
  }
17294
17478
 
17479
+ if (!Util.isUnset(request.simplify)) {
17480
+ query["Simplify"] = request.simplify;
17481
+ }
17482
+
17295
17483
  if (!Util.isUnset(request.status)) {
17296
17484
  query["Status"] = request.status;
17297
17485
  }
@@ -17318,7 +17506,12 @@ export default class Client extends OpenApi {
17318
17506
  reqBodyType: "formData",
17319
17507
  bodyType: "json",
17320
17508
  });
17321
- return $tea.cast<DescribeRulesResponse>(await this.callApi(params, req, runtime), new DescribeRulesResponse({}));
17509
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17510
+ return $tea.cast<DescribeRulesResponse>(await this.callApi(params, req, runtime), new DescribeRulesResponse({}));
17511
+ } else {
17512
+ return $tea.cast<DescribeRulesResponse>(await this.execute(params, req, runtime), new DescribeRulesResponse({}));
17513
+ }
17514
+
17322
17515
  }
17323
17516
 
17324
17517
  /**
@@ -17409,7 +17602,12 @@ export default class Client extends OpenApi {
17409
17602
  reqBodyType: "formData",
17410
17603
  bodyType: "json",
17411
17604
  });
17412
- return $tea.cast<DescribeTablesResponse>(await this.callApi(params, req, runtime), new DescribeTablesResponse({}));
17605
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17606
+ return $tea.cast<DescribeTablesResponse>(await this.callApi(params, req, runtime), new DescribeTablesResponse({}));
17607
+ } else {
17608
+ return $tea.cast<DescribeTablesResponse>(await this.execute(params, req, runtime), new DescribeTablesResponse({}));
17609
+ }
17610
+
17413
17611
  }
17414
17612
 
17415
17613
  /**
@@ -17462,7 +17660,12 @@ export default class Client extends OpenApi {
17462
17660
  reqBodyType: "formData",
17463
17661
  bodyType: "json",
17464
17662
  });
17465
- return $tea.cast<DescribeTemplateAllRulesResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAllRulesResponse({}));
17663
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17664
+ return $tea.cast<DescribeTemplateAllRulesResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAllRulesResponse({}));
17665
+ } else {
17666
+ return $tea.cast<DescribeTemplateAllRulesResponse>(await this.execute(params, req, runtime), new DescribeTemplateAllRulesResponse({}));
17667
+ }
17668
+
17466
17669
  }
17467
17670
 
17468
17671
  /**
@@ -17511,7 +17714,12 @@ export default class Client extends OpenApi {
17511
17714
  reqBodyType: "formData",
17512
17715
  bodyType: "json",
17513
17716
  });
17514
- return $tea.cast<DescribeUserStatusResponse>(await this.callApi(params, req, runtime), new DescribeUserStatusResponse({}));
17717
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17718
+ return $tea.cast<DescribeUserStatusResponse>(await this.callApi(params, req, runtime), new DescribeUserStatusResponse({}));
17719
+ } else {
17720
+ return $tea.cast<DescribeUserStatusResponse>(await this.execute(params, req, runtime), new DescribeUserStatusResponse({}));
17721
+ }
17722
+
17515
17723
  }
17516
17724
 
17517
17725
  /**
@@ -17571,7 +17779,12 @@ export default class Client extends OpenApi {
17571
17779
  reqBodyType: "formData",
17572
17780
  bodyType: "json",
17573
17781
  });
17574
- return $tea.cast<DisableUserConfigResponse>(await this.callApi(params, req, runtime), new DisableUserConfigResponse({}));
17782
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17783
+ return $tea.cast<DisableUserConfigResponse>(await this.callApi(params, req, runtime), new DisableUserConfigResponse({}));
17784
+ } else {
17785
+ return $tea.cast<DisableUserConfigResponse>(await this.execute(params, req, runtime), new DisableUserConfigResponse({}));
17786
+ }
17787
+
17575
17788
  }
17576
17789
 
17577
17790
  /**
@@ -17630,7 +17843,12 @@ export default class Client extends OpenApi {
17630
17843
  reqBodyType: "formData",
17631
17844
  bodyType: "json",
17632
17845
  });
17633
- return $tea.cast<ExecDatamaskResponse>(await this.callApi(params, req, runtime), new ExecDatamaskResponse({}));
17846
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17847
+ return $tea.cast<ExecDatamaskResponse>(await this.callApi(params, req, runtime), new ExecDatamaskResponse({}));
17848
+ } else {
17849
+ return $tea.cast<ExecDatamaskResponse>(await this.execute(params, req, runtime), new ExecDatamaskResponse({}));
17850
+ }
17851
+
17634
17852
  }
17635
17853
 
17636
17854
  /**
@@ -17676,7 +17894,12 @@ export default class Client extends OpenApi {
17676
17894
  reqBodyType: "formData",
17677
17895
  bodyType: "json",
17678
17896
  });
17679
- return $tea.cast<ManualTriggerMaskingProcessResponse>(await this.callApi(params, req, runtime), new ManualTriggerMaskingProcessResponse({}));
17897
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
17898
+ return $tea.cast<ManualTriggerMaskingProcessResponse>(await this.callApi(params, req, runtime), new ManualTriggerMaskingProcessResponse({}));
17899
+ } else {
17900
+ return $tea.cast<ManualTriggerMaskingProcessResponse>(await this.execute(params, req, runtime), new ManualTriggerMaskingProcessResponse({}));
17901
+ }
17902
+
17680
17903
  }
17681
17904
 
17682
17905
  /**
@@ -17782,7 +18005,12 @@ export default class Client extends OpenApi {
17782
18005
  reqBodyType: "formData",
17783
18006
  bodyType: "json",
17784
18007
  });
17785
- return $tea.cast<ModifyDataLimitResponse>(await this.callApi(params, req, runtime), new ModifyDataLimitResponse({}));
18008
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18009
+ return $tea.cast<ModifyDataLimitResponse>(await this.callApi(params, req, runtime), new ModifyDataLimitResponse({}));
18010
+ } else {
18011
+ return $tea.cast<ModifyDataLimitResponse>(await this.execute(params, req, runtime), new ModifyDataLimitResponse({}));
18012
+ }
18013
+
17786
18014
  }
17787
18015
 
17788
18016
  /**
@@ -17837,7 +18065,12 @@ export default class Client extends OpenApi {
17837
18065
  reqBodyType: "formData",
17838
18066
  bodyType: "json",
17839
18067
  });
17840
- return $tea.cast<ModifyDefaultLevelResponse>(await this.callApi(params, req, runtime), new ModifyDefaultLevelResponse({}));
18068
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18069
+ return $tea.cast<ModifyDefaultLevelResponse>(await this.callApi(params, req, runtime), new ModifyDefaultLevelResponse({}));
18070
+ } else {
18071
+ return $tea.cast<ModifyDefaultLevelResponse>(await this.execute(params, req, runtime), new ModifyDefaultLevelResponse({}));
18072
+ }
18073
+
17841
18074
  }
17842
18075
 
17843
18076
  /**
@@ -17905,7 +18138,12 @@ export default class Client extends OpenApi {
17905
18138
  reqBodyType: "formData",
17906
18139
  bodyType: "json",
17907
18140
  });
17908
- return $tea.cast<ModifyEventStatusResponse>(await this.callApi(params, req, runtime), new ModifyEventStatusResponse({}));
18141
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18142
+ return $tea.cast<ModifyEventStatusResponse>(await this.callApi(params, req, runtime), new ModifyEventStatusResponse({}));
18143
+ } else {
18144
+ return $tea.cast<ModifyEventStatusResponse>(await this.execute(params, req, runtime), new ModifyEventStatusResponse({}));
18145
+ }
18146
+
17909
18147
  }
17910
18148
 
17911
18149
  /**
@@ -17960,7 +18198,12 @@ export default class Client extends OpenApi {
17960
18198
  reqBodyType: "formData",
17961
18199
  bodyType: "json",
17962
18200
  });
17963
- return $tea.cast<ModifyEventTypeStatusResponse>(await this.callApi(params, req, runtime), new ModifyEventTypeStatusResponse({}));
18201
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18202
+ return $tea.cast<ModifyEventTypeStatusResponse>(await this.callApi(params, req, runtime), new ModifyEventTypeStatusResponse({}));
18203
+ } else {
18204
+ return $tea.cast<ModifyEventTypeStatusResponse>(await this.execute(params, req, runtime), new ModifyEventTypeStatusResponse({}));
18205
+ }
18206
+
17964
18207
  }
17965
18208
 
17966
18209
  /**
@@ -18015,7 +18258,12 @@ export default class Client extends OpenApi {
18015
18258
  reqBodyType: "formData",
18016
18259
  bodyType: "json",
18017
18260
  });
18018
- return $tea.cast<ModifyReportTaskStatusResponse>(await this.callApi(params, req, runtime), new ModifyReportTaskStatusResponse({}));
18261
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18262
+ return $tea.cast<ModifyReportTaskStatusResponse>(await this.callApi(params, req, runtime), new ModifyReportTaskStatusResponse({}));
18263
+ } else {
18264
+ return $tea.cast<ModifyReportTaskStatusResponse>(await this.execute(params, req, runtime), new ModifyReportTaskStatusResponse({}));
18265
+ }
18266
+
18019
18267
  }
18020
18268
 
18021
18269
  /**
@@ -18111,7 +18359,12 @@ export default class Client extends OpenApi {
18111
18359
  reqBodyType: "formData",
18112
18360
  bodyType: "json",
18113
18361
  });
18114
- return $tea.cast<ModifyRuleResponse>(await this.callApi(params, req, runtime), new ModifyRuleResponse({}));
18362
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18363
+ return $tea.cast<ModifyRuleResponse>(await this.callApi(params, req, runtime), new ModifyRuleResponse({}));
18364
+ } else {
18365
+ return $tea.cast<ModifyRuleResponse>(await this.execute(params, req, runtime), new ModifyRuleResponse({}));
18366
+ }
18367
+
18115
18368
  }
18116
18369
 
18117
18370
  /**
@@ -18170,7 +18423,12 @@ export default class Client extends OpenApi {
18170
18423
  reqBodyType: "formData",
18171
18424
  bodyType: "json",
18172
18425
  });
18173
- return $tea.cast<ModifyRuleStatusResponse>(await this.callApi(params, req, runtime), new ModifyRuleStatusResponse({}));
18426
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18427
+ return $tea.cast<ModifyRuleStatusResponse>(await this.callApi(params, req, runtime), new ModifyRuleStatusResponse({}));
18428
+ } else {
18429
+ return $tea.cast<ModifyRuleStatusResponse>(await this.execute(params, req, runtime), new ModifyRuleStatusResponse({}));
18430
+ }
18431
+
18174
18432
  }
18175
18433
 
18176
18434
  /**
@@ -18234,7 +18492,12 @@ export default class Client extends OpenApi {
18234
18492
  reqBodyType: "formData",
18235
18493
  bodyType: "json",
18236
18494
  });
18237
- return $tea.cast<ScanOssObjectV1Response>(await this.callApi(params, req, runtime), new ScanOssObjectV1Response({}));
18495
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18496
+ return $tea.cast<ScanOssObjectV1Response>(await this.callApi(params, req, runtime), new ScanOssObjectV1Response({}));
18497
+ } else {
18498
+ return $tea.cast<ScanOssObjectV1Response>(await this.execute(params, req, runtime), new ScanOssObjectV1Response({}));
18499
+ }
18500
+
18238
18501
  }
18239
18502
 
18240
18503
  /**
@@ -18285,7 +18548,12 @@ export default class Client extends OpenApi {
18285
18548
  reqBodyType: "formData",
18286
18549
  bodyType: "json",
18287
18550
  });
18288
- return $tea.cast<StopMaskingProcessResponse>(await this.callApi(params, req, runtime), new StopMaskingProcessResponse({}));
18551
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
18552
+ return $tea.cast<StopMaskingProcessResponse>(await this.callApi(params, req, runtime), new StopMaskingProcessResponse({}));
18553
+ } else {
18554
+ return $tea.cast<StopMaskingProcessResponse>(await this.execute(params, req, runtime), new StopMaskingProcessResponse({}));
18555
+ }
18556
+
18289
18557
  }
18290
18558
 
18291
18559
  /**