@alicloud/config20200907 3.0.12 → 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
@@ -4734,8 +4734,10 @@ class ListAggregateConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvalu
4734
4734
  annotation: 'Annotation',
4735
4735
  complianceType: 'ComplianceType',
4736
4736
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
4737
+ evaluationId: 'EvaluationId',
4737
4738
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
4738
4739
  invokingEventMessageType: 'InvokingEventMessageType',
4740
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
4739
4741
  remediationEnabled: 'RemediationEnabled',
4740
4742
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
4741
4743
  riskLevel: 'RiskLevel',
@@ -4746,8 +4748,10 @@ class ListAggregateConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvalu
4746
4748
  annotation: 'string',
4747
4749
  complianceType: 'string',
4748
4750
  configRuleInvokedTimestamp: 'number',
4751
+ evaluationId: 'string',
4749
4752
  evaluationResultIdentifier: ListAggregateConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
4750
4753
  invokingEventMessageType: 'string',
4754
+ lastNonCompliantRecordTimestamp: 'number',
4751
4755
  remediationEnabled: 'boolean',
4752
4756
  resultRecordedTimestamp: 'number',
4753
4757
  riskLevel: 'number',
@@ -5225,8 +5229,10 @@ class ListAggregateResourceEvaluationResultsResponseBodyEvaluationResultsEvaluat
5225
5229
  annotation: 'Annotation',
5226
5230
  complianceType: 'ComplianceType',
5227
5231
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
5232
+ evaluationId: 'EvaluationId',
5228
5233
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
5229
5234
  invokingEventMessageType: 'InvokingEventMessageType',
5235
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
5230
5236
  remediationEnabled: 'RemediationEnabled',
5231
5237
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
5232
5238
  riskLevel: 'RiskLevel',
@@ -5237,8 +5243,10 @@ class ListAggregateResourceEvaluationResultsResponseBodyEvaluationResultsEvaluat
5237
5243
  annotation: 'string',
5238
5244
  complianceType: 'string',
5239
5245
  configRuleInvokedTimestamp: 'number',
5246
+ evaluationId: 'string',
5240
5247
  evaluationResultIdentifier: ListAggregateResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
5241
5248
  invokingEventMessageType: 'string',
5249
+ lastNonCompliantRecordTimestamp: 'number',
5242
5250
  remediationEnabled: 'boolean',
5243
5251
  resultRecordedTimestamp: 'number',
5244
5252
  riskLevel: 'number',
@@ -5838,8 +5846,10 @@ class ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResu
5838
5846
  annotation: 'Annotation',
5839
5847
  complianceType: 'ComplianceType',
5840
5848
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
5849
+ evaluationId: 'EvaluationId',
5841
5850
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
5842
5851
  invokingEventMessageType: 'InvokingEventMessageType',
5852
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
5843
5853
  remediationEnabled: 'RemediationEnabled',
5844
5854
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
5845
5855
  riskLevel: 'RiskLevel',
@@ -5850,8 +5860,10 @@ class ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResu
5850
5860
  annotation: 'string',
5851
5861
  complianceType: 'string',
5852
5862
  configRuleInvokedTimestamp: 'number',
5863
+ evaluationId: 'string',
5853
5864
  evaluationResultIdentifier: ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
5854
5865
  invokingEventMessageType: 'string',
5866
+ lastNonCompliantRecordTimestamp: 'number',
5855
5867
  remediationEnabled: 'boolean',
5856
5868
  resultRecordedTimestamp: 'number',
5857
5869
  riskLevel: 'number',
@@ -6497,8 +6509,10 @@ class ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResult
6497
6509
  annotation: 'Annotation',
6498
6510
  complianceType: 'ComplianceType',
6499
6511
  configRuleInvokedTimestamp: 'ConfigRuleInvokedTimestamp',
6512
+ evaluationId: 'EvaluationId',
6500
6513
  evaluationResultIdentifier: 'EvaluationResultIdentifier',
6501
6514
  invokingEventMessageType: 'InvokingEventMessageType',
6515
+ lastNonCompliantRecordTimestamp: 'LastNonCompliantRecordTimestamp',
6502
6516
  remediationEnabled: 'RemediationEnabled',
6503
6517
  resultRecordedTimestamp: 'ResultRecordedTimestamp',
6504
6518
  riskLevel: 'RiskLevel',
@@ -6509,8 +6523,10 @@ class ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResult
6509
6523
  annotation: 'string',
6510
6524
  complianceType: 'string',
6511
6525
  configRuleInvokedTimestamp: 'number',
6526
+ evaluationId: 'string',
6512
6527
  evaluationResultIdentifier: ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluationResultListEvaluationResultIdentifier,
6513
6528
  invokingEventMessageType: 'string',
6529
+ lastNonCompliantRecordTimestamp: 'number',
6514
6530
  remediationEnabled: 'boolean',
6515
6531
  resultRecordedTimestamp: 'number',
6516
6532
  riskLevel: 'number',
@@ -19574,12 +19590,7 @@ class Client extends openapi_core_1.default {
19574
19590
  reqBodyType: "formData",
19575
19591
  bodyType: "json",
19576
19592
  });
