@alicloud/config20200907 3.0.9 → 3.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -518,6 +518,32 @@ export class CreateAggregateCompliancePackRequestExcludeTagsScope extends $dara.
518
518
  }
519
519
  }
520
520
 
521
+ export class CreateAggregateCompliancePackRequestTag extends $dara.Model {
522
+ key?: string;
523
+ value?: string;
524
+ static names(): { [key: string]: string } {
525
+ return {
526
+ key: 'Key',
527
+ value: 'Value',
528
+ };
529
+ }
530
+
531
+ static types(): { [key: string]: any } {
532
+ return {
533
+ key: 'string',
534
+ value: 'string',
535
+ };
536
+ }
537
+
538
+ validate() {
539
+ super.validate();
540
+ }
541
+
542
+ constructor(map?: { [key: string]: any }) {
543
+ super(map);
544
+ }
545
+ }
546
+
521
547
  export class CreateAggregateCompliancePackRequestTagsScope extends $dara.Model {
522
548
  /**
523
549
  * @remarks
@@ -678,6 +704,32 @@ export class CreateAggregateConfigRuleRequestExcludeTagsScope extends $dara.Mode
678
704
  }
679
705
  }
680
706
 
707
+ export class CreateAggregateConfigRuleRequestTag extends $dara.Model {
708
+ key?: string;
709
+ value?: string;
710
+ static names(): { [key: string]: string } {
711
+ return {
712
+ key: 'Key',
713
+ value: 'Value',
714
+ };
715
+ }
716
+
717
+ static types(): { [key: string]: any } {
718
+ return {
719
+ key: 'string',
720
+ value: 'string',
721
+ };
722
+ }
723
+
724
+ validate() {
725
+ super.validate();
726
+ }
727
+
728
+ constructor(map?: { [key: string]: any }) {
729
+ super(map);
730
+ }
731
+ }
732
+
681
733
  export class CreateAggregateConfigRuleRequestTagsScope extends $dara.Model {
682
734
  /**
683
735
  * @remarks
@@ -848,6 +900,32 @@ export class CreateAggregatorRequestAggregatorAccounts extends $dara.Model {
848
900
  }
849
901
  }
850
902
 
903
+ export class CreateAggregatorRequestTag extends $dara.Model {
904
+ key?: string;
905
+ value?: string;
906
+ static names(): { [key: string]: string } {
907
+ return {
908
+ key: 'Key',
909
+ value: 'Value',
910
+ };
911
+ }
912
+
913
+ static types(): { [key: string]: any } {
914
+ return {
915
+ key: 'string',
916
+ value: 'string',
917
+ };
918
+ }
919
+
920
+ validate() {
921
+ super.validate();
922
+ }
923
+
924
+ constructor(map?: { [key: string]: any }) {
925
+ super(map);
926
+ }
927
+ }
928
+
851
929
  export class CreateCompliancePackRequestConfigRulesConfigRuleParameters extends $dara.Model {
852
930
  /**
853
931
  * @remarks
@@ -1020,6 +1098,32 @@ export class CreateCompliancePackRequestExcludeTagsScope extends $dara.Model {
1020
1098
  }
1021
1099
  }
1022
1100
 
1101
+ export class CreateCompliancePackRequestTag extends $dara.Model {
1102
+ key?: string;
1103
+ value?: string;
1104
+ static names(): { [key: string]: string } {
1105
+ return {
1106
+ key: 'Key',
1107
+ value: 'Value',
1108
+ };
1109
+ }
1110
+
1111
+ static types(): { [key: string]: any } {
1112
+ return {
1113
+ key: 'string',
1114
+ value: 'string',
1115
+ };
1116
+ }
1117
+
1118
+ validate() {
1119
+ super.validate();
1120
+ }
1121
+
1122
+ constructor(map?: { [key: string]: any }) {
1123
+ super(map);
1124
+ }
1125
+ }
1126
+
1023
1127
  export class CreateCompliancePackRequestTagsScope extends $dara.Model {
1024
1128
  /**
1025
1129
  * @remarks
@@ -1181,7 +1285,27 @@ export class CreateConfigRuleRequestExcludeTagsScope extends $dara.Model {
1181
1285
  }
1182
1286
 
1183
1287
  export class CreateConfigRuleRequestTag extends $dara.Model {
1288
+ /**
1289
+ * @remarks
1290
+ * The tag keys.
1291
+ *
1292
+ * The tag keys cannot be an empty string. The tag keys can be up to 64 characters in length. The tag keys cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
1293
+ *
1294
+ * You can specify at most 20 tag keys in each call.
1295
+ *
1296
+ * @example
1297
+ * key-1
1298
+ */
1184
1299
  key?: string;
1300
+ /**
1301
+ * @remarks
1302
+ * The value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.
1303
+ *
1304
+ * The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag value cannot contain `http://` or `https://`.
1305
+ *
1306
+ * @example
1307
+ * value-1
1308
+ */
1185
1309
  value?: string;
1186
1310
  static names(): { [key: string]: string } {
1187
1311
  return {
@@ -2800,6 +2924,32 @@ export class GetAggregateAdvancedSearchFileResponseBodyResourceSearch extends $d
2800
2924
  }
2801
2925
  }
2802
2926
 
2927
+ export class GetAggregateCompliancePackRequestTag extends $dara.Model {
2928
+ key?: string;
2929
+ value?: string;
2930
+ static names(): { [key: string]: string } {
2931
+ return {
2932
+ key: 'Key',
2933
+ value: 'Value',
2934
+ };
2935
+ }
2936
+
2937
+ static types(): { [key: string]: any } {
2938
+ return {
2939
+ key: 'string',
2940
+ value: 'string',
2941
+ };
2942
+ }
2943
+
2944
+ validate() {
2945
+ super.validate();
2946
+ }
2947
+
2948
+ constructor(map?: { [key: string]: any }) {
2949
+ super(map);
2950
+ }
2951
+ }
2952
+
2803
2953
  export class GetAggregateCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters extends $dara.Model {
2804
2954
  /**
2805
2955
  * @remarks
@@ -3147,6 +3297,32 @@ export class GetAggregateCompliancePackResponseBodyCompliancePackScope extends $
3147
3297
  }
3148
3298
  }
3149
3299
 
3300
+ export class GetAggregateCompliancePackResponseBodyCompliancePackTags extends $dara.Model {
3301
+ tagKey?: string;
3302
+ tagValue?: string;
3303
+ static names(): { [key: string]: string } {
3304
+ return {
3305
+ tagKey: 'TagKey',
3306
+ tagValue: 'TagValue',
3307
+ };
3308
+ }
3309
+
3310
+ static types(): { [key: string]: any } {
3311
+ return {
3312
+ tagKey: 'string',
3313
+ tagValue: 'string',
3314
+ };
3315
+ }
3316
+
3317
+ validate() {
3318
+ super.validate();
3319
+ }
3320
+
3321
+ constructor(map?: { [key: string]: any }) {
3322
+ super(map);
3323
+ }
3324
+ }
3325
+
3150
3326
  export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.Model {
3151
3327
  /**
3152
3328
  * @remarks
@@ -3237,6 +3413,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3237
3413
  * ACTIVE
3238
3414
  */
3239
3415
  status?: string;
3416
+ tags?: GetAggregateCompliancePackResponseBodyCompliancePackTags[];
3240
3417
  /**
3241
3418
  * @remarks
3242
3419
  * The information about the current compliance package template. The rules in the template do not contain custom function rules. You can quickly create the same compliance package for other accounts or account groups based on the template information.
@@ -3283,6 +3460,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3283
3460
  riskLevel: 'RiskLevel',
3284
3461
  scope: 'Scope',
3285
3462
  status: 'Status',
3463
+ tags: 'Tags',
3286
3464
  templateContent: 'TemplateContent',
3287
3465
  };
3288
3466
  }
@@ -3300,6 +3478,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3300
3478
  riskLevel: 'number',
3301
3479
  scope: GetAggregateCompliancePackResponseBodyCompliancePackScope,
3302
3480
  status: 'string',
3481
+ tags: { 'type': 'array', 'itemType': GetAggregateCompliancePackResponseBodyCompliancePackTags },
3303
3482
  templateContent: 'string',
3304
3483
  };
3305
3484
  }
@@ -3311,6 +3490,9 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3311
3490
  if(this.scope && typeof (this.scope as any).validate === 'function') {
3312
3491
  (this.scope as any).validate();
3313
3492
  }
3493
+ if(Array.isArray(this.tags)) {
3494
+ $dara.Model.validateArray(this.tags);
3495
+ }
3314
3496
  super.validate();
3315
3497
  }
3316
3498
 
@@ -3774,7 +3956,27 @@ export class GetAggregateConfigDeliveryChannelResponseBodyDeliveryChannel extend
3774
3956
  }
3775
3957
 
3776
3958
  export class GetAggregateConfigRuleRequestTag extends $dara.Model {
3959
+ /**
3960
+ * @remarks
3961
+ * The tag key of the resource. You can specify up to 20 tag keys.
3962
+ *
3963
+ * The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
3964
+ *
3965
+ * @example
3966
+ * key-1
3967
+ */
3777
3968
  key?: string;
3969
+ /**
3970
+ * @remarks
3971
+ * The tag values.
3972
+ *
3973
+ * The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
3974
+ *
3975
+ * Each key-value must be unique. You can specify at most 20 tag values in each call.
3976
+ *
3977
+ * @example
3978
+ * value-1
3979
+ */
3778
3980
  value?: string;
3779
3981
  static names(): { [key: string]: string } {
3780
3982
  return {
@@ -4352,7 +4554,21 @@ export class GetAggregateConfigRuleResponseBodyConfigRuleSource extends $dara.Mo
4352
4554
  }
4353
4555
 
4354
4556
  export class GetAggregateConfigRuleResponseBodyConfigRuleTags extends $dara.Model {
4557
+ /**
4558
+ * @remarks
4559
+ * The tag key.
4560
+ *
4561
+ * @example
4562
+ * key-1
4563
+ */
4355
4564
  tagKey?: string;
4565
+ /**
4566
+ * @remarks
4567
+ * The tag value.
4568
+ *
4569
+ * @example
4570
+ * value-1
4571
+ */
4356
4572
  tagValue?: string;
4357
4573
  static names(): { [key: string]: string } {
4358
4574
  return {
@@ -4695,6 +4911,10 @@ export class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
4695
4911
  * MFA
4696
4912
  */
4697
4913
  tagValueScope?: string;
4914
+ /**
4915
+ * @remarks
4916
+ * The list of tags.
4917
+ */
4698
4918
  tags?: GetAggregateConfigRuleResponseBodyConfigRuleTags[];
4699
4919
  /**
4700
4920
  * @remarks
@@ -6153,6 +6373,32 @@ export class GetAggregateResourceInventoryResponseBodyResourceInventory extends
6153
6373
  }
6154
6374
  }
6155
6375
 
6376
+ export class GetAggregatorRequestTag extends $dara.Model {
6377
+ key?: string;
6378
+ value?: string;
6379
+ static names(): { [key: string]: string } {
6380
+ return {
6381
+ key: 'Key',
6382
+ value: 'Value',
6383
+ };
6384
+ }
6385
+
6386
+ static types(): { [key: string]: any } {
6387
+ return {
6388
+ key: 'string',
6389
+ value: 'string',
6390
+ };
6391
+ }
6392
+
6393
+ validate() {
6394
+ super.validate();
6395
+ }
6396
+
6397
+ constructor(map?: { [key: string]: any }) {
6398
+ super(map);
6399
+ }
6400
+ }
6401
+
6156
6402
  export class GetAggregatorResponseBodyAggregatorAggregatorAccounts extends $dara.Model {
6157
6403
  /**
6158
6404
  * @remarks
@@ -6221,6 +6467,32 @@ export class GetAggregatorResponseBodyAggregatorAggregatorAccounts extends $dara
6221
6467
  }
6222
6468
  }
6223
6469
 
6470
+ export class GetAggregatorResponseBodyAggregatorTags extends $dara.Model {
6471
+ tagKey?: string;
6472
+ tagValue?: string;
6473
+ static names(): { [key: string]: string } {
6474
+ return {
6475
+ tagKey: 'TagKey',
6476
+ tagValue: 'TagValue',
6477
+ };
6478
+ }
6479
+
6480
+ static types(): { [key: string]: any } {
6481
+ return {
6482
+ tagKey: 'string',
6483
+ tagValue: 'string',
6484
+ };
6485
+ }
6486
+
6487
+ validate() {
6488
+ super.validate();
6489
+ }
6490
+
6491
+ constructor(map?: { [key: string]: any }) {
6492
+ super(map);
6493
+ }
6494
+ }
6495
+
6224
6496
  export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6225
6497
  /**
6226
6498
  * @remarks
@@ -6308,6 +6580,7 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6308
6580
  * fd-brHdgv****
6309
6581
  */
6310
6582
  folderId?: string;
6583
+ tags?: GetAggregatorResponseBodyAggregatorTags[];
6311
6584
  static names(): { [key: string]: string } {
6312
6585
  return {
6313
6586
  accountId: 'AccountId',
@@ -6320,6 +6593,7 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6320
6593
  aggregatorType: 'AggregatorType',
6321
6594
  description: 'Description',
6322
6595
  folderId: 'FolderId',
6596
+ tags: 'Tags',
6323
6597
  };
6324
6598
  }
6325
6599
 
@@ -6335,6 +6609,7 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6335
6609
  aggregatorType: 'string',
6336
6610
  description: 'string',
6337
6611
  folderId: 'string',
6612
+ tags: { 'type': 'array', 'itemType': GetAggregatorResponseBodyAggregatorTags },
6338
6613
  };
6339
6614
  }
6340
6615
 
@@ -6342,6 +6617,35 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6342
6617
  if(Array.isArray(this.aggregatorAccounts)) {
6343
6618
  $dara.Model.validateArray(this.aggregatorAccounts);
6344
6619
  }
6620
+ if(Array.isArray(this.tags)) {
6621
+ $dara.Model.validateArray(this.tags);
6622
+ }
6623
+ super.validate();
6624
+ }
6625
+
6626
+ constructor(map?: { [key: string]: any }) {
6627
+ super(map);
6628
+ }
6629
+ }
6630
+
6631
+ export class GetCompliancePackRequestTag extends $dara.Model {
6632
+ key?: string;
6633
+ value?: string;
6634
+ static names(): { [key: string]: string } {
6635
+ return {
6636
+ key: 'Key',
6637
+ value: 'Value',
6638
+ };
6639
+ }
6640
+
6641
+ static types(): { [key: string]: any } {
6642
+ return {
6643
+ key: 'string',
6644
+ value: 'string',
6645
+ };
6646
+ }
6647
+
6648
+ validate() {
6345
6649
  super.validate();
6346
6650
  }
6347
6651
 
@@ -6701,6 +7005,32 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
6701
7005
  }
6702
7006
  }
6703
7007
 
7008
+ export class GetCompliancePackResponseBodyCompliancePackTags extends $dara.Model {
7009
+ tagKey?: string;
7010
+ tagValue?: string;
7011
+ static names(): { [key: string]: string } {
7012
+ return {
7013
+ tagKey: 'TagKey',
7014
+ tagValue: 'TagValue',
7015
+ };
7016
+ }
7017
+
7018
+ static types(): { [key: string]: any } {
7019
+ return {
7020
+ tagKey: 'string',
7021
+ tagValue: 'string',
7022
+ };
7023
+ }
7024
+
7025
+ validate() {
7026
+ super.validate();
7027
+ }
7028
+
7029
+ constructor(map?: { [key: string]: any }) {
7030
+ super(map);
7031
+ }
7032
+ }
7033
+
6704
7034
  export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6705
7035
  /**
6706
7036
  * @remarks
@@ -6783,6 +7113,7 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6783
7113
  * ACTIVE
6784
7114
  */
6785
7115
  status?: string;
7116
+ tags?: GetCompliancePackResponseBodyCompliancePackTags[];
6786
7117
  /**
6787
7118
  * @remarks
6788
7119
  * The information about the current compliance package template. The rules in the template do not contain custom function rules. You can quickly create the same compliance package for other accounts or account groups based on the template information.
@@ -6832,6 +7163,7 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6832
7163
  riskLevel: 'RiskLevel',
6833
7164
  scope: 'Scope',
6834
7165
  status: 'Status',
7166
+ tags: 'Tags',
6835
7167
  templateContent: 'TemplateContent',
6836
7168
  };
6837
7169
  }
@@ -6848,6 +7180,7 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6848
7180
  riskLevel: 'number',
6849
7181
  scope: GetCompliancePackResponseBodyCompliancePackScope,
6850
7182
  status: 'string',
7183
+ tags: { 'type': 'array', 'itemType': GetCompliancePackResponseBodyCompliancePackTags },
6851
7184
  templateContent: 'string',
6852
7185
  };
6853
7186
  }
@@ -6859,6 +7192,9 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6859
7192
  if(this.scope && typeof (this.scope as any).validate === 'function') {
6860
7193
  (this.scope as any).validate();
6861
7194
  }
7195
+ if(Array.isArray(this.tags)) {
7196
+ $dara.Model.validateArray(this.tags);
7197
+ }
6862
7198
  super.validate();
6863
7199
  }
6864
7200
 
@@ -7312,7 +7648,25 @@ export class GetConfigDeliveryChannelResponseBodyDeliveryChannel extends $dara.M
7312
7648
  }
7313
7649
 
7314
7650
  export class GetConfigRuleRequestTag extends $dara.Model {
7651
+ /**
7652
+ * @remarks
7653
+ * The tag key.
7654
+ *
7655
+ * The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
7656
+ *
7657
+ * You can specify at most 20 tag keys.
7658
+ *
7659
+ * @example
7660
+ * key-1
7661
+ */
7315
7662
  key?: string;
7663
+ /**
7664
+ * @remarks
7665
+ * The tag value. The tag value can be up to 256 characters in length and cannot contain `http://` or `https://`.
7666
+ *
7667
+ * @example
7668
+ * value-1
7669
+ */
7316
7670
  value?: string;
7317
7671
  static names(): { [key: string]: string } {
7318
7672
  return {
@@ -7894,7 +8248,21 @@ export class GetConfigRuleResponseBodyConfigRuleSource extends $dara.Model {
7894
8248
  }
7895
8249
 
7896
8250
  export class GetConfigRuleResponseBodyConfigRuleTags extends $dara.Model {
8251
+ /**
8252
+ * @remarks
8253
+ * The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
8254
+ *
8255
+ * @example
8256
+ * key-1
8257
+ */
7897
8258
  tagKey?: string;
8259
+ /**
8260
+ * @remarks
8261
+ * The tag value.
8262
+ *
8263
+ * @example
8264
+ * value-1
8265
+ */
7898
8266
  tagValue?: string;
7899
8267
  static names(): { [key: string]: string } {
7900
8268
  return {
@@ -8205,6 +8573,10 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
8205
8573
  * MFA
8206
8574
  */
8207
8575
  tagValueScope?: string;
8576
+ /**
8577
+ * @remarks
8578
+ * The tag list.
8579
+ */
8208
8580
  tags?: GetConfigRuleResponseBodyConfigRuleTags[];
8209
8581
  /**
8210
8582
  * @remarks
@@ -10172,6 +10544,58 @@ export class IgnoreEvaluationResultsRequestResources extends $dara.Model {
10172
10544
  }
10173
10545
  }
10174
10546
 
10547
+ export class ListAggregateCompliancePacksRequestTag extends $dara.Model {
10548
+ key?: string;
10549
+ value?: string;
10550
+ static names(): { [key: string]: string } {
10551
+ return {
10552
+ key: 'Key',
10553
+ value: 'Value',
10554
+ };
10555
+ }
10556
+
10557
+ static types(): { [key: string]: any } {
10558
+ return {
10559
+ key: 'string',
10560
+ value: 'string',
10561
+ };
10562
+ }
10563
+
10564
+ validate() {
10565
+ super.validate();
10566
+ }
10567
+
10568
+ constructor(map?: { [key: string]: any }) {
10569
+ super(map);
10570
+ }
10571
+ }
10572
+
10573
+ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags extends $dara.Model {
10574
+ tagKey?: string;
10575
+ tagValue?: string;
10576
+ static names(): { [key: string]: string } {
10577
+ return {
10578
+ tagKey: 'TagKey',
10579
+ tagValue: 'TagValue',
10580
+ };
10581
+ }
10582
+
10583
+ static types(): { [key: string]: any } {
10584
+ return {
10585
+ tagKey: 'string',
10586
+ tagValue: 'string',
10587
+ };
10588
+ }
10589
+
10590
+ validate() {
10591
+ super.validate();
10592
+ }
10593
+
10594
+ constructor(map?: { [key: string]: any }) {
10595
+ super(map);
10596
+ }
10597
+ }
10598
+
10175
10599
  export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacks extends $dara.Model {
10176
10600
  /**
10177
10601
  * @remarks
@@ -10252,6 +10676,7 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
10252
10676
  * ACTIVE
10253
10677
  */
10254
10678
  status?: string;
10679
+ tags?: ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags[];
10255
10680
  static names(): { [key: string]: string } {
10256
10681
  return {
10257
10682
  accountId: 'AccountId',
@@ -10263,6 +10688,7 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
10263
10688
  description: 'Description',
10264
10689
  riskLevel: 'RiskLevel',
10265
10690
  status: 'Status',
10691
+ tags: 'Tags',
10266
10692
  };
10267
10693
  }
10268
10694
 
@@ -10277,10 +10703,14 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
10277
10703
  description: 'string',
10278
10704
  riskLevel: 'number',
10279
10705
  status: 'string',
10706
+ tags: { 'type': 'array', 'itemType': ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags },
10280
10707
  };
10281
10708
  }
10282
10709
 
10283
10710
  validate() {
10711
+ if(Array.isArray(this.tags)) {
10712
+ $dara.Model.validateArray(this.tags);
10713
+ }
10284
10714
  super.validate();
10285
10715
  }
10286
10716
 
@@ -10988,6 +11418,32 @@ export class ListAggregateConfigRuleEvaluationStatisticsResponseBodyEvaluationRe
10988
11418
  }
10989
11419
  }
10990
11420
 
11421
+ export class ListAggregateConfigRulesRequestTag extends $dara.Model {
11422
+ key?: string;
11423
+ value?: string;
11424
+ static names(): { [key: string]: string } {
11425
+ return {
11426
+ key: 'Key',
11427
+ value: 'Value',
11428
+ };
11429
+ }
11430
+
11431
+ static types(): { [key: string]: any } {
11432
+ return {
11433
+ key: 'string',
11434
+ value: 'string',
11435
+ };
11436
+ }
11437
+
11438
+ validate() {
11439
+ super.validate();
11440
+ }
11441
+
11442
+ constructor(map?: { [key: string]: any }) {
11443
+ super(map);
11444
+ }
11445
+ }
11446
+
10991
11447
  export class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleListCompliance extends $dara.Model {
10992
11448
  /**
10993
11449
  * @remarks
@@ -12422,6 +12878,58 @@ export class ListAggregateResourcesByAdvancedSearchResponseBodyQueryResults exte
12422
12878
  }
12423
12879
  }
12424
12880
 
12881
+ export class ListAggregatorsRequestTag extends $dara.Model {
12882
+ key?: string;
12883
+ value?: string;
12884
+ static names(): { [key: string]: string } {
12885
+ return {
12886
+ key: 'Key',
12887
+ value: 'Value',
12888
+ };
12889
+ }
12890
+
12891
+ static types(): { [key: string]: any } {
12892
+ return {
12893
+ key: 'string',
12894
+ value: 'string',
12895
+ };
12896
+ }
12897
+
12898
+ validate() {
12899
+ super.validate();
12900
+ }
12901
+
12902
+ constructor(map?: { [key: string]: any }) {
12903
+ super(map);
12904
+ }
12905
+ }
12906
+
12907
+ export class ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags extends $dara.Model {
12908
+ tagKey?: string;
12909
+ tagValue?: string;
12910
+ static names(): { [key: string]: string } {
12911
+ return {
12912
+ tagKey: 'TagKey',
12913
+ tagValue: 'TagValue',
12914
+ };
12915
+ }
12916
+
12917
+ static types(): { [key: string]: any } {
12918
+ return {
12919
+ tagKey: 'string',
12920
+ tagValue: 'string',
12921
+ };
12922
+ }
12923
+
12924
+ validate() {
12925
+ super.validate();
12926
+ }
12927
+
12928
+ constructor(map?: { [key: string]: any }) {
12929
+ super(map);
12930
+ }
12931
+ }
12932
+
12425
12933
  export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $dara.Model {
12426
12934
  /**
12427
12935
  * @remarks
@@ -12502,6 +13010,7 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
12502
13010
  * r-BU****
12503
13011
  */
12504
13012
  folderId?: string;
13013
+ tags?: ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags[];
12505
13014
  static names(): { [key: string]: string } {
12506
13015
  return {
12507
13016
  accountId: 'AccountId',
@@ -12513,6 +13022,7 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
12513
13022
  aggregatorType: 'AggregatorType',
12514
13023
  description: 'Description',
12515
13024
  folderId: 'FolderId',
13025
+ tags: 'Tags',
12516
13026
  };
12517
13027
  }
12518
13028
 
@@ -12527,10 +13037,14 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
12527
13037
  aggregatorType: 'string',
12528
13038
  description: 'string',
12529
13039
  folderId: 'string',
13040
+ tags: { 'type': 'array', 'itemType': ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags },
12530
13041
  };
12531
13042
  }
12532
13043
 
12533
13044
  validate() {
13045
+ if(Array.isArray(this.tags)) {
13046
+ $dara.Model.validateArray(this.tags);
13047
+ }
12534
13048
  super.validate();
12535
13049
  }
12536
13050
 
@@ -12905,6 +13419,58 @@ export class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResul
12905
13419
  }
