@alicloud/config20200907 3.0.11 → 3.0.13

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.js CHANGED
@@ -2197,6 +2197,7 @@ class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
2197
2197
  regionIdsScope: 'RegionIdsScope',
2198
2198
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
2199
2199
  resourceIdsScope: 'ResourceIdsScope',
2200
+ resourceNameScope: 'ResourceNameScope',
2200
2201
  resourceTypesScope: 'ResourceTypesScope',
2201
2202
  riskLevel: 'RiskLevel',
2202
2203
  source: 'Source',
@@ -2236,6 +2237,7 @@ class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
2236
2237
  regionIdsScope: 'string',
2237
2238
  resourceGroupIdsScope: 'string',
2238
2239
  resourceIdsScope: 'string',
2240
+ resourceNameScope: 'string',
2239
2241
  resourceTypesScope: 'string',
2240
2242
  riskLevel: 'number',
2241
2243
  source: GetAggregateConfigRuleResponseBodyConfigRuleSource,
@@ -3651,6 +3653,7 @@ class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
3651
3653
  regionIdsScope: 'RegionIdsScope',
3652
3654
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
3653
3655
  resourceIdsScope: 'ResourceIdsScope',
3656
+ resourceNameScope: 'ResourceNameScope',
3654
3657
  resourceTypesScope: 'ResourceTypesScope',
3655
3658
  riskLevel: 'RiskLevel',
3656
3659
  scope: 'Scope',
@@ -3687,6 +3690,7 @@ class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
3687
3690
  regionIdsScope: 'string',
3688
3691
  resourceGroupIdsScope: 'string',
3689
3692
  resourceIdsScope: 'string',
3693
+ resourceNameScope: 'string',
3690
3694
  resourceTypesScope: 'string',
3691
3695
  riskLevel: 'number',
3692
3696
  scope: GetConfigRuleResponseBodyConfigRuleScope,
@@ -4730,8 +4734,10 @@ class ListAggregateConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvalu
4730
4734
  annotation: 'Annotation',
4731
4735
  complianceType: 'ComplianceType',
4732
4736
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
4737
+ evaluationId: 'EvaluationId',
4733
4738
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
4734
4739
  invokingEventMessageType: 'InvokingEventMessageType',
4740
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
4735
4741
  remediationEnabled: 'RemediationEnabled',
4736
4742
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
4737
4743
  riskLevel: 'RiskLevel',
@@ -4742,8 +4748,10 @@ class ListAggregateConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvalu
4742
4748
  annotation: 'string',
4743
4749
  complianceType: 'string',
4744
4750
  configRuleInvokedTimestamp: 'number',
4751
+ evaluationId: 'string',
4745
4752
  evaluationResultIdentifier: ListAggregateConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
4746
4753
  invokingEventMessageType: 'string',
4754
+ lastNonCompliantRecordTimestamp: 'number',
4747
4755
  remediationEnabled: 'boolean',
4748
4756
  resultRecordedTimestamp: 'number',
4749
4757
  riskLevel: 'number',
@@ -5221,8 +5229,10 @@ class ListAggregateResourceEvaluationResultsResponseBodyEvaluationResultsEvaluat
5221
5229
  annotation: 'Annotation',
5222
5230
  complianceType: 'ComplianceType',
5223
5231
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
5232
+ evaluationId: 'EvaluationId',
5224
5233
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
5225
5234
  invokingEventMessageType: 'InvokingEventMessageType',
5235
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
5226
5236
  remediationEnabled: 'RemediationEnabled',
5227
5237
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
5228
5238
  riskLevel: 'RiskLevel',
@@ -5233,8 +5243,10 @@ class ListAggregateResourceEvaluationResultsResponseBodyEvaluationResultsEvaluat
5233
5243
  annotation: 'string',
5234
5244
  complianceType: 'string',
5235
5245
  configRuleInvokedTimestamp: 'number',
5246
+ evaluationId: 'string',
5236
5247
  evaluationResultIdentifier: ListAggregateResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
5237
5248
  invokingEventMessageType: 'string',
5249
+ lastNonCompliantRecordTimestamp: 'number',
5238
5250
  remediationEnabled: 'boolean',
5239
5251
  resultRecordedTimestamp: 'number',
5240
5252
  riskLevel: 'number',
@@ -5834,8 +5846,10 @@ class ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResu
5834
5846
  annotation: 'Annotation',
5835
5847
  complianceType: 'ComplianceType',
5836
5848
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
5849
+ evaluationId: 'EvaluationId',
5837
5850
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
5838
5851
  invokingEventMessageType: 'InvokingEventMessageType',
5852
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
5839
5853
  remediationEnabled: 'RemediationEnabled',
5840
5854
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
5841
5855
  riskLevel: 'RiskLevel',
@@ -5846,8 +5860,10 @@ class ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResu
5846
5860
  annotation: 'string',
5847
5861
  complianceType: 'string',
5848
5862
  configRuleInvokedTimestamp: 'number',
5863
+ evaluationId: 'string',
5849
5864
  evaluationResultIdentifier: ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
5850
5865
  invokingEventMessageType: 'string',
5866
+ lastNonCompliantRecordTimestamp: 'number',
5851
5867
  remediationEnabled: 'boolean',
5852
5868
  resultRecordedTimestamp: 'number',
5853
5869
  riskLevel: 'number',
@@ -6493,8 +6509,10 @@ class ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResult
6493
6509
  annotation: 'Annotation',
6494
6510
  complianceType: 'ComplianceType',
6495
6511
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
6512
+ evaluationId: 'EvaluationId',
6496
6513
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
6497
6514
  invokingEventMessageType: 'InvokingEventMessageType',
6515
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
6498
6516
  remediationEnabled: 'RemediationEnabled',
6499
6517
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
6500
6518
  riskLevel: 'RiskLevel',
@@ -6505,8 +6523,10 @@ class ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResult
6505
6523
  annotation: 'string',
6506
6524
  complianceType: 'string',
6507
6525
  configRuleInvokedTimestamp: 'number',
6526
+ evaluationId: 'string',
6508
6527
  evaluationResultIdentifier: ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
6509
6528
  invokingEventMessageType: 'string',
6529
+ lastNonCompliantRecordTimestamp: 'number',
6510
6530
  remediationEnabled: 'boolean',
6511
6531
  resultRecordedTimestamp: 'number',
6512
6532
  riskLevel: 'number',