19577
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19578
- return $dara.cast(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
19579
- }
19580
- else {
19581
- return $dara.cast(await this.execute(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
19582
- }
19593
+ return $dara.cast(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
19583
19594
  }
19584
19595
  /**
19585
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.
@@ -19628,12 +19639,7 @@ class Client extends openapi_core_1.default {
19628
19639
  reqBodyType: "formData",
19629
19640
  bodyType: "json",
19630
19641
  });
19631
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19632
- return $dara.cast(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
19633
- }
19634
- else {
19635
- return $dara.cast(await this.execute(params, req, runtime), new ActiveConfigRulesResponse({}));
19636
- }
19642
+ return $dara.cast(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
19637
19643
  }
19638
19644
  /**
19639
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.
@@ -19685,12 +19691,7 @@ class Client extends openapi_core_1.default {
19685
19691
  reqBodyType: "formData",
19686
19692
  bodyType: "json",
19687
19693
  });
19688
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19689
- return $dara.cast(await this.callApi(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
19690
- }
19691
- else {
19692
- return $dara.cast(await this.execute(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
19693
- }
19694
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
19694
19695
  }
19695
19696
  /**
19696
19697
  * Adds one or more rules in an account group to a compliance package.
@@ -19738,12 +19739,7 @@ class Client extends openapi_core_1.default {
19738
19739
  reqBodyType: "formData",
19739
19740
  bodyType: "json",
19740
19741
  });
19741
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19742
- return $dara.cast(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
19743
- }
19744
- else {
19745
- return $dara.cast(await this.execute(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
19746
- }
19742
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
19747
19743
  }
19748
19744
  /**
19749
19745
  * Adds one or more rules to a compliance package.
@@ -19791,12 +19787,7 @@ class Client extends openapi_core_1.default {
19791
19787
  reqBodyType: "formData",
19792
19788
  bodyType: "json",
19793
19789
  });
19794
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19795
- return $dara.cast(await this.callApi(params, req, runtime), new CopyCompliancePacksResponse({}));
19796
- }
19797
- else {
19798
- return $dara.cast(await this.execute(params, req, runtime), new CopyCompliancePacksResponse({}));
19799
- }
19790
+ return $dara.cast(await this.callApi(params, req, runtime), new CopyCompliancePacksResponse({}));
19800
19791
  }
19801
19792
  /**
19802
19793
  * Replicates compliance packages.
@@ -19841,12 +19832,7 @@ class Client extends openapi_core_1.default {
19841
19832
  reqBodyType: "formData",
19842
19833
  bodyType: "json",
19843
19834
  });
19844
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19845
- return $dara.cast(await this.callApi(params, req, runtime), new CopyConfigRulesResponse({}));
19846
- }
19847
- else {
19848
- return $dara.cast(await this.execute(params, req, runtime), new CopyConfigRulesResponse({}));
19849
- }
19835
+ return $dara.cast(await this.callApi(params, req, runtime), new CopyConfigRulesResponse({}));
19850
19836
  }
19851
19837
  /**
19852
19838
  * Replicates rules.
@@ -19885,12 +19871,7 @@ class Client extends openapi_core_1.default {
19885
19871
  reqBodyType: "formData",
19886
19872
  bodyType: "json",
19887
19873
  });
19888
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19889
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
19890
- }
19891
- else {
19892
- return $dara.cast(await this.execute(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
19893
- }
19874
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
19894
19875
  }
19895
19876
  /**
19896
19877
  * Creates a downloadable resource file for the current Alibaba Cloud account.
@@ -19935,12 +19916,7 @@ class Client extends openapi_core_1.default {
19935
19916
  reqBodyType: "formData",
19936
19917
  bodyType: "json",
19937
19918
  });
19938
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19939
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
19940
- }
19941
- else {
19942
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
19943
- }
19919
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
19944
19920
  }
19945
19921
  /**
19946
19922
  * Creates a downloadable resource file for an account group.
@@ -20054,12 +20030,7 @@ class Client extends openapi_core_1.default {
20054
20030
  reqBodyType: "formData",
20055
20031
  bodyType: "json",
20056
20032
  });
20057
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20058
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
20059
- }
20060
- else {
20061
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
20062
- }
20033
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
20063
20034
  }
20064
20035
  /**
20065
20036
  * Creates a compliance package for an account group.
@@ -20140,12 +20111,7 @@ class Client extends openapi_core_1.default {
20140
20111
  reqBodyType: "formData",
20141
20112
  bodyType: "json",
20142
20113
  });
20143
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20144
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
20145
- }
20146
- else {
20147
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
20148
- }
20114
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
20149
20115
  }
20150
20116
  /**
20151
20117
  * Creates a delivery channel for an account group.
@@ -20292,12 +20258,7 @@ class Client extends openapi_core_1.default {
20292
20258
  reqBodyType: "formData",
20293
20259
  bodyType: "json",
20294
20260
  });
20295
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20296
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
20297
- }
20298
- else {
20299
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
20300
- }
20261
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
20301
20262
  }
20302
20263
  /**
20303
20264
  * Creates a rule for an account group.
@@ -20366,12 +20327,7 @@ class Client extends openapi_core_1.default {
20366
20327
  reqBodyType: "formData",
20367
20328
  bodyType: "json",
20368
20329
  });
20369
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20370
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
20371
- }
20372
- else {
20373
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregateRemediationResponse({}));
20374
- }
20330
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
20375
20331
  }
20376
20332
  /**
20377
20333
  * Creates a remediation template for a rule in an account group.
@@ -20450,12 +20406,7 @@ class Client extends openapi_core_1.default {
20450
20406
  reqBodyType: "formData",
20451
20407
  bodyType: "json",
20452
20408
  });
20453
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20454
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregatorResponse({}));
20455
- }
20456
- else {
20457
- return $dara.cast(await this.execute(params, req, runtime), new CreateAggregatorResponse({}));
20458
- }
20409
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAggregatorResponse({}));
20459
20410
  }
20460
20411
  /**
20461
20412
  * Creates an account group.
@@ -20573,12 +20524,7 @@ class Client extends openapi_core_1.default {
20573
20524
  reqBodyType: "formData",
20574
20525
  bodyType: "json",
20575
20526
  });
20576
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20577
- return $dara.cast(await this.callApi(params, req, runtime), new CreateCompliancePackResponse({}));
20578
- }
20579
- else {
20580
- return $dara.cast(await this.execute(params, req, runtime), new CreateCompliancePackResponse({}));
20581
- }
20527
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateCompliancePackResponse({}));
20582
20528
  }
20583
20529
  /**
20584
20530
  * Creates a compliance package for the current account.
@@ -20657,12 +20603,7 @@ class Client extends openapi_core_1.default {
20657
20603
  reqBodyType: "formData",
20658
20604
  bodyType: "json",
20659
20605
  });
20660
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20661
- return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
20662
- }
20663
- else {
20664
- return $dara.cast(await this.execute(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
20665
- }
20606
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
20666
20607
  }
20667
20608
  /**
20668
20609
  * Creates a delivery channel.
@@ -20792,12 +20733,7 @@ class Client extends openapi_core_1.default {
20792
20733
  reqBodyType: "formData",
20793
20734
  bodyType: "json",
20794
20735
  });
20795
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20796
- return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigRuleResponse({}));
20797
- }
20798
- else {
20799
- return $dara.cast(await this.execute(params, req, runtime), new CreateConfigRuleResponse({}));
20800
- }
20736
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateConfigRuleResponse({}));
20801
20737
  }
20802
20738
  /**
20803
20739
  * Creates a rule for the current account.
@@ -20876,12 +20812,7 @@ class Client extends openapi_core_1.default {
20876
20812
  reqBodyType: "formData",
20877
20813
  bodyType: "json",
20878
20814
  });
20879
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20880
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDeliveryChannelResponse({}));
20881
- }
20882
- else {
20883
- return $dara.cast(await this.execute(params, req, runtime), new CreateDeliveryChannelResponse({}));
20884
- }
20815
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDeliveryChannelResponse({}));
20885
20816
  }
20886
20817
  /**
20887
20818
  * Creates a delivery channel.
@@ -20947,12 +20878,7 @@ class Client extends openapi_core_1.default {
20947
20878
  reqBodyType: "formData",
20948
20879
  bodyType: "json",
20949
20880
  });
20950
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20951
- return $dara.cast(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
20952
- }
20953
- else {
20954
- return $dara.cast(await this.execute(params, req, runtime), new CreateRemediationResponse({}));
20955
- }
20881
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
20956
20882
  }
20957
20883
  /**
20958
20884
  * Creates a remediation template for a rule.
@@ -21006,12 +20932,7 @@ class Client extends openapi_core_1.default {
21006
20932
  reqBodyType: "formData",
21007
20933
  bodyType: "json",
21008
20934
  });
21009
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21010
- return $dara.cast(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
21011
- }
21012
- else {
21013
- return $dara.cast(await this.execute(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
21014
- }
20935
+ return $dara.cast(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
21015
20936
  }
21016
20937
  /**
21017
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.
@@ -21065,12 +20986,7 @@ class Client extends openapi_core_1.default {
21065
20986
  reqBodyType: "formData",
21066
20987
  bodyType: "json",
21067
20988
  });
21068
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21069
- return $dara.cast(await this.callApi(params, req, runtime), new DeactiveConfigRulesResponse({}));
21070
- }
21071
- else {
21072
- return $dara.cast(await this.execute(params, req, runtime), new DeactiveConfigRulesResponse({}));
21073
- }
20989
+ return $dara.cast(await this.callApi(params, req, runtime), new DeactiveConfigRulesResponse({}));
21074
20990
  }
21075
20991
  /**
21076
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.
@@ -21127,12 +21043,7 @@ class Client extends openapi_core_1.default {
21127
21043
  reqBodyType: "formData",
21128
21044
  bodyType: "json",
21129
21045
  });
21130
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21131
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
21132
- }
21133
- else {
21134
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
21135
- }
21046
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
21136
21047
  }
21137
21048
  /**
21138
21049
  * Deletes the compliance packages of an account group.
@@ -21180,12 +21091,7 @@ class Client extends openapi_core_1.default {
21180
21091
  reqBodyType: "formData",
21181
21092
  bodyType: "json",
21182
21093
  });
21183
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21184
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
21185
- }
21186
- else {
21187
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
21188
- }
21094
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
21189
21095
  }
21190
21096
  /**
21191
21097
  * Deletes a delivery channel from an account group.
@@ -21233,12 +21139,7 @@ class Client extends openapi_core_1.default {
21233
21139
  reqBodyType: "formData",
21234
21140
  bodyType: "json",
21235
21141
  });
21236
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21237
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
21238
- }
21239
- else {
21240
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
21241
- }
21142
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
21242
21143
  }
21243
21144
  /**
21244
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.
@@ -21286,12 +21187,7 @@ class Client extends openapi_core_1.default {
21286
21187
  reqBodyType: "formData",
21287
21188
  bodyType: "json",
21288
21189
  });
21289
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21290
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
21291
- }
21292
- else {
21293
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
21294
- }
21190
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
21295
21191
  }
21296
21192
  /**
21297
21193
  * Deletes one or more remediation templates from a rule in an account group.
@@ -21346,12 +21242,7 @@ class Client extends openapi_core_1.default {
21346
21242
  reqBodyType: "formData",
21347
21243
  bodyType: "json",
21348
21244
  });
21349
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21350
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
21351
- }
21352
- else {
21353
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAggregatorsResponse({}));
21354
- }
21245
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
21355
21246
  }
21356
21247
  /**
21357
21248
  * The management account or delegated administrator account of a resource directory can delete an account group.
@@ -21409,12 +21300,7 @@ class Client extends openapi_core_1.default {
21409
21300
  reqBodyType: "formData",
21410
21301
  bodyType: "json",
21411
21302
  });
21412
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21413
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
21414
- }
21415
- else {
21416
- return $dara.cast(await this.execute(params, req, runtime), new DeleteCompliancePacksResponse({}));
21417
- }
21303
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
21418
21304
  }
21419
21305
  /**
21420
21306
  * Deletes one or more compliance packages.
@@ -21459,12 +21345,7 @@ class Client extends openapi_core_1.default {
21459
21345
  reqBodyType: "formData",
21460
21346
  bodyType: "json",
21461
21347
  });
21462
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21463
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
21464
- }
21465
- else {
21466
- return $dara.cast(await this.execute(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
21467
- }
21348
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
21468
21349
  }
21469
21350
  /**
21470
21351
  * Deletes a delivery channel.
@@ -21509,12 +21390,7 @@ class Client extends openapi_core_1.default {
21509
21390
  reqBodyType: "formData",
21510
21391
  bodyType: "json",
21511
21392
  });
21512
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21513
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
21514
- }
21515
- else {
21516
- return $dara.cast(await this.execute(params, req, runtime), new DeleteConfigRulesResponse({}));
21517
- }
21393
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
21518
21394
  }
21519
21395
  /**
21520
21396
  * Deletes rules.
@@ -21559,12 +21435,7 @@ class Client extends openapi_core_1.default {
21559
21435
  reqBodyType: "formData",
21560
21436
  bodyType: "json",
21561
21437
  });
21562
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21563
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
21564
- }
21565
- else {
21566
- return $dara.cast(await this.execute(params, req, runtime), new DeleteRemediationsResponse({}));
21567
- }
21438
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
21568
21439
  }
21569
21440
  /**
21570
21441
  * Deletes one or more configured remediation templates that are associated with a rule.
@@ -21603,12 +21474,7 @@ class Client extends openapi_core_1.default {
21603
21474
  reqBodyType: "formData",
21604
21475
  bodyType: "json",
21605
21476
  });
21606
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21607
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeRemediationResponse({}));
21608
- }
21609
- else {
21610
- return $dara.cast(await this.execute(params, req, runtime), new DescribeRemediationResponse({}));
21611
- }
21477
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeRemediationResponse({}));
21612
21478
  }
21613
21479
  /**
21614
21480
  * This topic provides an example on how to query the details of a remediation configuration whose ID is crr-f381cf0c1c2f004e\\*\\*\\*\\*.
@@ -21659,12 +21525,7 @@ class Client extends openapi_core_1.default {
21659
21525
  reqBodyType: "formData",
21660
21526
  bodyType: "json",
21661
21527
  });
21662
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21663
- return $dara.cast(await this.callApi(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
21664
- }
21665
- else {
21666
- return $dara.cast(await this.execute(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
21667
- }
21528
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
21668
21529
  }
21669
21530
  /**
21670
21531
  * Removes one or more rules in an account group from a compliance package.
@@ -21718,12 +21579,7 @@ class Client extends openapi_core_1.default {
21718
21579
  reqBodyType: "formData",
21719
21580
  bodyType: "json",
21720
21581
  });
21721
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21722
- return $dara.cast(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
21723
- }
21724
- else {
21725
- return $dara.cast(await this.execute(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
21726
- }
21582
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
21727
21583
  }
21728
21584
  /**
21729
21585
  * Removes one or more rules from a compliance package.
@@ -21779,12 +21635,7 @@ class Client extends openapi_core_1.default {
21779
21635
  reqBodyType: "formData",
21780
21636
  bodyType: "json",
21781
21637
  });
21782
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21783
- return $dara.cast(await this.callApi(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
21784
- }
21785
- else {
21786
- return $dara.cast(await this.execute(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
21787
- }
21638
+ return $dara.cast(await this.callApi(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
21788
21639
  }
21789
21640
  /**
21790
21641
  * Executes evaluation rules to evaluate resources.
@@ -21833,12 +21684,7 @@ class Client extends openapi_core_1.default {
21833
21684
  reqBodyType: "formData",
21834
21685
  bodyType: "json",
21835
21686
  });
21836
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21837
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
21838
- }
21839
- else {
21840
- return $dara.cast(await this.execute(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
21841
- }
21687
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
21842
21688
  }
21843
21689
  /**
21844
21690
  * Generates a compliance evaluation report based on a compliance package in an account group.
@@ -21891,12 +21737,7 @@ class Client extends openapi_core_1.default {
21891
21737
  reqBodyType: "formData",
21892
21738
  bodyType: "json",
21893
21739
  });
21894
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21895
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
21896
- }
21897
- else {
21898
- return $dara.cast(await this.execute(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
21899
- }
21740
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
21900
21741
  }
21901
21742
  /**
21902
21743
  * Generates a compliance evaluation report for the rules in a specified account group.
@@ -21954,12 +21795,7 @@ class Client extends openapi_core_1.default {
21954
21795
  reqBodyType: "formData",
21955
21796
  bodyType: "json",
21956
21797
  });
21957
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21958
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
21959
- }
21960
- else {
21961
- return $dara.cast(await this.execute(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
21962
- }
21798
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
21963
21799
  }
21964
21800
  /**
21965
21801
  * Generates a downloadable inventory for global resources in an account group.
@@ -22008,12 +21844,7 @@ class Client extends openapi_core_1.default {
22008
21844
  reqBodyType: "formData",
22009
21845
  bodyType: "json",
22010
21846
  });
22011
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22012
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
22013
- }
22014
- else {
22015
- return $dara.cast(await this.execute(params, req, runtime), new GenerateCompliancePackReportResponse({}));
22016
- }
21847
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
22017
21848
  }
22018
21849
  /**
22019
21850
  * Generates a compliance evaluation report based on a compliance package.
@@ -22063,12 +21894,7 @@ class Client extends openapi_core_1.default {
22063
21894
  reqBodyType: "formData",
22064
21895
  bodyType: "json",
22065
21896
  });
22066
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22067
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateConfigRulesReportResponse({}));
22068
- }
22069
- else {
22070
- return $dara.cast(await this.execute(params, req, runtime), new GenerateConfigRulesReportResponse({}));
22071
- }
21897
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateConfigRulesReportResponse({}));
22072
21898
  }
22073
21899
  /**
22074
21900
  * Generates a compliance evaluation report for a rule.
@@ -22120,12 +21946,7 @@ class Client extends openapi_core_1.default {
22120
21946
  reqBodyType: "formData",
22121
21947
  bodyType: "json",
22122
21948
  });
22123
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22124
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
22125
- }
22126
- else {
22127
- return $dara.cast(await this.execute(params, req, runtime), new GenerateResourceInventoryResponse({}));
22128
- }
21949
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
22129
21950
  }
22130
21951
  /**
22131
21952
  * Generates a resource inventory for global resources.
@@ -22164,12 +21985,7 @@ class Client extends openapi_core_1.default {
22164
21985
  reqBodyType: "formData",
22165
21986
  bodyType: "json",
22166
21987
  });
22167
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22168
- return $dara.cast(await this.callApi(params, req, runtime), new GetAdvancedSearchFileResponse({}));
22169
- }
22170
- else {
22171
- return $dara.cast(await this.execute(params, req, runtime), new GetAdvancedSearchFileResponse({}));
22172
- }
21988
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAdvancedSearchFileResponse({}));
22173
21989
  }
22174
21990
  /**
22175
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.
@@ -22210,12 +22026,7 @@ class Client extends openapi_core_1.default {
22210
22026
  reqBodyType: "formData",
22211
22027
  bodyType: "json",
22212
22028
  });
22213
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22214
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
22215
- }
22216
- else {
22217
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
22218
- }
22029
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
22219
22030
  }
22220
22031
  /**
22221
22032
  * Queries the compliance evaluation results of member accounts for which a compliance package takes effect in an account group.
@@ -22257,12 +22068,7 @@ class Client extends openapi_core_1.default {
22257
22068
  reqBodyType: "formData",
22258
22069
  bodyType: "json",
22259
22070
  });
22260
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22261
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
22262
- }
22263
- else {
22264
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
22265
- }
22071
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
22266
22072
  }
22267
22073
  /**
22268
22074
  * Queries the most recently generated resource file of an account group.
@@ -22306,12 +22112,7 @@ class Client extends openapi_core_1.default {
22306
22112
  reqBodyType: "formData",
22307
22113
  bodyType: "json",
22308
22114
  });
22309
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22310
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackResponse({}));
22311
- }
22312
- else {
22313
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateCompliancePackResponse({}));
22314
- }
22115
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackResponse({}));
22315
22116
  }
22316
22117
  /**
22317
22118
  * Queries the details of a compliance package in an account group.
@@ -22354,12 +22155,7 @@ class Client extends openapi_core_1.default {
22354
22155
  reqBodyType: "formData",
22355
22156
  bodyType: "json",
22356
22157
  });
22357
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22358
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
22359
- }
22360
- else {
22361
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
22362
- }
22158
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
22363
22159
  }
22364
22160
  /**
22365
22161
  * Queries the compliance evaluation report that is generated based on a compliance package of an account group.
@@ -22405,12 +22201,7 @@ class Client extends openapi_core_1.default {
22405
22201
  reqBodyType: "formData",
22406
22202
  bodyType: "json",
22407
22203
  });
22408
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22409
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
22410
- }
22411
- else {
22412
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
22413
- }
22204
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
22414
22205
  }
22415
22206
  /**
22416
22207
  * Queries the compliance statistics of an account group.
@@ -22455,12 +22246,7 @@ class Client extends openapi_core_1.default {
22455
22246
  reqBodyType: "formData",
22456
22247
  bodyType: "json",
22457
22248
  });
22458
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22459
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
22460
- }
22461
- else {
22462
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
22463
- }
22249
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
22464
22250
  }
22465
22251
  /**
22466
22252
  * Queries the information about a delivery channel in an account group.
@@ -22513,12 +22299,7 @@ class Client extends openapi_core_1.default {
22513
22299
  reqBodyType: "formData",
22514
22300
  bodyType: "json",
22515
22301
  });
22516
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22517
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleResponse({}));
22518
- }
22519
- else {
22520
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRuleResponse({}));
22521
- }
22302
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleResponse({}));
22522
22303
  }
22523
22304
  /**
22524
22305
  * Queries the details of a rule in an account group.
@@ -22560,12 +22341,7 @@ class Client extends openapi_core_1.default {
22560
22341
  reqBodyType: "formData",
22561
22342
  bodyType: "json",
22562
22343
  });
22563
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22564
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
22565
- }
22566
- else {
22567
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
22568
- }
22344
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
22569
22345
  }
22570
22346
  /**
22571
22347
  * Queries compliance evaluation results based on the rules in a compliance package in an account group.
@@ -22610,12 +22386,7 @@ class Client extends openapi_core_1.default {
22610
22386
  reqBodyType: "formData",
22611
22387
  bodyType: "json",
22612
22388
  });
22613
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22614
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
22615
- }
22616
- else {
22617
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
22618
- }
22389
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
22619
22390
  }
22620
22391
  /**
22621
22392
  * Queries the summary of compliance evaluation results by rule risk level in an account group.
@@ -22664,12 +22435,7 @@ class Client extends openapi_core_1.default {
22664
22435
  reqBodyType: "formData",
22665
22436
  bodyType: "json",
22666
22437
  });
22667
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22668
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
22669
- }
22670
- else {
22671
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
22672
- }
22438
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
22673
22439
  }
22674
22440
  /**
22675
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.
@@ -22733,12 +22499,7 @@ class Client extends openapi_core_1.default {
22733
22499
  reqBodyType: "formData",
22734
22500
  bodyType: "json",
22735
22501
  });
22736
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22737
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
22738
- }
22739
- else {
22740
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
22741
- }
22502
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
22742
22503
  }
22743
22504
  /**
22744
22505
  * Queries the details of a specific resource in an account group.
@@ -22795,12 +22556,7 @@ class Client extends openapi_core_1.default {
22795
22556
  reqBodyType: "formData",
22796
22557
  bodyType: "json",
22797
22558
  });
22798
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22799
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
22800
- }
22801
- else {
22802
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
22803
- }
22559
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
22804
22560
  }
22805
22561
  /**
22806
22562
  * Queries compliance evaluation results based on the rules in a compliance package in an account group.
@@ -22842,12 +22598,7 @@ class Client extends openapi_core_1.default {
22842
22598
  reqBodyType: "formData",
22843
22599
  bodyType: "json",
22844
22600
  });
22845
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22846
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
22847
- }
22848
- else {
22849
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
22850
- }
22601
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
22851
22602
  }
22852
22603
  /**
22853
22604
  * Queries the compliance evaluation results of resources evaluated based on a compliance package of an account group.
@@ -22892,12 +22643,7 @@ class Client extends openapi_core_1.default {
22892
22643
  reqBodyType: "formData",
22893
22644
  bodyType: "json",
22894
22645
  });
22895
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22896
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
22897
- }
22898
- else {
22899
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
22900
- }
22646
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
22901
22647
  }
22902
22648
  /**
22903
22649
  * Queries the evaluation results grouped by resource type for an account group rule.
@@ -22939,12 +22685,7 @@ class Client extends openapi_core_1.default {
22939
22685
  reqBodyType: "formData",
22940
22686
  bodyType: "json",
22941
22687
  });
22942
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22943
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
22944
- }
22945
- else {
22946
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
22947
- }
22688
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
22948
22689
  }
22949
22690
  /**
22950
22691
  * Queries the evaluation results grouped by resource type for an account group rule.
@@ -22983,12 +22724,7 @@ class Client extends openapi_core_1.default {
22983
22724
  reqBodyType: "formData",
22984
22725
  bodyType: "json",
22985
22726
  });
22986
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22987
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
22988
- }
22989
- else {
22990
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
22991
- }
22727
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
22992
22728
  }
22993
22729
  /**
22994
22730
  * Queries the compliance timeline of a resource in an account group.
@@ -23030,12 +22766,7 @@ class Client extends openapi_core_1.default {
23030
22766
  reqBodyType: "formData",
23031
22767
  bodyType: "json",
23032
22768
  });
23033
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23034
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
23035
- }
23036
- else {
23037
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
23038
- }
22769
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
23039
22770
  }
23040
22771
  /**
23041
22772
  * Queries the configuration timeline of a resource in an account group.
@@ -23092,12 +22823,7 @@ class Client extends openapi_core_1.default {
23092
22823
  reqBodyType: "formData",
23093
22824
  bodyType: "json",
23094
22825
  });
23095
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23096
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
23097
- }
23098
- else {
23099
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
23100
- }
22826
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
23101
22827
  }
23102
22828
  /**
23103
22829
  * Queries the statistics on the resources in an account group by region.
@@ -23154,12 +22880,7 @@ class Client extends openapi_core_1.default {
23154
22880
  reqBodyType: "formData",
23155
22881
  bodyType: "json",
23156
22882
  });
23157
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23158
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
23159
- }
23160
- else {
23161
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
23162
- }
22883
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
23163
22884
  }
23164
22885
  /**
23165
22886
  * Queries the statistics on the resources in an account group by resource type.
@@ -23207,12 +22928,7 @@ class Client extends openapi_core_1.default {
23207
22928
  reqBodyType: "formData",
23208
22929
  bodyType: "json",
23209
22930
  });
23210
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23211
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
23212
- }
23213
- else {
23214
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
23215
- }
22931
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
23216
22932
  }
23217
22933
  /**
23218
22934
  * Obtains the last resource inventory that is generated on the Global Resources page within the current account group.
@@ -23268,12 +22984,7 @@ class Client extends openapi_core_1.default {
23268
22984
  reqBodyType: "formData",
23269
22985
  bodyType: "json",
23270
22986
  });
23271
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23272
- return $dara.cast(await this.callApi(params, req, runtime), new GetAggregatorResponse({}));
23273
- }
23274
- else {
23275
- return $dara.cast(await this.execute(params, req, runtime), new GetAggregatorResponse({}));
23276
- }
22987
+ return $dara.cast(await this.callApi(params, req, runtime), new GetAggregatorResponse({}));
23277
22988
  }
23278
22989
  /**
23279
22990
  * Queries the details of an account group. You can query the name, creation time, member, and type of an account group.
@@ -23320,12 +23031,7 @@ class Client extends openapi_core_1.default {
23320
23031
  reqBodyType: "formData",
23321
23032
  bodyType: "json",
23322
23033
  });
23323
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23324
- return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackResponse({}));
23325
- }
23326
- else {
23327
- return $dara.cast(await this.execute(params, req, runtime), new GetCompliancePackResponse({}));
23328
- }
23034
+ return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackResponse({}));
23329
23035
  }
23330
23036
  /**
23331
23037
  * Queries the details of a compliance package.
@@ -23368,12 +23074,7 @@ class Client extends openapi_core_1.default {
23368
23074
  reqBodyType: "formData",
23369
23075
  bodyType: "json",
23370
23076
  });
23371
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23372
- return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
23373
- }
23374
- else {
23375
- return $dara.cast(await this.execute(params, req, runtime), new GetCompliancePackReportResponse({}));
23376
- }
23077
+ return $dara.cast(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
23377
23078
  }
23378
23079
  /**
23379
23080
  * Queries the compliance evaluation report that is generated based on a compliance package.
@@ -23412,12 +23113,7 @@ class Client extends openapi_core_1.default {
23412
23113
  reqBodyType: "formData",
23413
23114
  bodyType: "json",
23414
23115
  });
23415
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23416
- return $dara.cast(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
23417
- }
23418
- else {
23419
- return $dara.cast(await this.execute(params, req, runtime), new GetComplianceSummaryResponse({}));
23420
- }
23116
+ return $dara.cast(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
23421
23117
  }
23422
23118
  /**
23423
23119
  * Queries the summary of compliance statistics within the current account.
@@ -23457,12 +23153,7 @@ class Client extends openapi_core_1.default {
23457
23153
  reqBodyType: "formData",
23458
23154
  bodyType: "json",
23459
23155
  });
23460
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23461
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
23462
- }
23463
- else {
23464
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
23465
- }
23156
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
23466
23157
  }
23467
23158
  /**
23468
23159
  * Queries the information about a delivery channel.
@@ -23512,12 +23203,7 @@ class Client extends openapi_core_1.default {
23512
23203
  reqBodyType: "formData",
23513
23204
  bodyType: "json",
23514
23205
  });
23515
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23516
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
23517
- }
23518
- else {
23519
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRuleResponse({}));
23520
- }
23206
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
23521
23207
  }
23522
23208
  /**
23523
23209
  * Queries the details of a rule.
@@ -23559,12 +23245,7 @@ class Client extends openapi_core_1.default {
23559
23245
  reqBodyType: "formData",
23560
23246
  bodyType: "json",
23561
23247
  });
23562
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23563
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
23564
- }
23565
- else {
23566
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
23567
- }
23248
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
23568
23249
  }
23569
23250
  /**
23570
23251
  * Queries compliance evaluation results based on the rules in a compliance package.
@@ -23602,12 +23283,7 @@ class Client extends openapi_core_1.default {
23602
23283
  reqBodyType: "formData",
23603
23284
  bodyType: "json",
23604
23285
  });
23605
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23606
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
23607
- }
23608
- else {
23609
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
23610
- }
23286
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
23611
23287
  }
23612
23288
  /**
23613
23289
  * Queries the compliance summary based on the risk level of a rule.
@@ -23651,12 +23327,7 @@ class Client extends openapi_core_1.default {
23651
23327
  reqBodyType: "formData",
23652
23328
  bodyType: "json",
23653
23329
  });
23654
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23655
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRulesReportResponse({}));
23656
- }
23657
- else {
23658
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigRulesReportResponse({}));
23659
- }
23330
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigRulesReportResponse({}));
23660
23331
  }
23661
23332
  /**
23662
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.
@@ -23695,12 +23366,7 @@ class Client extends openapi_core_1.default {
23695
23366
  reqBodyType: "formData",
23696
23367
  bodyType: "json",
23697
23368
  });
23698
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23699
- return $dara.cast(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
23700
- }
23701
- else {
23702
- return $dara.cast(await this.execute(params, req, runtime), new GetConfigurationRecorderResponse({}));
23703
- }
23369
+ return $dara.cast(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
23704
23370
  }
23705
23371
  /**
23706
23372
  * Queries the activation status and resource monitoring scope of Cloud Config for the current account.
@@ -23752,12 +23418,7 @@ class Client extends openapi_core_1.default {
23752
23418
  reqBodyType: "formData",
23753
23419
  bodyType: "json",
23754
23420
  });
23755
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23756
- return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceResponse({}));
23757
- }
23758
- else {
23759
- return $dara.cast(await this.execute(params, req, runtime), new GetDiscoveredResourceResponse({}));
23760
- }
23421
+ return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceResponse({}));
23761
23422
  }
23762
23423
  /**
23763
23424
  * Queries the details of a specific resource.
@@ -23802,12 +23463,7 @@ class Client extends openapi_core_1.default {
23802
23463
  reqBodyType: "formData",
23803
23464
  bodyType: "json",
23804
23465
  });
23805
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23806
- return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
23807
- }
23808
- else {
23809
- return $dara.cast(await this.execute(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
23810
- }
23466
+ return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
23811
23467
  }
23812
23468
  /**
23813
23469
  * Queries the statistics on resources by region.
@@ -23852,12 +23508,7 @@ class Client extends openapi_core_1.default {
23852
23508
  reqBodyType: "formData",
23853
23509
  bodyType: "json",
23854
23510
  });
23855
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23856
- return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
23857
- }
23858
- else {
23859
- return $dara.cast(await this.execute(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
23860
- }
23511
+ return $dara.cast(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
23861
23512
  }
23862
23513
  /**
23863
23514
  * Queries the statistics on resources by resource type.
@@ -23899,12 +23550,7 @@ class Client extends openapi_core_1.default {
23899
23550
  reqBodyType: "formData",
23900
23551
  bodyType: "json",
23901
23552
  });
23902
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23903
- return $dara.cast(await this.callApi(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
23904
- }
23905
- else {
23906
- return $dara.cast(await this.execute(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
23907
- }
23553
+ return $dara.cast(await this.callApi(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
23908
23554
  }
23909
23555
  /**
23910
23556
  * Queries the integration status of a specific cloud service.
@@ -23946,12 +23592,7 @@ class Client extends openapi_core_1.default {
23946
23592
  reqBodyType: "formData",
23947
23593
  bodyType: "json",
23948
23594
  });
23949
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23950
- return $dara.cast(await this.callApi(params, req, runtime), new GetManagedRuleResponse({}));
23951
- }
23952
- else {
23953
- return $dara.cast(await this.execute(params, req, runtime), new GetManagedRuleResponse({}));
23954
- }
23595
+ return $dara.cast(await this.callApi(params, req, runtime), new GetManagedRuleResponse({}));
23955
23596
  }
23956
23597
  /**
23957
23598
  * Queries the details of a specific managed rule.
@@ -23996,12 +23637,7 @@ class Client extends openapi_core_1.default {
23996
23637
  reqBodyType: "formData",
23997
23638
  bodyType: "json",
23998
23639
  });
23999
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24000
- return $dara.cast(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
24001
- }
24002
- else {
24003
- return $dara.cast(await this.execute(params, req, runtime), new GetRemediationTemplateResponse({}));
24004
- }
23640
+ return $dara.cast(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
24005
23641
  }
24006
23642
  /**
24007
23643
  * Queries the details of an automatic remediation template.
@@ -24043,12 +23679,7 @@ class Client extends openapi_core_1.default {
24043
23679
  reqBodyType: "formData",
24044
23680
  bodyType: "json",
24045
23681
  });
24046
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24047
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
24048
- }
24049
- else {
24050
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
24051
- }
23682
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
24052
23683
  }
24053
23684
  /**
24054
23685
  * Queries the compliance summary based on the compliance evaluation result of a rule.
@@ -24090,12 +23721,7 @@ class Client extends openapi_core_1.default {
24090
23721
  reqBodyType: "formData",
24091
23722
  bodyType: "json",
24092
23723
  });
24093
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24094
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
24095
- }
24096
- else {
24097
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceByPackResponse({}));
24098
- }
23724
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
24099
23725
  }
24100
23726
  /**
24101
23727
  * Queries the compliance evaluation results of resources evaluated based on a compliance package.
@@ -24137,12 +23763,7 @@ class Client extends openapi_core_1.default {
24137
23763
  reqBodyType: "formData",
24138
23764
  bodyType: "json",
24139
23765
  });
24140
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24141
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
24142
- }
24143
- else {
24144
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
24145
- }
23766
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
24146
23767
  }
24147
23768
  /**
24148
23769
  * Queries the evaluation results grouped by region for a rule.
@@ -24181,12 +23802,7 @@ class Client extends openapi_core_1.default {
24181
23802
  reqBodyType: "formData",
24182
23803
  bodyType: "json",
24183
23804
  });
24184
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24185
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
24186
- }
24187
- else {
24188
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
24189
- }
23805
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
24190
23806
  }
24191
23807
  /**
24192
23808
  * Queries the evaluation results grouped by resource type for a rule.
@@ -24226,12 +23842,7 @@ class Client extends openapi_core_1.default {
24226
23842
  reqBodyType: "formData",
24227
23843
  bodyType: "json",
24228
23844
  });
24229
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24230
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
24231
- }
24232
- else {
24233
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
24234
- }
23845
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
24235
23846
  }
24236
23847
  /**
24237
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.
@@ -24274,12 +23885,7 @@ class Client extends openapi_core_1.default {
24274
23885
  reqBodyType: "formData",
24275
23886
  bodyType: "json",
24276
23887
  });
24277
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24278
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
24279
- }
24280
- else {
24281
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
24282
- }
23888
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
24283
23889
  }
24284
23890
  /**
24285
23891
  * Queries the configuration timeline of a resource.
@@ -24320,12 +23926,7 @@ class Client extends openapi_core_1.default {
24320
23926
  reqBodyType: "formData",
24321
23927
  bodyType: "json",
24322
23928
  });
24323
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24324
- return $dara.cast(await this.callApi(params, req, runtime), new GetResourceInventoryResponse({}));
24325
- }
24326
- else {
24327
- return $dara.cast(await this.execute(params, req, runtime), new GetResourceInventoryResponse({}));
24328
- }
23929
+ return $dara.cast(await this.callApi(params, req, runtime), new GetResourceInventoryResponse({}));
24329
23930
  }
24330
23931
  /**
24331
23932
  * Obtains the last resource inventory that is generated within the current Alibaba Cloud account.
@@ -24371,12 +23972,7 @@ class Client extends openapi_core_1.default {
24371
23972
  reqBodyType: "formData",
24372
23973
  bodyType: "json",
24373
23974
  });
24374
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24375
- return $dara.cast(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
24376
- }
24377
- else {
24378
- return $dara.cast(await this.execute(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
24379
- }
23975
+ return $dara.cast(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
24380
23976
  }
24381
23977
  /**
24382
23978
  * Queries the resource relationships supported by a resource type.
@@ -24439,12 +24035,7 @@ class Client extends openapi_core_1.default {
24439
24035
  reqBodyType: "formData",
24440
24036
  bodyType: "json",
24441
24037
  });
24442
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24443
- return $dara.cast(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
24444
- }
24445
- else {
24446
- return $dara.cast(await this.execute(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
24447
- }
24038
+ return $dara.cast(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
24448
24039
  }
24449
24040
  /**
24450
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.
@@ -24505,12 +24096,7 @@ class Client extends openapi_core_1.default {
24505
24096
  reqBodyType: "formData",
24506
24097
  bodyType: "json",
24507
24098
  });
24508
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24509
- return $dara.cast(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
24510
- }
24511
- else {
24512
- return $dara.cast(await this.execute(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
24513
- }
24099
+ return $dara.cast(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
24514
24100
  }
24515
24101
  /**
24516
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.
@@ -24573,12 +24159,7 @@ class Client extends openapi_core_1.default {
24573
24159
  reqBodyType: "formData",
24574
24160
  bodyType: "json",
24575
24161
  });
24576
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24577
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
24578
- }
24579
- else {
24580
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
24581
- }
24162
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
24582
24163
  }
24583
24164
  /**
24584
24165
  * Queries a list of compliance packages in an account group.
@@ -24623,12 +24204,7 @@ class Client extends openapi_core_1.default {
24623
24204
  reqBodyType: "formData",
24624
24205
  bodyType: "json",
24625
24206
  });
24626
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24627
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
24628
- }
24629
- else {
24630
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
24631
- }
24207
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
24632
24208
  }
24633
24209
  /**
24634
24210
  * Queries the information about all delivery channels in an account group.
@@ -24700,12 +24276,7 @@ class Client extends openapi_core_1.default {
24700
24276
  reqBodyType: "formData",
24701
24277
  bodyType: "json",
24702
24278
  });
24703
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24704
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
24705
- }
24706
- else {
24707
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
24708
- }
24279
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
24709
24280
  }
24710
24281
  /**
24711
24282
  * Queries the compliance evaluation results of resources based on a rule in an account group.
@@ -24750,12 +24321,7 @@ class Client extends openapi_core_1.default {
24750
24321
  reqBodyType: "formData",
24751
24322
  bodyType: "json",
24752
24323
  });
24753
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24754
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
24755
- }
24756
- else {
24757
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
24758
- }
24324
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
24759
24325
  }
24760
24326
  /**
24761
24327
  * Queries the statistics of compliance evaluation results of an account group.
@@ -24835,12 +24401,7 @@ class Client extends openapi_core_1.default {
24835
24401
  reqBodyType: "formData",
24836
24402
  bodyType: "json",
24837
24403
  });
24838
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24839
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
24840
- }
24841
- else {
24842
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateConfigRulesResponse({}));
24843
- }
24404
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
24844
24405
  }
24845
24406
  /**
24846
24407
  * Queries a list of rules in an account group.
@@ -24918,12 +24479,7 @@ class Client extends openapi_core_1.default {
24918
24479
  reqBodyType: "formData",
24919
24480
  bodyType: "json",
24920
24481
  });
24921
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24922
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
24923
- }
24924
- else {
24925
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
24926
- }
24482
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
24927
24483
  }
24928
24484
  /**
24929
24485
  * Obtains a list of resources aggregated across regions within all member accounts of a specific account group.
@@ -24983,12 +24539,7 @@ class Client extends openapi_core_1.default {
24983
24539
  reqBodyType: "formData",
24984
24540
  bodyType: "json",
24985
24541
  });
24986
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24987
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
24988
- }
24989
- else {
24990
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
24991
- }
24542
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
24992
24543
  }
24993
24544
  /**
24994
24545
  * Queries the remediation records of a rule in an account group.
@@ -25036,12 +24587,7 @@ class Client extends openapi_core_1.default {
25036
24587
  reqBodyType: "formData",
25037
24588
  bodyType: "json",
25038
24589
  });
25039
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25040
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
25041
- }
25042
- else {
25043
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateRemediationsResponse({}));
25044
- }
24590
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
25045
24591
  }
25046
24592
  /**
25047
24593
  * Queries a list of remediation templates for a rule in an account group.
@@ -25104,12 +24650,7 @@ class Client extends openapi_core_1.default {
25104
24650
  reqBodyType: "formData",
25105
24651
  bodyType: "json",
25106
24652
  });
25107
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25108
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
25109
- }
25110
- else {
25111
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
25112
- }
24653
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
25113
24654
  }
25114
24655
  /**
25115
24656
  * Queries the compliance evaluation results of resources in an account group.
@@ -25181,12 +24722,7 @@ class Client extends openapi_core_1.default {
25181
24722
  reqBodyType: "formData",
25182
24723
  bodyType: "json",
25183
24724
  });
25184
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25185
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
25186
- }
25187
- else {
25188
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
25189
- }
24725
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
25190
24726
  }
25191
24727
  /**
25192
24728
  * Queries a list of the resources of a specific resource in an account group.
@@ -25238,12 +24774,7 @@ class Client extends openapi_core_1.default {
25238
24774
  reqBodyType: "formData",
25239
24775
  bodyType: "json",
25240
24776
  });
25241
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25242
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
25243
- }
25244
- else {
25245
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
25246
- }
24777
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
25247
24778
  }
25248
24779
  /**
25249
24780
  * Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
@@ -25303,12 +24834,7 @@ class Client extends openapi_core_1.default {
25303
24834
  reqBodyType: "formData",
25304
24835
  bodyType: "json",
25305
24836
  });
25306
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25307
- return $dara.cast(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
25308
- }
25309
- else {
25310
- return $dara.cast(await this.execute(params, req, runtime), new ListAggregatorsResponse({}));
25311
- }
24837
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
25312
24838
  }
25313
24839
  /**
25314
24840
  * Queries all account groups within the current management account or delegated administrator account.
@@ -25362,12 +24888,7 @@ class Client extends openapi_core_1.default {
25362
24888
  reqBodyType: "formData",
25363
24889
  bodyType: "json",
25364
24890
  });
25365
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25366
- return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
25367
- }
25368
- else {
25369
- return $dara.cast(await this.execute(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
25370
- }
24891
+ return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
25371
24892
  }
25372
24893
  /**
25373
24894
  * Queries all compliance package templates provided by Cloud Config and the details of the compliance package templates.
@@ -25426,12 +24947,7 @@ class Client extends openapi_core_1.default {
25426
24947
  reqBodyType: "formData",
25427
24948
  bodyType: "json",
25428
24949
  });
25429
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25430
- return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePacksResponse({}));
25431
- }
25432
- else {
25433
- return $dara.cast(await this.execute(params, req, runtime), new ListCompliancePacksResponse({}));
25434
- }
24950
+ return $dara.cast(await this.callApi(params, req, runtime), new ListCompliancePacksResponse({}));
25435
24951
  }
25436
24952
  /**
25437
24953
  * Queries a list of compliance packages.
@@ -25473,12 +24989,7 @@ class Client extends openapi_core_1.default {
25473
24989
  reqBodyType: "formData",
25474
24990
  bodyType: "json",
25475
24991
  });
25476
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25477
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
25478
- }
25479
- else {
25480
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
25481
- }
24992
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
25482
24993
  }
25483
24994
  /**
25484
24995
  * Queries a list of delivery channels.
@@ -25517,12 +25028,7 @@ class Client extends openapi_core_1.default {
25517
25028
  reqBodyType: "formData",
25518
25029
  bodyType: "json",
25519
25030
  });
25520
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25521
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
25522
- }
25523
- else {
25524
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
25525
- }
25031
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
25526
25032
  }
25527
25033
  /**
25528
25034
  * Queries the compliance evaluation results of resources based on a rule.
@@ -25557,12 +25063,7 @@ class Client extends openapi_core_1.default {
25557
25063
  reqBodyType: "formData",
25558
25064
  bodyType: "json",
25559
25065
  });
25560
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25561
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
25562
- }
25563
- else {
25564
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
25565
- }
25066
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
25566
25067
  }
25567
25068
  /**
25568
25069
  * Queries the statistics of compliance evaluation results of the current Alibaba Cloud account.
@@ -25634,12 +25135,7 @@ class Client extends openapi_core_1.default {
25634
25135
  reqBodyType: "formData",
25635
25136
  bodyType: "json",
25636
25137
  });
25637
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25638
- return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRulesResponse({}));
25639
- }
25640
- else {
25641
- return $dara.cast(await this.execute(params, req, runtime), new ListConfigRulesResponse({}));
25642
- }
25138
+ return $dara.cast(await this.callApi(params, req, runtime), new ListConfigRulesResponse({}));
25643
25139
  }
25644
25140
  /**
25645
25141
  * Queries the rules of the current account.
@@ -25708,12 +25204,7 @@ class Client extends openapi_core_1.default {
25708
25204
  reqBodyType: "formData",
25709
25205
  bodyType: "json",
25710
25206
  });
25711
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25712
- return $dara.cast(await this.callApi(params, req, runtime), new ListDiscoveredResourcesResponse({}));
25713
- }
25714
- else {
25715
- return $dara.cast(await this.execute(params, req, runtime), new ListDiscoveredResourcesResponse({}));
25716
- }
25207
+ return $dara.cast(await this.callApi(params, req, runtime), new ListDiscoveredResourcesResponse({}));
25717
25208
  }
25718
25209
  /**
25719
25210
  * Obtains a list of resources aggregated across regions within an Alibaba Cloud account.
@@ -25751,12 +25242,7 @@ class Client extends openapi_core_1.default {
25751
25242
  reqBodyType: "formData",
25752
25243
  bodyType: "json",
25753
25244
  });
25754
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25755
- return $dara.cast(await this.callApi(params, req, runtime), new ListIntegratedServiceResponse({}));
25756
- }
25757
- else {
25758
- return $dara.cast(await this.execute(params, req, runtime), new ListIntegratedServiceResponse({}));
25759
- }
25245
+ return $dara.cast(await this.callApi(params, req, runtime), new ListIntegratedServiceResponse({}));
25760
25246
  }
25761
25247
  /**
25762
25248
  * Queries a list of cloud services that are integrated with Cloud Config and the status of each cloud service.
@@ -25817,12 +25303,7 @@ class Client extends openapi_core_1.default {
25817
25303
  reqBodyType: "formData",
25818
25304
  bodyType: "json",
25819
25305
  });
25820
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25821
- return $dara.cast(await this.callApi(params, req, runtime), new ListManagedRulesResponse({}));
25822
- }
25823
- else {
25824
- return $dara.cast(await this.execute(params, req, runtime), new ListManagedRulesResponse({}));
25825
- }
25306
+ return $dara.cast(await this.callApi(params, req, runtime), new ListManagedRulesResponse({}));
25826
25307
  }
25827
25308
  /**
25828
25309
  * Queries a list of managed rules supported by Cloud Config.
@@ -25882,12 +25363,7 @@ class Client extends openapi_core_1.default {
25882
25363
  reqBodyType: "formData",
25883
25364
  bodyType: "json",
25884
25365
  });
25885
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25886
- return $dara.cast(await this.callApi(params, req, runtime), new ListPreManagedRulesResponse({}));
25887
- }
25888
- else {
25889
- return $dara.cast(await this.execute(params, req, runtime), new ListPreManagedRulesResponse({}));
25890
- }
25366
+ return $dara.cast(await this.callApi(params, req, runtime), new ListPreManagedRulesResponse({}));
25891
25367
  }
25892
25368
  /**
25893
25369
  * Queries a list of evaluation rules supported by Cloud Config.
@@ -25942,12 +25418,7 @@ class Client extends openapi_core_1.default {
25942
25418
  reqBodyType: "formData",
25943
25419
  bodyType: "json",
25944
25420
  });
25945
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25946
- return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
25947
- }
25948
- else {
25949
- return $dara.cast(await this.execute(params, req, runtime), new ListRemediationExecutionsResponse({}));
25950
- }
25421
+ return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
25951
25422
  }
25952
25423
  /**
25953
25424
  * Queries the remediation records of a rule.
@@ -26001,12 +25472,7 @@ class Client extends openapi_core_1.default {
26001
25472
  reqBodyType: "formData",
26002
25473
  bodyType: "json",
26003
25474
  });
26004
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26005
- return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationTemplatesResponse({}));
26006
- }
26007
- else {
26008
- return $dara.cast(await this.execute(params, req, runtime), new ListRemediationTemplatesResponse({}));
26009
- }
25475
+ return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationTemplatesResponse({}));
26010
25476
  }
26011
25477
  /**
26012
25478
  * Queries a list of remediation templates for a managed rule.
@@ -26057,12 +25523,7 @@ class Client extends openapi_core_1.default {
26057
25523
  reqBodyType: "formData",
26058
25524
  bodyType: "json",
26059
25525
  });
26060
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26061
- return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
26062
- }
26063
- else {
26064
- return $dara.cast(await this.execute(params, req, runtime), new ListRemediationsResponse({}));
26065
- }
25526
+ return $dara.cast(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
26066
25527
  }
26067
25528
  /**
26068
25529
  * Queries the information about the execution of remediation templates.
@@ -26122,12 +25583,7 @@ class Client extends openapi_core_1.default {
26122
25583
  reqBodyType: "formData",
26123
25584
  bodyType: "json",
26124
25585
  });
26125
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26126
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
26127
- }
26128
- else {
26129
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
26130
- }
25586
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
26131
25587
  }
26132
25588
  /**
26133
25589
  * Queries the compliance evaluation results of resources.
@@ -26194,12 +25650,7 @@ class Client extends openapi_core_1.default {
26194
25650
  reqBodyType: "formData",
26195
25651
  bodyType: "json",
26196
25652
  });
26197
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26198
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
26199
- }
26200
- else {
26201
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceRelationsResponse({}));
26202
- }
25653
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
26203
25654
  }
26204
25655
  /**
26205
25656
  * Queries a list of resources that associate with a specific resource.
@@ -26249,12 +25700,7 @@ class Client extends openapi_core_1.default {
26249
25700
  reqBodyType: "formData",
26250
25701
  bodyType: "json",
26251
25702
  });
26252
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26253
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
26254
- }
26255
- else {
26256
- return $dara.cast(await this.execute(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
26257
- }
25703
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
26258
25704
  }
26259
25705
  /**
26260
25706
  * Obtains resources based on the fields in the resource properties by using a SELECT statement.
@@ -26306,12 +25752,7 @@ class Client extends openapi_core_1.default {
26306
25752
  reqBodyType: "formData",
26307
25753
  bodyType: "json",
26308
25754
  });
26309
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26310
- return $dara.cast(await this.callApi(params, req, runtime), new ListSupportedProductsResponse({}));
26311
- }
26312
- else {
26313
- return $dara.cast(await this.execute(params, req, runtime), new ListSupportedProductsResponse({}));
26314
- }
25755
+ return $dara.cast(await this.callApi(params, req, runtime), new ListSupportedProductsResponse({}));
26315
25756
  }
26316
25757
  /**
26317
25758
  * Queries the cloud services and resource types that are supported by Cloud Config.
@@ -26370,12 +25811,7 @@ class Client extends openapi_core_1.default {
26370
25811
  reqBodyType: "formData",
26371
25812
  bodyType: "json",
26372
25813
  });
26373
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26374
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
26375
- }
26376
- else {
26377
- return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
26378
- }
25814
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
26379
25815
  }
26380
25816
  /**
26381
25817
  * Queries tags that are added to specified resources.
@@ -26423,12 +25859,7 @@ class Client extends openapi_core_1.default {
26423
25859
  reqBodyType: "formData",
26424
25860
  bodyType: "json",
26425
25861
  });
26426
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26427
- return $dara.cast(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
26428
- }
26429
- else {
26430
- return $dara.cast(await this.execute(params, req, runtime), new PutEvaluationsResponse({}));
26431
- }
25862
+ return $dara.cast(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
26432
25863
  }
26433
25864
  /**
26434
25865
  * Submits the evaluation results of a rule from Function Compute.
@@ -26487,12 +25918,7 @@ class Client extends openapi_core_1.default {
26487
25918
  reqBodyType: "formData",
26488
25919
  bodyType: "json",
26489
25920
  });
26490
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26491
- return $dara.cast(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
26492
- }
26493
- else {
26494
- return $dara.cast(await this.execute(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
26495
- }
25921
+ return $dara.cast(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
26496
25922
  }
26497
25923
  /**
26498
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.
@@ -26551,12 +25977,7 @@ class Client extends openapi_core_1.default {
26551
25977
  reqBodyType: "formData",
26552
25978
  bodyType: "json",
26553
25979
  });
26554
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26555
- return $dara.cast(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
26556
- }
26557
- else {
26558
- return $dara.cast(await this.execute(params, req, runtime), new RevertEvaluationResultsResponse({}));
26559
- }
25980
+ return $dara.cast(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
26560
25981
  }
26561
25982
  /**
26562
25983
  * Re-evaluates resources that are evaluated based on a rule after the evaluation results on some resources of an ignored rule are resumed.
@@ -26614,12 +26035,7 @@ class Client extends openapi_core_1.default {
26614
26035
  reqBodyType: "formData",
26615
26036
  bodyType: "json",
26616
26037
  });
26617
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26618
- return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
26619
- }
26620
- else {
26621
- return $dara.cast(await this.execute(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
26622
- }
26038
+ return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
26623
26039
  }
26624
26040
  /**
26625
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.
@@ -26671,12 +26087,7 @@ class Client extends openapi_core_1.default {
26671
26087
  reqBodyType: "formData",
26672
26088
  bodyType: "json",
26673
26089
  });
26674
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26675
- return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
26676
- }
26677
- else {
26678
- return $dara.cast(await this.execute(params, req, runtime), new StartAggregateRemediationResponse({}));
26679
- }
26090
+ return $dara.cast(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
26680
26091
  }
26681
26092
  /**
26682
26093
  * Performs a remediation operation by using a rule in an account group.
@@ -26727,12 +26138,7 @@ class Client extends openapi_core_1.default {
26727
26138
  reqBodyType: "formData",
26728
26139
  bodyType: "json",
26729
26140
  });
26730
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26731
- return $dara.cast(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
26732
- }
26733
- else {
26734
- return $dara.cast(await this.execute(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
26735
- }
26141
+ return $dara.cast(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
26736
26142
  }
26737
26143
  /**
26738
26144
  * Re-evaluates the compliance of resources based on a rule or based on all rules in a compliance package.
@@ -26770,12 +26176,7 @@ class Client extends openapi_core_1.default {
26770
26176
  reqBodyType: "formData",
26771
26177
  bodyType: "json",
26772
26178
  });
26773
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26774
- return $dara.cast(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
26775
- }
26776
- else {
26777
- return $dara.cast(await this.execute(params, req, runtime), new StartConfigurationRecorderResponse({}));
26778
- }
26179
+ return $dara.cast(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
26779
26180
  }
26780
26181
  /**
26781
26182
  * Enables Cloud Config to monitor the resources of your Alibaba Cloud account.
@@ -26818,12 +26219,7 @@ class Client extends openapi_core_1.default {
26818
26219
  reqBodyType: "formData",
26819
26220
  bodyType: "json",
26820
26221
  });
26821
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26822
- return $dara.cast(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
26823
- }
26824
- else {
26825
- return $dara.cast(await this.execute(params, req, runtime), new StartRemediationResponse({}));
26826
- }
26222
+ return $dara.cast(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
26827
26223
  }
26828
26224
  /**
26829
26225
  * Performs a remediation operation by using a rule.
@@ -26861,12 +26257,7 @@ class Client extends openapi_core_1.default {
26861
26257
  reqBodyType: "formData",
26862
26258
  bodyType: "json",
26863
26259
  });
26864
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26865
- return $dara.cast(await this.callApi(params, req, runtime), new StopConfigurationRecorderResponse({}));
26866
- }
26867
- else {
26868
- return $dara.cast(await this.execute(params, req, runtime), new StopConfigurationRecorderResponse({}));
26869
- }
26260
+ return $dara.cast(await this.callApi(params, req, runtime), new StopConfigurationRecorderResponse({}));
26870
26261
  }
26871
26262
  /**
26872
26263
  * Deactivates Cloud Config.
@@ -26920,12 +26311,7 @@ class Client extends openapi_core_1.default {
26920
26311
  reqBodyType: "formData",
26921
26312
  bodyType: "json",
26922
26313
  });
26923
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26924
- return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
26925
- }
26926
- else {
26927
- return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
26928
- }
26314
+ return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
26929
26315
  }
26930
26316
  /**
26931
26317
  * Adds tags to resources.
@@ -26976,12 +26362,7 @@ class Client extends openapi_core_1.default {
26976
26362
  reqBodyType: "formData",
26977
26363
  bodyType: "json",
26978
26364
  });
26979
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26980
- return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
26981
- }
26982
- else {
26983
- return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
26984
- }
26365
+ return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
26985
26366
  }
26986
26367
  /**
26987
26368
  * Removes tags from specified resources.
@@ -27086,12 +26467,7 @@ class Client extends openapi_core_1.default {
27086
26467
  reqBodyType: "formData",
27087
26468
  bodyType: "json",
27088
26469
  });
27089
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27090
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
27091
- }
27092
- else {
27093
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
27094
- }
26470
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
27095
26471
  }
27096
26472
  /**
27097
26473
  * Modifies the configurations of a compliance package in an account group.
@@ -27175,12 +26551,7 @@ class Client extends openapi_core_1.default {
27175
26551
  reqBodyType: "formData",
27176
26552
  bodyType: "json",
27177
26553
  });
27178
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27179
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
27180
- }
27181
- else {
27182
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
27183
- }
26554
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
27184
26555
  }
27185
26556
  /**
27186
26557
  * Modifies a delivery channel in an account group.
@@ -27318,12 +26689,7 @@ class Client extends openapi_core_1.default {
27318
26689
  reqBodyType: "formData",
27319
26690
  bodyType: "json",
27320
26691
  });
27321
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27322
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
27323
- }
27324
- else {
27325
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
27326
- }
26692
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
27327
26693
  }
27328
26694
  /**
27329
26695
  * Modifies the description, input parameters, and risk level of a rule in a specific account group.
@@ -27386,12 +26752,7 @@ class Client extends openapi_core_1.default {
27386
26752
  reqBodyType: "formData",
27387
26753
  bodyType: "json",
27388
26754
  });
27389
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27390
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateRemediationResponse({}));
27391
- }
27392
- else {
27393
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregateRemediationResponse({}));
27394
- }
26755
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregateRemediationResponse({}));
27395
26756
  }
27396
26757
  /**
27397
26758
  * Modifies a remediation template for a rule in an account group.
@@ -27464,12 +26825,7 @@ class Client extends openapi_core_1.default {
27464
26825
  reqBodyType: "formData",
27465
26826
  bodyType: "json",
27466
26827
  });
27467
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27468
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregatorResponse({}));
27469
- }
27470
- else {
27471
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAggregatorResponse({}));
27472
- }
26828
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAggregatorResponse({}));
27473
26829
  }
27474
26830
  /**
27475
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.
@@ -27574,12 +26930,7 @@ class Client extends openapi_core_1.default {
27574
26930
  reqBodyType: "formData",
27575
26931
  bodyType: "json",
27576
26932
  });
27577
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27578
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateCompliancePackResponse({}));
27579
- }
27580
- else {
27581
- return $dara.cast(await this.execute(params, req, runtime), new UpdateCompliancePackResponse({}));
27582
- }
26933
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateCompliancePackResponse({}));
27583
26934
  }
27584
26935
  /**
27585
26936
  * Modifies the configurations of a specific compliance package in the current account.
@@ -27660,12 +27011,7 @@ class Client extends openapi_core_1.default {
27660
27011
  reqBodyType: "formData",
27661
27012
  bodyType: "json",
27662
27013
  });
27663
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27664
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
27665
- }
27666
- else {
27667
- return $dara.cast(await this.execute(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
27668
- }
27014
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
27669
27015
  }
27670
27016
  /**
27671
27017
  * Modifies a delivery channel by using the current account.
@@ -27791,12 +27137,7 @@ class Client extends openapi_core_1.default {
27791
27137
  reqBodyType: "formData",
27792
27138
  bodyType: "json",
27793
27139
  });
27794
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27795
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigRuleResponse({}));
27796
- }
27797
- else {
27798
- return $dara.cast(await this.execute(params, req, runtime), new UpdateConfigRuleResponse({}));
27799
- }
27140
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigRuleResponse({}));
27800
27141
  }
27801
27142
  /**
27802
27143
  * Modifies the description, input parameters, and risk level of a rule.
@@ -27841,12 +27182,7 @@ class Client extends openapi_core_1.default {
27841
27182
  reqBodyType: "formData",
27842
27183
  bodyType: "json",
27843
27184
  });
27844
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27845
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
27846
- }
27847
- else {
27848
- return $dara.cast(await this.execute(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
27849
- }
27185
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
27850
27186
  }
27851
27187
  /**
27852
27188
  * Modifies the resource monitoring scope of the current account.
@@ -27927,12 +27263,7 @@ class Client extends openapi_core_1.default {
27927
27263
  reqBodyType: "formData",
27928
27264
  bodyType: "json",
27929
27265
  });
27930
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27931
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateDeliveryChannelResponse({}));
27932
- }
27933
- else {
27934
- return $dara.cast(await this.execute(params, req, runtime), new UpdateDeliveryChannelResponse({}));
27935
- }
27266
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateDeliveryChannelResponse({}));
27936
27267
  }
27937
27268
  /**
27938
27269
  * Modifies a delivery channel.
@@ -27986,12 +27317,7 @@ class Client extends openapi_core_1.default {
27986
27317
  reqBodyType: "formData",
27987
27318
  bodyType: "json",
27988
27319
  });
27989
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27990
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
27991
- }
27992
- else {
27993
- return $dara.cast(await this.execute(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
27994
- }
27320
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
27995
27321
  }
27996
27322
  /**
27997
27323
  * Enables or disables the integration of a cloud service.
@@ -28051,12 +27377,7 @@ class Client extends openapi_core_1.default {
28051
27377
  reqBodyType: "formData",
28052
27378
  bodyType: "json",
28053
27379
  });
28054
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
28055
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateRemediationResponse({}));
28056
- }
28057
- else {
28058
- return $dara.cast(await this.execute(params, req, runtime), new UpdateRemediationResponse({}));
28059
- }
27380
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateRemediationResponse({}));
28060
27381
  }
28061
27382
  /**
28062
27383
  * Updates a remediation template for a rule.