12906
13420
  }
12907
13421
 
13422
+ export class ListCompliancePacksRequestTag extends $dara.Model {
13423
+ key?: string;
13424
+ value?: string;
13425
+ static names(): { [key: string]: string } {
13426
+ return {
13427
+ key: 'Key',
13428
+ value: 'Value',
13429
+ };
13430
+ }
13431
+
13432
+ static types(): { [key: string]: any } {
13433
+ return {
13434
+ key: 'string',
13435
+ value: 'string',
13436
+ };
13437
+ }
13438
+
13439
+ validate() {
13440
+ super.validate();
13441
+ }
13442
+
13443
+ constructor(map?: { [key: string]: any }) {
13444
+ super(map);
13445
+ }
13446
+ }
13447
+
13448
+ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags extends $dara.Model {
13449
+ tagKey?: string;
13450
+ tagValue?: string;
13451
+ static names(): { [key: string]: string } {
13452
+ return {
13453
+ tagKey: 'TagKey',
13454
+ tagValue: 'TagValue',
13455
+ };
13456
+ }
13457
+
13458
+ static types(): { [key: string]: any } {
13459
+ return {
13460
+ tagKey: 'string',
13461
+ tagValue: 'string',
13462
+ };
13463
+ }
13464
+
13465
+ validate() {
13466
+ super.validate();
13467
+ }
13468
+
13469
+ constructor(map?: { [key: string]: any }) {
13470
+ super(map);
13471
+ }
13472
+ }
13473
+
12908
13474
  export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks extends $dara.Model {
12909
13475
  /**
12910
13476
  * @remarks
@@ -12977,6 +13543,7 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
12977
13543
  * ACTIVE
12978
13544
  */
12979
13545
  status?: string;
13546
+ tags?: ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags[];
12980
13547
  static names(): { [key: string]: string } {
12981
13548
  return {
12982
13549
  accountId: 'AccountId',
@@ -12987,6 +13554,7 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
12987
13554
  description: 'Description',
12988
13555
  riskLevel: 'RiskLevel',
12989
13556
  status: 'Status',
13557
+ tags: 'Tags',
12990
13558
  };
12991
13559
  }
12992
13560
 
@@ -13000,10 +13568,14 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
13000
13568
  description: 'string',
13001
13569
  riskLevel: 'number',
13002
13570
  status: 'string',
13571
+ tags: { 'type': 'array', 'itemType': ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags },
13003
13572
  };
13004
13573
  }
13005
13574
 
13006
13575
  validate() {
13576
+ if(Array.isArray(this.tags)) {
13577
+ $dara.Model.validateArray(this.tags);
13578
+ }
13007
13579
  super.validate();
13008
13580
  }
13009
13581
 
@@ -13690,7 +14262,27 @@ export class ListConfigRuleEvaluationStatisticsResponseBodyEvaluationResults ext
13690
14262
  }
13691
14263
 
