@alicloud/sddp20190103 1.3.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';
@@ -4427,6 +4428,90 @@ export class DescribeEventsResponse extends $tea.Model {
4427
4428
  }
4428
4429
  }
4429
4430
 
4431
+ export class DescribeIdentifyTaskStatusRequest extends $tea.Model {
4432
+ /**
4433
+ * @remarks
4434
+ * This parameter is required.
4435
+ *
4436
+ * @example
4437
+ * 268
4438
+ */
4439
+ id?: number;
4440
+ /**
4441
+ * @example
4442
+ * zh_cn
4443
+ */
4444
+ lang?: string;
4445
+ static names(): { [key: string]: string } {
4446
+ return {
4447
+ id: 'Id',
4448
+ lang: 'Lang',
4449
+ };
4450
+ }
4451
+
4452
+ static types(): { [key: string]: any } {
4453
+ return {
4454
+ id: 'number',
4455
+ lang: 'string',
4456
+ };
4457
+ }
4458
+
4459
+ constructor(map?: { [key: string]: any }) {
4460
+ super(map);
4461
+ }
4462
+ }
4463
+
4464
+ export class DescribeIdentifyTaskStatusResponseBody extends $tea.Model {
4465
+ content?: DescribeIdentifyTaskStatusResponseBodyContent;
4466
+ /**
4467
+ * @example
4468
+ * 71064826-726F-4ADA-B879-05D8055476FB
4469
+ */
4470
+ requestId?: string;
4471
+ static names(): { [key: string]: string } {
4472
+ return {
4473
+ content: 'Content',
4474
+ requestId: 'RequestId',
4475
+ };
4476
+ }
4477
+
4478
+ static types(): { [key: string]: any } {
4479
+ return {
4480
+ content: DescribeIdentifyTaskStatusResponseBodyContent,
4481
+ requestId: 'string',
4482
+ };
4483
+ }
4484
+
4485
+ constructor(map?: { [key: string]: any }) {
4486
+ super(map);
4487
+ }
4488
+ }
4489
+
4490
+ export class DescribeIdentifyTaskStatusResponse extends $tea.Model {
4491
+ headers?: { [key: string]: string };
4492
+ statusCode?: number;
4493
+ body?: DescribeIdentifyTaskStatusResponseBody;
4494
+ static names(): { [key: string]: string } {
4495
+ return {
4496
+ headers: 'headers',
4497
+ statusCode: 'statusCode',
4498
+ body: 'body',
4499
+ };
4500
+ }
4501
+
4502
+ static types(): { [key: string]: any } {
4503
+ return {
4504
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4505
+ statusCode: 'number',
4506
+ body: DescribeIdentifyTaskStatusResponseBody,
4507
+ };
4508
+ }
4509
+
4510
+ constructor(map?: { [key: string]: any }) {
4511
+ super(map);
4512
+ }
4513
+ }
4514
+
4430
4515
  export class DescribeInstanceSourcesRequest extends $tea.Model {
4431
4516
  /**
4432
4517
  * @remarks
@@ -5830,6 +5915,7 @@ export class DescribeRulesRequest extends $tea.Model {
5830
5915
  * 1
5831
5916
  */
5832
5917
  contentCategory?: number;
5918
+ cooperationChannel?: string;
5833
5919
  /**
5834
5920
  * @remarks
5835
5921
  * The page number of the page to return.
@@ -5959,6 +6045,7 @@ export class DescribeRulesRequest extends $tea.Model {
5959
6045
  * 1
5960
6046
  */
5961
6047
  ruleType?: number;
6048
+ simplify?: boolean;
5962
6049
  /**
5963
6050
  * @remarks
5964
6051
  * The status of the sensitive data detection rule. Valid values:
@@ -6000,6 +6087,7 @@ export class DescribeRulesRequest extends $tea.Model {
6000
6087
  return {
6001
6088
  category: 'Category',
6002
6089
  contentCategory: 'ContentCategory',
6090
+ cooperationChannel: 'CooperationChannel',
6003
6091
  currentPage: 'CurrentPage',
6004
6092
  customType: 'CustomType',
6005
6093
  featureType: 'FeatureType',
@@ -6013,6 +6101,7 @@ export class DescribeRulesRequest extends $tea.Model {
6013
6101
  productId: 'ProductId',
6014
6102
  riskLevelId: 'RiskLevelId',
6015
6103
  ruleType: 'RuleType',
6104
+ simplify: 'Simplify',
6016
6105
  status: 'Status',
6017
6106
  supportForm: 'SupportForm',
6018
6107
  warnLevel: 'WarnLevel',
@@ -6023,6 +6112,7 @@ export class DescribeRulesRequest extends $tea.Model {
6023
6112
  return {
6024
6113
  category: 'number',
6025
6114
  contentCategory: 'number',
6115
+ cooperationChannel: 'string',
6026
6116
  currentPage: 'number',
6027
6117
  customType: 'number',
6028
6118
  featureType: 'number',
@@ -6036,6 +6126,7 @@ export class DescribeRulesRequest extends $tea.Model {
6036
6126
  productId: 'number',
6037
6127
  riskLevelId: 'number',
6038
6128
  ruleType: 'number',
6129
+ simplify: 'boolean',
6039
6130
  status: 'number',
6040
6131
  supportForm: 'number',
6041
6132
  warnLevel: 'number',
@@ -12173,6 +12264,25 @@ export class DescribeEventsResponseBodyItems extends $tea.Model {
12173
12264
  }
12174
12265
  }
12175
12266
 
12267
+ export class DescribeIdentifyTaskStatusResponseBodyContent extends $tea.Model {
12268
+ status?: number;
12269
+ static names(): { [key: string]: string } {
12270
+ return {
12271
+ status: 'Status',
12272
+ };
12273
+ }
12274
+
12275
+ static types(): { [key: string]: any } {
12276
+ return {
12277
+ status: 'number',
12278
+ };
12279
+ }
12280
+
12281
+ constructor(map?: { [key: string]: any }) {
12282
+ super(map);
12283
+ }
12284
+ }
12285
+
12176
12286
  export class DescribeInstanceSourcesResponseBodyItems extends $tea.Model {
12177
12287
  /**
12178
12288
  * @remarks
@@ -12559,6 +12669,7 @@ export class DescribeInstancesResponseBodyItems extends $tea.Model {
12559
12669
  * 1637622793000
12560
12670
  */
12561
12671
  lastFinishTime?: number;
12672
+ memberAliUid?: string;
12562
12673
  /**
12563
12674
  * @remarks
12564
12675
  * A list of tags.
@@ -12694,6 +12805,7 @@ export class DescribeInstancesResponseBodyItems extends $tea.Model {
12694
12805
  instanceDescription: 'InstanceDescription',
12695
12806
  labelsec: 'Labelsec',
12696
12807
  lastFinishTime: 'LastFinishTime',
12808
+ memberAliUid: 'MemberAliUid',
12697
12809
  modelTags: 'ModelTags',
12698
12810
  name: 'Name',
12699
12811
  odpsRiskLevelName: 'OdpsRiskLevelName',
@@ -12719,6 +12831,7 @@ export class DescribeInstancesResponseBodyItems extends $tea.Model {
12719
12831
  instanceDescription: 'string',
12720
12832
  labelsec: 'boolean',
12721
12833
  lastFinishTime: 'number',
12834
+ memberAliUid: 'string',
12722
12835
  modelTags: { 'type': 'array', 'itemType': DescribeInstancesResponseBodyItemsModelTags },
12723
12836
  name: 'string',
12724
12837
  odpsRiskLevelName: 'string',
@@ -13032,30 +13145,42 @@ export class DescribeOssObjectDetailV2ResponseBodyOssObjectDetail extends $tea.M
13032
13145
  * Excel file
13033
13146
  */
13034
13147
  categoryName?: string;
13148
+ fileCategoryName?: string;
13149
+ id?: string;
13150
+ modelTagIds?: string;
13035
13151
  /**
13036
13152
  * @example
13037
13153
  * obj_id
13038
13154
  */
13039
13155
  name?: string;
13156
+ objectAcl?: string;
13040
13157
  /**
13041
13158
  * @example
13042
13159
  * cn-zhangjiakou
13043
13160
  */
13044
13161
  regionId?: string;
13162
+ riskLevelId?: number;
13045
13163
  /**
13046
13164
  * @example
13047
13165
  * S1
13048
13166
  */
13049
13167
  riskLevelName?: string;
13050
13168
  ruleList?: DescribeOssObjectDetailV2ResponseBodyOssObjectDetailRuleList[];
13169
+ size?: number;
13051
13170
  static names(): { [key: string]: string } {
13052
13171
  return {
13053
13172
  bucketName: 'BucketName',
13054
13173
  categoryName: 'CategoryName',
13174
+ fileCategoryName: 'FileCategoryName',
13175
+ id: 'Id',
13176
+ modelTagIds: 'ModelTagIds',
13055
13177
  name: 'Name',
13178
+ objectAcl: 'ObjectAcl',
13056
13179
  regionId: 'RegionId',
13180
+ riskLevelId: 'RiskLevelId',
13057
13181
  riskLevelName: 'RiskLevelName',
13058
13182
  ruleList: 'RuleList',
13183
+ size: 'Size',
13059
13184
  };
13060
13185
  }
13061
13186
 
@@ -13063,10 +13188,16 @@ export class DescribeOssObjectDetailV2ResponseBodyOssObjectDetail extends $tea.M
13063
13188
  return {
13064
13189
  bucketName: 'string',
13065
13190
  categoryName: 'string',
13191
+ fileCategoryName: 'string',
13192
+ id: 'string',
13193
+ modelTagIds: 'string',
13066
13194
  name: 'string',
13195
+ objectAcl: 'string',
13067
13196
  regionId: 'string',
13197
+ riskLevelId: 'number',
13068
13198
  riskLevelName: 'string',
13069
13199
  ruleList: { 'type': 'array', 'itemType': DescribeOssObjectDetailV2ResponseBodyOssObjectDetailRuleList },
13200
+ size: 'number',
13070
13201
  };
13071
13202
  }