@@ -8374,6 +8394,7 @@ class CreateAggregateConfigRuleRequest extends $dara.Model {
8374
8394
  regionIdsScope: 'RegionIdsScope',
8375
8395
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
8376
8396
  resourceIdsScope: 'ResourceIdsScope',
8397
+ resourceNameScope: 'ResourceNameScope',
8377
8398
  resourceTypesScope: 'ResourceTypesScope',
8378
8399
  riskLevel: 'RiskLevel',
8379
8400
  sourceIdentifier: 'SourceIdentifier',
@@ -8406,6 +8427,7 @@ class CreateAggregateConfigRuleRequest extends $dara.Model {
8406
8427
  regionIdsScope: 'string',
8407
8428
  resourceGroupIdsScope: 'string',
8408
8429
  resourceIdsScope: 'string',
8430
+ resourceNameScope: 'string',
8409
8431
  resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
8410
8432
  riskLevel: 'number',
8411
8433
  sourceIdentifier: 'string',
@@ -8462,6 +8484,7 @@ class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
8462
8484
  regionIdsScope: 'RegionIdsScope',
8463
8485
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
8464
8486
  resourceIdsScope: 'ResourceIdsScope',
8487
+ resourceNameScope: 'ResourceNameScope',
8465
8488
  resourceTypesScopeShrink: 'ResourceTypesScope',
8466
8489
  riskLevel: 'RiskLevel',
8467
8490
  sourceIdentifier: 'SourceIdentifier',
@@ -8494,6 +8517,7 @@ class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
8494
8517
  regionIdsScope: 'string',
8495
8518
  resourceGroupIdsScope: 'string',
8496
8519
  resourceIdsScope: 'string',
8520
+ resourceNameScope: 'string',
8497
8521
  resourceTypesScopeShrink: 'string',
8498
8522
  riskLevel: 'number',
8499
8523
  sourceIdentifier: 'string',
@@ -9056,6 +9080,7 @@ class CreateConfigRuleRequest extends $dara.Model {
9056
9080
  regionIdsScope: 'RegionIdsScope',
9057
9081
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
9058
9082
  resourceIdsScope: 'ResourceIdsScope',
9083
+ resourceNameScope: 'ResourceNameScope',
9059
9084
  resourceTypesScope: 'ResourceTypesScope',
9060
9085
  riskLevel: 'RiskLevel',
9061
9086
  sourceIdentifier: 'SourceIdentifier',
@@ -9083,6 +9108,7 @@ class CreateConfigRuleRequest extends $dara.Model {
9083
9108
  regionIdsScope: 'string',
9084
9109
  resourceGroupIdsScope: 'string',
9085
9110
  resourceIdsScope: 'string',
9111
+ resourceNameScope: 'string',
9086
9112
  resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
9087
9113
  riskLevel: 'number',
9088
9114
  sourceIdentifier: 'string',
@@ -9134,6 +9160,7 @@ class CreateConfigRuleShrinkRequest extends $dara.Model {
9134
9160
  regionIdsScope: 'RegionIdsScope',
9135
9161
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
9136
9162
  resourceIdsScope: 'ResourceIdsScope',
9163
+ resourceNameScope: 'ResourceNameScope',
9137
9164
  resourceTypesScopeShrink: 'ResourceTypesScope',
9138
9165
  riskLevel: 'RiskLevel',
9139
9166
  sourceIdentifier: 'SourceIdentifier',
@@ -9161,6 +9188,7 @@ class CreateConfigRuleShrinkRequest extends $dara.Model {
9161
9188
  regionIdsScope: 'string',
9162
9189
  resourceGroupIdsScope: 'string',
9163
9190
  resourceIdsScope: 'string',
9191
+ resourceNameScope: 'string',
9164
9192
  resourceTypesScopeShrink: 'string',
9165
9193
  riskLevel: 'number',
9166
9194
  sourceIdentifier: 'string',
@@ -16339,6 +16367,7 @@ exports.ListIntegratedServiceResponse = ListIntegratedServiceResponse;
16339
16367
  class ListManagedRulesRequest extends $dara.Model {
16340
16368
  static names() {
16341
16369
  return {
16370
+ filterType: 'FilterType',
16342
16371
  keyword: 'Keyword',
16343
16372
  pageNumber: 'PageNumber',
16344
16373
  pageSize: 'PageSize',
@@ -16348,6 +16377,7 @@ class ListManagedRulesRequest extends $dara.Model {
16348
16377
  }
16349
16378
  static types() {
16350
16379
  return {
16380
+ filterType: 'string',
16351
16381
  keyword: 'string',
16352
16382
  pageNumber: 'number',
16353
16383
  pageSize: 'number',
@@ -18337,6 +18367,7 @@ class UpdateAggregateConfigRuleRequest extends $dara.Model {
18337
18367
  regionIdsScope: 'RegionIdsScope',
18338
18368
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
18339
18369
  resourceIdsScope: 'ResourceIdsScope',
18370
+ resourceNameScope: 'ResourceNameScope',
18340
18371
  resourceTypesScope: 'ResourceTypesScope',
18341
18372
  riskLevel: 'RiskLevel',
18342
18373
  tag: 'Tag',
@@ -18367,6 +18398,7 @@ class UpdateAggregateConfigRuleRequest extends $dara.Model {
18367
18398
  regionIdsScope: 'string',
18368
18399
  resourceGroupIdsScope: 'string',
18369
18400
  resourceIdsScope: 'string',
18401
+ resourceNameScope: 'string',
18370
18402
  resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
18371
18403
  riskLevel: 'number',
18372
18404
  tag: { 'type': 'array', 'itemType': UpdateAggregateConfigRuleRequestTag },
@@ -18421,6 +18453,7 @@ class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
18421
18453
  regionIdsScope: 'RegionIdsScope',
18422
18454
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
18423
18455
  resourceIdsScope: 'ResourceIdsScope',
18456
+ resourceNameScope: 'ResourceNameScope',
18424
18457
  resourceTypesScopeShrink: 'ResourceTypesScope',
18425
18458
  riskLevel: 'RiskLevel',
18426
18459
  tagShrink: 'Tag',
@@ -18451,6 +18484,7 @@ class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
18451
18484
  regionIdsScope: 'string',
18452
18485
  resourceGroupIdsScope: 'string',
18453
18486
  resourceIdsScope: 'string',
18487
+ resourceNameScope: 'string',
18454
18488
  resourceTypesScopeShrink: 'string',
18455
18489
  riskLevel: 'number',
18456
18490
  tagShrink: 'string',
@@ -18613,6 +18647,7 @@ class UpdateAggregatorRequest extends $dara.Model {
18613
18647
  aggregatorName: 'AggregatorName',
18614
18648
  clientToken: 'ClientToken',
18615
18649
  description: 'Description',
18650
+ folderId: 'FolderId',
18616
18651
  tag: 'Tag',
18617
18652
  };
18618
18653
  }
@@ -18623,6 +18658,7 @@ class UpdateAggregatorRequest extends $dara.Model {
18623
18658
  aggregatorName: 'string',
18624
18659
  clientToken: 'string',
18625
18660
  description: 'string',
18661
+ folderId: 'string',
18626
18662
  tag: { 'type': 'array', 'itemType': UpdateAggregatorRequestTag },
18627
18663
  };
18628
18664
  }
@@ -18648,6 +18684,7 @@ class UpdateAggregatorShrinkRequest extends $dara.Model {
18648
18684
  aggregatorName: 'AggregatorName',
18649
18685
  clientToken: 'ClientToken',
18650
18686
  description: 'Description',
18687
+ folderId: 'FolderId',
18651
18688
  tagShrink: 'Tag',
18652
18689
  };
18653
18690
  }
@@ -18658,6 +18695,7 @@ class UpdateAggregatorShrinkRequest extends $dara.Model {
18658
18695
  aggregatorName: 'string',
18659
18696
  clientToken: 'string',
18660
18697
  description: 'string',
18698
+ folderId: 'string',
18661
18699
  tagShrink: 'string',
18662
18700
  };
18663
18701
  }
@@ -19000,6 +19038,7 @@ class UpdateConfigRuleRequest extends $dara.Model {
19000
19038
  regionIdsScope: 'RegionIdsScope',
19001
19039
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
19002
19040
  resourceIdsScope: 'ResourceIdsScope',
19041
+ resourceNameScope: 'ResourceNameScope',
19003
19042
  resourceTypesScope: 'ResourceTypesScope',
19004
19043
  riskLevel: 'RiskLevel',
19005
19044
  tag: 'Tag',
@@ -19026,6 +19065,7 @@ class UpdateConfigRuleRequest extends $dara.Model {
19026
19065
  regionIdsScope: 'string',
19027
19066
  resourceGroupIdsScope: 'string',
19028
19067
  resourceIdsScope: 'string',
19068
+ resourceNameScope: 'string',
19029
19069
  resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
19030
19070
  riskLevel: 'number',
19031
19071
  tag: { 'type': 'array', 'itemType': UpdateConfigRuleRequestTag },
@@ -19076,6 +19116,7 @@ class UpdateConfigRuleShrinkRequest extends $dara.Model {
19076
19116
  regionIdsScope: 'RegionIdsScope',
19077
19117
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
19078
19118
  resourceIdsScope: 'ResourceIdsScope',
19119
+ resourceNameScope: 'ResourceNameScope',
19079
19120
  resourceTypesScopeShrink: 'ResourceTypesScope',
19080
19121
  riskLevel: 'RiskLevel',
19081
19122
  tagShrink: 'Tag',
@@ -19102,6 +19143,7 @@ class UpdateConfigRuleShrinkRequest extends $dara.Model {
19102
19143
  regionIdsScope: 'string',
19103
19144
  resourceGroupIdsScope: 'string',
19104
19145
  resourceIdsScope: 'string',
19146
+ resourceNameScope: 'string',
19105
19147
  resourceTypesScopeShrink: 'string',
19106
19148
  riskLevel: 'number',
19107
19149
  tagShrink: 'string',
@@ -19548,12 +19590,7 @@ class Client extends openapi_core_1.default {
19548
19590
  reqBodyType: "formData",
19549
19591
  bodyType: "json",
19550
19592
  });
19551
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19552
- return $dara.cast(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
19553
- }
19554
- else {
19555
- return $dara.cast(await this.execute(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
19556
- }
19593
+ return $dara.cast(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
19557
19594
  }
19558
19595
  /**
19559
19596
  * Enables one or more rules in an account group. After a rule is enabled, the rule continues to automatically evaluate resources based on the trigger mechanism.
@@ -19602,12 +19639,7 @@ class Client extends openapi_core_1.default {
19602
19639
  reqBodyType: "formData",
19603
19640
  bodyType: "json",
19604
19641
  });
19605
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19606
- return $dara.cast(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
19607
- }
19608
- else {
19609
- return $dara.cast(await this.execute(params, req, runtime), new ActiveConfigRulesResponse({}));
19610
- }
19642
+ return $dara.cast(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
19611
19643
  }
19612
19644
  /**
19613
19645
  * Enables a rule in Cloud Config. After a rule is enabled, Cloud Config automatically evaluates the compliance of a resource based on the trigger mechanism of the rule.
@@ -19659,12 +19691,7 @@ class Client extends openapi_core_1.default {
19659
19691
  reqBodyType: "formData",
19660
19692
  bodyType: "json",
19661
19693
  });
19662
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19663
- return $dara.cast(await this.callApi(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
19664
- }
19665
- else {
19666
- return $dara.cast(await this.execute(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
19667
- }
19694
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
19668
19695
  }
19669
19696
  /**
19670
19697
  * Adds one or more rules in an account group to a compliance package.
@@ -19712,12 +19739,7 @@ class Client extends openapi_core_1.default {
19712
19739
  reqBodyType: "formData",
19713
19740
  bodyType: "json",
19714
19741
  });
19715
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19716
- return $dara.cast(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
19717
- }
19718
- else {
19719
- return $dara.cast(await this.execute(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
19720
- }
19742
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
19721
19743
  }
19722
19744
  /**
19723
19745
  * Adds one or more rules to a compliance package.
@@ -19765,12 +19787,7 @@ class Client extends openapi_core_1.default {
19765
19787
  reqBodyType: "formData",
19766
19788
  bodyType: "json",
19767
19789
  });
19768
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19769
- return $dara.cast(await this.callApi(params, req, runtime), new CopyCompliancePacksResponse({}));
19770
- }
19771
- else {
19772
- return $dara.cast(await this.execute(params, req, runtime), new CopyCompliancePacksResponse({}));
19773
- }
19790
+ return $dara.cast(await this.callApi(params, req, runtime), new CopyCompliancePacksResponse({}));
19774
19791
  }
19775
19792
  /**
19776
19793
  * Replicates compliance packages.
@@ -19815,12 +19832,7 @@ class Client extends openapi_core_1.default {
19815
19832
  reqBodyType: "formData",
19816
19833
  bodyType: "json",
19817
19834
  });
19818
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19819
- return $dara.cast(await this.callApi(params, req, runtime), new CopyConfigRulesResponse({}));
19820
- }
19821
- else {
19822
- return $dara.cast(await this.execute(params, req, runtime), new CopyConfigRulesResponse({}));
19823
- }
19835
+ return $dara.cast(await this.callApi(params, req, runtime), new CopyConfigRulesResponse({}));
19824
19836
  }
19825
19837
  /**
19826
19838
  * Replicates rules.
@@ -19859,12 +19871,7 @@ class Client extends openapi_core_1.default {
19859
19871
  reqBodyType: "formData",
19860
19872
  bodyType: "json",
19861
19873
  });
19862
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19863
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
19864
- }
19865
- else {
19866
- return $dara.cast(await this.execute(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
19867
- }
19874
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
19868
19875
  }
19869
19876
  /**
19870
19877
  * Creates a downloadable resource file for the current Alibaba Cloud account.
@@ -19909,12 +19916,7 @@ class Client extends openapi_core_1.default {
19909
19916
  reqBodyType: "formData",
19910
19917
  bodyType: "json",
19911
19918
  });
19912
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19913
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
19914
- }
19915
- else {
19916
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
19917
- }
19919
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
19918
19920
  }
19919
19921
  /**
19920
19922
  * Creates a downloadable resource file for an account group.
@@ -20028,12 +20030,7 @@ class Client extends openapi_core_1.default {
20028
20030
  reqBodyType: "formData",
20029
20031
  bodyType: "json",
20030
20032
  });
20031
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20032
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
20033
- }
20034
- else {
20035
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
20036
- }
20033
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
20037
20034
  }
20038
20035
  /**
20039
20036
  * Creates a compliance package for an account group.
@@ -20114,12 +20111,7 @@ class Client extends openapi_core_1.default {
20114
20111
  reqBodyType: "formData",
20115
20112
  bodyType: "json",
20116
20113
  });
20117
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20118
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
20119
- }
20120
- else {
20121
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
20122
- }
20114
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
20123
20115
  }
20124
20116
  /**
20125
20117
  * Creates a delivery channel for an account group.
@@ -20161,6 +20153,9 @@ class Client extends openapi_core_1.default {
20161
20153
  request.tagShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
20162
20154
  }
20163
20155
  let query = {};
20156
+ if (!$dara.isNull(request.resourceNameScope)) {
20157
+ query["ResourceNameScope"] = request.resourceNameScope;
20158
+ }
20164
20159
  if (!$dara.isNull(request.tagShrink)) {
20165
20160
  query["Tag"] = request.tagShrink;
20166
20161
  }
@@ -20263,12 +20258,7 @@ class Client extends openapi_core_1.default {
20263
20258
  reqBodyType: "formData",
20264
20259
  bodyType: "json",
20265
20260
  });
20266
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20267
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
20268
- }
20269
- else {
20270
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
20271
- }
20261
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
20272
20262
  }
20273
20263
  /**
20274
20264
  * Creates a rule for an account group.
@@ -20337,12 +20327,7 @@ class Client extends openapi_core_1.default {
20337
20327
  reqBodyType: "formData",
20338
20328
  bodyType: "json",
20339
20329
  });
20340
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20341
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
20342
- }
20343
- else {
20344
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateRemediationResponse({}));
20345
- }
20330
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
20346
20331
  }
20347
20332
  /**
20348
20333
  * Creates a remediation template for a rule in an account group.
@@ -20421,12 +20406,7 @@ class Client extends openapi_core_1.default {
20421
20406
  reqBodyType: "formData",
20422
20407
  bodyType: "json",
20423
20408
  });
20424
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20425
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregatorResponse({}));
20426
- }
20427
- else {
20428
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregatorResponse({}));
20429
- }
20409
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregatorResponse({}));
20430
20410
  }
20431
20411
  /**
20432
20412
  * Creates an account group.
@@ -20544,12 +20524,7 @@ class Client extends openapi_core_1.default {
20544
20524
  reqBodyType: "formData",
20545
20525
  bodyType: "json",
20546
20526
  });
20547
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20548
- return $dara.cast(await this.callApi(params, req, runtime), new CreateCompliancePackResponse({}));
20549
- }
20550
- else {
20551
- return $dara.cast(await this.execute(params, req, runtime), new CreateCompliancePackResponse({}));
20552
- }
20527
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateCompliancePackResponse({}));
20553
20528
  }
20554
20529
  /**
20555
20530
  * Creates a compliance package for the current account.
@@ -20628,12 +20603,7 @@ class Client extends openapi_core_1.default {
20628
20603
  reqBodyType: "formData",
20629
20604
  bodyType: "json",
20630
20605
  });
20631
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20632
- return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
20633
- }
20634
- else {
20635
- return $dara.cast(await this.execute(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
20636
- }
20606
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
20637
20607
  }
20638
20608
  /**
20639
20609
  * Creates a delivery channel.
@@ -20720,6 +20690,9 @@ class Client extends openapi_core_1.default {
20720
20690
  if (!$dara.isNull(request.resourceIdsScope)) {
20721
20691
  body["ResourceIdsScope"] = request.resourceIdsScope;
20722
20692
  }
20693
+ if (!$dara.isNull(request.resourceNameScope)) {
20694
+ body["ResourceNameScope"] = request.resourceNameScope;
20695
+ }
20723
20696
  if (!$dara.isNull(request.resourceTypesScopeShrink)) {
20724
20697
  body["ResourceTypesScope"] = request.resourceTypesScopeShrink;
20725
20698
  }
@@ -20760,12 +20733,7 @@ class Client extends openapi_core_1.default {
20760
20733
  reqBodyType: "formData",
20761
20734
  bodyType: "json",
20762
20735
  });
20763
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20764
- return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigRuleResponse({}));
20765
- }
20766
- else {
20767
- return $dara.cast(await this.execute(params, req, runtime), new CreateConfigRuleResponse({}));
20768
- }
20736
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigRuleResponse({}));
20769
20737
  }
20770
20738
  /**
20771
20739
  * Creates a rule for the current account.
@@ -20844,12 +20812,7 @@ class Client extends openapi_core_1.default {
20844
20812
  reqBodyType: "formData",
20845
20813
  bodyType: "json",
20846
20814
  });
20847
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20848
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDeliveryChannelResponse({}));
20849
- }
20850
- else {
20851
- return $dara.cast(await this.execute(params, req, runtime), new CreateDeliveryChannelResponse({}));
20852
- }
20815
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDeliveryChannelResponse({}));
20853
20816
  }
20854
20817
  /**
20855
20818
  * Creates a delivery channel.
@@ -20915,12 +20878,7 @@ class Client extends openapi_core_1.default {
20915
20878
  reqBodyType: "formData",
20916
20879
  bodyType: "json",
20917
20880
  });
20918
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20919
- return $dara.cast(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
20920
- }
20921
- else {
20922
- return $dara.cast(await this.execute(params, req, runtime), new CreateRemediationResponse({}));
20923
- }
20881
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
20924
20882
  }
20925
20883
  /**
20926
20884
  * Creates a remediation template for a rule.
@@ -20974,12 +20932,7 @@ class Client extends openapi_core_1.default {
20974
20932
  reqBodyType: "formData",
20975
20933
  bodyType: "json",
20976
20934
  });
20977
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20978
- return $dara.cast(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
20979
- }
20980
- else {
20981
- return $dara.cast(await this.execute(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
20982
- }
20935
+ return $dara.cast(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
20983
20936
  }
20984
20937
  /**
20985
20938
  * Disables one or more rules in an account group. After a rule is disabled, the resource in the rule is no longer evaluated. The compliance evaluation results before the rule is disabled are still displayed.
@@ -21033,12 +20986,7 @@ class Client extends openapi_core_1.default {
21033
20986
  reqBodyType: "formData",
21034
20987
  bodyType: "json",
21035
20988
  });
21036
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21037
- return $dara.cast(await this.callApi(params, req, runtime), new DeactiveConfigRulesResponse({}));
21038
- }
21039
- else {
21040
- return $dara.cast(await this.execute(params, req, runtime), new DeactiveConfigRulesResponse({}));
21041
- }
20989
+ return $dara.cast(await this.callApi(params, req, runtime), new DeactiveConfigRulesResponse({}));
21042
20990
  }
21043
20991
  /**
21044
20992
  * Disables a rule. After a rule is disabled, the resource in the rule is no longer evaluated. The compliance evaluation results before the rule is disabled are still displayed.
@@ -21095,12 +21043,7 @@ class Client extends openapi_core_1.default {
21095
21043
  reqBodyType: "formData",
21096
21044
  bodyType: "json",
21097
21045
  });
21098
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21099
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
21100
- }
21101
- else {
21102
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
21103
- }
21046
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
21104
21047
  }
21105
21048
  /**
21106
21049
  * Deletes the compliance packages of an account group.
@@ -21148,12 +21091,7 @@ class Client extends openapi_core_1.default {
21148
21091
  reqBodyType: "formData",
21149
21092
  bodyType: "json",
21150
21093
  });
21151
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21152
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
21153
- }
21154
- else {
21155
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
21156
- }
21094
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
21157
21095
  }
21158
21096
  /**
21159
21097
  * Deletes a delivery channel from an account group.
@@ -21201,12 +21139,7 @@ class Client extends openapi_core_1.default {
21201
21139
  reqBodyType: "formData",
21202
21140
  bodyType: "json",
21203
21141
  });
21204
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21205
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
21206
- }
21207
- else {
21208
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
21209
- }
21142
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
21210
21143
  }
21211
21144
  /**
21212
21145
  * Deletes one or more rules from an account group. You can delete a rule in the Cloud Config console. After you delete the rule, the configurations of the rule are deleted.
@@ -21254,12 +21187,7 @@ class Client extends openapi_core_1.default {
21254
21187
  reqBodyType: "formData",
21255
21188
  bodyType: "json",
21256
21189
  });
21257
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21258
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
21259
- }
21260
- else {
21261
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
21262
- }
21190
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
21263
21191
  }
21264
21192
  /**
21265
21193
  * Deletes one or more remediation templates from a rule in an account group.
@@ -21314,12 +21242,7 @@ class Client extends openapi_core_1.default {
21314
21242
  reqBodyType: "formData",
21315
21243
  bodyType: "json",
21316
21244
  });
21317
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21318
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
21319
- }
21320
- else {
21321
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregatorsResponse({}));
21322
- }
21245
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
21323
21246
  }
21324
21247
  /**
21325
21248
  * The management account or delegated administrator account of a resource directory can delete an account group.
@@ -21377,12 +21300,7 @@ class Client extends openapi_core_1.default {
21377
21300
  reqBodyType: "formData",
21378
21301
  bodyType: "json",
21379
21302
  });
21380
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21381
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
21382
- }
21383
- else {
21384
- return $dara.cast(await this.execute(params, req, runtime), new DeleteCompliancePacksResponse({}));
21385
- }
21303
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
21386
21304
  }
21387
21305
  /**
21388
21306
  * Deletes one or more compliance packages.
@@ -21427,12 +21345,7 @@ class Client extends openapi_core_1.default {
21427
21345
  reqBodyType: "formData",
21428
21346
  bodyType: "json",
21429
21347
  });
21430
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21431
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
21432
- }
21433
- else {
21434
- return $dara.cast(await this.execute(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
21435
- }
21348
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
21436
21349
  }
21437
21350
  /**
21438
21351
  * Deletes a delivery channel.
@@ -21477,12 +21390,7 @@ class Client extends openapi_core_1.default {
21477
21390
  reqBodyType: "formData",
21478
21391
  bodyType: "json",
21479
21392
  });
21480
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21481
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
21482
- }
21483
- else {
21484
- return $dara.cast(await this.execute(params, req, runtime), new DeleteConfigRulesResponse({}));
21485
- }
21393
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
21486
21394
  }
21487
21395
  /**
21488
21396
  * Deletes rules.
@@ -21527,12 +21435,7 @@ class Client extends openapi_core_1.default {
21527
21435
  reqBodyType: "formData",
21528
21436
  bodyType: "json",
21529
21437
  });
21530
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21531
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
21532
- }
21533
- else {
21534
- return $dara.cast(await this.execute(params, req, runtime), new DeleteRemediationsResponse({}));
21535
- }
21438
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
21536
21439
  }
21537
21440
  /**
21538
21441
  * Deletes one or more configured remediation templates that are associated with a rule.
@@ -21571,12 +21474,7 @@ class Client extends openapi_core_1.default {
21571
21474
  reqBodyType: "formData",
21572
21475
  bodyType: "json",
21573
21476
  });
21574
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21575
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeRemediationResponse({}));
21576
- }
21577
- else {
21578
- return $dara.cast(await this.execute(params, req, runtime), new DescribeRemediationResponse({}));
21579
- }
21477
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeRemediationResponse({}));
21580
21478
  }
21581
21479
  /**
21582
21480
  * This topic provides an example on how to query the details of a remediation configuration whose ID is crr-f381cf0c1c2f004e\\*\\*\\*\\*.
@@ -21627,12 +21525,7 @@ class Client extends openapi_core_1.default {
21627
21525
  reqBodyType: "formData",
21628
21526
  bodyType: "json",
21629
21527
  });
21630
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21631
- return $dara.cast(await this.callApi(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
21632
- }
21633
- else {
21634
- return $dara.cast(await this.execute(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
21635
- }
21528
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
21636
21529
  }
21637
21530
  /**
21638
21531
  * Removes one or more rules in an account group from a compliance package.
@@ -21686,12 +21579,7 @@ class Client extends openapi_core_1.default {
21686
21579
  reqBodyType: "formData",
21687
21580
  bodyType: "json",
21688
21581
  });
21689
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21690
- return $dara.cast(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
21691
- }
21692
- else {
21693
- return $dara.cast(await this.execute(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
21694
- }
21582
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
21695
21583
  }
21696
21584
  /**
21697
21585
  * Removes one or more rules from a compliance package.
@@ -21747,12 +21635,7 @@ class Client extends openapi_core_1.default {
21747
21635
  reqBodyType: "formData",
21748
21636
  bodyType: "json",
21749
21637
  });
21750
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21751
- return $dara.cast(await this.callApi(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
21752
- }
21753
- else {
21754
- return $dara.cast(await this.execute(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
21755
- }
21638
+ return $dara.cast(await this.callApi(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
21756
21639
  }
21757
21640
  /**
21758
21641
  * Executes evaluation rules to evaluate resources.
@@ -21801,12 +21684,7 @@ class Client extends openapi_core_1.default {
21801
21684
  reqBodyType: "formData",
21802
21685
  bodyType: "json",
21803
21686
  });
21804
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21805
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
21806
- }
21807
- else {
21808
- return $dara.cast(await this.execute(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
21809
- }
21687
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
21810
21688
  }
21811
21689
  /**
21812
21690
  * Generates a compliance evaluation report based on a compliance package in an account group.
@@ -21859,12 +21737,7 @@ class Client extends openapi_core_1.default {
21859
21737
  reqBodyType: "formData",
21860
21738
  bodyType: "json",
21861
21739
  });
21862
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21863
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
21864
- }
21865
- else {
21866
- return $dara.cast(await this.execute(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
21867
- }
21740
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
21868
21741
  }
21869
21742
  /**
21870
21743
  * Generates a compliance evaluation report for the rules in a specified account group.
@@ -21922,12 +21795,7 @@ class Client extends openapi_core_1.default {
21922
21795
  reqBodyType: "formData",
21923
21796
  bodyType: "json",
21924
21797
  });
21925
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21926
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
21927
- }
21928
- else {
21929
- return $dara.cast(await this.execute(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
21930
- }
21798
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
21931
21799
  }
21932
21800
  /**
21933
21801
  * Generates a downloadable inventory for global resources in an account group.
@@ -21976,12 +21844,7 @@ class Client extends openapi_core_1.default {
21976
21844
  reqBodyType: "formData",
21977
21845
  bodyType: "json",
21978
21846
  });
21979
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21980
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
21981
- }
21982
- else {
21983
- return $dara.cast(await this.execute(params, req, runtime), new GenerateCompliancePackReportResponse({}));
21984
- }
21847
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
21985
21848
  }
21986
21849
  /**
21987
21850
  * Generates a compliance evaluation report based on a compliance package.
@@ -22031,12 +21894,7 @@ class Client extends openapi_core_1.default {
22031
21894
  reqBodyType: "formData",
22032
21895
  bodyType: "json",
22033
21896
  });
22034
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22035
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateConfigRulesReportResponse({}));
22036
- }
22037
- else {
22038
- return $dara.cast(await this.execute(params, req, runtime), new GenerateConfigRulesReportResponse({}));
22039
- }
21897
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateConfigRulesReportResponse({}));
22040
21898
  }
22041
21899
  /**
22042
21900
  * Generates a compliance evaluation report for a rule.
@@ -22088,12 +21946,7 @@ class Client extends openapi_core_1.default {
22088
21946
  reqBodyType: "formData",
22089
21947
  bodyType: "json",
22090
21948
  });
22091
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22092
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
22093
- }
22094
- else {
22095
- return $dara.cast(await this.execute(params, req, runtime), new GenerateResourceInventoryResponse({}));
22096
- }
21949
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
22097
21950
  }
22098
21951
  /**
22099
21952
  * Generates a resource inventory for global resources.
@@ -22132,12 +21985,7 @@ class Client extends openapi_core_1.default {
22132
21985
  reqBodyType: "formData",
22133
21986
  bodyType: "json",
22134
21987
  });
22135
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22136
- return $dara.cast(await this.callApi(params, req, runtime), new GetAdvancedSearchFileResponse({}));
22137
- }
22138
- else {
22139
- return $dara.cast(await this.execute(params, req, runtime), new GetAdvancedSearchFileResponse({}));
22140
- }
21988
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAdvancedSearchFileResponse({}));
22141
21989
  }
22142
21990
  /**
22143
21991
  * Obtains the last resource advanced search file that is generated within the current account. You can call this operation to obtain the URL of the resource advanced search file.
@@ -22178,12 +22026,7 @@ class Client extends openapi_core_1.default {
22178
22026
  reqBodyType: "formData",
22179
22027
  bodyType: "json",
22180
22028
  });
22181
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22182
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
22183
- }
22184
- else {
22185
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
22186
- }
22029
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
22187
22030
  }
22188
22031
  /**
22189
22032
  * Queries the compliance evaluation results of member accounts for which a compliance package takes effect in an account group.
@@ -22225,12 +22068,7 @@ class Client extends openapi_core_1.default {
22225
22068
  reqBodyType: "formData",
22226
22069
  bodyType: "json",
22227
22070
  });
22228
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22229
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
22230
- }
22231
- else {
22232
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
22233
- }
22071
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
22234
22072
  }
22235
22073
  /**
22236
22074
  * Queries the most recently generated resource file of an account group.
@@ -22274,12 +22112,7 @@ class Client extends openapi_core_1.default {
22274
22112
  reqBodyType: "formData",
22275
22113
  bodyType: "json",
22276
22114
  });
22277
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22278
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackResponse({}));
22279
- }
22280
- else {
22281
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateCompliancePackResponse({}));
22282
- }
22115
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackResponse({}));
22283
22116
  }
22284
22117
  /**
22285
22118
  * Queries the details of a compliance package in an account group.
@@ -22322,12 +22155,7 @@ class Client extends openapi_core_1.default {
22322
22155
  reqBodyType: "formData",
22323
22156
  bodyType: "json",
22324
22157
  });
22325
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22326
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
22327
- }
22328
- else {
22329
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
22330
- }
22158
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
22331
22159
  }
22332
22160
  /**
22333
22161
  * Queries the compliance evaluation report that is generated based on a compliance package of an account group.
@@ -22373,12 +22201,7 @@ class Client extends openapi_core_1.default {
22373
22201
  reqBodyType: "formData",
22374
22202
  bodyType: "json",
22375
22203
  });
22376
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22377
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
22378
- }
22379
- else {
22380
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
22381
- }
22204
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
22382
22205
  }
22383
22206
  /**
22384
22207
  * Queries the compliance statistics of an account group.
@@ -22423,12 +22246,7 @@ class Client extends openapi_core_1.default {
22423
22246
  reqBodyType: "formData",
22424
22247
  bodyType: "json",
22425
22248
  });
22426
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22427
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
22428
- }
22429
- else {
22430
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
22431
- }
22249
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
22432
22250
  }
22433
22251
  /**
22434
22252
  * Queries the information about a delivery channel in an account group.
@@ -22481,12 +22299,7 @@ class Client extends openapi_core_1.default {
22481
22299
  reqBodyType: "formData",
22482
22300
  bodyType: "json",
22483
22301
  });
22484
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22485
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleResponse({}));
22486
- }
22487
- else {
22488
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRuleResponse({}));
22489
- }
22302
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleResponse({}));
22490
22303
  }
22491
22304
  /**
22492
22305
  * Queries the details of a rule in an account group.
@@ -22528,12 +22341,7 @@ class Client extends openapi_core_1.default {
22528
22341
  reqBodyType: "formData",
22529
22342
  bodyType: "json",
22530
22343
  });
22531
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22532
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
22533
- }
22534
- else {
22535
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
22536
- }
22344
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
22537
22345
  }
22538
22346
  /**
22539
22347
  * Queries compliance evaluation results based on the rules in a compliance package in an account group.
@@ -22578,12 +22386,7 @@ class Client extends openapi_core_1.default {
22578
22386
  reqBodyType: "formData",
22579
22387
  bodyType: "json",
22580
22388
  });
22581
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22582
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
22583
- }
22584
- else {
22585
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
22586
- }
22389
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
22587
22390
  }
22588
22391
  /**
22589
22392
  * Queries the summary of compliance evaluation results by rule risk level in an account group.
@@ -22632,12 +22435,7 @@ class Client extends openapi_core_1.default {
22632
22435
  reqBodyType: "formData",
22633
22436
  bodyType: "json",
22634
22437
  });
22635
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22636
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
22637
- }
22638
- else {
22639
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
22640
- }
22438
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
22641
22439
  }
22642
22440
  /**
22643
22441
  * Downloads the compliance evaluation report in the Excel format to your on-premises machine. This allows you to assign tasks and modify incompliant resource configurations.
@@ -22701,12 +22499,7 @@ class Client extends openapi_core_1.default {
22701
22499
  reqBodyType: "formData",
22702
22500
  bodyType: "json",
22703
22501
  });
22704
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22705
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
22706
- }
22707
- else {
22708
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
22709
- }
22502
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
22710
22503
  }
22711
22504
  /**
22712
22505
  * Queries the details of a specific resource in an account group.
@@ -22763,12 +22556,7 @@ class Client extends openapi_core_1.default {
22763
22556
  reqBodyType: "formData",
22764
22557
  bodyType: "json",
22765
22558
  });
22766
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22767
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
22768
- }
22769
- else {
22770
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
22771
- }
22559
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
22772
22560
  }
22773
22561
  /**
22774
22562
  * Queries compliance evaluation results based on the rules in a compliance package in an account group.
@@ -22810,12 +22598,7 @@ class Client extends openapi_core_1.default {
22810
22598
  reqBodyType: "formData",
22811
22599
  bodyType: "json",
22812
22600
  });
22813
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22814
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
22815
- }
22816
- else {
22817
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
22818
- }
22601
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
22819
22602
  }
22820
22603
  /**
22821
22604
  * Queries the compliance evaluation results of resources evaluated based on a compliance package of an account group.
@@ -22860,12 +22643,7 @@ class Client extends openapi_core_1.default {
22860
22643
  reqBodyType: "formData",
22861
22644
  bodyType: "json",
22862
22645
  });
22863
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22864
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
22865
- }
22866
- else {
22867
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
22868
- }
22646
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
22869
22647
  }
22870
22648
  /**
22871
22649
  * Queries the evaluation results grouped by resource type for an account group rule.
@@ -22907,12 +22685,7 @@ class Client extends openapi_core_1.default {
22907
22685
  reqBodyType: "formData",
22908
22686
  bodyType: "json",
22909
22687
  });
22910
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22911
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
22912
- }
22913
- else {
22914
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
22915
- }
22688
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
22916
22689
  }
22917
22690
  /**
22918
22691
  * Queries the evaluation results grouped by resource type for an account group rule.
@@ -22951,12 +22724,7 @@ class Client extends openapi_core_1.default {
22951
22724
  reqBodyType: "formData",
22952
22725
  bodyType: "json",
22953
22726
  });
22954
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22955
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
22956
- }
22957
- else {
22958
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
22959
- }
22727
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
22960
22728
  }
22961
22729
  /**
22962
22730
  * Queries the compliance timeline of a resource in an account group.
@@ -22998,12 +22766,7 @@ class Client extends openapi_core_1.default {
22998
22766
  reqBodyType: "formData",
22999
22767
  bodyType: "json",
23000
22768
  });
23001
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23002
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
23003
- }
23004
- else {
23005
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
23006
- }
22769
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
23007
22770
  }
23008
22771
  /**
23009
22772
  * Queries the configuration timeline of a resource in an account group.
@@ -23060,12 +22823,7 @@ class Client extends openapi_core_1.default {
23060
22823
  reqBodyType: "formData",
23061
22824
  bodyType: "json",
23062
22825
  });
23063
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23064
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
23065
- }
23066
- else {
23067
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
23068
- }
22826
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
23069
22827
  }
23070
22828
  /**
23071
22829
  * Queries the statistics on the resources in an account group by region.
@@ -23122,12 +22880,7 @@ class Client extends openapi_core_1.default {
23122
22880
  reqBodyType: "formData",
23123
22881
  bodyType: "json",
23124
22882
  });
23125
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23126
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
23127
- }
23128
- else {
23129
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
23130
- }
22883
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
23131
22884
  }
23132
22885
  /**
23133
22886
  * Queries the statistics on the resources in an account group by resource type.
@@ -23175,12 +22928,7 @@ class Client extends openapi_core_1.default {
23175
22928
  reqBodyType: "formData",
23176
22929
  bodyType: "json",
23177
22930
  });
23178
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23179
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
23180
- }
23181
- else {
23182
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
23183
- }
22931
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
23184
22932
  }
23185
22933
  /**
23186
22934
  * Obtains the last resource inventory that is generated on the Global Resources page within the current account group.
@@ -23236,12 +22984,7 @@ class Client extends openapi_core_1.default {
23236
22984
  reqBodyType: "formData",
23237
22985
  bodyType: "json",
23238
22986
  });
23239
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23240
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregatorResponse({}));
23241
- }
23242
- else {
23243
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregatorResponse({}));
23244
- }
22987
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregatorResponse({}));
23245
22988
  }
23246
22989
  /**
23247
22990
  * Queries the details of an account group. You can query the name, creation time, member, and type of an account group.
@@ -23288,12 +23031,7 @@ class Client extends openapi_core_1.default {
23288
23031
  reqBodyType: "formData",
23289
23032
  bodyType: "json",
23290
23033
  });
23291
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23292
- return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackResponse({}));
23293
- }
23294
- else {
23295
- return $dara.cast(await this.execute(params, req, runtime), new GetCompliancePackResponse({}));
23296
- }
23034
+ return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackResponse({}));
23297
23035
  }
23298
23036
  /**
23299
23037
  * Queries the details of a compliance package.
@@ -23336,12 +23074,7 @@ class Client extends openapi_core_1.default {
23336
23074
  reqBodyType: "formData",
23337
23075
  bodyType: "json",
23338
23076
  });
23339
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23340
- return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
23341
- }
23342
- else {
23343
- return $dara.cast(await this.execute(params, req, runtime), new GetCompliancePackReportResponse({}));
23344
- }
23077
+ return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
23345
23078
  }
23346
23079
  /**
23347
23080
  * Queries the compliance evaluation report that is generated based on a compliance package.
@@ -23380,12 +23113,7 @@ class Client extends openapi_core_1.default {
23380
23113
  reqBodyType: "formData",
23381
23114
  bodyType: "json",
23382
23115
  });
23383
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23384
- return $dara.cast(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
23385
- }
23386
- else {
23387
- return $dara.cast(await this.execute(params, req, runtime), new GetComplianceSummaryResponse({}));
23388
- }
23116
+ return $dara.cast(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
23389
23117
  }
23390
23118
  /**
23391
23119
  * Queries the summary of compliance statistics within the current account.
@@ -23425,12 +23153,7 @@ class Client extends openapi_core_1.default {
23425
23153
  reqBodyType: "formData",
23426
23154
  bodyType: "json",
23427
23155
  });
23428
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23429
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
23430
- }
23431
- else {
23432
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
23433
- }
23156
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
23434
23157
  }
23435
23158
  /**
23436
23159
  * Queries the information about a delivery channel.
@@ -23480,12 +23203,7 @@ class Client extends openapi_core_1.default {
23480
23203
  reqBodyType: "formData",
23481
23204
  bodyType: "json",
23482
23205
  });
23483
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23484
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
23485
- }
23486
- else {
23487
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRuleResponse({}));
23488
- }
23206
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
23489
23207
  }
23490
23208
  /**
23491
23209
  * Queries the details of a rule.
@@ -23527,12 +23245,7 @@ class Client extends openapi_core_1.default {
23527
23245
  reqBodyType: "formData",
23528
23246
  bodyType: "json",
23529
23247
  });
23530
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23531
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
23532
- }
23533
- else {
23534
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
23535
- }
23248
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
23536
23249
  }
23537
23250
  /**
23538
23251
  * Queries compliance evaluation results based on the rules in a compliance package.
@@ -23570,12 +23283,7 @@ class Client extends openapi_core_1.default {
23570
23283
  reqBodyType: "formData",
23571
23284
  bodyType: "json",
23572
23285
  });
23573
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23574
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
23575
- }
23576
- else {
23577
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
23578
- }
23286
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
23579
23287
  }
23580
23288
  /**
23581
23289
  * Queries the compliance summary based on the risk level of a rule.
@@ -23619,12 +23327,7 @@ class Client extends openapi_core_1.default {
23619
23327
  reqBodyType: "formData",
23620
23328
  bodyType: "json",
23621
23329
  });
23622
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23623
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRulesReportResponse({}));
23624
- }
23625
- else {
23626
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRulesReportResponse({}));
23627
- }
23330
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRulesReportResponse({}));
23628
23331
  }
23629
23332
  /**
23630
23333
  * Downloads the compliance evaluation report in the Excel format to your on-premises machine. This allows you to assign tasks and modify incompliant resource configurations.
@@ -23663,12 +23366,7 @@ class Client extends openapi_core_1.default {
23663
23366
  reqBodyType: "formData",
23664
23367
  bodyType: "json",
23665
23368
  });
23666
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23667
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
23668
- }
23669
- else {
23670
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigurationRecorderResponse({}));
23671
- }
23369
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
23672
23370
  }
23673
23371
  /**
23674
23372
  * Queries the activation status and resource monitoring scope of Cloud Config for the current account.
@@ -23720,12 +23418,7 @@ class Client extends openapi_core_1.default {
23720
23418
  reqBodyType: "formData",
23721
23419
  bodyType: "json",
23722
23420
  });
23723
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23724
- return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceResponse({}));
23725
- }
23726
- else {
23727
- return $dara.cast(await this.execute(params, req, runtime), new GetDiscoveredResourceResponse({}));
23728
- }
23421
+ return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceResponse({}));
23729
23422
  }
23730
23423
  /**
23731
23424
  * Queries the details of a specific resource.
@@ -23770,12 +23463,7 @@ class Client extends openapi_core_1.default {
23770
23463
  reqBodyType: "formData",
23771
23464
  bodyType: "json",
23772
23465
  });
23773
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23774
- return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
23775
- }
23776
- else {
23777
- return $dara.cast(await this.execute(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
23778
- }
23466
+ return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
23779
23467
  }
23780
23468
  /**
23781
23469
  * Queries the statistics on resources by region.
@@ -23820,12 +23508,7 @@ class Client extends openapi_core_1.default {
23820
23508
  reqBodyType: "formData",
23821
23509
  bodyType: "json",
23822
23510
  });
23823
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23824
- return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
23825
- }
23826
- else {
23827
- return $dara.cast(await this.execute(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
23828
- }
23511
+ return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
23829
23512
  }
23830
23513
  /**
23831
23514
  * Queries the statistics on resources by resource type.
@@ -23867,12 +23550,7 @@ class Client extends openapi_core_1.default {
23867
23550
  reqBodyType: "formData",
23868
23551
  bodyType: "json",
23869
23552
  });
23870
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23871
- return $dara.cast(await this.callApi(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
23872
- }
23873
- else {
23874
- return $dara.cast(await this.execute(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
23875
- }
23553
+ return $dara.cast(await this.callApi(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
23876
23554
  }
23877
23555
  /**
23878
23556
  * Queries the integration status of a specific cloud service.
@@ -23914,12 +23592,7 @@ class Client extends openapi_core_1.default {
23914
23592
  reqBodyType: "formData",
23915
23593
  bodyType: "json",
23916
23594
  });
23917
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23918
- return $dara.cast(await this.callApi(params, req, runtime), new GetManagedRuleResponse({}));
23919
- }
23920
- else {
23921
- return $dara.cast(await this.execute(params, req, runtime), new GetManagedRuleResponse({}));
23922
- }
23595
+ return $dara.cast(await this.callApi(params, req, runtime), new GetManagedRuleResponse({}));
23923
23596
  }
23924
23597
  /**
23925
23598
  * Queries the details of a specific managed rule.
@@ -23964,12 +23637,7 @@ class Client extends openapi_core_1.default {
23964
23637
  reqBodyType: "formData",
23965
23638
  bodyType: "json",
23966
23639
  });
23967
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23968
- return $dara.cast(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
23969
- }
23970
- else {
23971
- return $dara.cast(await this.execute(params, req, runtime), new GetRemediationTemplateResponse({}));
23972
- }
23640
+ return $dara.cast(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
23973
23641
  }
23974
23642
  /**
23975
23643
  * Queries the details of an automatic remediation template.
@@ -24011,12 +23679,7 @@ class Client extends openapi_core_1.default {
24011
23679
  reqBodyType: "formData",
24012
23680
  bodyType: "json",
24013
23681
  });
24014
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24015
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
24016
- }
24017
- else {
24018
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
24019
- }
23682
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
24020
23683
  }
24021
23684
  /**
24022
23685
  * Queries the compliance summary based on the compliance evaluation result of a rule.
@@ -24058,12 +23721,7 @@ class Client extends openapi_core_1.default {
24058
23721
  reqBodyType: "formData",
24059
23722
  bodyType: "json",
24060
23723
  });
24061
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24062
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
24063
- }
24064
- else {
24065
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceByPackResponse({}));
24066
- }
23724
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
24067
23725
  }
24068
23726
  /**
24069
23727
  * Queries the compliance evaluation results of resources evaluated based on a compliance package.
@@ -24105,12 +23763,7 @@ class Client extends openapi_core_1.default {
24105
23763
  reqBodyType: "formData",
24106
23764
  bodyType: "json",
24107
23765
  });
24108
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24109
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
24110
- }
24111
- else {
24112
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
24113
- }
23766
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
24114
23767
  }
24115
23768
  /**
24116
23769
  * Queries the evaluation results grouped by region for a rule.
@@ -24149,12 +23802,7 @@ class Client extends openapi_core_1.default {
24149
23802
  reqBodyType: "formData",
24150
23803
  bodyType: "json",
24151
23804
  });
24152
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24153
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
24154
- }
24155
- else {
24156
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
24157
- }
23805
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
24158
23806
  }
24159
23807
  /**
24160
23808
  * Queries the evaluation results grouped by resource type for a rule.
@@ -24194,12 +23842,7 @@ class Client extends openapi_core_1.default {
24194
23842
  reqBodyType: "formData",
24195
23843
  bodyType: "json",
24196
23844
  });
24197
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24198
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
24199
- }
24200
- else {
24201
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
24202
- }
23845
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
24203
23846
  }
24204
23847
  /**
24205
23848
  * Queries the compliance timeline of a resource. The compliance timeline of a resource indicates the compliance evaluation record of the resource. A compliance timeline includes points and the content on the compliance timeline.
@@ -24242,12 +23885,7 @@ class Client extends openapi_core_1.default {
24242
23885
  reqBodyType: "formData",
24243
23886
  bodyType: "json",
24244
23887
  });
24245
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24246
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
24247
- }
24248
- else {
24249
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
24250
- }
23888
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
24251
23889
  }
24252
23890
  /**
24253
23891
  * Queries the configuration timeline of a resource.
@@ -24288,12 +23926,7 @@ class Client extends openapi_core_1.default {
24288
23926
  reqBodyType: "formData",
24289
23927
  bodyType: "json",
24290
23928
  });
24291
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24292
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceInventoryResponse({}));
24293
- }
24294
- else {
24295
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceInventoryResponse({}));
24296
- }
23929
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceInventoryResponse({}));
24297
23930
  }
24298
23931
  /**
24299
23932
  * Obtains the last resource inventory that is generated within the current Alibaba Cloud account.
@@ -24339,12 +23972,7 @@ class Client extends openapi_core_1.default {
24339
23972
  reqBodyType: "formData",
24340
23973
  bodyType: "json",
24341
23974
  });
24342
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24343
- return $dara.cast(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
24344
- }
24345
- else {
24346
- return $dara.cast(await this.execute(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
24347
- }
23975
+ return $dara.cast(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
24348
23976
  }
24349
23977
  /**
24350
23978
  * Queries the resource relationships supported by a resource type.
@@ -24407,12 +24035,7 @@ class Client extends openapi_core_1.default {
24407
24035
  reqBodyType: "formData",
24408
24036
  bodyType: "json",
24409
24037
  });
24410
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24411
- return $dara.cast(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
24412
- }
24413
- else {
24414
- return $dara.cast(await this.execute(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
24415
- }
24038
+ return $dara.cast(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
24416
24039
  }
24417
24040
  /**
24418
24041
  * Ignores the evaluation results of some resources in an account group based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.
@@ -24473,12 +24096,7 @@ class Client extends openapi_core_1.default {
24473
24096
  reqBodyType: "formData",
24474
24097
  bodyType: "json",
24475
24098
  });
24476
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24477
- return $dara.cast(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
24478
- }
24479
- else {
24480
- return $dara.cast(await this.execute(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
24481
- }
24099
+ return $dara.cast(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
24482
24100
  }
24483
24101
  /**
24484
24102
  * Ignores the evaluation results of some resources based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.
@@ -24541,12 +24159,7 @@ class Client extends openapi_core_1.default {
24541
24159
  reqBodyType: "formData",
24542
24160
  bodyType: "json",
24543
24161
  });
24544
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24545
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
24546
- }
24547
- else {
24548
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
24549
- }
24162
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
24550
24163
  }
24551
24164
  /**
24552
24165
  * Queries a list of compliance packages in an account group.
@@ -24591,12 +24204,7 @@ class Client extends openapi_core_1.default {
24591
24204
  reqBodyType: "formData",
24592
24205
  bodyType: "json",
24593
24206
  });
24594
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24595
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
24596
- }
24597
- else {
24598
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
24599
- }
24207
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
24600
24208
  }
24601
24209
  /**
24602
24210
  * Queries the information about all delivery channels in an account group.
@@ -24668,12 +24276,7 @@ class Client extends openapi_core_1.default {
24668
24276
  reqBodyType: "formData",
24669
24277
  bodyType: "json",
24670
24278
  });
24671
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24672
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
24673
- }
24674
- else {
24675
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
24676
- }
24279
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
24677
24280
  }
24678
24281
  /**
24679
24282
  * Queries the compliance evaluation results of resources based on a rule in an account group.
@@ -24718,12 +24321,7 @@ class Client extends openapi_core_1.default {
24718
24321
  reqBodyType: "formData",
24719
24322
  bodyType: "json",
24720
24323
  });
24721
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24722
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
24723
- }
24724
- else {
24725
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
24726
- }
24324
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
24727
24325
  }
24728
24326
  /**
24729
24327
  * Queries the statistics of compliance evaluation results of an account group.
@@ -24803,12 +24401,7 @@ class Client extends openapi_core_1.default {
24803
24401
  reqBodyType: "formData",
24804
24402
  bodyType: "json",
24805
24403
  });
24806
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24807
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
24808
- }
24809
- else {
24810
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigRulesResponse({}));
24811
- }
24404
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
24812
24405
  }
24813
24406
  /**
24814
24407
  * Queries a list of rules in an account group.
@@ -24886,12 +24479,7 @@ class Client extends openapi_core_1.default {
24886
24479
  reqBodyType: "formData",
24887
24480
  bodyType: "json",
24888
24481
  });
24889
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24890
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
24891
- }
24892
- else {
24893
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
24894
- }
24482
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
24895
24483
  }
24896
24484
  /**
24897
24485
  * Obtains a list of resources aggregated across regions within all member accounts of a specific account group.
@@ -24951,12 +24539,7 @@ class Client extends openapi_core_1.default {
24951
24539
  reqBodyType: "formData",
24952
24540
  bodyType: "json",
24953
24541
  });
24954
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24955
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
24956
- }
24957
- else {
24958
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
24959
- }
24542
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
24960
24543
  }
24961
24544
  /**
24962
24545
  * Queries the remediation records of a rule in an account group.
@@ -25004,12 +24587,7 @@ class Client extends openapi_core_1.default {
25004
24587
  reqBodyType: "formData",
25005
24588
  bodyType: "json",
25006
24589
  });
25007
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25008
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
25009
- }
25010
- else {
25011
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateRemediationsResponse({}));
25012
- }
24590
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
25013
24591
  }
25014
24592
  /**
25015
24593
  * Queries a list of remediation templates for a rule in an account group.
@@ -25072,12 +24650,7 @@ class Client extends openapi_core_1.default {
25072
24650
  reqBodyType: "formData",
25073
24651
  bodyType: "json",
25074
24652
  });
25075
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25076
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
25077
- }
25078
- else {
25079
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
25080
- }
24653
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
25081
24654
  }
25082
24655
  /**
25083
24656
  * Queries the compliance evaluation results of resources in an account group.
@@ -25149,12 +24722,7 @@ class Client extends openapi_core_1.default {
25149
24722
  reqBodyType: "formData",
25150
24723
  bodyType: "json",
25151
24724
  });
25152
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25153
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
25154
- }
25155
- else {
25156
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
25157
- }
24725
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
25158
24726
  }
25159
24727
  /**
25160
24728
  * Queries a list of the resources of a specific resource in an account group.
@@ -25206,12 +24774,7 @@ class Client extends openapi_core_1.default {
25206
24774
  reqBodyType: "formData",
25207
24775
  bodyType: "json",
25208
24776
  });
25209
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25210
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
25211
- }
25212
- else {
25213
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
25214
- }
24777
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
25215
24778
  }
25216
24779
  /**
25217
24780
  * Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
@@ -25271,12 +24834,7 @@ class Client extends openapi_core_1.default {
25271
24834
  reqBodyType: "formData",
25272
24835
  bodyType: "json",
25273
24836
  });
25274
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25275
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
25276
- }
25277
- else {
25278
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregatorsResponse({}));
25279
- }
24837
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
25280
24838
  }
25281
24839
  /**
25282
24840
  * Queries all account groups within the current management account or delegated administrator account.
@@ -25330,12 +24888,7 @@ class Client extends openapi_core_1.default {
25330
24888
  reqBodyType: "formData",
25331
24889
  bodyType: "json",
25332
24890
  });
25333
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25334
- return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
25335
- }
25336
- else {
25337
- return $dara.cast(await this.execute(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
25338
- }
24891
+ return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
25339
24892
  }
25340
24893
  /**
25341
24894
  * Queries all compliance package templates provided by Cloud Config and the details of the compliance package templates.
@@ -25394,12 +24947,7 @@ class Client extends openapi_core_1.default {
25394
24947
  reqBodyType: "formData",
25395
24948
  bodyType: "json",
25396
24949
  });
25397
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25398
- return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePacksResponse({}));
25399
- }
25400
- else {
25401
- return $dara.cast(await this.execute(params, req, runtime), new ListCompliancePacksResponse({}));
25402
- }
24950
+ return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePacksResponse({}));
25403
24951
  }
25404
24952
  /**
25405
24953
  * Queries a list of compliance packages.
@@ -25441,12 +24989,7 @@ class Client extends openapi_core_1.default {
25441
24989
  reqBodyType: "formData",
25442
24990
  bodyType: "json",
25443
24991
  });
25444
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25445
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
25446
- }
25447
- else {
25448
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
25449
- }
24992
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
25450
24993
  }
25451
24994
  /**
25452
24995
  * Queries a list of delivery channels.
@@ -25485,12 +25028,7 @@ class Client extends openapi_core_1.default {
25485
25028
  reqBodyType: "formData",
25486
25029
  bodyType: "json",
25487
25030
  });
25488
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25489
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
25490
- }
25491
- else {
25492
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
25493
- }
25031
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
25494
25032
  }
25495
25033
  /**
25496
25034
  * Queries the compliance evaluation results of resources based on a rule.
@@ -25525,12 +25063,7 @@ class Client extends openapi_core_1.default {
25525
25063
  reqBodyType: "formData",
25526
25064
  bodyType: "json",
25527
25065
  });
25528
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25529
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
25530
- }
25531
- else {
25532
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
25533
- }
25066
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
25534
25067
  }
25535
25068
  /**
25536
25069
  * Queries the statistics of compliance evaluation results of the current Alibaba Cloud account.
@@ -25602,12 +25135,7 @@ class Client extends openapi_core_1.default {
25602
25135
  reqBodyType: "formData",
25603
25136
  bodyType: "json",
25604
25137
  });
25605
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25606
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRulesResponse({}));
25607
- }
25608
- else {
25609
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigRulesResponse({}));
25610
- }
25138
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRulesResponse({}));
25611
25139
  }
25612
25140
  /**
25613
25141
  * Queries the rules of the current account.
@@ -25676,12 +25204,7 @@ class Client extends openapi_core_1.default {
25676
25204
  reqBodyType: "formData",
25677
25205
  bodyType: "json",
25678
25206
  });
25679
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25680
- return $dara.cast(await this.callApi(params, req, runtime), new ListDiscoveredResourcesResponse({}));
25681
- }
25682
- else {
25683
- return $dara.cast(await this.execute(params, req, runtime), new ListDiscoveredResourcesResponse({}));
25684
- }
25207
+ return $dara.cast(await this.callApi(params, req, runtime), new ListDiscoveredResourcesResponse({}));
25685
25208
  }
25686
25209
  /**
25687
25210
  * Obtains a list of resources aggregated across regions within an Alibaba Cloud account.
@@ -25719,12 +25242,7 @@ class Client extends openapi_core_1.default {
25719
25242
  reqBodyType: "formData",
25720
25243
  bodyType: "json",
25721
25244
  });
25722
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25723
- return $dara.cast(await this.callApi(params, req, runtime), new ListIntegratedServiceResponse({}));
25724
- }
25725
- else {
25726
- return $dara.cast(await this.execute(params, req, runtime), new ListIntegratedServiceResponse({}));
25727
- }
25245
+ return $dara.cast(await this.callApi(params, req, runtime), new ListIntegratedServiceResponse({}));
25728
25246
  }
25729
25247
  /**
25730
25248
  * Queries a list of cloud services that are integrated with Cloud Config and the status of each cloud service.
@@ -25753,6 +25271,9 @@ class Client extends openapi_core_1.default {
25753
25271
  async listManagedRulesWithOptions(request, runtime) {
25754
25272
  request.validate();
25755
25273
  let query = {};
25274
+ if (!$dara.isNull(request.filterType)) {
25275
+ query["FilterType"] = request.filterType;
25276
+ }
25756
25277
  if (!$dara.isNull(request.keyword)) {
25757
25278
  query["Keyword"] = request.keyword;
25758
25279
  }
@@ -25782,12 +25303,7 @@ class Client extends openapi_core_1.default {
25782
25303
  reqBodyType: "formData",
25783
25304
  bodyType: "json",
25784
25305
  });
25785
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25786
- return $dara.cast(await this.callApi(params, req, runtime), new ListManagedRulesResponse({}));
25787
- }
25788
- else {
25789
- return $dara.cast(await this.execute(params, req, runtime), new ListManagedRulesResponse({}));
25790
- }
25306
+ return $dara.cast(await this.callApi(params, req, runtime), new ListManagedRulesResponse({}));
25791
25307
  }
25792
25308
  /**
25793
25309
  * Queries a list of managed rules supported by Cloud Config.
@@ -25847,12 +25363,7 @@ class Client extends openapi_core_1.default {
25847
25363
  reqBodyType: "formData",
25848
25364
  bodyType: "json",
25849
25365
  });
25850
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25851
- return $dara.cast(await this.callApi(params, req, runtime), new ListPreManagedRulesResponse({}));
25852
- }
25853
- else {
25854
- return $dara.cast(await this.execute(params, req, runtime), new ListPreManagedRulesResponse({}));
25855
- }
25366
+ return $dara.cast(await this.callApi(params, req, runtime), new ListPreManagedRulesResponse({}));
25856
25367
  }
25857
25368
  /**
25858
25369
  * Queries a list of evaluation rules supported by Cloud Config.
@@ -25907,12 +25418,7 @@ class Client extends openapi_core_1.default {
25907
25418
  reqBodyType: "formData",
25908
25419
  bodyType: "json",
25909
25420
  });
25910
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25911
- return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
25912
- }
25913
- else {
25914
- return $dara.cast(await this.execute(params, req, runtime), new ListRemediationExecutionsResponse({}));
25915
- }
25421
+ return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
25916
25422
  }
25917
25423
  /**
25918
25424
  * Queries the remediation records of a rule.
@@ -25966,12 +25472,7 @@ class Client extends openapi_core_1.default {
25966
25472
  reqBodyType: "formData",
25967
25473
  bodyType: "json",
25968
25474
  });
25969
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25970
- return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationTemplatesResponse({}));
25971
- }
25972
- else {
25973
- return $dara.cast(await this.execute(params, req, runtime), new ListRemediationTemplatesResponse({}));
25974
- }
25475
+ return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationTemplatesResponse({}));
25975
25476
  }
25976
25477
  /**
25977
25478
  * Queries a list of remediation templates for a managed rule.
@@ -26022,12 +25523,7 @@ class Client extends openapi_core_1.default {
26022
25523
  reqBodyType: "formData",
26023
25524
  bodyType: "json",
26024
25525
  });
26025
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26026
- return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
26027
- }
26028
- else {
26029
- return $dara.cast(await this.execute(params, req, runtime), new ListRemediationsResponse({}));
26030
- }
25526
+ return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
26031
25527
  }
26032
25528
  /**
26033
25529
  * Queries the information about the execution of remediation templates.
@@ -26087,12 +25583,7 @@ class Client extends openapi_core_1.default {
26087
25583
  reqBodyType: "formData",
26088
25584
  bodyType: "json",
26089
25585
  });
26090
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26091
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
26092
- }
26093
- else {
26094
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
26095
- }
25586
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
26096
25587
  }
26097
25588
  /**
26098
25589
  * Queries the compliance evaluation results of resources.
@@ -26159,12 +25650,7 @@ class Client extends openapi_core_1.default {
26159
25650
  reqBodyType: "formData",
26160
25651
  bodyType: "json",
26161
25652
  });
26162
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26163
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
26164
- }
26165
- else {
26166
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceRelationsResponse({}));
26167
- }
25653
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
26168
25654
  }
26169
25655
  /**
26170
25656
  * Queries a list of resources that associate with a specific resource.
@@ -26214,12 +25700,7 @@ class Client extends openapi_core_1.default {
26214
25700
  reqBodyType: "formData",
26215
25701
  bodyType: "json",
26216
25702
  });
26217
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26218
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
26219
- }
26220
- else {
26221
- return $dara.cast(await this.execute(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
26222
- }
25703
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
26223
25704
  }
26224
25705
  /**
26225
25706
  * Obtains resources based on the fields in the resource properties by using a SELECT statement.
@@ -26271,12 +25752,7 @@ class Client extends openapi_core_1.default {
26271
25752
  reqBodyType: "formData",
26272
25753
  bodyType: "json",
26273
25754
  });
26274
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26275
- return $dara.cast(await this.callApi(params, req, runtime), new ListSupportedProductsResponse({}));
26276
- }
26277
- else {
26278
- return $dara.cast(await this.execute(params, req, runtime), new ListSupportedProductsResponse({}));
26279
- }
25755
+ return $dara.cast(await this.callApi(params, req, runtime), new ListSupportedProductsResponse({}));
26280
25756
  }
26281
25757
  /**
26282
25758
  * Queries the cloud services and resource types that are supported by Cloud Config.
@@ -26335,12 +25811,7 @@ class Client extends openapi_core_1.default {
26335
25811
  reqBodyType: "formData",
26336
25812
  bodyType: "json",
26337
25813
  });
26338
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26339
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
26340
- }
26341
- else {
26342
- return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
26343
- }
25814
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
26344
25815
  }
26345
25816
  /**
26346
25817
  * Queries tags that are added to specified resources.
@@ -26388,12 +25859,7 @@ class Client extends openapi_core_1.default {
26388
25859
  reqBodyType: "formData",
26389
25860
  bodyType: "json",
26390
25861
  });
26391
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26392
- return $dara.cast(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
26393
- }
26394
- else {
26395
- return $dara.cast(await this.execute(params, req, runtime), new PutEvaluationsResponse({}));
26396
- }
25862
+ return $dara.cast(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
26397
25863
  }
26398
25864
  /**
26399
25865
  * Submits the evaluation results of a rule from Function Compute.
@@ -26452,12 +25918,7 @@ class Client extends openapi_core_1.default {
26452
25918
  reqBodyType: "formData",
26453
25919
  bodyType: "json",
26454
25920
  });
26455
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26456
- return $dara.cast(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
26457
- }
26458
- else {
26459
- return $dara.cast(await this.execute(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
26460
- }
25921
+ return $dara.cast(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
26461
25922
  }
26462
25923
  /**
26463
25924
  * Re-evaluates resources that are evaluated based on a rule after the evaluation results on some resources of an ignored rule in an account group are resumed.
@@ -26516,12 +25977,7 @@ class Client extends openapi_core_1.default {
26516
25977
  reqBodyType: "formData",
26517
25978
  bodyType: "json",
26518
25979
  });
26519
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26520
- return $dara.cast(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
26521
- }
26522
- else {
26523
- return $dara.cast(await this.execute(params, req, runtime), new RevertEvaluationResultsResponse({}));
26524
- }
25980
+ return $dara.cast(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
26525
25981
  }
26526
25982
  /**
26527
25983
  * Re-evaluates resources that are evaluated based on a rule after the evaluation results on some resources of an ignored rule are resumed.
@@ -26579,12 +26035,7 @@ class Client extends openapi_core_1.default {
26579
26035
  reqBodyType: "formData",
26580
26036
  bodyType: "json",
26581
26037
  });
26582
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26583
- return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
26584
- }
26585
- else {
26586
- return $dara.cast(await this.execute(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
26587
- }
26038
+ return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
26588
26039
  }
26589
26040
  /**
26590
26041
  * Re-evaluates the compliance of resources based on a rule or based on all rules in a compliance package in a specific account group.
@@ -26636,12 +26087,7 @@ class Client extends openapi_core_1.default {
26636
26087
  reqBodyType: "formData",
26637
26088
  bodyType: "json",
26638
26089
  });
26639
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26640
- return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
26641
- }
26642
- else {
26643
- return $dara.cast(await this.execute(params, req, runtime), new StartAggregateRemediationResponse({}));
26644
- }
26090
+ return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
26645
26091
  }
26646
26092
  /**
26647
26093
  * Performs a remediation operation by using a rule in an account group.
@@ -26692,12 +26138,7 @@ class Client extends openapi_core_1.default {
26692
26138
  reqBodyType: "formData",
26693
26139
  bodyType: "json",
26694
26140
  });
26695
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26696
- return $dara.cast(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
26697
- }
26698
- else {
26699
- return $dara.cast(await this.execute(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
26700
- }
26141
+ return $dara.cast(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
26701
26142
  }
26702
26143
  /**
26703
26144
  * Re-evaluates the compliance of resources based on a rule or based on all rules in a compliance package.
@@ -26735,12 +26176,7 @@ class Client extends openapi_core_1.default {
26735
26176
  reqBodyType: "formData",
26736
26177
  bodyType: "json",
26737
26178
  });
26738
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26739
- return $dara.cast(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
26740
- }
26741
- else {
26742
- return $dara.cast(await this.execute(params, req, runtime), new StartConfigurationRecorderResponse({}));
26743
- }
26179
+ return $dara.cast(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
26744
26180
  }
26745
26181
  /**
26746
26182
  * Enables Cloud Config to monitor the resources of your Alibaba Cloud account.
@@ -26783,12 +26219,7 @@ class Client extends openapi_core_1.default {
26783
26219
  reqBodyType: "formData",
26784
26220
  bodyType: "json",
26785
26221
  });
26786
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26787
- return $dara.cast(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
26788
- }
26789
- else {
26790
- return $dara.cast(await this.execute(params, req, runtime), new StartRemediationResponse({}));
26791
- }
26222
+ return $dara.cast(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
26792
26223
  }
26793
26224
  /**
26794
26225
  * Performs a remediation operation by using a rule.
@@ -26826,12 +26257,7 @@ class Client extends openapi_core_1.default {
26826
26257
  reqBodyType: "formData",
26827
26258
  bodyType: "json",
26828
26259
  });
26829
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26830
- return $dara.cast(await this.callApi(params, req, runtime), new StopConfigurationRecorderResponse({}));
26831
- }
26832
- else {
26833
- return $dara.cast(await this.execute(params, req, runtime), new StopConfigurationRecorderResponse({}));
26834
- }
26260
+ return $dara.cast(await this.callApi(params, req, runtime), new StopConfigurationRecorderResponse({}));
26835
26261
  }
26836
26262
  /**
26837
26263
  * Deactivates Cloud Config.
@@ -26885,12 +26311,7 @@ class Client extends openapi_core_1.default {
26885
26311
  reqBodyType: "formData",
26886
26312
  bodyType: "json",
26887
26313
  });
26888
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26889
- return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
26890
- }
26891
- else {
26892
- return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
26893
- }
26314
+ return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
26894
26315
  }
26895
26316
  /**
26896
26317
  * Adds tags to resources.
@@ -26941,12 +26362,7 @@ class Client extends openapi_core_1.default {
26941
26362
  reqBodyType: "formData",
26942
26363
  bodyType: "json",
26943
26364
  });
26944
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26945
- return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
26946
- }
26947
- else {
26948
- return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
26949
- }
26365
+ return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
26950
26366
  }
26951
26367
  /**
26952
26368
  * Removes tags from specified resources.
@@ -27051,12 +26467,7 @@ class Client extends openapi_core_1.default {
27051
26467
  reqBodyType: "formData",
27052
26468
  bodyType: "json",
27053
26469
  });
27054
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27055
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
27056
- }
27057
- else {
27058
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
27059
- }
26470
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
27060
26471
  }
27061
26472
  /**
27062
26473
  * Modifies the configurations of a compliance package in an account group.
@@ -27140,12 +26551,7 @@ class Client extends openapi_core_1.default {
27140
26551
  reqBodyType: "formData",
27141
26552
  bodyType: "json",
27142
26553
  });
27143
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27144
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
27145
- }
27146
- else {
27147
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
27148
- }
26554
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
27149
26555
  }
27150
26556
  /**
27151
26557
  * Modifies a delivery channel in an account group.
@@ -27246,6 +26652,9 @@ class Client extends openapi_core_1.default {
27246
26652
  if (!$dara.isNull(request.resourceIdsScope)) {
27247
26653
  body["ResourceIdsScope"] = request.resourceIdsScope;
27248
26654
  }
26655
+ if (!$dara.isNull(request.resourceNameScope)) {
26656
+ body["ResourceNameScope"] = request.resourceNameScope;
26657
+ }
27249
26658
  if (!$dara.isNull(request.resourceTypesScopeShrink)) {
27250
26659
  body["ResourceTypesScope"] = request.resourceTypesScopeShrink;
27251
26660
  }
@@ -27280,12 +26689,7 @@ class Client extends openapi_core_1.default {
27280
26689
  reqBodyType: "formData",
27281
26690
  bodyType: "json",
27282
26691
  });
27283
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27284
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
27285
- }
27286
- else {
27287
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
27288
- }
26692
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
27289
26693
  }
27290
26694
  /**
27291
26695
  * Modifies the description, input parameters, and risk level of a rule in a specific account group.
@@ -27348,12 +26752,7 @@ class Client extends openapi_core_1.default {
27348
26752
  reqBodyType: "formData",
27349
26753
  bodyType: "json",
27350
26754
  });
27351
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27352
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateRemediationResponse({}));
27353
- }
27354
- else {
27355
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateRemediationResponse({}));
27356
- }
26755
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateRemediationResponse({}));
27357
26756
  }
27358
26757
  /**
27359
26758
  * Modifies a remediation template for a rule in an account group.
@@ -27408,6 +26807,9 @@ class Client extends openapi_core_1.default {
27408
26807
  if (!$dara.isNull(request.description)) {
27409
26808
  body["Description"] = request.description;
27410
26809
  }
26810
+ if (!$dara.isNull(request.folderId)) {
26811
+ body["FolderId"] = request.folderId;
26812
+ }
27411
26813
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
27412
26814
  query: openapi_core_2.OpenApiUtil.query(query),
27413
26815
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
@@ -27423,12 +26825,7 @@ class Client extends openapi_core_1.default {
27423
26825
  reqBodyType: "formData",
27424
26826
  bodyType: "json",
27425
26827
  });
27426
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27427
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregatorResponse({}));
27428
- }
27429
- else {
27430
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregatorResponse({}));
27431
- }
26828
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregatorResponse({}));
27432
26829
  }
27433
26830
  /**
27434
26831
  * The management account or delegated administrator account of a resource directory can be used to modify the name and description of an account group. The management account or delegated administrator account can also be used to add or remove members from the account group.
@@ -27533,12 +26930,7 @@ class Client extends openapi_core_1.default {
27533
26930
  reqBodyType: "formData",
27534
26931
  bodyType: "json",
27535
26932
  });
27536
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27537
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateCompliancePackResponse({}));
27538
- }
27539
- else {
27540
- return $dara.cast(await this.execute(params, req, runtime), new UpdateCompliancePackResponse({}));
27541
- }
26933
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateCompliancePackResponse({}));
27542
26934
  }
27543
26935
  /**
27544
26936
  * Modifies the configurations of a specific compliance package in the current account.
@@ -27619,12 +27011,7 @@ class Client extends openapi_core_1.default {
27619
27011
  reqBodyType: "formData",
27620
27012
  bodyType: "json",
27621
27013
  });
27622
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27623
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
27624
- }
27625
- else {
27626
- return $dara.cast(await this.execute(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
27627
- }
27014
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
27628
27015
  }
27629
27016
  /**
27630
27017
  * Modifies a delivery channel by using the current account.
@@ -27713,6 +27100,9 @@ class Client extends openapi_core_1.default {
27713
27100
  if (!$dara.isNull(request.resourceIdsScope)) {
27714
27101
  body["ResourceIdsScope"] = request.resourceIdsScope;
27715
27102
  }
27103
+ if (!$dara.isNull(request.resourceNameScope)) {
27104
+ body["ResourceNameScope"] = request.resourceNameScope;
27105
+ }
27716
27106
  if (!$dara.isNull(request.resourceTypesScopeShrink)) {
27717
27107
  body["ResourceTypesScope"] = request.resourceTypesScopeShrink;
27718
27108
  }
@@ -27747,12 +27137,7 @@ class Client extends openapi_core_1.default {
27747
27137
  reqBodyType: "formData",
27748
27138
  bodyType: "json",
27749
27139
  });
27750
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27751
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigRuleResponse({}));
27752
- }
27753
- else {
27754
- return $dara.cast(await this.execute(params, req, runtime), new UpdateConfigRuleResponse({}));
27755
- }
27140
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigRuleResponse({}));
27756
27141
  }
27757
27142
  /**
27758
27143
  * Modifies the description, input parameters, and risk level of a rule.
@@ -27797,12 +27182,7 @@ class Client extends openapi_core_1.default {
27797
27182
  reqBodyType: "formData",
27798
27183
  bodyType: "json",
27799
27184
  });
27800
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27801
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
27802
- }
27803
- else {
27804
- return $dara.cast(await this.execute(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
27805
- }
27185
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
27806
27186
  }
27807
27187
  /**
27808
27188
  * Modifies the resource monitoring scope of the current account.
@@ -27883,12 +27263,7 @@ class Client extends openapi_core_1.default {
27883
27263
  reqBodyType: "formData",
27884
27264
  bodyType: "json",
27885
27265
  });
27886
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27887
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateDeliveryChannelResponse({}));
27888
- }
27889
- else {
27890
- return $dara.cast(await this.execute(params, req, runtime), new UpdateDeliveryChannelResponse({}));
27891
- }
27266
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateDeliveryChannelResponse({}));
27892
27267
  }
27893
27268
  /**
27894
27269
  * Modifies a delivery channel.
@@ -27942,12 +27317,7 @@ class Client extends openapi_core_1.default {
27942
27317
  reqBodyType: "formData",
27943
27318
  bodyType: "json",
27944
27319
  });
27945
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27946
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
27947
- }
27948
- else {
27949
- return $dara.cast(await this.execute(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
27950
- }
27320
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
27951
27321
  }
27952
27322
  /**
27953
27323
  * Enables or disables the integration of a cloud service.
@@ -28007,12 +27377,7 @@ class Client extends openapi_core_1.default {
28007
27377
  reqBodyType: "formData",
28008
27378
  bodyType: "json",
28009
27379
  });
28010
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
28011
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateRemediationResponse({}));
28012
- }
28013
- else {
28014
- return $dara.cast(await this.execute(params, req, runtime), new UpdateRemediationResponse({}));
28015
- }
27380
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateRemediationResponse({}));
28016
27381
  }
28017
27382
  /**
28018
27383
  * Updates a remediation template for a rule.