13692
14264
  export class ListConfigRulesRequestTag extends $dara.Model {
14265
+ /**
14266
+ * @remarks
14267
+ * The tag key.
14268
+ *
14269
+ * The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
14270
+ *
14271
+ * You can specify at most 20 tag keys.
14272
+ *
14273
+ * @example
14274
+ * key-1
14275
+ */
13693
14276
  key?: string;
14277
+ /**
14278
+ * @remarks
14279
+ * The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
14280
+ *
14281
+ * The tag value can be up to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The tag value must start with a letter but cannot start with `aliyun` or `acs:`. The tag value cannot contain `http://` or `https://`.
14282
+ *
14283
+ * @example
14284
+ * value-1
14285
+ */
13694
14286
  value?: string;
13695
14287
  static names(): { [key: string]: string } {
13696
14288
  return {
@@ -16232,6 +16824,52 @@ export class UpdateAggregateCompliancePackRequestExcludeTagsScope extends $dara.
16232
16824
  }
16233
16825
  }
16234
16826
 
16827
+ export class UpdateAggregateCompliancePackRequestTag extends $dara.Model {
16828
+ /**
16829
+ * @remarks
16830
+ * The tag key of the resource. You can specify up to 20 tag keys.
16831
+ *
16832
+ * The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
16833
+ *
16834
+ * @example
16835
+ * key-1
16836
+ */
16837
+ key?: string;
16838
+ /**
16839
+ * @remarks
16840
+ * The tag values.
16841
+ *
16842
+ * The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
16843
+ *
16844
+ * Each key-value must be unique. You can specify at most 20 tag values in each call.
16845
+ *
16846
+ * @example
16847
+ * value-1
16848
+ */
16849
+ value?: string;
16850
+ static names(): { [key: string]: string } {
16851
+ return {
16852
+ key: 'Key',
16853
+ value: 'Value',
16854
+ };
16855
+ }
16856
+
16857
+ static types(): { [key: string]: any } {
16858
+ return {
16859
+ key: 'string',
16860
+ value: 'string',
16861
+ };
16862
+ }
16863
+
16864
+ validate() {
16865
+ super.validate();
16866
+ }
16867
+
16868
+ constructor(map?: { [key: string]: any }) {
16869
+ super(map);
16870
+ }
16871
+ }
16872
+
16235
16873
  export class UpdateAggregateCompliancePackRequestTagsScope extends $dara.Model {
16236
16874
  /**
16237
16875
  * @remarks
@@ -16392,6 +17030,52 @@ export class UpdateAggregateConfigRuleRequestExcludeTagsScope extends $dara.Mode
16392
17030
  }
16393
17031
  }
16394
17032
 
17033
+ export class UpdateAggregateConfigRuleRequestTag extends $dara.Model {
17034
+ /**
17035
+ * @remarks
17036
+ * The tag key of the resource. You can specify up to 20 tag keys.
17037
+ *
17038
+ * The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
17039
+ *
17040
+ * @example
17041
+ * key-1
17042
+ */
17043
+ key?: string;
17044
+ /**
17045
+ * @remarks
17046
+ * The tag values.
17047
+ *
17048
+ * The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
17049
+ *
17050
+ * Each key-value must be unique. You can specify at most 20 tag values in each call.
17051
+ *
17052
+ * @example
17053
+ * value-1
17054
+ */
17055
+ value?: string;
17056
+ static names(): { [key: string]: string } {
17057
+ return {
17058
+ key: 'Key',
17059
+ value: 'Value',
17060
+ };
17061
+ }
17062
+
17063
+ static types(): { [key: string]: any } {
17064
+ return {
17065
+ key: 'string',
17066
+ value: 'string',
17067
+ };
17068
+ }
17069
+
17070
+ validate() {
17071
+ super.validate();
17072
+ }
17073
+
17074
+ constructor(map?: { [key: string]: any }) {
17075
+ super(map);
17076
+ }
17077
+ }
17078
+
16395
17079
  export class UpdateAggregateConfigRuleRequestTagsScope extends $dara.Model {
16396
17080
  /**
16397
17081
  * @remarks
@@ -16572,6 +17256,32 @@ export class UpdateAggregatorRequestAggregatorAccounts extends $dara.Model {
16572
17256
  }
16573
17257
  }
16574
17258
 
17259
+ export class UpdateAggregatorRequestTag extends $dara.Model {
17260
+ key?: string;
17261
+ value?: string;
17262
+ static names(): { [key: string]: string } {
17263
+ return {
17264
+ key: 'Key',
17265
+ value: 'Value',
17266
+ };
17267
+ }
17268
+
17269
+ static types(): { [key: string]: any } {
17270
+ return {
17271
+ key: 'string',
17272
+ value: 'string',
17273
+ };
17274
+ }
17275
+
17276
+ validate() {
17277
+ super.validate();
17278
+ }
17279
+
17280
+ constructor(map?: { [key: string]: any }) {
17281
+ super(map);
17282
+ }
17283
+ }
17284
+
16575
17285
  export class UpdateCompliancePackRequestConfigRulesConfigRuleParameters extends $dara.Model {
16576
17286
  /**
16577
17287
  * @remarks
@@ -16744,6 +17454,32 @@ export class UpdateCompliancePackRequestExcludeTagsScope extends $dara.Model {
16744
17454
  }
16745
17455
  }
16746
17456
 
17457
+ export class UpdateCompliancePackRequestTag extends $dara.Model {
17458
+ key?: string;
17459
+ value?: string;
17460
+ static names(): { [key: string]: string } {
17461
+ return {
17462
+ key: 'Key',
17463
+ value: 'Value',
17464
+ };
17465
+ }
17466
+
17467
+ static types(): { [key: string]: any } {
17468
+ return {
17469
+ key: 'string',
17470
+ value: 'string',
17471
+ };
17472
+ }
17473
+
17474
+ validate() {
17475
+ super.validate();
17476
+ }
17477
+
17478
+ constructor(map?: { [key: string]: any }) {
17479
+ super(map);
17480
+ }
17481
+ }
17482
+
16747
17483
  export class UpdateCompliancePackRequestTagsScope extends $dara.Model {
16748
17484
  /**
16749
17485
  * @remarks
@@ -16905,7 +17641,21 @@ export class UpdateConfigRuleRequestExcludeTagsScope extends $dara.Model {
16905
17641
  }
16906
17642
 
16907
17643
  export class UpdateConfigRuleRequestTag extends $dara.Model {
17644
+ /**
17645
+ * @remarks
17646
+ * The key of tag N to add to the key pair. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
17647
+ *
17648
+ * @example
17649
+ * key-1
17650
+ */
16908
17651
  key?: string;
17652
+ /**
17653
+ * @remarks
17654
+ * The value of tag N. Valid values of N: **1 to 20**. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `aliyun` and `acs:`.
17655
+ *
17656
+ * @example
17657
+ * value-1
17658
+ */
16909
17659
  value?: string;
16910
17660
  static names(): { [key: string]: string } {
16911
17661
  return {
@@ -18254,6 +19004,7 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18254
19004
  * 1
18255
19005
  */
18256
19006
  riskLevel?: number;
19007
+ tag?: CreateAggregateCompliancePackRequestTag[];
18257
19008
  /**
18258
19009
  * @remarks
18259
19010
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -18304,6 +19055,7 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18304
19055
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
18305
19056
  resourceIdsScope: 'ResourceIdsScope',
18306
19057
  riskLevel: 'RiskLevel',
19058
+ tag: 'Tag',
18307
19059
  tagKeyScope: 'TagKeyScope',
18308
19060
  tagValueScope: 'TagValueScope',
18309
19061
  tagsScope: 'TagsScope',
@@ -18328,6 +19080,7 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18328
19080
  resourceGroupIdsScope: 'string',
18329
19081
  resourceIdsScope: 'string',
18330
19082
  riskLevel: 'number',
19083
+ tag: { 'type': 'array', 'itemType': CreateAggregateCompliancePackRequestTag },
18331
19084
  tagKeyScope: 'string',
18332
19085
  tagValueScope: 'string',
18333
19086
  tagsScope: { 'type': 'array', 'itemType': CreateAggregateCompliancePackRequestTagsScope },
@@ -18342,6 +19095,9 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18342
19095
  if(Array.isArray(this.excludeTagsScope)) {
18343
19096
  $dara.Model.validateArray(this.excludeTagsScope);
18344
19097
  }
19098
+ if(Array.isArray(this.tag)) {
19099
+ $dara.Model.validateArray(this.tag);
19100
+ }
18345
19101
  if(Array.isArray(this.tagsScope)) {
18346
19102
  $dara.Model.validateArray(this.tagsScope);
18347
19103
  }
@@ -18485,6 +19241,7 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
18485
19241
  * 1
18486
19242
  */
18487
19243
  riskLevel?: number;
19244
+ tagShrink?: string;
18488
19245
  /**
18489
19246
  * @remarks
18490
19247
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -18535,6 +19292,7 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
18535
19292
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
18536
19293
  resourceIdsScope: 'ResourceIdsScope',
18537
19294
  riskLevel: 'RiskLevel',
19295
+ tagShrink: 'Tag',
18538
19296
  tagKeyScope: 'TagKeyScope',
18539
19297
  tagValueScope: 'TagValueScope',
18540
19298
  tagsScope: 'TagsScope',
@@ -18559,6 +19317,7 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
18559
19317
  resourceGroupIdsScope: 'string',
18560
19318
  resourceIdsScope: 'string',
18561
19319
  riskLevel: 'number',
19320
+ tagShrink: 'string',
18562
19321
  tagKeyScope: 'string',
18563
19322
  tagValueScope: 'string',
18564
19323
  tagsScope: { 'type': 'array', 'itemType': CreateAggregateCompliancePackShrinkRequestTagsScope },
@@ -19184,6 +19943,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19184
19943
  * ALIYUN
19185
19944
  */
19186
19945
  sourceOwner?: string;
19946
+ tag?: CreateAggregateConfigRuleRequestTag[];
19187
19947
  /**
19188
19948
  * @remarks
19189
19949
  * The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
@@ -19245,6 +20005,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19245
20005
  riskLevel: 'RiskLevel',
19246
20006
  sourceIdentifier: 'SourceIdentifier',
19247
20007
  sourceOwner: 'SourceOwner',
20008
+ tag: 'Tag',
19248
20009
  tagKeyLogicScope: 'TagKeyLogicScope',
19249
20010
  tagKeyScope: 'TagKeyScope',
19250
20011
  tagValueScope: 'TagValueScope',
@@ -19277,6 +20038,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19277
20038
  riskLevel: 'number',
19278
20039
  sourceIdentifier: 'string',
19279
20040
  sourceOwner: 'string',
20041
+ tag: { 'type': 'array', 'itemType': CreateAggregateConfigRuleRequestTag },
19280
20042
  tagKeyLogicScope: 'string',
19281
20043
  tagKeyScope: 'string',
19282
20044
  tagValueScope: 'string',
@@ -19294,6 +20056,9 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19294
20056
  if(Array.isArray(this.resourceTypesScope)) {
19295
20057
  $dara.Model.validateArray(this.resourceTypesScope);
19296
20058
  }
20059
+ if(Array.isArray(this.tag)) {
20060
+ $dara.Model.validateArray(this.tag);
20061
+ }
19297
20062
  if(Array.isArray(this.tagsScope)) {
19298
20063
  $dara.Model.validateArray(this.tagsScope);
19299
20064
  }
@@ -19546,6 +20311,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
19546
20311
  * ALIYUN
19547
20312
  */
19548
20313
  sourceOwner?: string;
20314
+ tagShrink?: string;
19549
20315
  /**
19550
20316
  * @remarks
19551
20317
  * The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
@@ -19607,6 +20373,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
19607
20373
  riskLevel: 'RiskLevel',
19608
20374
  sourceIdentifier: 'SourceIdentifier',
19609
20375
  sourceOwner: 'SourceOwner',
20376
+ tagShrink: 'Tag',
19610
20377
  tagKeyLogicScope: 'TagKeyLogicScope',
19611
20378
  tagKeyScope: 'TagKeyScope',
19612
20379
  tagValueScope: 'TagValueScope',
@@ -19639,6 +20406,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
19639
20406
  riskLevel: 'number',
19640
20407
  sourceIdentifier: 'string',
19641
20408
  sourceOwner: 'string',
20409
+ tagShrink: 'string',
19642
20410
  tagKeyLogicScope: 'string',
19643
20411
  tagKeyScope: 'string',
19644
20412
  tagValueScope: 'string',
@@ -20013,6 +20781,7 @@ export class CreateAggregatorRequest extends $dara.Model {
20013
20781
  * fd-brHdgv****
20014
20782
  */
20015
20783
  folderId?: string;
20784
+ tag?: CreateAggregatorRequestTag[];
20016
20785
  static names(): { [key: string]: string } {
20017
20786
  return {
20018
20787
  aggregatorAccounts: 'AggregatorAccounts',
@@ -20021,6 +20790,7 @@ export class CreateAggregatorRequest extends $dara.Model {
20021
20790
  clientToken: 'ClientToken',
20022
20791
  description: 'Description',
20023
20792
  folderId: 'FolderId',
20793
+ tag: 'Tag',
20024
20794
  };
20025
20795
  }
20026
20796
 
@@ -20032,6 +20802,7 @@ export class CreateAggregatorRequest extends $dara.Model {
20032
20802
  clientToken: 'string',
20033
20803
  description: 'string',
20034
20804
  folderId: 'string',
20805
+ tag: { 'type': 'array', 'itemType': CreateAggregatorRequestTag },
20035
20806
  };
20036
20807
  }
20037
20808
 
@@ -20039,6 +20810,9 @@ export class CreateAggregatorRequest extends $dara.Model {
20039
20810
  if(Array.isArray(this.aggregatorAccounts)) {
20040
20811
  $dara.Model.validateArray(this.aggregatorAccounts);
20041
20812
  }
20813
+ if(Array.isArray(this.tag)) {
20814
+ $dara.Model.validateArray(this.tag);
20815
+ }
20042
20816
  super.validate();
20043
20817
  }
20044
20818
 
@@ -20116,6 +20890,7 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
20116
20890
  * fd-brHdgv****
20117
20891
  */
20118
20892
  folderId?: string;
20893
+ tagShrink?: string;
20119
20894
  static names(): { [key: string]: string } {
20120
20895
  return {
20121
20896
  aggregatorAccountsShrink: 'AggregatorAccounts',
@@ -20124,6 +20899,7 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
20124
20899
  clientToken: 'ClientToken',
20125
20900
  description: 'Description',
20126
20901
  folderId: 'FolderId',
20902
+ tagShrink: 'Tag',
20127
20903
  };
20128
20904
  }
20129
20905
 
@@ -20135,6 +20911,7 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
20135
20911
  clientToken: 'string',
20136
20912
  description: 'string',
20137
20913
  folderId: 'string',
20914
+ tagShrink: 'string',
20138
20915
  };
20139
20916
  }
20140
20917
 
@@ -20343,6 +21120,7 @@ export class CreateCompliancePackRequest extends $dara.Model {
20343
21120
  * 1
20344
21121
  */
20345
21122
  riskLevel?: number;
21123
+ tag?: CreateCompliancePackRequestTag[];
20346
21124
  /**
20347
21125
  * @remarks
20348
21126
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -20390,6 +21168,7 @@ export class CreateCompliancePackRequest extends $dara.Model {
20390
21168
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
20391
21169
  resourceIdsScope: 'ResourceIdsScope',
20392
21170
  riskLevel: 'RiskLevel',
21171
+ tag: 'Tag',
20393
21172
  tagKeyScope: 'TagKeyScope',
20394
21173
  tagValueScope: 'TagValueScope',
20395
21174
  tagsScope: 'TagsScope',
@@ -20413,6 +21192,7 @@ export class CreateCompliancePackRequest extends $dara.Model {
20413
21192
  resourceGroupIdsScope: 'string',
20414
21193
  resourceIdsScope: 'string',
20415
21194
  riskLevel: 'number',
21195
+ tag: { 'type': 'array', 'itemType': CreateCompliancePackRequestTag },
20416
21196
  tagKeyScope: 'string',
20417
21197
  tagValueScope: 'string',
20418
21198
  tagsScope: { 'type': 'array', 'itemType': CreateCompliancePackRequestTagsScope },
@@ -20427,6 +21207,9 @@ export class CreateCompliancePackRequest extends $dara.Model {
20427
21207
  if(Array.isArray(this.excludeTagsScope)) {
20428
21208
  $dara.Model.validateArray(this.excludeTagsScope);
20429
21209
  }
21210
+ if(Array.isArray(this.tag)) {
21211
+ $dara.Model.validateArray(this.tag);
21212
+ }
20430
21213
  if(Array.isArray(this.tagsScope)) {
20431
21214
  $dara.Model.validateArray(this.tagsScope);
20432
21215
  }
@@ -20559,6 +21342,7 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
20559
21342
  * 1
20560
21343
  */
20561
21344
  riskLevel?: number;
21345
+ tagShrink?: string;
20562
21346
  /**
20563
21347
  * @remarks
20564
21348
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -20606,6 +21390,7 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
20606
21390
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
20607
21391
  resourceIdsScope: 'ResourceIdsScope',
20608
21392
  riskLevel: 'RiskLevel',
21393
+ tagShrink: 'Tag',
20609
21394
  tagKeyScope: 'TagKeyScope',
20610
21395
  tagValueScope: 'TagValueScope',
20611
21396
  tagsScope: 'TagsScope',
@@ -20629,6 +21414,7 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
20629
21414
  resourceGroupIdsScope: 'string',
20630
21415
  resourceIdsScope: 'string',
20631
21416
  riskLevel: 'number',
21417
+ tagShrink: 'string',
20632
21418
  tagKeyScope: 'string',
20633
21419
  tagValueScope: 'string',
20634
21420
  tagsScope: { 'type': 'array', 'itemType': CreateCompliancePackShrinkRequestTagsScope },
@@ -21184,6 +21970,10 @@ export class CreateConfigRuleRequest extends $dara.Model {
21184
21970
  * ALIYUN
21185
21971
  */
21186
21972
  sourceOwner?: string;
21973
+ /**
21974
+ * @remarks
21975
+ * rule attached tags
21976
+ */
21187
21977
  tag?: CreateConfigRuleRequestTag[];
21188
21978
  /**
21189
21979
  * @remarks
@@ -21486,6 +22276,10 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
21486
22276
  * ALIYUN
21487
22277
  */
21488
22278
  sourceOwner?: string;
22279
+ /**
22280
+ * @remarks
22281
+ * rule attached tags
22282
+ */
21489
22283
  tagShrink?: string;
21490
22284
  /**
21491
22285
  * @remarks
@@ -23857,10 +24651,19 @@ export class EvaluatePreConfigRulesRequest extends $dara.Model {
23857
24651
  * This parameter is required.
23858
24652
  */
23859
24653
  resourceEvaluateItems?: EvaluatePreConfigRulesRequestResourceEvaluateItems[];
24654
+ /**
24655
+ * @remarks
24656
+ * 下一个查询开始Token
24657
+ *
24658
+ * @example
24659
+ * ros
24660
+ */
24661
+ resourceTypeFormat?: string;
23860
24662
  static names(): { [key: string]: string } {
23861
24663
  return {
23862
24664
  enableManagedRules: 'EnableManagedRules',
23863
24665
  resourceEvaluateItems: 'ResourceEvaluateItems',
24666
+ resourceTypeFormat: 'ResourceTypeFormat',
23864
24667
  };
23865
24668
  }
23866
24669
 
@@ -23868,6 +24671,7 @@ export class EvaluatePreConfigRulesRequest extends $dara.Model {
23868
24671
  return {
23869
24672
  enableManagedRules: 'boolean',
23870
24673
  resourceEvaluateItems: { 'type': 'array', 'itemType': EvaluatePreConfigRulesRequestResourceEvaluateItems },
24674
+ resourceTypeFormat: 'string',
23871
24675
  };
23872
24676
  }
23873
24677
 
@@ -23904,10 +24708,19 @@ export class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
23904
24708
  * This parameter is required.
23905
24709
  */
23906
24710
  resourceEvaluateItemsShrink?: string;
24711
+ /**
24712
+ * @remarks
24713
+ * 下一个查询开始Token
24714
+ *
24715
+ * @example
24716
+ * ros
24717
+ */
24718
+ resourceTypeFormat?: string;
23907
24719
  static names(): { [key: string]: string } {
23908
24720
  return {
23909
24721
  enableManagedRules: 'EnableManagedRules',
23910
24722
  resourceEvaluateItemsShrink: 'ResourceEvaluateItems',
24723
+ resourceTypeFormat: 'ResourceTypeFormat',
23911
24724
  };
23912
24725
  }
23913
24726
 
@@ -23915,6 +24728,7 @@ export class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
23915
24728
  return {
23916
24729
  enableManagedRules: 'boolean',
23917
24730
  resourceEvaluateItemsShrink: 'string',
24731
+ resourceTypeFormat: 'string',
23918
24732
  };
23919
24733
  }
23920
24734
 
@@ -25102,10 +25916,12 @@ export class GetAggregateCompliancePackRequest extends $dara.Model {
25102
25916
  * cp-fdc8626622af00f9****
25103
25917
  */
25104
25918
  compliancePackId?: string;
25919
+ tag?: GetAggregateCompliancePackRequestTag[];
25105
25920
  static names(): { [key: string]: string } {
25106
25921
  return {
25107
25922
  aggregatorId: 'AggregatorId',
25108
25923
  compliancePackId: 'CompliancePackId',
25924
+ tag: 'Tag',
25109
25925
  };
25110
25926
  }
25111
25927
 
@@ -25113,84 +25929,13 @@ export class GetAggregateCompliancePackRequest extends $dara.Model {
25113
25929
  return {
25114
25930
  aggregatorId: 'string',
25115
25931
  compliancePackId: 'string',
25932
+ tag: { 'type': 'array', 'itemType': GetAggregateCompliancePackRequestTag },
25116
25933
  };
25117
25934
  }
25118
25935
 
25119
25936
  validate() {
25120
- super.validate();
25121
- }
25122
-
25123
- constructor(map?: { [key: string]: any }) {
25124
- super(map);
25125
- }
25126
- }
25127
-
25128
- export class GetAggregateCompliancePackResponseBody extends $dara.Model {
25129
- /**
25130
- * @remarks
25131
- * The details of the compliance package.
25132
- */
25133
- compliancePack?: GetAggregateCompliancePackResponseBodyCompliancePack;
25134
- /**
25135
- * @remarks
25136
- * The request ID.
25137
- *
25138
- * @example
25139
- * 6EC7AED1-172F-42AE-9C12-295BC2ADB751
25140
- */
25141
- requestId?: string;
25142
- static names(): { [key: string]: string } {
25143
- return {
25144
- compliancePack: 'CompliancePack',
25145
- requestId: 'RequestId',
25146
- };
25147
- }
25148
-
25149
- static types(): { [key: string]: any } {
25150
- return {
25151
- compliancePack: GetAggregateCompliancePackResponseBodyCompliancePack,
25152
- requestId: 'string',
25153
- };
25154
- }
25155
-
25156
- validate() {
25157
- if(this.compliancePack && typeof (this.compliancePack as any).validate === 'function') {
25158
- (this.compliancePack as any).validate();
25159
- }
25160
- super.validate();
25161
- }
25162
-
25163
- constructor(map?: { [key: string]: any }) {
25164
- super(map);
25165
- }
25166
- }
25167
-
25168
- export class GetAggregateCompliancePackResponse extends $dara.Model {
25169
- headers?: { [key: string]: string };
25170
- statusCode?: number;
25171
- body?: GetAggregateCompliancePackResponseBody;
25172
- static names(): { [key: string]: string } {
25173
- return {
25174
- headers: 'headers',
25175
- statusCode: 'statusCode',
25176
- body: 'body',
25177
- };
25178
- }
25179
-
25180
- static types(): { [key: string]: any } {
25181
- return {
25182
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
25183
- statusCode: 'number',
25184
- body: GetAggregateCompliancePackResponseBody,
25185
- };
25186
- }
25187
-
25188
- validate() {
25189
- if(this.headers) {
25190
- $dara.Model.validateMap(this.headers);
25191
- }
25192
- if(this.body && typeof (this.body as any).validate === 'function') {
25193
- (this.body as any).validate();
25937
+ if(Array.isArray(this.tag)) {
25938
+ $dara.Model.validateArray(this.tag);
25194
25939
  }
25195
25940
  super.validate();
25196
25941
  }
@@ -25200,7 +25945,133 @@ export class GetAggregateCompliancePackResponse extends $dara.Model {
25200
25945
  }
25201
25946
  }
25202
25947
 
25203
- export class GetAggregateCompliancePackReportRequest extends $dara.Model {
25948
+ export class GetAggregateCompliancePackShrinkRequest extends $dara.Model {
25949
+ /**
25950
+ * @remarks
25951
+ * The ID of the account group.
25952
+ *
25953
+ * For more information about how to obtain the ID of the account group, see [ListAggregators](https://help.aliyun.com/document_detail/255797.html).
25954
+ *
25955
+ * This parameter is required.
25956
+ *
25957
+ * @example
25958
+ * ca-f632626622af0079****
25959
+ */
25960
+ aggregatorId?: string;
25961
+ /**
25962
+ * @remarks
25963
+ * The ID of the compliance package.
25964
+ *
25965
+ * For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](https://help.aliyun.com/document_detail/262059.html).
25966
+ *
25967
+ * This parameter is required.
25968
+ *
25969
+ * @example
25970
+ * cp-fdc8626622af00f9****
25971
+ */
25972
+ compliancePackId?: string;
25973
+ tagShrink?: string;
25974
+ static names(): { [key: string]: string } {
25975
+ return {
25976
+ aggregatorId: 'AggregatorId',
25977
+ compliancePackId: 'CompliancePackId',
25978
+ tagShrink: 'Tag',
25979
+ };
25980
+ }
25981
+
25982
+ static types(): { [key: string]: any } {
25983
+ return {
25984
+ aggregatorId: 'string',
25985
+ compliancePackId: 'string',
25986
+ tagShrink: 'string',
25987
+ };
25988
+ }
25989
+
25990
+ validate() {
25991
+ super.validate();
25992
+ }
25993
+
25994
+ constructor(map?: { [key: string]: any }) {
25995
+ super(map);
25996
+ }
25997
+ }
25998
+
25999
+ export class GetAggregateCompliancePackResponseBody extends $dara.Model {
26000
+ /**
26001
+ * @remarks
26002
+ * The details of the compliance package.
26003
+ */
26004
+ compliancePack?: GetAggregateCompliancePackResponseBodyCompliancePack;
26005
+ /**
26006
+ * @remarks
26007
+ * The request ID.
26008
+ *
26009
+ * @example
26010
+ * 6EC7AED1-172F-42AE-9C12-295BC2ADB751
26011
+ */
26012
+ requestId?: string;
26013
+ static names(): { [key: string]: string } {
26014
+ return {
26015
+ compliancePack: 'CompliancePack',
26016
+ requestId: 'RequestId',
26017
+ };
26018
+ }
26019
+
26020
+ static types(): { [key: string]: any } {
26021
+ return {
26022
+ compliancePack: GetAggregateCompliancePackResponseBodyCompliancePack,
26023
+ requestId: 'string',
26024
+ };
26025
+ }
26026
+
26027
+ validate() {
26028
+ if(this.compliancePack && typeof (this.compliancePack as any).validate === 'function') {
26029
+ (this.compliancePack as any).validate();
26030
+ }
26031
+ super.validate();
26032
+ }
26033
+
26034
+ constructor(map?: { [key: string]: any }) {
26035
+ super(map);
26036
+ }
26037
+ }
26038
+
26039
+ export class GetAggregateCompliancePackResponse extends $dara.Model {
26040
+ headers?: { [key: string]: string };
26041
+ statusCode?: number;
26042
+ body?: GetAggregateCompliancePackResponseBody;
26043
+ static names(): { [key: string]: string } {
26044
+ return {
26045
+ headers: 'headers',
26046
+ statusCode: 'statusCode',
26047
+ body: 'body',
26048
+ };
26049
+ }
26050
+
26051
+ static types(): { [key: string]: any } {
26052
+ return {
26053
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
26054
+ statusCode: 'number',
26055
+ body: GetAggregateCompliancePackResponseBody,
26056
+ };
26057
+ }
26058
+
26059
+ validate() {
26060
+ if(this.headers) {
26061
+ $dara.Model.validateMap(this.headers);
26062
+ }
26063
+ if(this.body && typeof (this.body as any).validate === 'function') {
26064
+ (this.body as any).validate();
26065
+ }
26066
+ super.validate();
26067
+ }
26068
+
26069
+ constructor(map?: { [key: string]: any }) {
26070
+ super(map);
26071
+ }
26072
+ }
26073
+
26074
+ export class GetAggregateCompliancePackReportRequest extends $dara.Model {
25204
26075
  /**
25205
26076
  * @remarks
25206
26077
  * The ID of the account group.
@@ -25581,6 +26452,12 @@ export class GetAggregateConfigRuleRequest extends $dara.Model {
25581
26452
  * cr-7f7d626622af0041****
25582
26453
  */
25583
26454
  configRuleId?: string;
26455
+ /**
26456
+ * @remarks
26457
+ * The tags of the resource.
26458
+ *
26459
+ * You can add up to 20 tags to a resource.
26460
+ */
25584
26461
  tag?: GetAggregateConfigRuleRequestTag[];
25585
26462
  static names(): { [key: string]: string } {
25586
26463
  return {
@@ -25635,6 +26512,12 @@ export class GetAggregateConfigRuleShrinkRequest extends $dara.Model {
25635
26512
  * cr-7f7d626622af0041****
25636
26513
  */
25637
26514
  configRuleId?: string;
26515
+ /**
26516
+ * @remarks
26517
+ * The tags of the resource.
26518
+ *
26519
+ * You can add up to 20 tags to a resource.
26520
+ */
25638
26521
  tagShrink?: string;
25639
26522
  static names(): { [key: string]: string } {
25640
26523
  return {
@@ -27614,15 +28497,56 @@ export class GetAggregatorRequest extends $dara.Model {
27614
28497
  * ca-88ea626622af0055****
27615
28498
  */
27616
28499
  aggregatorId?: string;
28500
+ tag?: GetAggregatorRequestTag[];
27617
28501
  static names(): { [key: string]: string } {
27618
28502
  return {
27619
28503
  aggregatorId: 'AggregatorId',
28504
+ tag: 'Tag',
27620
28505
  };
27621
28506
  }
27622
28507
 
27623
28508
  static types(): { [key: string]: any } {
27624
28509
  return {
27625
28510
  aggregatorId: 'string',
28511
+ tag: { 'type': 'array', 'itemType': GetAggregatorRequestTag },
28512
+ };
28513
+ }
28514
+
28515
+ validate() {
28516
+ if(Array.isArray(this.tag)) {
28517
+ $dara.Model.validateArray(this.tag);
28518
+ }
28519
+ super.validate();
28520
+ }
28521
+
28522
+ constructor(map?: { [key: string]: any }) {
28523
+ super(map);
28524
+ }
28525
+ }
28526
+
28527
+ export class GetAggregatorShrinkRequest extends $dara.Model {
28528
+ /**
28529
+ * @remarks
28530
+ * The ID of the account group.
28531
+ *
28532
+ * This parameter is required.
28533
+ *
28534
+ * @example
28535
+ * ca-88ea626622af0055****
28536
+ */
28537
+ aggregatorId?: string;
28538
+ tagShrink?: string;
28539
+ static names(): { [key: string]: string } {
28540
+ return {
28541
+ aggregatorId: 'AggregatorId',
28542
+ tagShrink: 'Tag',
28543
+ };
28544
+ }
28545
+
28546
+ static types(): { [key: string]: any } {
28547
+ return {
28548
+ aggregatorId: 'string',
28549
+ tagShrink: 'string',
27626
28550
  };
27627
28551
  }
27628
28552
 
@@ -27723,15 +28647,58 @@ export class GetCompliancePackRequest extends $dara.Model {
27723
28647
  * cp-a8a8626622af0082****
27724
28648
  */
27725
28649
  compliancePackId?: string;
28650
+ tag?: GetCompliancePackRequestTag[];
28651
+ static names(): { [key: string]: string } {
28652
+ return {
28653
+ compliancePackId: 'CompliancePackId',
28654
+ tag: 'Tag',
28655
+ };
28656
+ }
28657
+
28658
+ static types(): { [key: string]: any } {
28659
+ return {
28660
+ compliancePackId: 'string',
28661
+ tag: { 'type': 'array', 'itemType': GetCompliancePackRequestTag },
28662
+ };
28663
+ }
28664
+
28665
+ validate() {
28666
+ if(Array.isArray(this.tag)) {
28667
+ $dara.Model.validateArray(this.tag);
28668
+ }
28669
+ super.validate();
28670
+ }
28671
+
28672
+ constructor(map?: { [key: string]: any }) {
28673
+ super(map);
28674
+ }
28675
+ }
28676
+
28677
+ export class GetCompliancePackShrinkRequest extends $dara.Model {
28678
+ /**
28679
+ * @remarks
28680
+ * The ID of the compliance package.
28681
+ *
28682
+ * For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](https://help.aliyun.com/document_detail/263332.html).
28683
+ *
28684
+ * This parameter is required.
28685
+ *
28686
+ * @example
28687
+ * cp-a8a8626622af0082****
28688
+ */
28689
+ compliancePackId?: string;
28690
+ tagShrink?: string;
27726
28691
  static names(): { [key: string]: string } {
27727
28692
  return {
27728
28693
  compliancePackId: 'CompliancePackId',
28694
+ tagShrink: 'Tag',
27729
28695
  };
27730
28696
  }
27731
28697
 
27732
28698
  static types(): { [key: string]: any } {
27733
28699
  return {
27734
28700
  compliancePackId: 'string',
28701
+ tagShrink: 'string',
27735
28702
  };
27736
28703
  }
27737
28704
 
@@ -28125,6 +29092,12 @@ export class GetConfigRuleRequest extends $dara.Model {
28125
29092
  * cr-7f7d626622af0041****
28126
29093
  */
28127
29094
  configRuleId?: string;
29095
+ /**
29096
+ * @remarks
29097
+ * The tags of the resource.
29098
+ *
29099
+ * You can add up to 20 tags to a resource.
29100
+ */
28128
29101
  tag?: GetConfigRuleRequestTag[];
28129
29102
  static names(): { [key: string]: string } {
28130
29103
  return {
@@ -28165,6 +29138,12 @@ export class GetConfigRuleShrinkRequest extends $dara.Model {
28165
29138
  * cr-7f7d626622af0041****
28166
29139
  */
28167
29140
  configRuleId?: string;
29141
+ /**
29142
+ * @remarks
29143
+ * The tags of the resource.
29144
+ *
29145
+ * You can add up to 20 tags to a resource.
29146
+ */
28168
29147
  tagShrink?: string;
28169
29148
  static names(): { [key: string]: string } {
28170
29149
  return {
@@ -30787,12 +31766,91 @@ export class ListAggregateCompliancePacksRequest extends $dara.Model {
30787
31766
  * ACTIVE
30788
31767
  */
30789
31768
  status?: string;
31769
+ tag?: ListAggregateCompliancePacksRequestTag[];
31770
+ static names(): { [key: string]: string } {
31771
+ return {
31772
+ aggregatorId: 'AggregatorId',
31773
+ pageNumber: 'PageNumber',
31774
+ pageSize: 'PageSize',
31775
+ status: 'Status',
31776
+ tag: 'Tag',
31777
+ };
31778
+ }
31779
+
31780
+ static types(): { [key: string]: any } {
31781
+ return {
31782
+ aggregatorId: 'string',
31783
+ pageNumber: 'number',
31784
+ pageSize: 'number',
31785
+ status: 'string',
31786
+ tag: { 'type': 'array', 'itemType': ListAggregateCompliancePacksRequestTag },
31787
+ };
31788
+ }
31789
+
31790
+ validate() {
31791
+ if(Array.isArray(this.tag)) {
31792
+ $dara.Model.validateArray(this.tag);
31793
+ }
31794
+ super.validate();
31795
+ }
31796
+
31797
+ constructor(map?: { [key: string]: any }) {
31798
+ super(map);
31799
+ }
31800
+ }
31801
+
31802
+ export class ListAggregateCompliancePacksShrinkRequest extends $dara.Model {
31803
+ /**
31804
+ * @remarks
31805
+ * The ID of the account group.
31806
+ *
31807
+ * For more information about how to obtain the ID of an account group, see [ListAggregators](https://help.aliyun.com/document_detail/255797.html).
31808
+ *
31809
+ * This parameter is required.
31810
+ *
31811
+ * @example
31812
+ * ca-f632626622af0079****
31813
+ */
31814
+ aggregatorId?: string;
31815
+ /**
31816
+ * @remarks
31817
+ * The number of the page to return.
31818
+ *
31819
+ * Pages start from page 1. Default value: 1.
31820
+ *
31821
+ * @example
31822
+ * 1
31823
+ */
31824
+ pageNumber?: number;
31825
+ /**
31826
+ * @remarks
31827
+ * The number of entries to return on each page.
31828
+ *
31829
+ * Valid values: 1 to 100. Default value: 10.
31830
+ *
31831
+ * @example
31832
+ * 20
31833
+ */
31834
+ pageSize?: number;
31835
+ /**
31836
+ * @remarks
31837
+ * The status of the one or more compliance packages to be queried. Valid values:
31838
+ *
31839
+ * * ACTIVE: compliance packages that are available for use.
31840
+ * * CREATING: compliance packages that are being created.
31841
+ *
31842
+ * @example
31843
+ * ACTIVE
31844
+ */
31845
+ status?: string;
31846
+ tagShrink?: string;
30790
31847
  static names(): { [key: string]: string } {
30791
31848
  return {
30792
31849
  aggregatorId: 'AggregatorId',
30793
31850
  pageNumber: 'PageNumber',
30794
31851
  pageSize: 'PageSize',
30795
31852
  status: 'Status',
31853
+ tagShrink: 'Tag',
30796
31854
  };
30797
31855
  }
30798
31856
 
@@ -30802,6 +31860,7 @@ export class ListAggregateCompliancePacksRequest extends $dara.Model {
30802
31860
  pageNumber: 'number',
30803
31861
  pageSize: 'number',
30804
31862
  status: 'string',
31863
+ tagShrink: 'string',
30805
31864
  };
30806
31865
  }
30807
31866
 
@@ -31437,6 +32496,7 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
31437
32496
  * 1
31438
32497
  */
31439
32498
  riskLevel?: number;
32499
+ tag?: ListAggregateConfigRulesRequestTag[];
31440
32500
  static names(): { [key: string]: string } {
31441
32501
  return {
31442
32502
  aggregatorId: 'AggregatorId',
@@ -31449,6 +32509,157 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
31449
32509
  pageSize: 'PageSize',
31450
32510
  resourceTypes: 'ResourceTypes',
31451
32511
  riskLevel: 'RiskLevel',
32512
+ tag: 'Tag',
32513
+ };
32514
+ }
32515
+
32516
+ static types(): { [key: string]: any } {
32517
+ return {
32518
+ aggregatorId: 'string',
32519
+ compliancePackId: 'string',
32520
+ complianceType: 'string',
32521
+ configRuleName: 'string',
32522
+ configRuleState: 'string',
32523
+ keyword: 'string',
32524
+ pageNumber: 'number',
32525
+ pageSize: 'number',
32526
+ resourceTypes: 'string',
32527
+ riskLevel: 'number',
32528
+ tag: { 'type': 'array', 'itemType': ListAggregateConfigRulesRequestTag },
32529
+ };
32530
+ }
32531
+
32532
+ validate() {
32533
+ if(Array.isArray(this.tag)) {
32534
+ $dara.Model.validateArray(this.tag);
32535
+ }
32536
+ super.validate();
32537
+ }
32538
+
32539
+ constructor(map?: { [key: string]: any }) {
32540
+ super(map);
32541
+ }
32542
+ }
32543
+
32544
+ export class ListAggregateConfigRulesShrinkRequest extends $dara.Model {
32545
+ /**
32546
+ * @remarks
32547
+ * The ID of the account group.
32548
+ *
32549
+ * For more information about how to obtain the ID of an account group, see [ListAggregators](https://help.aliyun.com/document_detail/255797.html).
32550
+ *
32551
+ * This parameter is required.
32552
+ *
32553
+ * @example
32554
+ * ca-f632626622af0079****
32555
+ */
32556
+ aggregatorId?: string;
32557
+ /**
32558
+ * @remarks
32559
+ * The compliance package ID.
32560
+ *
32561
+ * @example
32562
+ * cp-fe416457e0d90022****
32563
+ */
32564
+ compliancePackId?: string;
32565
+ /**
32566
+ * @remarks
32567
+ * The compliance evaluation result. Valid values:
32568
+ *
32569
+ * * COMPLIANT: The resources are evaluated as compliant.
32570
+ * * NON_COMPLIANT: The resources are evaluated as non-compliant.
32571
+ * * NOT_APPLICABLE: The rule does not apply to the resources.
32572
+ * * INSUFFICIENT_DATA: No data is available.
32573
+ *
32574
+ * @example
32575
+ * COMPLIANT
32576
+ */
32577
+ complianceType?: string;
32578
+ /**
32579
+ * @remarks
32580
+ * The name of the rule.
32581
+ *
32582
+ * @example
32583
+ * test-rule-name
32584
+ */
32585
+ configRuleName?: string;
32586
+ /**
32587
+ * @remarks
32588
+ * The status of the rule. Valid values:
32589
+ *
32590
+ * * ACTIVE: The rule is being used to monitor resource configurations.
32591
+ * * DELETING: The rule is being deleted.
32592
+ * * EVALUATING: The rule is triggered and is being used to monitor resource configurations.
32593
+ * * INACTIVE: The rule is disabled.
32594
+ *
32595
+ * @example
32596
+ * ACTIVE
32597
+ */
32598
+ configRuleState?: string;
32599
+ /**
32600
+ * @remarks
32601
+ * The keyword that is used for queries.
32602
+ *
32603
+ * You can perform a fuzzy search by rule ID, rule name, rule description, or managed rule ID.
32604
+ *
32605
+ * @example
32606
+ * ecs
32607
+ */
32608
+ keyword?: string;
32609
+ /**
32610
+ * @remarks
32611
+ * The page number.
32612
+ *
32613
+ * Pages start from page 1. Default value: 1
32614
+ *
32615
+ * @example
32616
+ * 1
32617
+ */
32618
+ pageNumber?: number;
32619
+ /**
32620
+ * @remarks
32621
+ * The number of entries per page.
32622
+ *
32623
+ * Valid values: 1 to 100. Minimum value: 1. Default value: 10
32624
+ *
32625
+ * @example
32626
+ * 10
32627
+ */
32628
+ pageSize?: number;
32629
+ /**
32630
+ * @remarks
32631
+ * Resource type for the rule to evaluate.
32632
+ *
32633
+ * @example
32634
+ * ACS::ECS::Instance
32635
+ */
32636
+ resourceTypes?: string;
32637
+ /**
32638
+ * @remarks
32639
+ * The risk level of the resources that do not comply with the rule. Valid values:
32640
+ *
32641
+ * * 1: high
32642
+ * * 2: medium
32643
+ * * 3: low
32644
+ *
32645
+ * @example
32646
+ * 1
32647
+ */
32648
+ riskLevel?: number;
32649
+ tagShrink?: string;
32650
+ static names(): { [key: string]: string } {
32651
+ return {
32652
+ aggregatorId: 'AggregatorId',
32653
+ compliancePackId: 'CompliancePackId',
32654
+ complianceType: 'ComplianceType',
32655
+ configRuleName: 'ConfigRuleName',
32656
+ configRuleState: 'ConfigRuleState',
32657
+ keyword: 'Keyword',
32658
+ pageNumber: 'PageNumber',
32659
+ pageSize: 'PageSize',
32660
+ resourceTypes: 'ResourceTypes',
32661
+ riskLevel: 'RiskLevel',
32662
+ tagShrink: 'Tag',
31452
32663
  };
31453
32664
  }
31454
32665
 
@@ -31464,6 +32675,7 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
31464
32675
  pageSize: 'number',
31465
32676
  resourceTypes: 'string',
31466
32677
  riskLevel: 'number',
32678
+ tagShrink: 'string',
31467
32679
  };
31468
32680
  }
31469
32681
 
@@ -32573,10 +33785,12 @@ export class ListAggregatorsRequest extends $dara.Model {
32573
33785
  * TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0
32574
33786
  */
32575
33787
  nextToken?: string;
33788
+ tag?: ListAggregatorsRequestTag[];
32576
33789
  static names(): { [key: string]: string } {
32577
33790
  return {
32578
33791
  maxResults: 'MaxResults',
32579
33792
  nextToken: 'NextToken',
33793
+ tag: 'Tag',
32580
33794
  };
32581
33795
  }
32582
33796
 
@@ -32584,6 +33798,55 @@ export class ListAggregatorsRequest extends $dara.Model {
32584
33798
  return {
32585
33799
  maxResults: 'number',
32586
33800
  nextToken: 'string',
33801
+ tag: { 'type': 'array', 'itemType': ListAggregatorsRequestTag },
33802
+ };
33803
+ }
33804
+
33805
+ validate() {
33806
+ if(Array.isArray(this.tag)) {
33807
+ $dara.Model.validateArray(this.tag);
33808
+ }
33809
+ super.validate();
33810
+ }
33811
+
33812
+ constructor(map?: { [key: string]: any }) {
33813
+ super(map);
33814
+ }
33815
+ }
33816
+
33817
+ export class ListAggregatorsShrinkRequest extends $dara.Model {
33818
+ /**
33819
+ * @remarks
33820
+ * The maximum number of entries to return in a request. Valid values: 1 to 100.
33821
+ *
33822
+ * This parameter is required.
33823
+ *
33824
+ * @example
33825
+ * 10
33826
+ */
33827
+ maxResults?: number;
33828
+ /**
33829
+ * @remarks
33830
+ * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.
33831
+ *
33832
+ * @example
33833
+ * TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0
33834
+ */
33835
+ nextToken?: string;
33836
+ tagShrink?: string;
33837
+ static names(): { [key: string]: string } {
33838
+ return {
33839
+ maxResults: 'MaxResults',
33840
+ nextToken: 'NextToken',
33841
+ tagShrink: 'Tag',
33842
+ };
33843
+ }
33844
+
33845
+ static types(): { [key: string]: any } {
33846
+ return {
33847
+ maxResults: 'number',
33848
+ nextToken: 'string',
33849
+ tagShrink: 'string',
32587
33850
  };
32588
33851
  }
32589
33852
 
@@ -32842,11 +34105,13 @@ export class ListCompliancePacksRequest extends $dara.Model {
32842
34105
  * ACTIVE
32843
34106
  */
32844
34107
  status?: string;
34108
+ tag?: ListCompliancePacksRequestTag[];
32845
34109
  static names(): { [key: string]: string } {
32846
34110
  return {
32847
34111
  pageNumber: 'PageNumber',
32848
34112
  pageSize: 'PageSize',
32849
34113
  status: 'Status',
34114
+ tag: 'Tag',
32850
34115
  };
32851
34116
  }
32852
34117
 
@@ -32855,6 +34120,70 @@ export class ListCompliancePacksRequest extends $dara.Model {
32855
34120
  pageNumber: 'number',
32856
34121
  pageSize: 'number',
32857
34122
  status: 'string',
34123
+ tag: { 'type': 'array', 'itemType': ListCompliancePacksRequestTag },
34124
+ };
34125
+ }
34126
+
34127
+ validate() {
34128
+ if(Array.isArray(this.tag)) {
34129
+ $dara.Model.validateArray(this.tag);
34130
+ }
34131
+ super.validate();
34132
+ }
34133
+
34134
+ constructor(map?: { [key: string]: any }) {
34135
+ super(map);
34136
+ }
34137
+ }
34138
+
34139
+ export class ListCompliancePacksShrinkRequest extends $dara.Model {
34140
+ /**
34141
+ * @remarks
34142
+ * The page number.
34143
+ *
34144
+ * Pages start from page 1. Default value: 1
34145
+ *
34146
+ * @example
34147
+ * 1
34148
+ */
34149
+ pageNumber?: number;
34150
+ /**
34151
+ * @remarks
34152
+ * The number of entries per page.
34153
+ *
34154
+ * Valid values: 1 to 100. Minimum value: 1. Default value: 10.
34155
+ *
34156
+ * @example
34157
+ * 10
34158
+ */
34159
+ pageSize?: number;
34160
+ /**
34161
+ * @remarks
34162
+ * The status of the compliance package to be queried. Valid values:
34163
+ *
34164
+ * * ACTIVE: The compliance package is active.
34165
+ * * CREATING: The compliance package is being created.
34166
+ *
34167
+ * @example
34168
+ * ACTIVE
34169
+ */
34170
+ status?: string;
34171
+ tagShrink?: string;
34172
+ static names(): { [key: string]: string } {
34173
+ return {
34174
+ pageNumber: 'PageNumber',
34175
+ pageSize: 'PageSize',
34176
+ status: 'Status',
34177
+ tagShrink: 'Tag',
34178
+ };
34179
+ }
34180
+
34181
+ static types(): { [key: string]: any } {
34182
+ return {
34183
+ pageNumber: 'number',
34184
+ pageSize: 'number',
34185
+ status: 'string',
34186
+ tagShrink: 'string',
32858
34187
  };
32859
34188
  }
32860
34189
 
@@ -33407,6 +34736,12 @@ export class ListConfigRulesRequest extends $dara.Model {
33407
34736
  * 1
33408
34737
  */
33409
34738
  riskLevel?: number;
34739
+ /**
34740
+ * @remarks
34741
+ * The tags of the resource.
34742
+ *
34743
+ * You can add up to 20 tags to a resource.
34744
+ */
33410
34745
  tag?: ListConfigRulesRequestTag[];
33411
34746
  static names(): { [key: string]: string } {
33412
34747
  return {
@@ -33547,6 +34882,12 @@ export class ListConfigRulesShrinkRequest extends $dara.Model {
33547
34882
  * 1
33548
34883
  */
33549
34884
  riskLevel?: number;
34885
+ /**
34886
+ * @remarks
34887
+ * The tags of the resource.
34888
+ *
34889
+ * You can add up to 20 tags to a resource.
34890
+ */
33550
34891
  tagShrink?: string;
33551
34892
  static names(): { [key: string]: string } {
33552
34893
  return {
@@ -37237,6 +38578,13 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37237
38578
  * 1
37238
38579
  */
37239
38580
  riskLevel?: number;
38581
+ /**
38582
+ * @remarks
38583
+ * The tags of the resource.
38584
+ *
38585
+ * You can add up to 20 tags to a resource.
38586
+ */
38587
+ tag?: UpdateAggregateCompliancePackRequestTag[];
37240
38588
  /**
37241
38589
  * @remarks
37242
38590
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -37276,6 +38624,7 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37276
38624
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
37277
38625
  resourceIdsScope: 'ResourceIdsScope',
37278
38626
  riskLevel: 'RiskLevel',
38627
+ tag: 'Tag',
37279
38628
  tagKeyScope: 'TagKeyScope',
37280
38629
  tagValueScope: 'TagValueScope',
37281
38630
  tagsScope: 'TagsScope',
@@ -37298,6 +38647,7 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37298
38647
  resourceGroupIdsScope: 'string',
37299
38648
  resourceIdsScope: 'string',
37300
38649
  riskLevel: 'number',
38650
+ tag: { 'type': 'array', 'itemType': UpdateAggregateCompliancePackRequestTag },
37301
38651
  tagKeyScope: 'string',
37302
38652
  tagValueScope: 'string',
37303
38653
  tagsScope: { 'type': 'array', 'itemType': UpdateAggregateCompliancePackRequestTagsScope },
@@ -37311,6 +38661,9 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37311
38661
  if(Array.isArray(this.excludeTagsScope)) {
37312
38662
  $dara.Model.validateArray(this.excludeTagsScope);
37313
38663
  }
38664
+ if(Array.isArray(this.tag)) {
38665
+ $dara.Model.validateArray(this.tag);
38666
+ }
37314
38667
  if(Array.isArray(this.tagsScope)) {
37315
38668
  $dara.Model.validateArray(this.tagsScope);
37316
38669
  }
@@ -37445,6 +38798,13 @@ export class UpdateAggregateCompliancePackShrinkRequest extends $dara.Model {
37445
38798
  * 1
37446
38799
  */
37447
38800
  riskLevel?: number;
38801
+ /**
38802
+ * @remarks
38803
+ * The tags of the resource.
38804
+ *
38805
+ * You can add up to 20 tags to a resource.
38806
+ */
38807
+ tagShrink?: string;
37448
38808
  /**
37449
38809
  * @remarks
37450
38810
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -37484,6 +38844,7 @@ export class UpdateAggregateCompliancePackShrinkRequest extends $dara.Model {
37484
38844
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
37485
38845
  resourceIdsScope: 'ResourceIdsScope',
37486
38846
  riskLevel: 'RiskLevel',
38847
+ tagShrink: 'Tag',
37487
38848
  tagKeyScope: 'TagKeyScope',
37488
38849
  tagValueScope: 'TagValueScope',
37489
38850
  tagsScope: 'TagsScope',
@@ -37506,6 +38867,7 @@ export class UpdateAggregateCompliancePackShrinkRequest extends $dara.Model {
37506
38867
  resourceGroupIdsScope: 'string',
37507
38868
  resourceIdsScope: 'string',
37508
38869
  riskLevel: 'number',
38870
+ tagShrink: 'string',
37509
38871
  tagKeyScope: 'string',
37510
38872
  tagValueScope: 'string',
37511
38873
  tagsScope: { 'type': 'array', 'itemType': UpdateAggregateCompliancePackShrinkRequestTagsScope },
@@ -38121,6 +39483,13 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38121
39483
  * 3
38122
39484
  */
38123
39485
  riskLevel?: number;
39486
+ /**
39487
+ * @remarks
39488
+ * The tags of the resource.
39489
+ *
39490
+ * You can add up to 20 tags to a resource.
39491
+ */
39492
+ tag?: UpdateAggregateConfigRuleRequestTag[];
38124
39493
  /**
38125
39494
  * @remarks
38126
39495
  * The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
@@ -38180,6 +39549,7 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38180
39549
  resourceIdsScope: 'ResourceIdsScope',
38181
39550
  resourceTypesScope: 'ResourceTypesScope',
38182
39551
  riskLevel: 'RiskLevel',
39552
+ tag: 'Tag',
38183
39553
  tagKeyLogicScope: 'TagKeyLogicScope',
38184
39554
  tagKeyScope: 'TagKeyScope',
38185
39555
  tagValueScope: 'TagValueScope',
@@ -38210,6 +39580,7 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38210
39580
  resourceIdsScope: 'string',
38211
39581
  resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
38212
39582
  riskLevel: 'number',
39583
+ tag: { 'type': 'array', 'itemType': UpdateAggregateConfigRuleRequestTag },
38213
39584
  tagKeyLogicScope: 'string',
38214
39585
  tagKeyScope: 'string',
38215
39586
  tagValueScope: 'string',
@@ -38227,6 +39598,9 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38227
39598
  if(Array.isArray(this.resourceTypesScope)) {
38228
39599
  $dara.Model.validateArray(this.resourceTypesScope);
38229
39600
  }
39601
+ if(Array.isArray(this.tag)) {
39602
+ $dara.Model.validateArray(this.tag);
39603
+ }
38230
39604
  if(Array.isArray(this.tagsScope)) {
38231
39605
  $dara.Model.validateArray(this.tagsScope);
38232
39606
  }
@@ -38451,6 +39825,13 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
38451
39825
  * 3
38452
39826
  */
38453
39827
  riskLevel?: number;
39828
+ /**
39829
+ * @remarks
39830
+ * The tags of the resource.
39831
+ *
39832
+ * You can add up to 20 tags to a resource.
39833
+ */
39834
+ tagShrink?: string;
38454
39835
  /**
38455
39836
  * @remarks
38456
39837
  * The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
@@ -38510,6 +39891,7 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
38510
39891
  resourceIdsScope: 'ResourceIdsScope',
38511
39892
  resourceTypesScopeShrink: 'ResourceTypesScope',
38512
39893
  riskLevel: 'RiskLevel',
39894
+ tagShrink: 'Tag',
38513
39895
  tagKeyLogicScope: 'TagKeyLogicScope',
38514
39896
  tagKeyScope: 'TagKeyScope',
38515
39897
  tagValueScope: 'TagValueScope',
@@ -38540,6 +39922,7 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
38540
39922
  resourceIdsScope: 'string',
38541
39923
  resourceTypesScopeShrink: 'string',
38542
39924
  riskLevel: 'number',
39925
+ tagShrink: 'string',
38543
39926
  tagKeyLogicScope: 'string',
38544
39927
  tagKeyScope: 'string',
38545
39928
  tagValueScope: 'string',
@@ -38875,6 +40258,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
38875
40258
  * Test_Aggregator_Description
38876
40259
  */
38877
40260
  description?: string;
40261
+ tag?: UpdateAggregatorRequestTag[];
38878
40262
  static names(): { [key: string]: string } {
38879
40263
  return {
38880
40264
  aggregatorAccounts: 'AggregatorAccounts',
@@ -38882,6 +40266,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
38882
40266
  aggregatorName: 'AggregatorName',
38883
40267
  clientToken: 'ClientToken',
38884
40268
  description: 'Description',
40269
+ tag: 'Tag',
38885
40270
  };
38886
40271
  }
38887
40272
 
@@ -38892,6 +40277,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
38892
40277
  aggregatorName: 'string',
38893
40278
  clientToken: 'string',
38894
40279
  description: 'string',
40280
+ tag: { 'type': 'array', 'itemType': UpdateAggregatorRequestTag },
38895
40281
  };
38896
40282
  }
38897
40283
 
@@ -38899,6 +40285,9 @@ export class UpdateAggregatorRequest extends $dara.Model {
38899
40285
  if(Array.isArray(this.aggregatorAccounts)) {
38900
40286
  $dara.Model.validateArray(this.aggregatorAccounts);
38901
40287
  }
40288
+ if(Array.isArray(this.tag)) {
40289
+ $dara.Model.validateArray(this.tag);
40290
+ }
38902
40291
  super.validate();
38903
40292
  }
38904
40293
 
@@ -38958,6 +40347,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
38958
40347
  * Test_Aggregator_Description
38959
40348
  */
38960
40349
  description?: string;
40350
+ tagShrink?: string;
38961
40351
  static names(): { [key: string]: string } {
38962
40352
  return {
38963
40353
  aggregatorAccountsShrink: 'AggregatorAccounts',
@@ -38965,6 +40355,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
38965
40355
  aggregatorName: 'AggregatorName',
38966
40356
  clientToken: 'ClientToken',
38967
40357
  description: 'Description',
40358
+ tagShrink: 'Tag',
38968
40359
  };
38969
40360
  }
38970
40361
 
@@ -38975,6 +40366,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
38975
40366
  aggregatorName: 'string',
38976
40367
  clientToken: 'string',
38977
40368
  description: 'string',
40369
+ tagShrink: 'string',
38978
40370
  };
38979
40371
  }
38980
40372
 
@@ -39173,6 +40565,7 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39173
40565
  * 1
39174
40566
  */
39175
40567
  riskLevel?: number;
40568
+ tag?: UpdateCompliancePackRequestTag[];
39176
40569
  /**
39177
40570
  * @remarks
39178
40571
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -39211,6 +40604,7 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39211
40604
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
39212
40605
  resourceIdsScope: 'ResourceIdsScope',
39213
40606
  riskLevel: 'RiskLevel',
40607
+ tag: 'Tag',
39214
40608
  tagKeyScope: 'TagKeyScope',
39215
40609
  tagValueScope: 'TagValueScope',
39216
40610
  tagsScope: 'TagsScope',
@@ -39232,6 +40626,7 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39232
40626
  resourceGroupIdsScope: 'string',
39233
40627
  resourceIdsScope: 'string',
39234
40628
  riskLevel: 'number',
40629
+ tag: { 'type': 'array', 'itemType': UpdateCompliancePackRequestTag },
39235
40630
  tagKeyScope: 'string',
39236
40631
  tagValueScope: 'string',
39237
40632
  tagsScope: { 'type': 'array', 'itemType': UpdateCompliancePackRequestTagsScope },
@@ -39245,6 +40640,9 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39245
40640
  if(Array.isArray(this.excludeTagsScope)) {
39246
40641
  $dara.Model.validateArray(this.excludeTagsScope);
39247
40642
  }
40643
+ if(Array.isArray(this.tag)) {
40644
+ $dara.Model.validateArray(this.tag);
40645
+ }
39248
40646
  if(Array.isArray(this.tagsScope)) {
39249
40647
  $dara.Model.validateArray(this.tagsScope);
39250
40648
  }
@@ -39367,6 +40765,7 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
39367
40765
  * 1
39368
40766
  */
39369
40767
  riskLevel?: number;
40768
+ tagShrink?: string;
39370
40769
  /**
39371
40770
  * @remarks
39372
40771
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -39405,6 +40804,7 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
39405
40804
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
39406
40805
  resourceIdsScope: 'ResourceIdsScope',
39407
40806
  riskLevel: 'RiskLevel',
40807
+ tagShrink: 'Tag',
39408
40808
  tagKeyScope: 'TagKeyScope',
39409
40809
  tagValueScope: 'TagValueScope',
39410
40810
  tagsScope: 'TagsScope',
@@ -39426,6 +40826,7 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
39426
40826
  resourceGroupIdsScope: 'string',
39427
40827
  resourceIdsScope: 'string',
39428
40828
  riskLevel: 'number',
40829
+ tagShrink: 'string',
39429
40830
  tagKeyScope: 'string',
39430
40831
  tagValueScope: 'string',
39431
40832
  tagsScope: { 'type': 'array', 'itemType': UpdateCompliancePackShrinkRequestTagsScope },
@@ -39980,6 +41381,12 @@ export class UpdateConfigRuleRequest extends $dara.Model {
39980
41381
  * 3
39981
41382
  */
39982
41383
  riskLevel?: number;
41384
+ /**
41385
+ * @remarks
41386
+ * The tags of the resource.
41387
+ *
41388
+ * You can add up to 20 tags to a resource.
41389
+ */
39983
41390
  tag?: UpdateConfigRuleRequestTag[];
39984
41391
  /**
39985
41392
  * @remarks
@@ -40261,6 +41668,12 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
40261
41668
  * 3
40262
41669
  */
40263
41670
  riskLevel?: number;
41671
+ /**
41672
+ * @remarks
41673
+ * The tags of the resource.
41674
+ *
41675
+ * You can add up to 20 tags to a resource.
41676
+ */
40264
41677
  tagShrink?: string;
40265
41678
  /**
40266
41679
  * @remarks
@@ -41200,7 +42613,12 @@ export default class Client extends OpenApi {
41200
42613
  reqBodyType: "formData",
41201
42614
  bodyType: "json",
41202
42615
  });
41203
- return $dara.cast<ActiveAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
42616
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42617
+ return $dara.cast<ActiveAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
42618
+ } else {
42619
+ return $dara.cast<ActiveAggregateConfigRulesResponse>(await this.execute(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
42620
+ }
42621
+
41204
42622
  }
41205
42623
 
41206
42624
  /**
@@ -41253,7 +42671,12 @@ export default class Client extends OpenApi {
41253
42671
  reqBodyType: "formData",
41254
42672
  bodyType: "json",
41255
42673
  });
41256
- return $dara.cast<ActiveConfigRulesResponse>(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
42674
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42675
+ return $dara.cast<ActiveConfigRulesResponse>(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
42676
+ } else {
42677
+ return $dara.cast<ActiveConfigRulesResponse>(await this.execute(params, req, runtime), new ActiveConfigRulesResponse({}));
42678
+ }
42679
+
41257
42680
  }
41258
42681
 
41259
42682
  /**
@@ -41310,7 +42733,12 @@ export default class Client extends OpenApi {
41310
42733
  reqBodyType: "formData",
41311
42734
  bodyType: "json",
41312
42735
  });
41313
- return $dara.cast<AttachAggregateConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
42736
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42737
+ return $dara.cast<AttachAggregateConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
42738
+ } else {
42739
+ return $dara.cast<AttachAggregateConfigRuleToCompliancePackResponse>(await this.execute(params, req, runtime), new AttachAggregateConfigRuleToCompliancePackResponse({}));
42740
+ }
42741
+
41314
42742
  }
41315
42743
 
41316
42744
  /**
@@ -41362,7 +42790,12 @@ export default class Client extends OpenApi {
41362
42790
  reqBodyType: "formData",
41363
42791
  bodyType: "json",
41364
42792
  });
41365
- return $dara.cast<AttachConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
42793
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42794
+ return $dara.cast<AttachConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
42795
+ } else {
42796
+ return $dara.cast<AttachConfigRuleToCompliancePackResponse>(await this.execute(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
42797
+ }
42798
+
41366
42799
  }
41367
42800
 
41368
42801
  /**
@@ -41415,7 +42848,12 @@ export default class Client extends OpenApi {
41415
42848
  reqBodyType: "formData",
41416
42849
  bodyType: "json",
41417
42850
  });
41418
- return $dara.cast<CopyCompliancePacksResponse>(await this.callApi(params, req, runtime), new CopyCompliancePacksResponse({}));
42851
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42852
+ return $dara.cast<CopyCompliancePacksResponse>(await this.callApi(params, req, runtime), new CopyCompliancePacksResponse({}));
42853
+ } else {
42854
+ return $dara.cast<CopyCompliancePacksResponse>(await this.execute(params, req, runtime), new CopyCompliancePacksResponse({}));
42855
+ }
42856
+
41419
42857
  }
41420
42858
 
41421
42859
  /**
@@ -41465,7 +42903,12 @@ export default class Client extends OpenApi {
41465
42903
  reqBodyType: "formData",
41466
42904
  bodyType: "json",
41467
42905
  });
41468
- return $dara.cast<CopyConfigRulesResponse>(await this.callApi(params, req, runtime), new CopyConfigRulesResponse({}));
42906
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42907
+ return $dara.cast<CopyConfigRulesResponse>(await this.callApi(params, req, runtime), new CopyConfigRulesResponse({}));
42908
+ } else {
42909
+ return $dara.cast<CopyConfigRulesResponse>(await this.execute(params, req, runtime), new CopyConfigRulesResponse({}));
42910
+ }
42911
+
41469
42912
  }
41470
42913
 
41471
42914
  /**
@@ -41507,7 +42950,12 @@ export default class Client extends OpenApi {
41507
42950
  reqBodyType: "formData",
41508
42951
  bodyType: "json",
41509
42952
  });
41510
- return $dara.cast<CreateAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
42953
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
42954
+ return $dara.cast<CreateAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
42955
+ } else {
42956
+ return $dara.cast<CreateAdvancedSearchFileResponse>(await this.execute(params, req, runtime), new CreateAdvancedSearchFileResponse({}));
42957
+ }
42958
+
41511
42959
  }
41512
42960
 
41513
42961
  /**
@@ -41556,7 +43004,12 @@ export default class Client extends OpenApi {
41556
43004
  reqBodyType: "formData",
41557
43005
  bodyType: "json",
41558
43006
  });
41559
- return $dara.cast<CreateAggregateAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
43007
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43008
+ return $dara.cast<CreateAggregateAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
43009
+ } else {
43010
+ return $dara.cast<CreateAggregateAdvancedSearchFileResponse>(await this.execute(params, req, runtime), new CreateAggregateAdvancedSearchFileResponse({}));
43011
+ }
43012
+
41560
43013
  }
41561
43014
 
41562
43015
  /**
@@ -41591,6 +43044,15 @@ export default class Client extends OpenApi {
41591
43044
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
41592
43045
  }
41593
43046
 
43047
+ if (!$dara.isNull(tmpReq.tag)) {
43048
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
43049
+ }
43050
+
43051
+ let query = { };
43052
+ if (!$dara.isNull(request.tagShrink)) {
43053
+ query["Tag"] = request.tagShrink;
43054
+ }
43055
+
41594
43056
  let body : {[key: string ]: any} = { };
41595
43057
  if (!$dara.isNull(request.aggregatorId)) {
41596
43058
  body["AggregatorId"] = request.aggregatorId;
@@ -41674,6 +43136,7 @@ export default class Client extends OpenApi {
41674
43136
  ...OpenApiUtil.query(bodyFlat),
41675
43137
  };
41676
43138
  let req = new $OpenApiUtil.OpenApiRequest({
43139
+ query: OpenApiUtil.query(query),
41677
43140
  body: OpenApiUtil.parseToMap(body),
41678
43141
  });
41679
43142
  let params = new $OpenApiUtil.Params({
@@ -41687,7 +43150,12 @@ export default class Client extends OpenApi {
41687
43150
  reqBodyType: "formData",
41688
43151
  bodyType: "json",
41689
43152
  });
41690
- return $dara.cast<CreateAggregateCompliancePackResponse>(await this.callApi(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
43153
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43154
+ return $dara.cast<CreateAggregateCompliancePackResponse>(await this.callApi(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
43155
+ } else {
43156
+ return $dara.cast<CreateAggregateCompliancePackResponse>(await this.execute(params, req, runtime), new CreateAggregateCompliancePackResponse({}));
43157
+ }
43158
+
41691
43159
  }
41692
43160
 
41693
43161
  /**
@@ -41783,7 +43251,12 @@ export default class Client extends OpenApi {
41783
43251
  reqBodyType: "formData",
41784
43252
  bodyType: "json",
41785
43253
  });
41786
- return $dara.cast<CreateAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
43254
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43255
+ return $dara.cast<CreateAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
43256
+ } else {
43257
+ return $dara.cast<CreateAggregateConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new CreateAggregateConfigDeliveryChannelResponse({}));
43258
+ }
43259
+
41787
43260
  }
41788
43261
 
41789
43262
  /**
@@ -41825,6 +43298,15 @@ export default class Client extends OpenApi {
41825
43298
  request.resourceTypesScopeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceTypesScope, "ResourceTypesScope", "simple");
41826
43299
  }
41827
43300
 
43301
+ if (!$dara.isNull(tmpReq.tag)) {
43302
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
43303
+ }
43304
+
43305
+ let query = { };
43306
+ if (!$dara.isNull(request.tagShrink)) {
43307
+ query["Tag"] = request.tagShrink;
43308
+ }
43309
+
41828
43310
  let body : {[key: string ]: any} = { };
41829
43311
  if (!$dara.isNull(request.accountIdsScope)) {
41830
43312
  body["AccountIdsScope"] = request.accountIdsScope;
@@ -41940,6 +43422,7 @@ export default class Client extends OpenApi {
41940
43422
  ...OpenApiUtil.query(bodyFlat),
41941
43423
  };
41942
43424
  let req = new $OpenApiUtil.OpenApiRequest({
43425
+ query: OpenApiUtil.query(query),
41943
43426
  body: OpenApiUtil.parseToMap(body),
41944
43427
  });
41945
43428
  let params = new $OpenApiUtil.Params({
@@ -41953,7 +43436,12 @@ export default class Client extends OpenApi {
41953
43436
  reqBodyType: "formData",
41954
43437
  bodyType: "json",
41955
43438
  });
41956
- return $dara.cast<CreateAggregateConfigRuleResponse>(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
43439
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43440
+ return $dara.cast<CreateAggregateConfigRuleResponse>(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
43441
+ } else {
43442
+ return $dara.cast<CreateAggregateConfigRuleResponse>(await this.execute(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
43443
+ }
43444
+
41957
43445
  }
41958
43446
 
41959
43447
  /**
@@ -42032,7 +43520,12 @@ export default class Client extends OpenApi {
42032
43520
  reqBodyType: "formData",
42033
43521
  bodyType: "json",
42034
43522
  });
42035
- return $dara.cast<CreateAggregateRemediationResponse>(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
43523
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43524
+ return $dara.cast<CreateAggregateRemediationResponse>(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
43525
+ } else {
43526
+ return $dara.cast<CreateAggregateRemediationResponse>(await this.execute(params, req, runtime), new CreateAggregateRemediationResponse({}));
43527
+ }
43528
+
42036
43529
  }
42037
43530
 
42038
43531
  /**
@@ -42073,6 +43566,15 @@ export default class Client extends OpenApi {
42073
43566
  request.aggregatorAccountsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.aggregatorAccounts, "AggregatorAccounts", "json");
42074
43567
  }
42075
43568
 
43569
+ if (!$dara.isNull(tmpReq.tag)) {
43570
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
43571
+ }
43572
+
43573
+ let query = { };
43574
+ if (!$dara.isNull(request.tagShrink)) {
43575
+ query["Tag"] = request.tagShrink;
43576
+ }
43577
+
42076
43578
  let body : {[key: string ]: any} = { };
42077
43579
  if (!$dara.isNull(request.aggregatorAccountsShrink)) {
42078
43580
  body["AggregatorAccounts"] = request.aggregatorAccountsShrink;
@@ -42099,6 +43601,7 @@ export default class Client extends OpenApi {
42099
43601
  }
42100
43602
 
42101
43603
  let req = new $OpenApiUtil.OpenApiRequest({
43604
+ query: OpenApiUtil.query(query),
42102
43605
  body: OpenApiUtil.parseToMap(body),
42103
43606
  });
42104
43607
  let params = new $OpenApiUtil.Params({
@@ -42112,7 +43615,12 @@ export default class Client extends OpenApi {
42112
43615
  reqBodyType: "formData",
42113
43616
  bodyType: "json",
42114
43617
  });
42115
- return $dara.cast<CreateAggregatorResponse>(await this.callApi(params, req, runtime), new CreateAggregatorResponse({}));
43618
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43619
+ return $dara.cast<CreateAggregatorResponse>(await this.callApi(params, req, runtime), new CreateAggregatorResponse({}));
43620
+ } else {
43621
+ return $dara.cast<CreateAggregatorResponse>(await this.execute(params, req, runtime), new CreateAggregatorResponse({}));
43622
+ }
43623
+
42116
43624
  }
42117
43625
 
42118
43626
  /**
@@ -42154,6 +43662,15 @@ export default class Client extends OpenApi {
42154
43662
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
42155
43663
  }
42156
43664
 
43665
+ if (!$dara.isNull(tmpReq.tag)) {
43666
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
43667
+ }
43668
+
43669
+ let query = { };
43670
+ if (!$dara.isNull(request.tagShrink)) {
43671
+ query["Tag"] = request.tagShrink;
43672
+ }
43673
+
42157
43674
  let body : {[key: string ]: any} = { };
42158
43675
  if (!$dara.isNull(request.clientToken)) {
42159
43676
  body["ClientToken"] = request.clientToken;
@@ -42233,6 +43750,7 @@ export default class Client extends OpenApi {
42233
43750
  ...OpenApiUtil.query(bodyFlat),
42234
43751
  };
42235
43752
  let req = new $OpenApiUtil.OpenApiRequest({
43753
+ query: OpenApiUtil.query(query),
42236
43754
  body: OpenApiUtil.parseToMap(body),
42237
43755
  });
42238
43756
  let params = new $OpenApiUtil.Params({
@@ -42246,7 +43764,12 @@ export default class Client extends OpenApi {
42246
43764
  reqBodyType: "formData",
42247
43765
  bodyType: "json",
42248
43766
  });
42249
- return $dara.cast<CreateCompliancePackResponse>(await this.callApi(params, req, runtime), new CreateCompliancePackResponse({}));
43767
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43768
+ return $dara.cast<CreateCompliancePackResponse>(await this.callApi(params, req, runtime), new CreateCompliancePackResponse({}));
43769
+ } else {
43770
+ return $dara.cast<CreateCompliancePackResponse>(await this.execute(params, req, runtime), new CreateCompliancePackResponse({}));
43771
+ }
43772
+
42250
43773
  }
42251
43774
 
42252
43775
  /**
@@ -42339,7 +43862,12 @@ export default class Client extends OpenApi {
42339
43862
  reqBodyType: "formData",
42340
43863
  bodyType: "json",
42341
43864
  });
42342
- return $dara.cast<CreateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
43865
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43866
+ return $dara.cast<CreateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
43867
+ } else {
43868
+ return $dara.cast<CreateConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new CreateConfigDeliveryChannelResponse({}));
43869
+ }
43870
+
42343
43871
  }
42344
43872
 
42345
43873
  /**
@@ -42497,7 +44025,12 @@ export default class Client extends OpenApi {
42497
44025
  reqBodyType: "formData",
42498
44026
  bodyType: "json",
42499
44027
  });
42500
- return $dara.cast<CreateConfigRuleResponse>(await this.callApi(params, req, runtime), new CreateConfigRuleResponse({}));
44028
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44029
+ return $dara.cast<CreateConfigRuleResponse>(await this.callApi(params, req, runtime), new CreateConfigRuleResponse({}));
44030
+ } else {
44031
+ return $dara.cast<CreateConfigRuleResponse>(await this.execute(params, req, runtime), new CreateConfigRuleResponse({}));
44032
+ }
44033
+
42501
44034
  }
42502
44035
 
42503
44036
  /**
@@ -42589,7 +44122,12 @@ export default class Client extends OpenApi {
42589
44122
  reqBodyType: "formData",
42590
44123
  bodyType: "json",
42591
44124
  });
42592
- return $dara.cast<CreateDeliveryChannelResponse>(await this.callApi(params, req, runtime), new CreateDeliveryChannelResponse({}));
44125
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44126
+ return $dara.cast<CreateDeliveryChannelResponse>(await this.callApi(params, req, runtime), new CreateDeliveryChannelResponse({}));
44127
+ } else {
44128
+ return $dara.cast<CreateDeliveryChannelResponse>(await this.execute(params, req, runtime), new CreateDeliveryChannelResponse({}));
44129
+ }
44130
+
42593
44131
  }
42594
44132
 
42595
44133
  /**
@@ -42664,7 +44202,12 @@ export default class Client extends OpenApi {
42664
44202
  reqBodyType: "formData",
42665
44203
  bodyType: "json",
42666
44204
  });
42667
- return $dara.cast<CreateRemediationResponse>(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
44205
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44206
+ return $dara.cast<CreateRemediationResponse>(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
44207
+ } else {
44208
+ return $dara.cast<CreateRemediationResponse>(await this.execute(params, req, runtime), new CreateRemediationResponse({}));
44209
+ }
44210
+
42668
44211
  }
42669
44212
 
42670
44213
  /**
@@ -42723,7 +44266,12 @@ export default class Client extends OpenApi {
42723
44266
  reqBodyType: "formData",
42724
44267
  bodyType: "json",
42725
44268
  });
42726
- return $dara.cast<DeactiveAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
44269
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44270
+ return $dara.cast<DeactiveAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
44271
+ } else {
44272
+ return $dara.cast<DeactiveAggregateConfigRulesResponse>(await this.execute(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
44273
+ }
44274
+
42727
44275
  }
42728
44276
 
42729
44277
  /**
@@ -42781,7 +44329,12 @@ export default class Client extends OpenApi {
42781
44329
  reqBodyType: "formData",
42782
44330
  bodyType: "json",
42783
44331
  });
42784
- return $dara.cast<DeactiveConfigRulesResponse>(await this.callApi(params, req, runtime), new DeactiveConfigRulesResponse({}));
44332
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44333
+ return $dara.cast<DeactiveConfigRulesResponse>(await this.callApi(params, req, runtime), new DeactiveConfigRulesResponse({}));
44334
+ } else {
44335
+ return $dara.cast<DeactiveConfigRulesResponse>(await this.execute(params, req, runtime), new DeactiveConfigRulesResponse({}));
44336
+ }
44337
+
42785
44338
  }
42786
44339
 
42787
44340
  /**
@@ -42844,7 +44397,12 @@ export default class Client extends OpenApi {
42844
44397
  reqBodyType: "formData",
42845
44398
  bodyType: "json",
42846
44399
  });
42847
- return $dara.cast<DeleteAggregateCompliancePacksResponse>(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
44400
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44401
+ return $dara.cast<DeleteAggregateCompliancePacksResponse>(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
44402
+ } else {
44403
+ return $dara.cast<DeleteAggregateCompliancePacksResponse>(await this.execute(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
44404
+ }
44405
+
42848
44406
  }
42849
44407
 
42850
44408
  /**
@@ -42896,7 +44454,12 @@ export default class Client extends OpenApi {
42896
44454
  reqBodyType: "formData",
42897
44455
  bodyType: "json",
42898
44456
  });
42899
- return $dara.cast<DeleteAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
44457
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44458
+ return $dara.cast<DeleteAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
44459
+ } else {
44460
+ return $dara.cast<DeleteAggregateConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
44461
+ }
44462
+
42900
44463
  }
42901
44464
 
42902
44465
  /**
@@ -42948,7 +44511,12 @@ export default class Client extends OpenApi {
42948
44511
  reqBodyType: "formData",
42949
44512
  bodyType: "json",
42950
44513
  });
42951
- return $dara.cast<DeleteAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
44514
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44515
+ return $dara.cast<DeleteAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
44516
+ } else {
44517
+ return $dara.cast<DeleteAggregateConfigRulesResponse>(await this.execute(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
44518
+ }
44519
+
42952
44520
  }
42953
44521
 
42954
44522
  /**
@@ -43000,7 +44568,12 @@ export default class Client extends OpenApi {
43000
44568
  reqBodyType: "formData",
43001
44569
  bodyType: "json",
43002
44570
  });
43003
- return $dara.cast<DeleteAggregateRemediationsResponse>(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
44571
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44572
+ return $dara.cast<DeleteAggregateRemediationsResponse>(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
44573
+ } else {
44574
+ return $dara.cast<DeleteAggregateRemediationsResponse>(await this.execute(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
44575
+ }
44576
+
43004
44577
  }
43005
44578
 
43006
44579
  /**
@@ -43059,7 +44632,12 @@ export default class Client extends OpenApi {
43059
44632
  reqBodyType: "formData",
43060
44633
  bodyType: "json",
43061
44634
  });
43062
- return $dara.cast<DeleteAggregatorsResponse>(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
44635
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44636
+ return $dara.cast<DeleteAggregatorsResponse>(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
44637
+ } else {
44638
+ return $dara.cast<DeleteAggregatorsResponse>(await this.execute(params, req, runtime), new DeleteAggregatorsResponse({}));
44639
+ }
44640
+
43063
44641
  }
43064
44642
 
43065
44643
  /**
@@ -43122,7 +44700,12 @@ export default class Client extends OpenApi {
43122
44700
  reqBodyType: "formData",
43123
44701
  bodyType: "json",
43124
44702
  });
43125
- return $dara.cast<DeleteCompliancePacksResponse>(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
44703
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44704
+ return $dara.cast<DeleteCompliancePacksResponse>(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
44705
+ } else {
44706
+ return $dara.cast<DeleteCompliancePacksResponse>(await this.execute(params, req, runtime), new DeleteCompliancePacksResponse({}));
44707
+ }
44708
+
43126
44709
  }
43127
44710
 
43128
44711
  /**
@@ -43170,7 +44753,12 @@ export default class Client extends OpenApi {
43170
44753
  reqBodyType: "formData",
43171
44754
  bodyType: "json",
43172
44755
  });
43173
- return $dara.cast<DeleteConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
44756
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44757
+ return $dara.cast<DeleteConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
44758
+ } else {
44759
+ return $dara.cast<DeleteConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
44760
+ }
44761
+
43174
44762
  }
43175
44763
 
43176
44764
  /**
@@ -43218,7 +44806,12 @@ export default class Client extends OpenApi {
43218
44806
  reqBodyType: "formData",
43219
44807
  bodyType: "json",
43220
44808
  });
43221
- return $dara.cast<DeleteConfigRulesResponse>(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
44809
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44810
+ return $dara.cast<DeleteConfigRulesResponse>(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
44811
+ } else {
44812
+ return $dara.cast<DeleteConfigRulesResponse>(await this.execute(params, req, runtime), new DeleteConfigRulesResponse({}));
44813
+ }
44814
+
43222
44815
  }
43223
44816
 
43224
44817
  /**
@@ -43266,7 +44859,12 @@ export default class Client extends OpenApi {
43266
44859
  reqBodyType: "formData",
43267
44860
  bodyType: "json",
43268
44861
  });
43269
- return $dara.cast<DeleteRemediationsResponse>(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
44862
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44863
+ return $dara.cast<DeleteRemediationsResponse>(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
44864
+ } else {
44865
+ return $dara.cast<DeleteRemediationsResponse>(await this.execute(params, req, runtime), new DeleteRemediationsResponse({}));
44866
+ }
44867
+
43270
44868
  }
43271
44869
 
43272
44870
  /**
@@ -43307,7 +44905,12 @@ export default class Client extends OpenApi {
43307
44905
  reqBodyType: "formData",
43308
44906
  bodyType: "json",
43309
44907
  });
43310
- return $dara.cast<DescribeRemediationResponse>(await this.callApi(params, req, runtime), new DescribeRemediationResponse({}));
44908
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44909
+ return $dara.cast<DescribeRemediationResponse>(await this.callApi(params, req, runtime), new DescribeRemediationResponse({}));
44910
+ } else {
44911
+ return $dara.cast<DescribeRemediationResponse>(await this.execute(params, req, runtime), new DescribeRemediationResponse({}));
44912
+ }
44913
+
43311
44914
  }
43312
44915
 
43313
44916
  /**
@@ -43363,7 +44966,12 @@ export default class Client extends OpenApi {
43363
44966
  reqBodyType: "formData",
43364
44967
  bodyType: "json",
43365
44968
  });
43366
- return $dara.cast<DetachAggregateConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
44969
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44970
+ return $dara.cast<DetachAggregateConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
44971
+ } else {
44972
+ return $dara.cast<DetachAggregateConfigRuleToCompliancePackResponse>(await this.execute(params, req, runtime), new DetachAggregateConfigRuleToCompliancePackResponse({}));
44973
+ }
44974
+
43367
44975
  }
43368
44976
 
43369
44977
  /**
@@ -43421,7 +45029,12 @@ export default class Client extends OpenApi {
43421
45029
  reqBodyType: "formData",
43422
45030
  bodyType: "json",
43423
45031
  });
43424
- return $dara.cast<DetachConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
45032
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45033
+ return $dara.cast<DetachConfigRuleToCompliancePackResponse>(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
45034
+ } else {
45035
+ return $dara.cast<DetachConfigRuleToCompliancePackResponse>(await this.execute(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
45036
+ }
45037
+
43425
45038
  }
43426
45039
 
43427
45040
  /**
@@ -43465,6 +45078,10 @@ export default class Client extends OpenApi {
43465
45078
  body["ResourceEvaluateItems"] = request.resourceEvaluateItemsShrink;
43466
45079
  }
43467
45080
 
45081
+ if (!$dara.isNull(request.resourceTypeFormat)) {
45082
+ body["ResourceTypeFormat"] = request.resourceTypeFormat;
45083
+ }
45084
+
43468
45085
  let req = new $OpenApiUtil.OpenApiRequest({
43469
45086
  body: OpenApiUtil.parseToMap(body),
43470
45087
  });
@@ -43479,7 +45096,12 @@ export default class Client extends OpenApi {
43479
45096
  reqBodyType: "formData",
43480
45097
  bodyType: "json",
43481
45098
  });
43482
- return $dara.cast<EvaluatePreConfigRulesResponse>(await this.callApi(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
45099
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45100
+ return $dara.cast<EvaluatePreConfigRulesResponse>(await this.callApi(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
45101
+ } else {
45102
+ return $dara.cast<EvaluatePreConfigRulesResponse>(await this.execute(params, req, runtime), new EvaluatePreConfigRulesResponse({}));
45103
+ }
45104
+
43483
45105
  }
43484
45106
 
43485
45107
  /**
@@ -43533,7 +45155,12 @@ export default class Client extends OpenApi {
43533
45155
  reqBodyType: "formData",
43534
45156
  bodyType: "json",
43535
45157
  });
43536
- return $dara.cast<GenerateAggregateCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
45158
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45159
+ return $dara.cast<GenerateAggregateCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
45160
+ } else {
45161
+ return $dara.cast<GenerateAggregateCompliancePackReportResponse>(await this.execute(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
45162
+ }
45163
+
43537
45164
  }
43538
45165
 
43539
45166
  /**
@@ -43591,7 +45218,12 @@ export default class Client extends OpenApi {
43591
45218
  reqBodyType: "formData",
43592
45219
  bodyType: "json",
43593
45220
  });
43594
- return $dara.cast<GenerateAggregateConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
45221
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45222
+ return $dara.cast<GenerateAggregateConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
45223
+ } else {
45224
+ return $dara.cast<GenerateAggregateConfigRulesReportResponse>(await this.execute(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
45225
+ }
45226
+
43595
45227
  }
43596
45228
 
43597
45229
  /**
@@ -43656,7 +45288,12 @@ export default class Client extends OpenApi {
43656
45288
  reqBodyType: "formData",
43657
45289
  bodyType: "json",
43658
45290
  });
43659
- return $dara.cast<GenerateAggregateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
45291
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45292
+ return $dara.cast<GenerateAggregateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
45293
+ } else {
45294
+ return $dara.cast<GenerateAggregateResourceInventoryResponse>(await this.execute(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
45295
+ }
45296
+
43660
45297
  }
43661
45298
 
43662
45299
  /**
@@ -43709,7 +45346,12 @@ export default class Client extends OpenApi {
43709
45346
  reqBodyType: "formData",
43710
45347
  bodyType: "json",
43711
45348
  });
43712
- return $dara.cast<GenerateCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
45349
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45350
+ return $dara.cast<GenerateCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
45351
+ } else {
45352
+ return $dara.cast<GenerateCompliancePackReportResponse>(await this.execute(params, req, runtime), new GenerateCompliancePackReportResponse({}));
45353
+ }
45354
+
43713
45355
  }
43714
45356
 
43715
45357
  /**
@@ -43763,7 +45405,12 @@ export default class Client extends OpenApi {
43763
45405
  reqBodyType: "formData",
43764
45406
  bodyType: "json",
43765
45407
  });
43766
- return $dara.cast<GenerateConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GenerateConfigRulesReportResponse({}));
45408
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45409
+ return $dara.cast<GenerateConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GenerateConfigRulesReportResponse({}));
45410
+ } else {
45411
+ return $dara.cast<GenerateConfigRulesReportResponse>(await this.execute(params, req, runtime), new GenerateConfigRulesReportResponse({}));
45412
+ }
45413
+
43767
45414
  }
43768
45415
 
43769
45416
  /**
@@ -43820,7 +45467,12 @@ export default class Client extends OpenApi {
43820
45467
  reqBodyType: "formData",
43821
45468
  bodyType: "json",
43822
45469
  });
43823
- return $dara.cast<GenerateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
45470
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45471
+ return $dara.cast<GenerateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
45472
+ } else {
45473
+ return $dara.cast<GenerateResourceInventoryResponse>(await this.execute(params, req, runtime), new GenerateResourceInventoryResponse({}));
45474
+ }
45475
+
43824
45476
  }
43825
45477
 
43826
45478
  /**
@@ -43861,7 +45513,12 @@ export default class Client extends OpenApi {
43861
45513
  reqBodyType: "formData",
43862
45514
  bodyType: "json",
43863
45515
  });
43864
- return $dara.cast<GetAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new GetAdvancedSearchFileResponse({}));
45516
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45517
+ return $dara.cast<GetAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new GetAdvancedSearchFileResponse({}));
45518
+ } else {
45519
+ return $dara.cast<GetAdvancedSearchFileResponse>(await this.execute(params, req, runtime), new GetAdvancedSearchFileResponse({}));
45520
+ }
45521
+
43865
45522
  }
43866
45523
 
43867
45524
  /**
@@ -43904,7 +45561,12 @@ export default class Client extends OpenApi {
43904
45561
  reqBodyType: "formData",
43905
45562
  bodyType: "json",
43906
45563
  });
43907
- return $dara.cast<GetAggregateAccountComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
45564
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45565
+ return $dara.cast<GetAggregateAccountComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
45566
+ } else {
45567
+ return $dara.cast<GetAggregateAccountComplianceByPackResponse>(await this.execute(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
45568
+ }
45569
+
43908
45570
  }
43909
45571
 
43910
45572
  /**
@@ -43949,7 +45611,12 @@ export default class Client extends OpenApi {
43949
45611
  reqBodyType: "formData",
43950
45612
  bodyType: "json",
43951
45613
  });
43952
- return $dara.cast<GetAggregateAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
45614
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45615
+ return $dara.cast<GetAggregateAdvancedSearchFileResponse>(await this.callApi(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
45616
+ } else {
45617
+ return $dara.cast<GetAggregateAdvancedSearchFileResponse>(await this.execute(params, req, runtime), new GetAggregateAdvancedSearchFileResponse({}));
45618
+ }
45619
+
43953
45620
  }
43954
45621
 
43955
45622
  /**
@@ -43969,12 +45636,18 @@ export default class Client extends OpenApi {
43969
45636
  * @remarks
43970
45637
  * The topic provides an example on how to query the details of a compliance package whose ID is `cp-fdc8626622af00f9****` in an account group whose ID is `ca-f632626622af0079****`.
43971
45638
  *
43972
- * @param request - GetAggregateCompliancePackRequest
45639
+ * @param tmpReq - GetAggregateCompliancePackRequest
43973
45640
  * @param runtime - runtime options for this request RuntimeOptions
43974
45641
  * @returns GetAggregateCompliancePackResponse
43975
45642
  */
43976
- async getAggregateCompliancePackWithOptions(request: GetAggregateCompliancePackRequest, runtime: $dara.RuntimeOptions): Promise<GetAggregateCompliancePackResponse> {
43977
- request.validate();
45643
+ async getAggregateCompliancePackWithOptions(tmpReq: GetAggregateCompliancePackRequest, runtime: $dara.RuntimeOptions): Promise<GetAggregateCompliancePackResponse> {
45644
+ tmpReq.validate();
45645
+ let request = new GetAggregateCompliancePackShrinkRequest({ });
45646
+ OpenApiUtil.convert(tmpReq, request);
45647
+ if (!$dara.isNull(tmpReq.tag)) {
45648
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
45649
+ }
45650
+
43978
45651
  let query = OpenApiUtil.query(request.toMap());
43979
45652
  let req = new $OpenApiUtil.OpenApiRequest({
43980
45653
  query: OpenApiUtil.query(query),
@@ -43990,7 +45663,12 @@ export default class Client extends OpenApi {
43990
45663
  reqBodyType: "formData",
43991
45664
  bodyType: "json",
43992
45665
  });
43993
- return $dara.cast<GetAggregateCompliancePackResponse>(await this.callApi(params, req, runtime), new GetAggregateCompliancePackResponse({}));
45666
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45667
+ return $dara.cast<GetAggregateCompliancePackResponse>(await this.callApi(params, req, runtime), new GetAggregateCompliancePackResponse({}));
45668
+ } else {
45669
+ return $dara.cast<GetAggregateCompliancePackResponse>(await this.execute(params, req, runtime), new GetAggregateCompliancePackResponse({}));
45670
+ }
45671
+
43994
45672
  }
43995
45673
 
43996
45674
  /**
@@ -44035,7 +45713,12 @@ export default class Client extends OpenApi {
44035
45713
  reqBodyType: "formData",
44036
45714
  bodyType: "json",
44037
45715
  });
44038
- return $dara.cast<GetAggregateCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
45716
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45717
+ return $dara.cast<GetAggregateCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
45718
+ } else {
45719
+ return $dara.cast<GetAggregateCompliancePackReportResponse>(await this.execute(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
45720
+ }
45721
+
44039
45722
  }
44040
45723
 
44041
45724
  /**
@@ -44084,7 +45767,12 @@ export default class Client extends OpenApi {
44084
45767
  reqBodyType: "formData",
44085
45768
  bodyType: "json",
44086
45769
  });
44087
- return $dara.cast<GetAggregateComplianceSummaryResponse>(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
45770
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45771
+ return $dara.cast<GetAggregateComplianceSummaryResponse>(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
45772
+ } else {
45773
+ return $dara.cast<GetAggregateComplianceSummaryResponse>(await this.execute(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
45774
+ }
45775
+
44088
45776
  }
44089
45777
 
44090
45778
  /**
@@ -44133,7 +45821,12 @@ export default class Client extends OpenApi {
44133
45821
  reqBodyType: "formData",
44134
45822
  bodyType: "json",
44135
45823
  });
44136
- return $dara.cast<GetAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
45824
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45825
+ return $dara.cast<GetAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
45826
+ } else {
45827
+ return $dara.cast<GetAggregateConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new GetAggregateConfigDeliveryChannelResponse({}));
45828
+ }
45829
+
44137
45830
  }
44138
45831
 
44139
45832
  /**
@@ -44192,7 +45885,12 @@ export default class Client extends OpenApi {
44192
45885
  reqBodyType: "formData",
44193
45886
  bodyType: "json",
44194
45887
  });
44195
- return $dara.cast<GetAggregateConfigRuleResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRuleResponse({}));
45888
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45889
+ return $dara.cast<GetAggregateConfigRuleResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRuleResponse({}));
45890
+ } else {
45891
+ return $dara.cast<GetAggregateConfigRuleResponse>(await this.execute(params, req, runtime), new GetAggregateConfigRuleResponse({}));
45892
+ }
45893
+
44196
45894
  }
44197
45895
 
44198
45896
  /**
@@ -44236,7 +45934,12 @@ export default class Client extends OpenApi {
44236
45934
  reqBodyType: "formData",
44237
45935
  bodyType: "json",
44238
45936
  });
44239
- return $dara.cast<GetAggregateConfigRuleComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
45937
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45938
+ return $dara.cast<GetAggregateConfigRuleComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
45939
+ } else {
45940
+ return $dara.cast<GetAggregateConfigRuleComplianceByPackResponse>(await this.execute(params, req, runtime), new GetAggregateConfigRuleComplianceByPackResponse({}));
45941
+ }
45942
+
44240
45943
  }
44241
45944
 
44242
45945
  /**
@@ -44284,7 +45987,12 @@ export default class Client extends OpenApi {
44284
45987
  reqBodyType: "formData",
44285
45988
  bodyType: "json",
44286
45989
  });
44287
- return $dara.cast<GetAggregateConfigRuleSummaryByRiskLevelResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
45990
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45991
+ return $dara.cast<GetAggregateConfigRuleSummaryByRiskLevelResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
45992
+ } else {
45993
+ return $dara.cast<GetAggregateConfigRuleSummaryByRiskLevelResponse>(await this.execute(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
45994
+ }
45995
+
44288
45996
  }
44289
45997
 
44290
45998
  /**
@@ -44337,7 +46045,12 @@ export default class Client extends OpenApi {
44337
46045
  reqBodyType: "formData",
44338
46046
  bodyType: "json",
44339
46047
  });
44340
- return $dara.cast<GetAggregateConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
46048
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46049
+ return $dara.cast<GetAggregateConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
46050
+ } else {
46051
+ return $dara.cast<GetAggregateConfigRulesReportResponse>(await this.execute(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
46052
+ }
46053
+
44341
46054
  }
44342
46055
 
44343
46056
  /**
@@ -44410,7 +46123,12 @@ export default class Client extends OpenApi {
44410
46123
  reqBodyType: "formData",
44411
46124
  bodyType: "json",
44412
46125
  });
44413
- return $dara.cast<GetAggregateDiscoveredResourceResponse>(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
46126
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46127
+ return $dara.cast<GetAggregateDiscoveredResourceResponse>(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
46128
+ } else {
46129
+ return $dara.cast<GetAggregateDiscoveredResourceResponse>(await this.execute(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
46130
+ }
46131
+
44414
46132
  }
44415
46133
 
44416
46134
  /**
@@ -44474,7 +46192,12 @@ export default class Client extends OpenApi {
44474
46192
  reqBodyType: "formData",
44475
46193
  bodyType: "json",
44476
46194
  });
44477
- return $dara.cast<GetAggregateResourceComplianceByConfigRuleResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
46195
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46196
+ return $dara.cast<GetAggregateResourceComplianceByConfigRuleResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
46197
+ } else {
46198
+ return $dara.cast<GetAggregateResourceComplianceByConfigRuleResponse>(await this.execute(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
46199
+ }
46200
+
44478
46201
  }
44479
46202
 
44480
46203
  /**
@@ -44518,7 +46241,12 @@ export default class Client extends OpenApi {
44518
46241
  reqBodyType: "formData",
44519
46242
  bodyType: "json",
44520
46243
  });
44521
- return $dara.cast<GetAggregateResourceComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
46244
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46245
+ return $dara.cast<GetAggregateResourceComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
46246
+ } else {
46247
+ return $dara.cast<GetAggregateResourceComplianceByPackResponse>(await this.execute(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
46248
+ }
46249
+
44522
46250
  }
44523
46251
 
44524
46252
  /**
@@ -44567,7 +46295,12 @@ export default class Client extends OpenApi {
44567
46295
  reqBodyType: "formData",
44568
46296
  bodyType: "json",
44569
46297
  });
44570
- return $dara.cast<GetAggregateResourceComplianceGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
46298
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46299
+ return $dara.cast<GetAggregateResourceComplianceGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
46300
+ } else {
46301
+ return $dara.cast<GetAggregateResourceComplianceGroupByRegionResponse>(await this.execute(params, req, runtime), new GetAggregateResourceComplianceGroupByRegionResponse({}));
46302
+ }
46303
+
44571
46304
  }
44572
46305
 
44573
46306
  /**
@@ -44613,7 +46346,12 @@ export default class Client extends OpenApi {
44613
46346
  reqBodyType: "formData",
44614
46347
  bodyType: "json",
44615
46348
  });
44616
- return $dara.cast<GetAggregateResourceComplianceGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
46349
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46350
+ return $dara.cast<GetAggregateResourceComplianceGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
46351
+ } else {
46352
+ return $dara.cast<GetAggregateResourceComplianceGroupByResourceTypeResponse>(await this.execute(params, req, runtime), new GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
46353
+ }
46354
+
44617
46355
  }
44618
46356
 
44619
46357
  /**
@@ -44654,7 +46392,12 @@ export default class Client extends OpenApi {
44654
46392
  reqBodyType: "formData",
44655
46393
  bodyType: "json",
44656
46394
  });
44657
- return $dara.cast<GetAggregateResourceComplianceTimelineResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
46395
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46396
+ return $dara.cast<GetAggregateResourceComplianceTimelineResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
46397
+ } else {
46398
+ return $dara.cast<GetAggregateResourceComplianceTimelineResponse>(await this.execute(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
46399
+ }
46400
+
44658
46401
  }
44659
46402
 
44660
46403
  /**
@@ -44698,7 +46441,12 @@ export default class Client extends OpenApi {
44698
46441
  reqBodyType: "formData",
44699
46442
  bodyType: "json",
44700
46443
  });
44701
- return $dara.cast<GetAggregateResourceConfigurationTimelineResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
46444
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46445
+ return $dara.cast<GetAggregateResourceConfigurationTimelineResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
46446
+ } else {
46447
+ return $dara.cast<GetAggregateResourceConfigurationTimelineResponse>(await this.execute(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
46448
+ }
46449
+
44702
46450
  }
44703
46451
 
44704
46452
  /**
@@ -44762,7 +46510,12 @@ export default class Client extends OpenApi {
44762
46510
  reqBodyType: "formData",
44763
46511
  bodyType: "json",
44764
46512
  });
44765
- return $dara.cast<GetAggregateResourceCountsGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
46513
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46514
+ return $dara.cast<GetAggregateResourceCountsGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
46515
+ } else {
46516
+ return $dara.cast<GetAggregateResourceCountsGroupByRegionResponse>(await this.execute(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
46517
+ }
46518
+
44766
46519
  }
44767
46520
 
44768
46521
  /**
@@ -44826,7 +46579,12 @@ export default class Client extends OpenApi {
44826
46579
  reqBodyType: "formData",
44827
46580
  bodyType: "json",
44828
46581
  });
44829
- return $dara.cast<GetAggregateResourceCountsGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
46582
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46583
+ return $dara.cast<GetAggregateResourceCountsGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
46584
+ } else {
46585
+ return $dara.cast<GetAggregateResourceCountsGroupByResourceTypeResponse>(await this.execute(params, req, runtime), new GetAggregateResourceCountsGroupByResourceTypeResponse({}));
46586
+ }
46587
+
44830
46588
  }
44831
46589
 
44832
46590
  /**
@@ -44877,7 +46635,12 @@ export default class Client extends OpenApi {
44877
46635
  reqBodyType: "formData",
44878
46636
  bodyType: "json",
44879
46637
  });
44880
- return $dara.cast<GetAggregateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
46638
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46639
+ return $dara.cast<GetAggregateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
46640
+ } else {
46641
+ return $dara.cast<GetAggregateResourceInventoryResponse>(await this.execute(params, req, runtime), new GetAggregateResourceInventoryResponse({}));
46642
+ }
46643
+
44881
46644
  }
44882
46645
 
44883
46646
  /**
@@ -44903,17 +46666,27 @@ export default class Client extends OpenApi {
44903
46666
  * @remarks
44904
46667
  * The sample request in this topic shows you how to query the details of the `ca-88ea626622af0055****` account group. The return result shows that the account group is named `Test_Group`, its description is `Test account group`, and it is of the `CUSTOM` type. The account group is in the `1` state, which indicates that it is created.
44905
46668
  *
44906
- * @param request - GetAggregatorRequest
46669
+ * @param tmpReq - GetAggregatorRequest
44907
46670
  * @param runtime - runtime options for this request RuntimeOptions
44908
46671
  * @returns GetAggregatorResponse
44909
46672
  */
44910
- async getAggregatorWithOptions(request: GetAggregatorRequest, runtime: $dara.RuntimeOptions): Promise<GetAggregatorResponse> {
44911
- request.validate();
46673
+ async getAggregatorWithOptions(tmpReq: GetAggregatorRequest, runtime: $dara.RuntimeOptions): Promise<GetAggregatorResponse> {
46674
+ tmpReq.validate();
46675
+ let request = new GetAggregatorShrinkRequest({ });
46676
+ OpenApiUtil.convert(tmpReq, request);
46677
+ if (!$dara.isNull(tmpReq.tag)) {
46678
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
46679
+ }
46680
+
44912
46681
  let query = { };
44913
46682
  if (!$dara.isNull(request.aggregatorId)) {
44914
46683
  query["AggregatorId"] = request.aggregatorId;
44915
46684
  }
44916
46685
 
46686
+ if (!$dara.isNull(request.tagShrink)) {
46687
+ query["Tag"] = request.tagShrink;
46688
+ }
46689
+
44917
46690
  let req = new $OpenApiUtil.OpenApiRequest({
44918
46691
  query: OpenApiUtil.query(query),
44919
46692
  });
@@ -44928,7 +46701,12 @@ export default class Client extends OpenApi {
44928
46701
  reqBodyType: "formData",
44929
46702
  bodyType: "json",
44930
46703
  });
44931
- return $dara.cast<GetAggregatorResponse>(await this.callApi(params, req, runtime), new GetAggregatorResponse({}));
46704
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46705
+ return $dara.cast<GetAggregatorResponse>(await this.callApi(params, req, runtime), new GetAggregatorResponse({}));
46706
+ } else {
46707
+ return $dara.cast<GetAggregatorResponse>(await this.execute(params, req, runtime), new GetAggregatorResponse({}));
46708
+ }
46709
+
44932
46710
  }
44933
46711
 
44934
46712
  /**
@@ -44951,12 +46729,18 @@ export default class Client extends OpenApi {
44951
46729
  * @remarks
44952
46730
  * This topic provides an example on how to query the details of a compliance package whose ID is `cp-fdc8626622af00f9****`. The returned result shows that the name of the compliance package is `ClassifiedProtectionPreCheck`, the compliance package is in the `ACTIVE` state, and the risk level of the rules in the compliance package is `1`, which indicates high risk level.
44953
46731
  *
44954
- * @param request - GetCompliancePackRequest
46732
+ * @param tmpReq - GetCompliancePackRequest
44955
46733
  * @param runtime - runtime options for this request RuntimeOptions
44956
46734
  * @returns GetCompliancePackResponse
44957
46735
  */
44958
- async getCompliancePackWithOptions(request: GetCompliancePackRequest, runtime: $dara.RuntimeOptions): Promise<GetCompliancePackResponse> {
44959
- request.validate();
46736
+ async getCompliancePackWithOptions(tmpReq: GetCompliancePackRequest, runtime: $dara.RuntimeOptions): Promise<GetCompliancePackResponse> {
46737
+ tmpReq.validate();
46738
+ let request = new GetCompliancePackShrinkRequest({ });
46739
+ OpenApiUtil.convert(tmpReq, request);
46740
+ if (!$dara.isNull(tmpReq.tag)) {
46741
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
46742
+ }
46743
+
44960
46744
  let query = OpenApiUtil.query(request.toMap());
44961
46745
  let req = new $OpenApiUtil.OpenApiRequest({
44962
46746
  query: OpenApiUtil.query(query),
@@ -44972,7 +46756,12 @@ export default class Client extends OpenApi {
44972
46756
  reqBodyType: "formData",
44973
46757
  bodyType: "json",
44974
46758
  });
44975
- return $dara.cast<GetCompliancePackResponse>(await this.callApi(params, req, runtime), new GetCompliancePackResponse({}));
46759
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46760
+ return $dara.cast<GetCompliancePackResponse>(await this.callApi(params, req, runtime), new GetCompliancePackResponse({}));
46761
+ } else {
46762
+ return $dara.cast<GetCompliancePackResponse>(await this.execute(params, req, runtime), new GetCompliancePackResponse({}));
46763
+ }
46764
+
44976
46765
  }
44977
46766
 
44978
46767
  /**
@@ -45017,7 +46806,12 @@ export default class Client extends OpenApi {
45017
46806
  reqBodyType: "formData",
45018
46807
  bodyType: "json",
45019
46808
  });
45020
- return $dara.cast<GetCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
46809
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46810
+ return $dara.cast<GetCompliancePackReportResponse>(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
46811
+ } else {
46812
+ return $dara.cast<GetCompliancePackReportResponse>(await this.execute(params, req, runtime), new GetCompliancePackReportResponse({}));
46813
+ }
46814
+
45021
46815
  }
45022
46816
 
45023
46817
  /**
@@ -45058,7 +46852,12 @@ export default class Client extends OpenApi {
45058
46852
  reqBodyType: "formData",
45059
46853
  bodyType: "json",
45060
46854
  });
45061
- return $dara.cast<GetComplianceSummaryResponse>(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
46855
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46856
+ return $dara.cast<GetComplianceSummaryResponse>(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
46857
+ } else {
46858
+ return $dara.cast<GetComplianceSummaryResponse>(await this.execute(params, req, runtime), new GetComplianceSummaryResponse({}));
46859
+ }
46860
+
45062
46861
  }
45063
46862
 
45064
46863
  /**
@@ -45101,7 +46900,12 @@ export default class Client extends OpenApi {
45101
46900
  reqBodyType: "formData",
45102
46901
  bodyType: "json",
45103
46902
  });
45104
- return $dara.cast<GetConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
46903
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46904
+ return $dara.cast<GetConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
46905
+ } else {
46906
+ return $dara.cast<GetConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new GetConfigDeliveryChannelResponse({}));
46907
+ }
46908
+
45105
46909
  }
45106
46910
 
45107
46911
  /**
@@ -45156,7 +46960,12 @@ export default class Client extends OpenApi {
45156
46960
  reqBodyType: "formData",
45157
46961
  bodyType: "json",
45158
46962
  });
45159
- return $dara.cast<GetConfigRuleResponse>(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
46963
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46964
+ return $dara.cast<GetConfigRuleResponse>(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
46965
+ } else {
46966
+ return $dara.cast<GetConfigRuleResponse>(await this.execute(params, req, runtime), new GetConfigRuleResponse({}));
46967
+ }
46968
+
45160
46969
  }
45161
46970
 
45162
46971
  /**
@@ -45200,7 +47009,12 @@ export default class Client extends OpenApi {
45200
47009
  reqBodyType: "formData",
45201
47010
  bodyType: "json",
45202
47011
  });
45203
- return $dara.cast<GetConfigRuleComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
47012
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47013
+ return $dara.cast<GetConfigRuleComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
47014
+ } else {
47015
+ return $dara.cast<GetConfigRuleComplianceByPackResponse>(await this.execute(params, req, runtime), new GetConfigRuleComplianceByPackResponse({}));
47016
+ }
47017
+
45204
47018
  }
45205
47019
 
45206
47020
  /**
@@ -45240,7 +47054,12 @@ export default class Client extends OpenApi {
45240
47054
  reqBodyType: "formData",
45241
47055
  bodyType: "json",
45242
47056
  });
45243
- return $dara.cast<GetConfigRuleSummaryByRiskLevelResponse>(await this.callApi(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
47057
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47058
+ return $dara.cast<GetConfigRuleSummaryByRiskLevelResponse>(await this.callApi(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
47059
+ } else {
47060
+ return $dara.cast<GetConfigRuleSummaryByRiskLevelResponse>(await this.execute(params, req, runtime), new GetConfigRuleSummaryByRiskLevelResponse({}));
47061
+ }
47062
+
45244
47063
  }
45245
47064
 
45246
47065
  /**
@@ -45287,7 +47106,12 @@ export default class Client extends OpenApi {
45287
47106
  reqBodyType: "formData",
45288
47107
  bodyType: "json",
45289
47108
  });
45290
- return $dara.cast<GetConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GetConfigRulesReportResponse({}));
47109
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47110
+ return $dara.cast<GetConfigRulesReportResponse>(await this.callApi(params, req, runtime), new GetConfigRulesReportResponse({}));
47111
+ } else {
47112
+ return $dara.cast<GetConfigRulesReportResponse>(await this.execute(params, req, runtime), new GetConfigRulesReportResponse({}));
47113
+ }
47114
+
45291
47115
  }
45292
47116
 
45293
47117
  /**
@@ -45328,7 +47152,12 @@ export default class Client extends OpenApi {
45328
47152
  reqBodyType: "formData",
45329
47153
  bodyType: "json",
45330
47154
  });
45331
- return $dara.cast<GetConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
47155
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47156
+ return $dara.cast<GetConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
47157
+ } else {
47158
+ return $dara.cast<GetConfigurationRecorderResponse>(await this.execute(params, req, runtime), new GetConfigurationRecorderResponse({}));
47159
+ }
47160
+
45332
47161
  }
45333
47162
 
45334
47163
  /**
@@ -45386,7 +47215,12 @@ export default class Client extends OpenApi {
45386
47215
  reqBodyType: "formData",
45387
47216
  bodyType: "json",
45388
47217
  });
45389
- return $dara.cast<GetDiscoveredResourceResponse>(await this.callApi(params, req, runtime), new GetDiscoveredResourceResponse({}));
47218
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47219
+ return $dara.cast<GetDiscoveredResourceResponse>(await this.callApi(params, req, runtime), new GetDiscoveredResourceResponse({}));
47220
+ } else {
47221
+ return $dara.cast<GetDiscoveredResourceResponse>(await this.execute(params, req, runtime), new GetDiscoveredResourceResponse({}));
47222
+ }
47223
+
45390
47224
  }
45391
47225
 
45392
47226
  /**
@@ -45434,7 +47268,12 @@ export default class Client extends OpenApi {
45434
47268
  reqBodyType: "formData",
45435
47269
  bodyType: "json",
45436
47270
  });
45437
- return $dara.cast<GetDiscoveredResourceCountsGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
47271
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47272
+ return $dara.cast<GetDiscoveredResourceCountsGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
47273
+ } else {
47274
+ return $dara.cast<GetDiscoveredResourceCountsGroupByRegionResponse>(await this.execute(params, req, runtime), new GetDiscoveredResourceCountsGroupByRegionResponse({}));
47275
+ }
47276
+
45438
47277
  }
45439
47278
 
45440
47279
  /**
@@ -45482,7 +47321,12 @@ export default class Client extends OpenApi {
45482
47321
  reqBodyType: "formData",
45483
47322
  bodyType: "json",
45484
47323
  });
45485
- return $dara.cast<GetDiscoveredResourceCountsGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
47324
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47325
+ return $dara.cast<GetDiscoveredResourceCountsGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
47326
+ } else {
47327
+ return $dara.cast<GetDiscoveredResourceCountsGroupByResourceTypeResponse>(await this.execute(params, req, runtime), new GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
47328
+ }
47329
+
45486
47330
  }
45487
47331
 
45488
47332
  /**
@@ -45527,7 +47371,12 @@ export default class Client extends OpenApi {
45527
47371
  reqBodyType: "formData",
45528
47372
  bodyType: "json",
45529
47373
  });
45530
- return $dara.cast<GetIntegratedServiceStatusResponse>(await this.callApi(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
47374
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47375
+ return $dara.cast<GetIntegratedServiceStatusResponse>(await this.callApi(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
47376
+ } else {
47377
+ return $dara.cast<GetIntegratedServiceStatusResponse>(await this.execute(params, req, runtime), new GetIntegratedServiceStatusResponse({}));
47378
+ }
47379
+
45531
47380
  }
45532
47381
 
45533
47382
  /**
@@ -45572,7 +47421,12 @@ export default class Client extends OpenApi {
45572
47421
  reqBodyType: "formData",
45573
47422
  bodyType: "json",
45574
47423
  });
45575
- return $dara.cast<GetManagedRuleResponse>(await this.callApi(params, req, runtime), new GetManagedRuleResponse({}));
47424
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47425
+ return $dara.cast<GetManagedRuleResponse>(await this.callApi(params, req, runtime), new GetManagedRuleResponse({}));
47426
+ } else {
47427
+ return $dara.cast<GetManagedRuleResponse>(await this.execute(params, req, runtime), new GetManagedRuleResponse({}));
47428
+ }
47429
+
45576
47430
  }
45577
47431
 
45578
47432
  /**
@@ -45620,7 +47474,12 @@ export default class Client extends OpenApi {
45620
47474
  reqBodyType: "formData",
45621
47475
  bodyType: "json",
45622
47476
  });
45623
- return $dara.cast<GetRemediationTemplateResponse>(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
47477
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47478
+ return $dara.cast<GetRemediationTemplateResponse>(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
47479
+ } else {
47480
+ return $dara.cast<GetRemediationTemplateResponse>(await this.execute(params, req, runtime), new GetRemediationTemplateResponse({}));
47481
+ }
47482
+
45624
47483
  }
45625
47484
 
45626
47485
  /**
@@ -45664,7 +47523,12 @@ export default class Client extends OpenApi {
45664
47523
  reqBodyType: "formData",
45665
47524
  bodyType: "json",
45666
47525
  });
45667
- return $dara.cast<GetResourceComplianceByConfigRuleResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
47526
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47527
+ return $dara.cast<GetResourceComplianceByConfigRuleResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
47528
+ } else {
47529
+ return $dara.cast<GetResourceComplianceByConfigRuleResponse>(await this.execute(params, req, runtime), new GetResourceComplianceByConfigRuleResponse({}));
47530
+ }
47531
+
45668
47532
  }
45669
47533
 
45670
47534
  /**
@@ -45708,7 +47572,12 @@ export default class Client extends OpenApi {
45708
47572
  reqBodyType: "formData",
45709
47573
  bodyType: "json",
45710
47574
  });
45711
- return $dara.cast<GetResourceComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
47575
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47576
+ return $dara.cast<GetResourceComplianceByPackResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
47577
+ } else {
47578
+ return $dara.cast<GetResourceComplianceByPackResponse>(await this.execute(params, req, runtime), new GetResourceComplianceByPackResponse({}));
47579
+ }
47580
+
45712
47581
  }
45713
47582
 
45714
47583
  /**
@@ -45753,7 +47622,12 @@ export default class Client extends OpenApi {
45753
47622
  reqBodyType: "formData",
45754
47623
  bodyType: "json",
45755
47624
  });
45756
- return $dara.cast<GetResourceComplianceGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
47625
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47626
+ return $dara.cast<GetResourceComplianceGroupByRegionResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
47627
+ } else {
47628
+ return $dara.cast<GetResourceComplianceGroupByRegionResponse>(await this.execute(params, req, runtime), new GetResourceComplianceGroupByRegionResponse({}));
47629
+ }
47630
+
45757
47631
  }
45758
47632
 
45759
47633
  /**
@@ -45795,7 +47669,12 @@ export default class Client extends OpenApi {
45795
47669
  reqBodyType: "formData",
45796
47670
  bodyType: "json",
45797
47671
  });
45798
- return $dara.cast<GetResourceComplianceGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
47672
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47673
+ return $dara.cast<GetResourceComplianceGroupByResourceTypeResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
47674
+ } else {
47675
+ return $dara.cast<GetResourceComplianceGroupByResourceTypeResponse>(await this.execute(params, req, runtime), new GetResourceComplianceGroupByResourceTypeResponse({}));
47676
+ }
47677
+
45799
47678
  }
45800
47679
 
45801
47680
  /**
@@ -45837,7 +47716,12 @@ export default class Client extends OpenApi {
45837
47716
  reqBodyType: "formData",
45838
47717
  bodyType: "json",
45839
47718
  });
45840
- return $dara.cast<GetResourceComplianceTimelineResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
47719
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47720
+ return $dara.cast<GetResourceComplianceTimelineResponse>(await this.callApi(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
47721
+ } else {
47722
+ return $dara.cast<GetResourceComplianceTimelineResponse>(await this.execute(params, req, runtime), new GetResourceComplianceTimelineResponse({}));
47723
+ }
47724
+
45841
47725
  }
45842
47726
 
45843
47727
  /**
@@ -45882,7 +47766,12 @@ export default class Client extends OpenApi {
45882
47766
  reqBodyType: "formData",
45883
47767
  bodyType: "json",
45884
47768
  });
45885
- return $dara.cast<GetResourceConfigurationTimelineResponse>(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
47769
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47770
+ return $dara.cast<GetResourceConfigurationTimelineResponse>(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
47771
+ } else {
47772
+ return $dara.cast<GetResourceConfigurationTimelineResponse>(await this.execute(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
47773
+ }
47774
+
45886
47775
  }
45887
47776
 
45888
47777
  /**
@@ -45925,7 +47814,12 @@ export default class Client extends OpenApi {
45925
47814
  reqBodyType: "formData",
45926
47815
  bodyType: "json",
45927
47816
  });
45928
- return $dara.cast<GetResourceInventoryResponse>(await this.callApi(params, req, runtime), new GetResourceInventoryResponse({}));
47817
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47818
+ return $dara.cast<GetResourceInventoryResponse>(await this.callApi(params, req, runtime), new GetResourceInventoryResponse({}));
47819
+ } else {
47820
+ return $dara.cast<GetResourceInventoryResponse>(await this.execute(params, req, runtime), new GetResourceInventoryResponse({}));
47821
+ }
47822
+
45929
47823
  }
45930
47824
 
45931
47825
  /**
@@ -45974,7 +47868,12 @@ export default class Client extends OpenApi {
45974
47868
  reqBodyType: "formData",
45975
47869
  bodyType: "json",
45976
47870
  });
45977
- return $dara.cast<GetSupportedResourceRelationConfigResponse>(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
47871
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47872
+ return $dara.cast<GetSupportedResourceRelationConfigResponse>(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
47873
+ } else {
47874
+ return $dara.cast<GetSupportedResourceRelationConfigResponse>(await this.execute(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
47875
+ }
47876
+
45978
47877
  }
45979
47878
 
45980
47879
  /**
@@ -46045,7 +47944,12 @@ export default class Client extends OpenApi {
46045
47944
  reqBodyType: "formData",
46046
47945
  bodyType: "json",
46047
47946
  });
46048
- return $dara.cast<IgnoreAggregateEvaluationResultsResponse>(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
47947
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47948
+ return $dara.cast<IgnoreAggregateEvaluationResultsResponse>(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
47949
+ } else {
47950
+ return $dara.cast<IgnoreAggregateEvaluationResultsResponse>(await this.execute(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
47951
+ }
47952
+
46049
47953
  }
46050
47954
 
46051
47955
  /**
@@ -46113,7 +48017,12 @@ export default class Client extends OpenApi {
46113
48017
  reqBodyType: "formData",
46114
48018
  bodyType: "json",
46115
48019
  });
46116
- return $dara.cast<IgnoreEvaluationResultsResponse>(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
48020
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48021
+ return $dara.cast<IgnoreEvaluationResultsResponse>(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
48022
+ } else {
48023
+ return $dara.cast<IgnoreEvaluationResultsResponse>(await this.execute(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
48024
+ }
48025
+
46117
48026
  }
46118
48027
 
46119
48028
  /**
@@ -46137,12 +48046,18 @@ export default class Client extends OpenApi {
46137
48046
  * @remarks
46138
48047
  * In this topic, the `ca-f632626622af0079****` account group is used as an example. The return result shows one compliance package whose ID is `cp-fdc8626622af00f9****`.
46139
48048
  *
46140
- * @param request - ListAggregateCompliancePacksRequest
48049
+ * @param tmpReq - ListAggregateCompliancePacksRequest
46141
48050
  * @param runtime - runtime options for this request RuntimeOptions
46142
48051
  * @returns ListAggregateCompliancePacksResponse
46143
48052
  */
46144
- async listAggregateCompliancePacksWithOptions(request: ListAggregateCompliancePacksRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregateCompliancePacksResponse> {
46145
- request.validate();
48053
+ async listAggregateCompliancePacksWithOptions(tmpReq: ListAggregateCompliancePacksRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregateCompliancePacksResponse> {
48054
+ tmpReq.validate();
48055
+ let request = new ListAggregateCompliancePacksShrinkRequest({ });
48056
+ OpenApiUtil.convert(tmpReq, request);
48057
+ if (!$dara.isNull(tmpReq.tag)) {
48058
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
48059
+ }
48060
+
46146
48061
  let query = { };
46147
48062
  if (!$dara.isNull(request.aggregatorId)) {
46148
48063
  query["AggregatorId"] = request.aggregatorId;
@@ -46160,6 +48075,10 @@ export default class Client extends OpenApi {
46160
48075
  query["Status"] = request.status;
46161
48076
  }
46162
48077
 
48078
+ if (!$dara.isNull(request.tagShrink)) {
48079
+ query["Tag"] = request.tagShrink;
48080
+ }
48081
+
46163
48082
  let req = new $OpenApiUtil.OpenApiRequest({
46164
48083
  query: OpenApiUtil.query(query),
46165
48084
  });
@@ -46174,7 +48093,12 @@ export default class Client extends OpenApi {
46174
48093
  reqBodyType: "formData",
46175
48094
  bodyType: "json",
46176
48095
  });
46177
- return $dara.cast<ListAggregateCompliancePacksResponse>(await this.callApi(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
48096
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48097
+ return $dara.cast<ListAggregateCompliancePacksResponse>(await this.callApi(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
48098
+ } else {
48099
+ return $dara.cast<ListAggregateCompliancePacksResponse>(await this.execute(params, req, runtime), new ListAggregateCompliancePacksResponse({}));
48100
+ }
48101
+
46178
48102
  }
46179
48103
 
46180
48104
  /**
@@ -46223,7 +48147,12 @@ export default class Client extends OpenApi {
46223
48147
  reqBodyType: "formData",
46224
48148
  bodyType: "json",
46225
48149
  });
46226
- return $dara.cast<ListAggregateConfigDeliveryChannelsResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
48150
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48151
+ return $dara.cast<ListAggregateConfigDeliveryChannelsResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
48152
+ } else {
48153
+ return $dara.cast<ListAggregateConfigDeliveryChannelsResponse>(await this.execute(params, req, runtime), new ListAggregateConfigDeliveryChannelsResponse({}));
48154
+ }
48155
+
46227
48156
  }
46228
48157
 
46229
48158
  /**
@@ -46308,7 +48237,12 @@ export default class Client extends OpenApi {
46308
48237
  reqBodyType: "formData",
46309
48238
  bodyType: "json",
46310
48239
  });
46311
- return $dara.cast<ListAggregateConfigRuleEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
48240
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48241
+ return $dara.cast<ListAggregateConfigRuleEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
48242
+ } else {
48243
+ return $dara.cast<ListAggregateConfigRuleEvaluationResultsResponse>(await this.execute(params, req, runtime), new ListAggregateConfigRuleEvaluationResultsResponse({}));
48244
+ }
48245
+
46312
48246
  }
46313
48247
 
46314
48248
  /**
@@ -46356,7 +48290,12 @@ export default class Client extends OpenApi {
46356
48290
  reqBodyType: "formData",
46357
48291
  bodyType: "json",
46358
48292
  });
46359
- return $dara.cast<ListAggregateConfigRuleEvaluationStatisticsResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
48293
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48294
+ return $dara.cast<ListAggregateConfigRuleEvaluationStatisticsResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
48295
+ } else {
48296
+ return $dara.cast<ListAggregateConfigRuleEvaluationStatisticsResponse>(await this.execute(params, req, runtime), new ListAggregateConfigRuleEvaluationStatisticsResponse({}));
48297
+ }
48298
+
46360
48299
  }
46361
48300
 
46362
48301
  /**
@@ -46379,12 +48318,18 @@ export default class Client extends OpenApi {
46379
48318
  * @remarks
46380
48319
  * This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The returned result shows a total of one rule and two evaluated resources. The resources are both evaluated as `COMPLIANT`.
46381
48320
  *
46382
- * @param request - ListAggregateConfigRulesRequest
48321
+ * @param tmpReq - ListAggregateConfigRulesRequest
46383
48322
  * @param runtime - runtime options for this request RuntimeOptions
46384
48323
  * @returns ListAggregateConfigRulesResponse
46385
48324
  */
46386
- async listAggregateConfigRulesWithOptions(request: ListAggregateConfigRulesRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregateConfigRulesResponse> {
46387
- request.validate();
48325
+ async listAggregateConfigRulesWithOptions(tmpReq: ListAggregateConfigRulesRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregateConfigRulesResponse> {
48326
+ tmpReq.validate();
48327
+ let request = new ListAggregateConfigRulesShrinkRequest({ });
48328
+ OpenApiUtil.convert(tmpReq, request);
48329
+ if (!$dara.isNull(tmpReq.tag)) {
48330
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
48331
+ }
48332
+
46388
48333
  let query = { };
46389
48334
  if (!$dara.isNull(request.aggregatorId)) {
46390
48335
  query["AggregatorId"] = request.aggregatorId;
@@ -46426,6 +48371,10 @@ export default class Client extends OpenApi {
46426
48371
  query["RiskLevel"] = request.riskLevel;
46427
48372
  }
46428
48373
 
48374
+ if (!$dara.isNull(request.tagShrink)) {
48375
+ query["Tag"] = request.tagShrink;
48376
+ }
48377
+
46429
48378
  let req = new $OpenApiUtil.OpenApiRequest({
46430
48379
  query: OpenApiUtil.query(query),
46431
48380
  });
@@ -46440,7 +48389,12 @@ export default class Client extends OpenApi {
46440
48389
  reqBodyType: "formData",
46441
48390
  bodyType: "json",
46442
48391
  });
46443
- return $dara.cast<ListAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
48392
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48393
+ return $dara.cast<ListAggregateConfigRulesResponse>(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
48394
+ } else {
48395
+ return $dara.cast<ListAggregateConfigRulesResponse>(await this.execute(params, req, runtime), new ListAggregateConfigRulesResponse({}));
48396
+ }
48397
+
46444
48398
  }
46445
48399
 
46446
48400
  /**
@@ -46532,7 +48486,12 @@ export default class Client extends OpenApi {
46532
48486
  reqBodyType: "formData",
46533
48487
  bodyType: "json",
46534
48488
  });
46535
- return $dara.cast<ListAggregateDiscoveredResourcesResponse>(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
48489
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48490
+ return $dara.cast<ListAggregateDiscoveredResourcesResponse>(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
48491
+ } else {
48492
+ return $dara.cast<ListAggregateDiscoveredResourcesResponse>(await this.execute(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
48493
+ }
48494
+
46536
48495
  }
46537
48496
 
46538
48497
  /**
@@ -46600,7 +48559,12 @@ export default class Client extends OpenApi {
46600
48559
  reqBodyType: "formData",
46601
48560
  bodyType: "json",
46602
48561
  });
46603
- return $dara.cast<ListAggregateRemediationExecutionsResponse>(await this.callApi(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
48562
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48563
+ return $dara.cast<ListAggregateRemediationExecutionsResponse>(await this.callApi(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
48564
+ } else {
48565
+ return $dara.cast<ListAggregateRemediationExecutionsResponse>(await this.execute(params, req, runtime), new ListAggregateRemediationExecutionsResponse({}));
48566
+ }
48567
+
46604
48568
  }
46605
48569
 
46606
48570
  /**
@@ -46652,7 +48616,12 @@ export default class Client extends OpenApi {
46652
48616
  reqBodyType: "formData",
46653
48617
  bodyType: "json",
46654
48618
  });
46655
- return $dara.cast<ListAggregateRemediationsResponse>(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
48619
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48620
+ return $dara.cast<ListAggregateRemediationsResponse>(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
48621
+ } else {
48622
+ return $dara.cast<ListAggregateRemediationsResponse>(await this.execute(params, req, runtime), new ListAggregateRemediationsResponse({}));
48623
+ }
48624
+
46656
48625
  }
46657
48626
 
46658
48627
  /**
@@ -46724,7 +48693,12 @@ export default class Client extends OpenApi {
46724
48693
  reqBodyType: "formData",
46725
48694
  bodyType: "json",
46726
48695
  });
46727
- return $dara.cast<ListAggregateResourceEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
48696
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48697
+ return $dara.cast<ListAggregateResourceEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
48698
+ } else {
48699
+ return $dara.cast<ListAggregateResourceEvaluationResultsResponse>(await this.execute(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
48700
+ }
48701
+
46728
48702
  }
46729
48703
 
46730
48704
  /**
@@ -46808,7 +48782,12 @@ export default class Client extends OpenApi {
46808
48782
  reqBodyType: "formData",
46809
48783
  bodyType: "json",
46810
48784
  });
46811
- return $dara.cast<ListAggregateResourceRelationsResponse>(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
48785
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48786
+ return $dara.cast<ListAggregateResourceRelationsResponse>(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
48787
+ } else {
48788
+ return $dara.cast<ListAggregateResourceRelationsResponse>(await this.execute(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
48789
+ }
48790
+
46812
48791
  }
46813
48792
 
46814
48793
  /**
@@ -46864,7 +48843,12 @@ export default class Client extends OpenApi {
46864
48843
  reqBodyType: "formData",
46865
48844
  bodyType: "json",
46866
48845
  });
46867
- return $dara.cast<ListAggregateResourcesByAdvancedSearchResponse>(await this.callApi(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
48846
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48847
+ return $dara.cast<ListAggregateResourcesByAdvancedSearchResponse>(await this.callApi(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
48848
+ } else {
48849
+ return $dara.cast<ListAggregateResourcesByAdvancedSearchResponse>(await this.execute(params, req, runtime), new ListAggregateResourcesByAdvancedSearchResponse({}));
48850
+ }
48851
+
46868
48852
  }
46869
48853
 
46870
48854
  /**
@@ -46891,12 +48875,18 @@ export default class Client extends OpenApi {
46891
48875
  * @remarks
46892
48876
  * The sample request in this topic shows you how to query account groups. A maximum of 10 entries can be returned for the request. As shown in the responses, the account group returned is named as `Test_Group`, its description is `Test account group`, and it is of the `CUSTOM` type, which indicates a custom account group. The account group contains two member accounts.
46893
48877
  *
46894
- * @param request - ListAggregatorsRequest
48878
+ * @param tmpReq - ListAggregatorsRequest
46895
48879
  * @param runtime - runtime options for this request RuntimeOptions
46896
48880
  * @returns ListAggregatorsResponse
46897
48881
  */
46898
- async listAggregatorsWithOptions(request: ListAggregatorsRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregatorsResponse> {
46899
- request.validate();
48882
+ async listAggregatorsWithOptions(tmpReq: ListAggregatorsRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregatorsResponse> {
48883
+ tmpReq.validate();
48884
+ let request = new ListAggregatorsShrinkRequest({ });
48885
+ OpenApiUtil.convert(tmpReq, request);
48886
+ if (!$dara.isNull(tmpReq.tag)) {
48887
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
48888
+ }
48889
+
46900
48890
  let query = { };
46901
48891
  if (!$dara.isNull(request.maxResults)) {
46902
48892
  query["MaxResults"] = request.maxResults;
@@ -46906,6 +48896,10 @@ export default class Client extends OpenApi {
46906
48896
  query["NextToken"] = request.nextToken;
46907
48897
  }
46908
48898
 
48899
+ if (!$dara.isNull(request.tagShrink)) {
48900
+ query["Tag"] = request.tagShrink;
48901
+ }
48902
+
46909
48903
  let req = new $OpenApiUtil.OpenApiRequest({
46910
48904
  query: OpenApiUtil.query(query),
46911
48905
  });
@@ -46920,7 +48914,12 @@ export default class Client extends OpenApi {
46920
48914
  reqBodyType: "formData",
46921
48915
  bodyType: "json",
46922
48916
  });
46923
- return $dara.cast<ListAggregatorsResponse>(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
48917
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48918
+ return $dara.cast<ListAggregatorsResponse>(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
48919
+ } else {
48920
+ return $dara.cast<ListAggregatorsResponse>(await this.execute(params, req, runtime), new ListAggregatorsResponse({}));
48921
+ }
48922
+
46924
48923
  }
46925
48924
 
46926
48925
  /**
@@ -46980,7 +48979,12 @@ export default class Client extends OpenApi {
46980
48979
  reqBodyType: "formData",
46981
48980
  bodyType: "json",
46982
48981
  });
46983
- return $dara.cast<ListCompliancePackTemplatesResponse>(await this.callApi(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
48982
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48983
+ return $dara.cast<ListCompliancePackTemplatesResponse>(await this.callApi(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
48984
+ } else {
48985
+ return $dara.cast<ListCompliancePackTemplatesResponse>(await this.execute(params, req, runtime), new ListCompliancePackTemplatesResponse({}));
48986
+ }
48987
+
46984
48988
  }
46985
48989
 
46986
48990
  /**
@@ -47003,12 +49007,18 @@ export default class Client extends OpenApi {
47003
49007
  * @remarks
47004
49008
  * This topic provides an example of how to query compliance packages. The return result shows the details of the `cp-fdc8626622af00f9****` compliance package.
47005
49009
  *
47006
- * @param request - ListCompliancePacksRequest
49010
+ * @param tmpReq - ListCompliancePacksRequest
47007
49011
  * @param runtime - runtime options for this request RuntimeOptions
47008
49012
  * @returns ListCompliancePacksResponse
47009
49013
  */
47010
- async listCompliancePacksWithOptions(request: ListCompliancePacksRequest, runtime: $dara.RuntimeOptions): Promise<ListCompliancePacksResponse> {
47011
- request.validate();
49014
+ async listCompliancePacksWithOptions(tmpReq: ListCompliancePacksRequest, runtime: $dara.RuntimeOptions): Promise<ListCompliancePacksResponse> {
49015
+ tmpReq.validate();
49016
+ let request = new ListCompliancePacksShrinkRequest({ });
49017
+ OpenApiUtil.convert(tmpReq, request);
49018
+ if (!$dara.isNull(tmpReq.tag)) {
49019
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
49020
+ }
49021
+
47012
49022
  let query = { };
47013
49023
  if (!$dara.isNull(request.pageNumber)) {
47014
49024
  query["PageNumber"] = request.pageNumber;
@@ -47022,6 +49032,10 @@ export default class Client extends OpenApi {
47022
49032
  query["Status"] = request.status;
47023
49033
  }
47024
49034
 
49035
+ if (!$dara.isNull(request.tagShrink)) {
49036
+ query["Tag"] = request.tagShrink;
49037
+ }
49038
+
47025
49039
  let req = new $OpenApiUtil.OpenApiRequest({
47026
49040
  query: OpenApiUtil.query(query),
47027
49041
  });
@@ -47036,7 +49050,12 @@ export default class Client extends OpenApi {
47036
49050
  reqBodyType: "formData",
47037
49051
  bodyType: "json",
47038
49052
  });
47039
- return $dara.cast<ListCompliancePacksResponse>(await this.callApi(params, req, runtime), new ListCompliancePacksResponse({}));
49053
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49054
+ return $dara.cast<ListCompliancePacksResponse>(await this.callApi(params, req, runtime), new ListCompliancePacksResponse({}));
49055
+ } else {
49056
+ return $dara.cast<ListCompliancePacksResponse>(await this.execute(params, req, runtime), new ListCompliancePacksResponse({}));
49057
+ }
49058
+
47040
49059
  }
47041
49060
 
47042
49061
  /**
@@ -47081,7 +49100,12 @@ export default class Client extends OpenApi {
47081
49100
  reqBodyType: "formData",
47082
49101
  bodyType: "json",
47083
49102
  });
47084
- return $dara.cast<ListConfigDeliveryChannelsResponse>(await this.callApi(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
49103
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49104
+ return $dara.cast<ListConfigDeliveryChannelsResponse>(await this.callApi(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
49105
+ } else {
49106
+ return $dara.cast<ListConfigDeliveryChannelsResponse>(await this.execute(params, req, runtime), new ListConfigDeliveryChannelsResponse({}));
49107
+ }
49108
+
47085
49109
  }
47086
49110
 
47087
49111
  /**
@@ -47122,7 +49146,12 @@ export default class Client extends OpenApi {
47122
49146
  reqBodyType: "formData",
47123
49147
  bodyType: "json",
47124
49148
  });
47125
- return $dara.cast<ListConfigRuleEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
49149
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49150
+ return $dara.cast<ListConfigRuleEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
49151
+ } else {
49152
+ return $dara.cast<ListConfigRuleEvaluationResultsResponse>(await this.execute(params, req, runtime), new ListConfigRuleEvaluationResultsResponse({}));
49153
+ }
49154
+
47126
49155
  }
47127
49156
 
47128
49157
  /**
@@ -47159,7 +49188,12 @@ export default class Client extends OpenApi {
47159
49188
  reqBodyType: "formData",
47160
49189
  bodyType: "json",
47161
49190
  });
47162
- return $dara.cast<ListConfigRuleEvaluationStatisticsResponse>(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
49191
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49192
+ return $dara.cast<ListConfigRuleEvaluationStatisticsResponse>(await this.callApi(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
49193
+ } else {
49194
+ return $dara.cast<ListConfigRuleEvaluationStatisticsResponse>(await this.execute(params, req, runtime), new ListConfigRuleEvaluationStatisticsResponse({}));
49195
+ }
49196
+
47163
49197
  }
47164
49198
 
47165
49199
  /**
@@ -47244,7 +49278,12 @@ export default class Client extends OpenApi {
47244
49278
  reqBodyType: "formData",
47245
49279
  bodyType: "json",
47246
49280
  });
47247
- return $dara.cast<ListConfigRulesResponse>(await this.callApi(params, req, runtime), new ListConfigRulesResponse({}));
49281
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49282
+ return $dara.cast<ListConfigRulesResponse>(await this.callApi(params, req, runtime), new ListConfigRulesResponse({}));
49283
+ } else {
49284
+ return $dara.cast<ListConfigRulesResponse>(await this.execute(params, req, runtime), new ListConfigRulesResponse({}));
49285
+ }
49286
+
47248
49287
  }
47249
49288
 
47250
49289
  /**
@@ -47324,7 +49363,12 @@ export default class Client extends OpenApi {
47324
49363
  reqBodyType: "formData",
47325
49364
  bodyType: "json",
47326
49365
  });
47327
- return $dara.cast<ListDiscoveredResourcesResponse>(await this.callApi(params, req, runtime), new ListDiscoveredResourcesResponse({}));
49366
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49367
+ return $dara.cast<ListDiscoveredResourcesResponse>(await this.callApi(params, req, runtime), new ListDiscoveredResourcesResponse({}));
49368
+ } else {
49369
+ return $dara.cast<ListDiscoveredResourcesResponse>(await this.execute(params, req, runtime), new ListDiscoveredResourcesResponse({}));
49370
+ }
49371
+
47328
49372
  }
47329
49373
 
47330
49374
  /**
@@ -47364,7 +49408,12 @@ export default class Client extends OpenApi {
47364
49408
  reqBodyType: "formData",
47365
49409
  bodyType: "json",
47366
49410
  });
47367
- return $dara.cast<ListIntegratedServiceResponse>(await this.callApi(params, req, runtime), new ListIntegratedServiceResponse({}));
49411
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49412
+ return $dara.cast<ListIntegratedServiceResponse>(await this.callApi(params, req, runtime), new ListIntegratedServiceResponse({}));
49413
+ } else {
49414
+ return $dara.cast<ListIntegratedServiceResponse>(await this.execute(params, req, runtime), new ListIntegratedServiceResponse({}));
49415
+ }
49416
+
47368
49417
  }
47369
49418
 
47370
49419
  /**
@@ -47429,7 +49478,12 @@ export default class Client extends OpenApi {
47429
49478
  reqBodyType: "formData",
47430
49479
  bodyType: "json",
47431
49480
  });
47432
- return $dara.cast<ListManagedRulesResponse>(await this.callApi(params, req, runtime), new ListManagedRulesResponse({}));
49481
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49482
+ return $dara.cast<ListManagedRulesResponse>(await this.callApi(params, req, runtime), new ListManagedRulesResponse({}));
49483
+ } else {
49484
+ return $dara.cast<ListManagedRulesResponse>(await this.execute(params, req, runtime), new ListManagedRulesResponse({}));
49485
+ }
49486
+
47433
49487
  }
47434
49488
 
47435
49489
  /**
@@ -47495,7 +49549,12 @@ export default class Client extends OpenApi {
47495
49549
  reqBodyType: "formData",
47496
49550
  bodyType: "json",
47497
49551
  });
47498
- return $dara.cast<ListPreManagedRulesResponse>(await this.callApi(params, req, runtime), new ListPreManagedRulesResponse({}));
49552
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49553
+ return $dara.cast<ListPreManagedRulesResponse>(await this.callApi(params, req, runtime), new ListPreManagedRulesResponse({}));
49554
+ } else {
49555
+ return $dara.cast<ListPreManagedRulesResponse>(await this.execute(params, req, runtime), new ListPreManagedRulesResponse({}));
49556
+ }
49557
+
47499
49558
  }
47500
49559
 
47501
49560
  /**
@@ -47556,7 +49615,12 @@ export default class Client extends OpenApi {
47556
49615
  reqBodyType: "formData",
47557
49616
  bodyType: "json",
47558
49617
  });
47559
- return $dara.cast<ListRemediationExecutionsResponse>(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
49618
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49619
+ return $dara.cast<ListRemediationExecutionsResponse>(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
49620
+ } else {
49621
+ return $dara.cast<ListRemediationExecutionsResponse>(await this.execute(params, req, runtime), new ListRemediationExecutionsResponse({}));
49622
+ }
49623
+
47560
49624
  }
47561
49625
 
47562
49626
  /**
@@ -47616,7 +49680,12 @@ export default class Client extends OpenApi {
47616
49680
  reqBodyType: "formData",
47617
49681
  bodyType: "json",
47618
49682
  });
47619
- return $dara.cast<ListRemediationTemplatesResponse>(await this.callApi(params, req, runtime), new ListRemediationTemplatesResponse({}));
49683
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49684
+ return $dara.cast<ListRemediationTemplatesResponse>(await this.callApi(params, req, runtime), new ListRemediationTemplatesResponse({}));
49685
+ } else {
49686
+ return $dara.cast<ListRemediationTemplatesResponse>(await this.execute(params, req, runtime), new ListRemediationTemplatesResponse({}));
49687
+ }
49688
+
47620
49689
  }
47621
49690
 
47622
49691
  /**
@@ -47672,7 +49741,12 @@ export default class Client extends OpenApi {
47672
49741
  reqBodyType: "formData",
47673
49742
  bodyType: "json",
47674
49743
  });
47675
- return $dara.cast<ListRemediationsResponse>(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
49744
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49745
+ return $dara.cast<ListRemediationsResponse>(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
49746
+ } else {
49747
+ return $dara.cast<ListRemediationsResponse>(await this.execute(params, req, runtime), new ListRemediationsResponse({}));
49748
+ }
49749
+
47676
49750
  }
47677
49751
 
47678
49752
  /**
@@ -47740,7 +49814,12 @@ export default class Client extends OpenApi {
47740
49814
  reqBodyType: "formData",
47741
49815
  bodyType: "json",
47742
49816
  });
47743
- return $dara.cast<ListResourceEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
49817
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49818
+ return $dara.cast<ListResourceEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
49819
+ } else {
49820
+ return $dara.cast<ListResourceEvaluationResultsResponse>(await this.execute(params, req, runtime), new ListResourceEvaluationResultsResponse({}));
49821
+ }
49822
+
47744
49823
  }
47745
49824
 
47746
49825
  /**
@@ -47817,7 +49896,12 @@ export default class Client extends OpenApi {
47817
49896
  reqBodyType: "formData",
47818
49897
  bodyType: "json",
47819
49898
  });
47820
- return $dara.cast<ListResourceRelationsResponse>(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
49899
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49900
+ return $dara.cast<ListResourceRelationsResponse>(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
49901
+ } else {
49902
+ return $dara.cast<ListResourceRelationsResponse>(await this.execute(params, req, runtime), new ListResourceRelationsResponse({}));
49903
+ }
49904
+
47821
49905
  }
47822
49906
 
47823
49907
  /**
@@ -47870,7 +49954,12 @@ export default class Client extends OpenApi {
47870
49954
  reqBodyType: "formData",
47871
49955
  bodyType: "json",
47872
49956
  });
47873
- return $dara.cast<ListResourcesByAdvancedSearchResponse>(await this.callApi(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
49957
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49958
+ return $dara.cast<ListResourcesByAdvancedSearchResponse>(await this.callApi(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
49959
+ } else {
49960
+ return $dara.cast<ListResourcesByAdvancedSearchResponse>(await this.execute(params, req, runtime), new ListResourcesByAdvancedSearchResponse({}));
49961
+ }
49962
+
47874
49963
  }
47875
49964
 
47876
49965
  /**
@@ -47926,7 +50015,12 @@ export default class Client extends OpenApi {
47926
50015
  reqBodyType: "formData",
47927
50016
  bodyType: "json",
47928
50017
  });
47929
- return $dara.cast<ListSupportedProductsResponse>(await this.callApi(params, req, runtime), new ListSupportedProductsResponse({}));
50018
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50019
+ return $dara.cast<ListSupportedProductsResponse>(await this.callApi(params, req, runtime), new ListSupportedProductsResponse({}));
50020
+ } else {
50021
+ return $dara.cast<ListSupportedProductsResponse>(await this.execute(params, req, runtime), new ListSupportedProductsResponse({}));
50022
+ }
50023
+
47930
50024
  }
47931
50025
 
47932
50026
  /**
@@ -47993,7 +50087,12 @@ export default class Client extends OpenApi {
47993
50087
  reqBodyType: "formData",
47994
50088
  bodyType: "json",
47995
50089
  });
47996
- return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
50090
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50091
+ return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
50092
+ } else {
50093
+ return $dara.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
50094
+ }
50095
+
47997
50096
  }
47998
50097
 
47999
50098
  /**
@@ -48046,7 +50145,12 @@ export default class Client extends OpenApi {
48046
50145
  reqBodyType: "formData",
48047
50146
  bodyType: "json",
48048
50147
  });
48049
- return $dara.cast<PutEvaluationsResponse>(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
50148
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50149
+ return $dara.cast<PutEvaluationsResponse>(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
50150
+ } else {
50151
+ return $dara.cast<PutEvaluationsResponse>(await this.execute(params, req, runtime), new PutEvaluationsResponse({}));
50152
+ }
50153
+
48050
50154
  }
48051
50155
 
48052
50156
  /**
@@ -48111,7 +50215,12 @@ export default class Client extends OpenApi {
48111
50215
  reqBodyType: "formData",
48112
50216
  bodyType: "json",
48113
50217
  });
48114
- return $dara.cast<RevertAggregateEvaluationResultsResponse>(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
50218
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50219
+ return $dara.cast<RevertAggregateEvaluationResultsResponse>(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
50220
+ } else {
50221
+ return $dara.cast<RevertAggregateEvaluationResultsResponse>(await this.execute(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
50222
+ }
50223
+
48115
50224
  }
48116
50225
 
48117
50226
  /**
@@ -48175,7 +50284,12 @@ export default class Client extends OpenApi {
48175
50284
  reqBodyType: "formData",
48176
50285
  bodyType: "json",
48177
50286
  });
48178
- return $dara.cast<RevertEvaluationResultsResponse>(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
50287
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50288
+ return $dara.cast<RevertEvaluationResultsResponse>(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
50289
+ } else {
50290
+ return $dara.cast<RevertEvaluationResultsResponse>(await this.execute(params, req, runtime), new RevertEvaluationResultsResponse({}));
50291
+ }
50292
+
48179
50293
  }
48180
50294
 
48181
50295
  /**
@@ -48239,7 +50353,12 @@ export default class Client extends OpenApi {
48239
50353
  reqBodyType: "formData",
48240
50354
  bodyType: "json",
48241
50355
  });
48242
- return $dara.cast<StartAggregateConfigRuleEvaluationResponse>(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
50356
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50357
+ return $dara.cast<StartAggregateConfigRuleEvaluationResponse>(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
50358
+ } else {
50359
+ return $dara.cast<StartAggregateConfigRuleEvaluationResponse>(await this.execute(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
50360
+ }
50361
+
48243
50362
  }
48244
50363
 
48245
50364
  /**
@@ -48296,7 +50415,12 @@ export default class Client extends OpenApi {
48296
50415
  reqBodyType: "formData",
48297
50416
  bodyType: "json",
48298
50417
  });
48299
- return $dara.cast<StartAggregateRemediationResponse>(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
50418
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50419
+ return $dara.cast<StartAggregateRemediationResponse>(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
50420
+ } else {
50421
+ return $dara.cast<StartAggregateRemediationResponse>(await this.execute(params, req, runtime), new StartAggregateRemediationResponse({}));
50422
+ }
50423
+
48300
50424
  }
48301
50425
 
48302
50426
  /**
@@ -48352,7 +50476,12 @@ export default class Client extends OpenApi {
48352
50476
  reqBodyType: "formData",
48353
50477
  bodyType: "json",
48354
50478
  });
48355
- return $dara.cast<StartConfigRuleEvaluationResponse>(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
50479
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50480
+ return $dara.cast<StartConfigRuleEvaluationResponse>(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
50481
+ } else {
50482
+ return $dara.cast<StartConfigRuleEvaluationResponse>(await this.execute(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
50483
+ }
50484
+
48356
50485
  }
48357
50486
 
48358
50487
  /**
@@ -48392,7 +50521,12 @@ export default class Client extends OpenApi {
48392
50521
  reqBodyType: "formData",
48393
50522
  bodyType: "json",
48394
50523
  });
48395
- return $dara.cast<StartConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
50524
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50525
+ return $dara.cast<StartConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
50526
+ } else {
50527
+ return $dara.cast<StartConfigurationRecorderResponse>(await this.execute(params, req, runtime), new StartConfigurationRecorderResponse({}));
50528
+ }
50529
+
48396
50530
  }
48397
50531
 
48398
50532
  /**
@@ -48438,7 +50572,12 @@ export default class Client extends OpenApi {
48438
50572
  reqBodyType: "formData",
48439
50573
  bodyType: "json",
48440
50574
  });
48441
- return $dara.cast<StartRemediationResponse>(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
50575
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50576
+ return $dara.cast<StartRemediationResponse>(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
50577
+ } else {
50578
+ return $dara.cast<StartRemediationResponse>(await this.execute(params, req, runtime), new StartRemediationResponse({}));
50579
+ }
50580
+
48442
50581
  }
48443
50582
 
48444
50583
  /**
@@ -48478,7 +50617,12 @@ export default class Client extends OpenApi {
48478
50617
  reqBodyType: "formData",
48479
50618
  bodyType: "json",
48480
50619
  });
48481
- return $dara.cast<StopConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new StopConfigurationRecorderResponse({}));
50620
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50621
+ return $dara.cast<StopConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new StopConfigurationRecorderResponse({}));
50622
+ } else {
50623
+ return $dara.cast<StopConfigurationRecorderResponse>(await this.execute(params, req, runtime), new StopConfigurationRecorderResponse({}));
50624
+ }
50625
+
48482
50626
  }
48483
50627
 
48484
50628
  /**
@@ -48539,7 +50683,12 @@ export default class Client extends OpenApi {
48539
50683
  reqBodyType: "formData",
48540
50684
  bodyType: "json",
48541
50685
  });
48542
- return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
50686
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50687
+ return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
50688
+ } else {
50689
+ return $dara.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
50690
+ }
50691
+
48543
50692
  }
48544
50693
 
48545
50694
  /**
@@ -48597,7 +50746,12 @@ export default class Client extends OpenApi {
48597
50746
  reqBodyType: "formData",
48598
50747
  bodyType: "json",
48599
50748
  });
48600
- return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
50749
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50750
+ return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
50751
+ } else {
50752
+ return $dara.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
50753
+ }
50754
+
48601
50755
  }
48602
50756
 
48603
50757
  /**
@@ -48629,6 +50783,15 @@ export default class Client extends OpenApi {
48629
50783
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
48630
50784
  }
48631
50785
 
50786
+ if (!$dara.isNull(tmpReq.tag)) {
50787
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
50788
+ }
50789
+
50790
+ let query = { };
50791
+ if (!$dara.isNull(request.tagShrink)) {
50792
+ query["Tag"] = request.tagShrink;
50793
+ }
50794
+
48632
50795
  let body : {[key: string ]: any} = { };
48633
50796
  if (!$dara.isNull(request.aggregatorId)) {
48634
50797
  body["AggregatorId"] = request.aggregatorId;
@@ -48704,6 +50867,7 @@ export default class Client extends OpenApi {
48704
50867
  ...OpenApiUtil.query(bodyFlat),
48705
50868
  };
48706
50869
  let req = new $OpenApiUtil.OpenApiRequest({
50870
+ query: OpenApiUtil.query(query),
48707
50871
  body: OpenApiUtil.parseToMap(body),
48708
50872
  });
48709
50873
  let params = new $OpenApiUtil.Params({
@@ -48717,7 +50881,12 @@ export default class Client extends OpenApi {
48717
50881
  reqBodyType: "formData",
48718
50882
  bodyType: "json",
48719
50883
  });
48720
- return $dara.cast<UpdateAggregateCompliancePackResponse>(await this.callApi(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
50884
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50885
+ return $dara.cast<UpdateAggregateCompliancePackResponse>(await this.callApi(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
50886
+ } else {
50887
+ return $dara.cast<UpdateAggregateCompliancePackResponse>(await this.execute(params, req, runtime), new UpdateAggregateCompliancePackResponse({}));
50888
+ }
50889
+
48721
50890
  }
48722
50891
 
48723
50892
  /**
@@ -48817,7 +50986,12 @@ export default class Client extends OpenApi {
48817
50986
  reqBodyType: "formData",
48818
50987
  bodyType: "json",
48819
50988
  });
48820
- return $dara.cast<UpdateAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
50989
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50990
+ return $dara.cast<UpdateAggregateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
50991
+ } else {
50992
+ return $dara.cast<UpdateAggregateConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
50993
+ }
50994
+
48821
50995
  }
48822
50996
 
48823
50997
  /**
@@ -48856,6 +51030,15 @@ export default class Client extends OpenApi {
48856
51030
  request.resourceTypesScopeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceTypesScope, "ResourceTypesScope", "simple");
48857
51031
  }
48858
51032
 
51033
+ if (!$dara.isNull(tmpReq.tag)) {
51034
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
51035
+ }
51036
+
51037
+ let query = { };
51038
+ if (!$dara.isNull(request.tagShrink)) {
51039
+ query["Tag"] = request.tagShrink;
51040
+ }
51041
+
48859
51042
  let body : {[key: string ]: any} = { };
48860
51043
  if (!$dara.isNull(request.accountIdsScope)) {
48861
51044
  body["AccountIdsScope"] = request.accountIdsScope;
@@ -48963,6 +51146,7 @@ export default class Client extends OpenApi {
48963
51146
  ...OpenApiUtil.query(bodyFlat),
48964
51147
  };
48965
51148
  let req = new $OpenApiUtil.OpenApiRequest({
51149
+ query: OpenApiUtil.query(query),
48966
51150
  body: OpenApiUtil.parseToMap(body),
48967
51151
  });
48968
51152
  let params = new $OpenApiUtil.Params({
@@ -48976,7 +51160,12 @@ export default class Client extends OpenApi {
48976
51160
  reqBodyType: "formData",
48977
51161
  bodyType: "json",
48978
51162
  });
48979
- return $dara.cast<UpdateAggregateConfigRuleResponse>(await this.callApi(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
51163
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51164
+ return $dara.cast<UpdateAggregateConfigRuleResponse>(await this.callApi(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
51165
+ } else {
51166
+ return $dara.cast<UpdateAggregateConfigRuleResponse>(await this.execute(params, req, runtime), new UpdateAggregateConfigRuleResponse({}));
51167
+ }
51168
+
48980
51169
  }
48981
51170
 
48982
51171
  /**
@@ -49048,7 +51237,12 @@ export default class Client extends OpenApi {
49048
51237
  reqBodyType: "formData",
49049
51238
  bodyType: "json",
49050
51239
  });
49051
- return $dara.cast<UpdateAggregateRemediationResponse>(await this.callApi(params, req, runtime), new UpdateAggregateRemediationResponse({}));
51240
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51241
+ return $dara.cast<UpdateAggregateRemediationResponse>(await this.callApi(params, req, runtime), new UpdateAggregateRemediationResponse({}));
51242
+ } else {
51243
+ return $dara.cast<UpdateAggregateRemediationResponse>(await this.execute(params, req, runtime), new UpdateAggregateRemediationResponse({}));
51244
+ }
51245
+
49052
51246
  }
49053
51247
 
49054
51248
  /**
@@ -49083,6 +51277,15 @@ export default class Client extends OpenApi {
49083
51277
  request.aggregatorAccountsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.aggregatorAccounts, "AggregatorAccounts", "json");
49084
51278
  }
49085
51279
 
51280
+ if (!$dara.isNull(tmpReq.tag)) {
51281
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
51282
+ }
51283
+
51284
+ let query = { };
51285
+ if (!$dara.isNull(request.tagShrink)) {
51286
+ query["Tag"] = request.tagShrink;
51287
+ }
51288
+
49086
51289
  let body : {[key: string ]: any} = { };
49087
51290
  if (!$dara.isNull(request.aggregatorAccountsShrink)) {
49088
51291
  body["AggregatorAccounts"] = request.aggregatorAccountsShrink;
@@ -49105,6 +51308,7 @@ export default class Client extends OpenApi {
49105
51308
  }
49106
51309
 
49107
51310
  let req = new $OpenApiUtil.OpenApiRequest({
51311
+ query: OpenApiUtil.query(query),
49108
51312
  body: OpenApiUtil.parseToMap(body),
49109
51313
  });
49110
51314
  let params = new $OpenApiUtil.Params({
@@ -49118,7 +51322,12 @@ export default class Client extends OpenApi {
49118
51322
  reqBodyType: "formData",
49119
51323
  bodyType: "json",
49120
51324
  });
49121
- return $dara.cast<UpdateAggregatorResponse>(await this.callApi(params, req, runtime), new UpdateAggregatorResponse({}));
51325
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51326
+ return $dara.cast<UpdateAggregatorResponse>(await this.callApi(params, req, runtime), new UpdateAggregatorResponse({}));
51327
+ } else {
51328
+ return $dara.cast<UpdateAggregatorResponse>(await this.execute(params, req, runtime), new UpdateAggregatorResponse({}));
51329
+ }
51330
+
49122
51331
  }
49123
51332
 
49124
51333
  /**
@@ -49153,6 +51362,15 @@ export default class Client extends OpenApi {
49153
51362
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
49154
51363
  }
49155
51364
 
51365
+ if (!$dara.isNull(tmpReq.tag)) {
51366
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
51367
+ }
51368
+
51369
+ let query = { };
51370
+ if (!$dara.isNull(request.tagShrink)) {
51371
+ query["Tag"] = request.tagShrink;
51372
+ }
51373
+
49156
51374
  let body : {[key: string ]: any} = { };
49157
51375
  if (!$dara.isNull(request.clientToken)) {
49158
51376
  body["ClientToken"] = request.clientToken;
@@ -49224,6 +51442,7 @@ export default class Client extends OpenApi {
49224
51442
  ...OpenApiUtil.query(bodyFlat),
49225
51443
  };
49226
51444
  let req = new $OpenApiUtil.OpenApiRequest({
51445
+ query: OpenApiUtil.query(query),
49227
51446
  body: OpenApiUtil.parseToMap(body),
49228
51447
  });
49229
51448
  let params = new $OpenApiUtil.Params({
@@ -49237,7 +51456,12 @@ export default class Client extends OpenApi {
49237
51456
  reqBodyType: "formData",
49238
51457
  bodyType: "json",
49239
51458
  });
49240
- return $dara.cast<UpdateCompliancePackResponse>(await this.callApi(params, req, runtime), new UpdateCompliancePackResponse({}));
51459
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51460
+ return $dara.cast<UpdateCompliancePackResponse>(await this.callApi(params, req, runtime), new UpdateCompliancePackResponse({}));
51461
+ } else {
51462
+ return $dara.cast<UpdateCompliancePackResponse>(await this.execute(params, req, runtime), new UpdateCompliancePackResponse({}));
51463
+ }
51464
+
49241
51465
  }
49242
51466
 
49243
51467
  /**
@@ -49333,7 +51557,12 @@ export default class Client extends OpenApi {
49333
51557
  reqBodyType: "formData",
49334
51558
  bodyType: "json",
49335
51559
  });
49336
- return $dara.cast<UpdateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
51560
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51561
+ return $dara.cast<UpdateConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
51562
+ } else {
51563
+ return $dara.cast<UpdateConfigDeliveryChannelResponse>(await this.execute(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
51564
+ }
51565
+
49337
51566
  }
49338
51567
 
49339
51568
  /**
@@ -49486,7 +51715,12 @@ export default class Client extends OpenApi {
49486
51715
  reqBodyType: "formData",
49487
51716
  bodyType: "json",
49488
51717
  });
49489
- return $dara.cast<UpdateConfigRuleResponse>(await this.callApi(params, req, runtime), new UpdateConfigRuleResponse({}));
51718
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51719
+ return $dara.cast<UpdateConfigRuleResponse>(await this.callApi(params, req, runtime), new UpdateConfigRuleResponse({}));
51720
+ } else {
51721
+ return $dara.cast<UpdateConfigRuleResponse>(await this.execute(params, req, runtime), new UpdateConfigRuleResponse({}));
51722
+ }
51723
+
49490
51724
  }
49491
51725
 
49492
51726
  /**
@@ -49534,7 +51768,12 @@ export default class Client extends OpenApi {
49534
51768
  reqBodyType: "formData",
49535
51769
  bodyType: "json",
49536
51770
  });
49537
- return $dara.cast<UpdateConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
51771
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51772
+ return $dara.cast<UpdateConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
51773
+ } else {
51774
+ return $dara.cast<UpdateConfigurationRecorderResponse>(await this.execute(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
51775
+ }
51776
+
49538
51777
  }
49539
51778
 
49540
51779
  /**
@@ -49629,7 +51868,12 @@ export default class Client extends OpenApi {
49629
51868
  reqBodyType: "formData",
49630
51869
  bodyType: "json",
49631
51870
  });
49632
- return $dara.cast<UpdateDeliveryChannelResponse>(await this.callApi(params, req, runtime), new UpdateDeliveryChannelResponse({}));
51871
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51872
+ return $dara.cast<UpdateDeliveryChannelResponse>(await this.callApi(params, req, runtime), new UpdateDeliveryChannelResponse({}));
51873
+ } else {
51874
+ return $dara.cast<UpdateDeliveryChannelResponse>(await this.execute(params, req, runtime), new UpdateDeliveryChannelResponse({}));
51875
+ }
51876
+
49633
51877
  }
49634
51878
 
49635
51879
  /**
@@ -49689,7 +51933,12 @@ export default class Client extends OpenApi {
49689
51933
  reqBodyType: "formData",
49690
51934
  bodyType: "json",
49691
51935
  });
49692
- return $dara.cast<UpdateIntegratedServiceStatusResponse>(await this.callApi(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
51936
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51937
+ return $dara.cast<UpdateIntegratedServiceStatusResponse>(await this.callApi(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
51938
+ } else {
51939
+ return $dara.cast<UpdateIntegratedServiceStatusResponse>(await this.execute(params, req, runtime), new UpdateIntegratedServiceStatusResponse({}));
51940
+ }
51941
+
49693
51942
  }
49694
51943
 
49695
51944
  /**
@@ -49758,7 +52007,12 @@ export default class Client extends OpenApi {
49758
52007
  reqBodyType: "formData",
49759
52008
  bodyType: "json",
49760
52009
  });
49761
- return $dara.cast<UpdateRemediationResponse>(await this.callApi(params, req, runtime), new UpdateRemediationResponse({}));
52010
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
52011
+ return $dara.cast<UpdateRemediationResponse>(await this.callApi(params, req, runtime), new UpdateRemediationResponse({}));
52012
+ } else {
52013
+ return $dara.cast<UpdateRemediationResponse>(await this.execute(params, req, runtime), new UpdateRemediationResponse({}));
52014
+ }
52015
+
49762
52016
  }
49763
52017
 
49764
52018
  /**