13072
13203
 
@@ -14507,6 +14638,9 @@ export default class Client extends OpenApi {
14507
14638
 
14508
14639
  constructor(config: $OpenApi.Config) {
14509
14640
  super(config);
14641
+ this._productId = "Sddp";
14642
+ let gatewayClient = new GatewayClient();
14643
+ this._spi = gatewayClient;
14510
14644
  this._endpointRule = "regional";
14511
14645
  this._endpointMap = {
14512
14646
  'cn-hongkong': "sddp-api.cn-hongkong.aliyuncs.com",
@@ -14581,7 +14715,12 @@ export default class Client extends OpenApi {
14581
14715
  reqBodyType: "formData",
14582
14716
  bodyType: "json",
14583
14717
  });
14584
- 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
+
14585
14724
  }
14586
14725
 
14587
14726
  /**
@@ -14705,7 +14844,12 @@ export default class Client extends OpenApi {
14705
14844
  reqBodyType: "formData",
14706
14845
  bodyType: "json",
14707
14846
  });
14708
- 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
+
14709
14853
  }
14710
14854
 
14711
14855
  /**
@@ -14816,7 +14960,12 @@ export default class Client extends OpenApi {
14816
14960
  reqBodyType: "formData",
14817
14961
  bodyType: "json",
14818
14962
  });
14819
- 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
+
14820
14969
  }
14821
14970
 
14822
14971
  /**
@@ -14911,7 +15060,12 @@ export default class Client extends OpenApi {
14911
15060
  reqBodyType: "formData",
14912
15061
  bodyType: "json",
14913
15062
  });
14914
- 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
+
14915
15069
  }
14916
15070
 
14917
15071
  /**
@@ -14971,7 +15125,12 @@ export default class Client extends OpenApi {
14971
15125
  reqBodyType: "formData",
14972
15126
  bodyType: "json",
14973
15127
  });
14974
- 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
+
14975
15134
  }
14976
15135
 
14977
15136
  /**
@@ -15035,7 +15194,12 @@ export default class Client extends OpenApi {
15035
15194
  reqBodyType: "formData",
15036
15195
  bodyType: "json",
15037
15196
  });
15038
- 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
+
15039
15203
  }
15040
15204
 
15041
15205
  /**
@@ -15094,7 +15258,12 @@ export default class Client extends OpenApi {
15094
15258
  reqBodyType: "formData",
15095
15259
  bodyType: "json",
15096
15260
  });
15097
- 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
+
15098
15267
  }
15099
15268
 
15100
15269
  /**
@@ -15150,7 +15319,12 @@ export default class Client extends OpenApi {
15150
15319
  reqBodyType: "formData",
15151
15320
  bodyType: "json",
15152
15321
  });
15153
- 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
+
15154
15328
  }
15155
15329
 
15156
15330
  /**
@@ -15215,7 +15389,12 @@ export default class Client extends OpenApi {
15215
15389
  reqBodyType: "formData",
15216
15390
  bodyType: "json",
15217
15391
  });
15218
- 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
+
15219
15398
  }
15220
15399
 
15221
15400
  /**
@@ -15337,7 +15516,12 @@ export default class Client extends OpenApi {
15337
15516
  reqBodyType: "formData",
15338
15517
  bodyType: "json",
15339
15518
  });
15340
- 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
+
15341
15525
  }
15342
15526
 
15343
15527
  /**
@@ -15434,7 +15618,12 @@ export default class Client extends OpenApi {
15434
15618
  reqBodyType: "formData",
15435
15619
  bodyType: "json",
15436
15620
  });
15437
- 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
+
15438
15627
  }
15439
15628
 
15440
15629
  /**
@@ -15476,7 +15665,12 @@ export default class Client extends OpenApi {
15476
15665
  reqBodyType: "formData",
15477
15666
  bodyType: "json",
15478
15667
  });
15479
- 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
+
15480
15674
  }
15481
15675
 
15482
15676
  /**
@@ -15542,7 +15736,12 @@ export default class Client extends OpenApi {
15542
15736
  reqBodyType: "formData",
15543
15737
  bodyType: "json",
15544
15738
  });
15545
- 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
+
15546
15745
  }
15547
15746
 
15548
15747
  /**
@@ -15596,7 +15795,12 @@ export default class Client extends OpenApi {
15596
15795
  reqBodyType: "formData",
15597
15796
  bodyType: "json",
15598
15797
  });
15599
- 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
+
15600
15804
  }
15601
15805
 
15602
15806
  /**
@@ -15655,7 +15859,12 @@ export default class Client extends OpenApi {
15655
15859
  reqBodyType: "formData",
15656
15860
  bodyType: "json",
15657
15861
  });
15658
- 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
+
15659
15868
  }
15660
15869
 
15661
15870
  /**
@@ -15758,7 +15967,12 @@ export default class Client extends OpenApi {
15758
15967
  reqBodyType: "formData",
15759
15968
  bodyType: "json",
15760
15969
  });
15761
- 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
+
15762
15976
  }
15763
15977
 
15764
15978
  /**
@@ -15845,7 +16059,12 @@ export default class Client extends OpenApi {
15845
16059
  reqBodyType: "formData",
15846
16060
  bodyType: "json",
15847
16061
  });
15848
- 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
+
15849
16068
  }
15850
16069
 
15851
16070
  /**
@@ -15921,7 +16140,12 @@ export default class Client extends OpenApi {
15921
16140
  reqBodyType: "formData",
15922
16141
  bodyType: "json",
15923
16142
  });
15924
- 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
+
15925
16149
  }
15926
16150
 
15927
16151
  /**
@@ -15992,7 +16216,12 @@ export default class Client extends OpenApi {
15992
16216
  reqBodyType: "formData",
15993
16217
  bodyType: "json",
15994
16218
  });
15995
- 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
+
15996
16225
  }
15997
16226
 
15998
16227
  /**
@@ -16058,7 +16287,12 @@ export default class Client extends OpenApi {
16058
16287
  reqBodyType: "formData",
16059
16288
  bodyType: "json",
16060
16289
  });
16061
- 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
+
16062
16296
  }
16063
16297
 
16064
16298
  /**
@@ -16164,7 +16398,12 @@ export default class Client extends OpenApi {
16164
16398
  reqBodyType: "formData",
16165
16399
  bodyType: "json",
16166
16400
  });
16167
- 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
+
16168
16407
  }
16169
16408
 
16170
16409
  /**
@@ -16204,7 +16443,12 @@ export default class Client extends OpenApi {
16204
16443
  reqBodyType: "formData",
16205
16444
  bodyType: "json",
16206
16445
  });
16207
- 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
+
16208
16452
  }
16209
16453
 
16210
16454
  /**
@@ -16248,7 +16492,12 @@ export default class Client extends OpenApi {
16248
16492
  reqBodyType: "formData",
16249
16493
  bodyType: "json",
16250
16494
  });
16251
- 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
+
16252
16501
  }
16253
16502
 
16254
16503
  /**
@@ -16306,7 +16555,12 @@ export default class Client extends OpenApi {
16306
16555
  reqBodyType: "formData",
16307
16556
  bodyType: "json",
16308
16557
  });
16309
- 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
+
16310
16564
  }
16311
16565
 
16312
16566
  /**
@@ -16413,7 +16667,12 @@ export default class Client extends OpenApi {
16413
16667
  reqBodyType: "formData",
16414
16668
  bodyType: "json",
16415
16669
  });
16416
- 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
+
16417
16676
  }
16418
16677
 
16419
16678
  /**
@@ -16432,6 +16691,49 @@ export default class Client extends OpenApi {
16432
16691
  return await this.describeEventsWithOptions(request, runtime);
16433
16692
  }
16434
16693
 
16694
+ /**
16695
+ * 查询识别任务状态
16696
+ *
16697
+ * @param request - DescribeIdentifyTaskStatusRequest
16698
+ * @param runtime - runtime options for this request RuntimeOptions
16699
+ * @returns DescribeIdentifyTaskStatusResponse
16700
+ */
16701
+ async describeIdentifyTaskStatusWithOptions(request: DescribeIdentifyTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIdentifyTaskStatusResponse> {
16702
+ Util.validateModel(request);
16703
+ let query = OpenApiUtil.query(Util.toMap(request));
16704
+ let req = new $OpenApi.OpenApiRequest({
16705
+ query: OpenApiUtil.query(query),
16706
+ });
16707
+ let params = new $OpenApi.Params({
16708
+ action: "DescribeIdentifyTaskStatus",
16709
+ version: "2019-01-03",
16710
+ protocol: "HTTPS",
16711
+ pathname: "/",
16712
+ method: "GET",
16713
+ authType: "AK",
16714
+ style: "RPC",
16715
+ reqBodyType: "formData",
16716
+ bodyType: "json",
16717
+ });
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
+
16724
+ }
16725
+
16726
+ /**
16727
+ * 查询识别任务状态
16728
+ *
16729
+ * @param request - DescribeIdentifyTaskStatusRequest
16730
+ * @returns DescribeIdentifyTaskStatusResponse
16731
+ */
16732
+ async describeIdentifyTaskStatus(request: DescribeIdentifyTaskStatusRequest): Promise<DescribeIdentifyTaskStatusResponse> {
16733
+ let runtime = new $Util.RuntimeOptions({ });
16734
+ return await this.describeIdentifyTaskStatusWithOptions(request, runtime);
16735
+ }
16736
+
16435
16737
  /**
16436
16738
  * Queries a list of data assets.
16437
16739
  *
@@ -16514,7 +16816,12 @@ export default class Client extends OpenApi {
16514
16816
  reqBodyType: "formData",
16515
16817
  bodyType: "json",
16516
16818
  });
16517
- 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
+
16518
16825
  }
16519
16826
 
16520
16827
  /**
@@ -16603,7 +16910,12 @@ export default class Client extends OpenApi {
16603
16910
  reqBodyType: "formData",
16604
16911
  bodyType: "json",
16605
16912
  });
16606
- 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
+
16607
16919
  }
16608
16920
 
16609
16921
  /**
@@ -16661,7 +16973,12 @@ export default class Client extends OpenApi {
16661
16973
  reqBodyType: "formData",
16662
16974
  bodyType: "json",
16663
16975
  });
16664
- 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
+
16665
16982
  }
16666
16983
 
16667
16984
  /**
@@ -16730,7 +17047,12 @@ export default class Client extends OpenApi {
16730
17047
  reqBodyType: "formData",
16731
17048
  bodyType: "json",
16732
17049
  });
16733
- 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
+
16734
17056
  }
16735
17057
 
16736
17058
  /**
@@ -16820,7 +17142,12 @@ export default class Client extends OpenApi {
16820
17142
  reqBodyType: "formData",
16821
17143
  bodyType: "json",
16822
17144
  });
16823
- 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
+
16824
17151
  }
16825
17152
 
16826
17153
  /**
@@ -16895,7 +17222,12 @@ export default class Client extends OpenApi {
16895
17222
  reqBodyType: "formData",
16896
17223
  bodyType: "json",
16897
17224
  });
16898
- 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
+
16899
17231
  }
16900
17232
 
16901
17233
  /**
@@ -16986,7 +17318,12 @@ export default class Client extends OpenApi {
16986
17318
  reqBodyType: "formData",
16987
17319
  bodyType: "json",
16988
17320
  });
16989
- 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
+
16990
17327
  }
16991
17328
 
16992
17329
  /**
@@ -17041,7 +17378,12 @@ export default class Client extends OpenApi {
17041
17378
  reqBodyType: "formData",
17042
17379
  bodyType: "json",
17043
17380
  });
17044
- 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
+
17045
17387
  }
17046
17388
 
17047
17389
  /**
@@ -17078,6 +17420,10 @@ export default class Client extends OpenApi {
17078
17420
  query["ContentCategory"] = request.contentCategory;
17079
17421
  }
17080
17422
 
17423
+ if (!Util.isUnset(request.cooperationChannel)) {
17424
+ query["CooperationChannel"] = request.cooperationChannel;
17425
+ }
17426
+
17081
17427
  if (!Util.isUnset(request.currentPage)) {
17082
17428
  query["CurrentPage"] = request.currentPage;
17083
17429
  }
@@ -17130,6 +17476,10 @@ export default class Client extends OpenApi {
17130
17476
  query["RuleType"] = request.ruleType;
17131
17477
  }
17132
17478
 
17479
+ if (!Util.isUnset(request.simplify)) {
17480
+ query["Simplify"] = request.simplify;
17481
+ }
17482
+
17133
17483
  if (!Util.isUnset(request.status)) {
17134
17484
  query["Status"] = request.status;
17135
17485
  }
@@ -17156,7 +17506,12 @@ export default class Client extends OpenApi {
17156
17506
  reqBodyType: "formData",
17157
17507
  bodyType: "json",
17158
17508
  });
17159
- 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
+
17160
17515
  }
17161
17516
 
17162
17517
  /**
@@ -17247,7 +17602,12 @@ export default class Client extends OpenApi {
17247
17602
  reqBodyType: "formData",
17248
17603
  bodyType: "json",
17249
17604
  });
17250
- 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
+
17251
17611
  }
17252
17612
 
17253
17613
  /**
@@ -17300,7 +17660,12 @@ export default class Client extends OpenApi {
17300
17660
  reqBodyType: "formData",
17301
17661
  bodyType: "json",
17302
17662
  });
17303
- 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
+
17304
17669
  }
17305
17670
 
17306
17671
  /**
@@ -17349,7 +17714,12 @@ export default class Client extends OpenApi {
17349
17714
  reqBodyType: "formData",
17350
17715
  bodyType: "json",
17351
17716
  });
17352
- 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
+
17353
17723
  }
17354
17724
 
17355
17725
  /**
@@ -17409,7 +17779,12 @@ export default class Client extends OpenApi {
17409
17779
  reqBodyType: "formData",
17410
17780
  bodyType: "json",
17411
17781
  });
17412
- 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
+
17413
17788
  }
17414
17789
 
17415
17790
  /**
@@ -17468,7 +17843,12 @@ export default class Client extends OpenApi {
17468
17843
  reqBodyType: "formData",
17469
17844
  bodyType: "json",
17470
17845
  });
17471
- 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
+
17472
17852
  }
17473
17853
 
17474
17854
  /**
@@ -17514,7 +17894,12 @@ export default class Client extends OpenApi {
17514
17894
  reqBodyType: "formData",
17515
17895
  bodyType: "json",
17516
17896
  });
17517
- 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
+
17518
17903
  }
17519
17904
 
17520
17905
  /**
@@ -17620,7 +18005,12 @@ export default class Client extends OpenApi {
17620
18005
  reqBodyType: "formData",
17621
18006
  bodyType: "json",
17622
18007
  });
17623
- 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
+
17624
18014
  }
17625
18015
 
17626
18016
  /**
@@ -17675,7 +18065,12 @@ export default class Client extends OpenApi {
17675
18065
  reqBodyType: "formData",
17676
18066
  bodyType: "json",
17677
18067
  });
17678
- 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
+
17679
18074
  }
17680
18075
 
17681
18076
  /**
@@ -17743,7 +18138,12 @@ export default class Client extends OpenApi {
17743
18138
  reqBodyType: "formData",
17744
18139
  bodyType: "json",
17745
18140
  });
17746
- 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
+
17747
18147
  }
17748
18148
 
17749
18149
  /**
@@ -17798,7 +18198,12 @@ export default class Client extends OpenApi {
17798
18198
  reqBodyType: "formData",
17799
18199
  bodyType: "json",
17800
18200
  });
17801
- 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
+
17802
18207
  }
17803
18208
 
17804
18209
  /**
@@ -17853,7 +18258,12 @@ export default class Client extends OpenApi {
17853
18258
  reqBodyType: "formData",
17854
18259
  bodyType: "json",
17855
18260
  });
17856
- 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
+
17857
18267
  }
17858
18268
 
17859
18269
  /**
@@ -17949,7 +18359,12 @@ export default class Client extends OpenApi {
17949
18359
  reqBodyType: "formData",
17950
18360
  bodyType: "json",
17951
18361
  });
17952
- 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
+
17953
18368
  }
17954
18369
 
17955
18370
  /**
@@ -18008,7 +18423,12 @@ export default class Client extends OpenApi {
18008
18423
  reqBodyType: "formData",
18009
18424
  bodyType: "json",
18010
18425
  });
18011
- 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
+
18012
18432
  }
18013
18433
 
18014
18434
  /**
@@ -18072,7 +18492,12 @@ export default class Client extends OpenApi {
18072
18492
  reqBodyType: "formData",
18073
18493
  bodyType: "json",
18074
18494
  });
18075
- 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
+
18076
18501
  }
18077
18502
 
18078
18503
  /**
@@ -18123,7 +18548,12 @@ export default class Client extends OpenApi {
18123
18548
  reqBodyType: "formData",
18124
18549
  bodyType: "json",
18125
18550
  });
18126
- 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
+
18127
18557
  }
18128
18558
 
18129
18559
  /**