@alicloud/config20200907 3.0.10 → 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
@@ -2820,6 +2924,32 @@ export class GetAggregateAdvancedSearchFileResponseBodyResourceSearch extends $d
2820
2924
  }
2821
2925
  }
2822
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
+
2823
2953
  export class GetAggregateCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters extends $dara.Model {
2824
2954
  /**
2825
2955
  * @remarks
@@ -3167,6 +3297,32 @@ export class GetAggregateCompliancePackResponseBodyCompliancePackScope extends $
3167
3297
  }
3168
3298
  }
3169
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
+
3170
3326
  export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.Model {
3171
3327
  /**
3172
3328
  * @remarks
@@ -3257,6 +3413,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3257
3413
  * ACTIVE
3258
3414
  */
3259
3415
  status?: string;
3416
+ tags?: GetAggregateCompliancePackResponseBodyCompliancePackTags[];
3260
3417
  /**
3261
3418
  * @remarks
3262
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.
@@ -3303,6 +3460,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3303
3460
  riskLevel: 'RiskLevel',
3304
3461
  scope: 'Scope',
3305
3462
  status: 'Status',
3463
+ tags: 'Tags',
3306
3464
  templateContent: 'TemplateContent',
3307
3465
  };
3308
3466
  }
@@ -3320,6 +3478,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3320
3478
  riskLevel: 'number',
3321
3479
  scope: GetAggregateCompliancePackResponseBodyCompliancePackScope,
3322
3480
  status: 'string',
3481
+ tags: { 'type': 'array', 'itemType': GetAggregateCompliancePackResponseBodyCompliancePackTags },
3323
3482
  templateContent: 'string',
3324
3483
  };
3325
3484
  }
@@ -3331,6 +3490,9 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
3331
3490
  if(this.scope && typeof (this.scope as any).validate === 'function') {
3332
3491
  (this.scope as any).validate();
3333
3492
  }
3493
+ if(Array.isArray(this.tags)) {
3494
+ $dara.Model.validateArray(this.tags);
3495
+ }
3334
3496
  super.validate();
3335
3497
  }
3336
3498
 
@@ -6211,6 +6373,32 @@ export class GetAggregateResourceInventoryResponseBodyResourceInventory extends
6211
6373
  }
6212
6374
  }
6213
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
+
6214
6402
  export class GetAggregatorResponseBodyAggregatorAggregatorAccounts extends $dara.Model {
6215
6403
  /**
6216
6404
  * @remarks
@@ -6279,6 +6467,32 @@ export class GetAggregatorResponseBodyAggregatorAggregatorAccounts extends $dara
6279
6467
  }
6280
6468
  }
6281
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
+
6282
6496
  export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6283
6497
  /**
6284
6498
  * @remarks
@@ -6366,6 +6580,7 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6366
6580
  * fd-brHdgv****
6367
6581
  */
6368
6582
  folderId?: string;
6583
+ tags?: GetAggregatorResponseBodyAggregatorTags[];
6369
6584
  static names(): { [key: string]: string } {
6370
6585
  return {
6371
6586
  accountId: 'AccountId',
@@ -6378,6 +6593,7 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6378
6593
  aggregatorType: 'AggregatorType',
6379
6594
  description: 'Description',
6380
6595
  folderId: 'FolderId',
6596
+ tags: 'Tags',
6381
6597
  };
6382
6598
  }
6383
6599
 
@@ -6393,6 +6609,7 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6393
6609
  aggregatorType: 'string',
6394
6610
  description: 'string',
6395
6611
  folderId: 'string',
6612
+ tags: { 'type': 'array', 'itemType': GetAggregatorResponseBodyAggregatorTags },
6396
6613
  };
6397
6614
  }
6398
6615
 
@@ -6400,6 +6617,35 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
6400
6617
  if(Array.isArray(this.aggregatorAccounts)) {
6401
6618
  $dara.Model.validateArray(this.aggregatorAccounts);
6402
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() {
6403
6649
  super.validate();
6404
6650
  }
6405
6651
 
@@ -6759,6 +7005,32 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
6759
7005
  }
6760
7006
  }
6761
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
+
6762
7034
  export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6763
7035
  /**
6764
7036
  * @remarks
@@ -6841,6 +7113,7 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6841
7113
  * ACTIVE
6842
7114
  */
6843
7115
  status?: string;
7116
+ tags?: GetCompliancePackResponseBodyCompliancePackTags[];
6844
7117
  /**
6845
7118
  * @remarks
6846
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.
@@ -6890,6 +7163,7 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6890
7163
  riskLevel: 'RiskLevel',
6891
7164
  scope: 'Scope',
6892
7165
  status: 'Status',
7166
+ tags: 'Tags',
6893
7167
  templateContent: 'TemplateContent',
6894
7168
  };
6895
7169
  }
@@ -6906,6 +7180,7 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6906
7180
  riskLevel: 'number',
6907
7181
  scope: GetCompliancePackResponseBodyCompliancePackScope,
6908
7182
  status: 'string',
7183
+ tags: { 'type': 'array', 'itemType': GetCompliancePackResponseBodyCompliancePackTags },
6909
7184
  templateContent: 'string',
6910
7185
  };
6911
7186
  }
@@ -6917,6 +7192,9 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
6917
7192
  if(this.scope && typeof (this.scope as any).validate === 'function') {
6918
7193
  (this.scope as any).validate();
6919
7194
  }
7195
+ if(Array.isArray(this.tags)) {
7196
+ $dara.Model.validateArray(this.tags);
7197
+ }
6920
7198
  super.validate();
6921
7199
  }
6922
7200
 
@@ -10266,6 +10544,58 @@ export class IgnoreEvaluationResultsRequestResources extends $dara.Model {
10266
10544
  }
10267
10545
  }
10268
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
+
10269
10599
  export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacks extends $dara.Model {
10270
10600
  /**
10271
10601
  * @remarks
@@ -10346,6 +10676,7 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
10346
10676
  * ACTIVE
10347
10677
  */
10348
10678
  status?: string;
10679
+ tags?: ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags[];
10349
10680
  static names(): { [key: string]: string } {
10350
10681
  return {
10351
10682
  accountId: 'AccountId',
@@ -10357,6 +10688,7 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
10357
10688
  description: 'Description',
10358
10689
  riskLevel: 'RiskLevel',
10359
10690
  status: 'Status',
10691
+ tags: 'Tags',
10360
10692
  };
10361
10693
  }
10362
10694
 
@@ -10371,10 +10703,14 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
10371
10703
  description: 'string',
10372
10704
  riskLevel: 'number',
10373
10705
  status: 'string',
10706
+ tags: { 'type': 'array', 'itemType': ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags },
10374
10707
  };
10375
10708
  }
10376
10709
 
10377
10710
  validate() {
10711
+ if(Array.isArray(this.tags)) {
10712
+ $dara.Model.validateArray(this.tags);
10713
+ }
10378
10714
  super.validate();
10379
10715
  }
10380
10716
 
@@ -11082,6 +11418,32 @@ export class ListAggregateConfigRuleEvaluationStatisticsResponseBodyEvaluationRe
11082
11418
  }
11083
11419
  }
11084
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
+
11085
11447
  export class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleListCompliance extends $dara.Model {
11086
11448
  /**
11087
11449
  * @remarks
@@ -12516,6 +12878,58 @@ export class ListAggregateResourcesByAdvancedSearchResponseBodyQueryResults exte
12516
12878
  }
12517
12879
  }
12518
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
+
12519
12933
  export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $dara.Model {
12520
12934
  /**
12521
12935
  * @remarks
@@ -12596,6 +13010,7 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
12596
13010
  * r-BU****
12597
13011
  */
12598
13012
  folderId?: string;
13013
+ tags?: ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags[];
12599
13014
  static names(): { [key: string]: string } {
12600
13015
  return {
12601
13016
  accountId: 'AccountId',
@@ -12607,6 +13022,7 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
12607
13022
  aggregatorType: 'AggregatorType',
12608
13023
  description: 'Description',
12609
13024
  folderId: 'FolderId',
13025
+ tags: 'Tags',
12610
13026
  };
12611
13027
  }
12612
13028
 
@@ -12621,10 +13037,14 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
12621
13037
  aggregatorType: 'string',
12622
13038
  description: 'string',
12623
13039
  folderId: 'string',
13040
+ tags: { 'type': 'array', 'itemType': ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags },
12624
13041
  };
12625
13042
  }
12626
13043
 
12627
13044
  validate() {
13045
+ if(Array.isArray(this.tags)) {
13046
+ $dara.Model.validateArray(this.tags);
13047
+ }
12628
13048
  super.validate();
12629
13049
  }
12630
13050
 
@@ -12999,6 +13419,58 @@ export class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResul
12999
13419
  }
13000
13420
  }
13001
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
+
13002
13474
  export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks extends $dara.Model {
13003
13475
  /**
13004
13476
  * @remarks
@@ -13071,6 +13543,7 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
13071
13543
  * ACTIVE
13072
13544
  */
13073
13545
  status?: string;
13546
+ tags?: ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags[];
13074
13547
  static names(): { [key: string]: string } {
13075
13548
  return {
13076
13549
  accountId: 'AccountId',
@@ -13081,6 +13554,7 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
13081
13554
  description: 'Description',
13082
13555
  riskLevel: 'RiskLevel',
13083
13556
  status: 'Status',
13557
+ tags: 'Tags',
13084
13558
  };
13085
13559
  }
13086
13560
 
@@ -13094,10 +13568,14 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
13094
13568
  description: 'string',
13095
13569
  riskLevel: 'number',
13096
13570
  status: 'string',
13571
+ tags: { 'type': 'array', 'itemType': ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags },
13097
13572
  };
13098
13573
  }
13099
13574
 
13100
13575
  validate() {
13576
+ if(Array.isArray(this.tags)) {
13577
+ $dara.Model.validateArray(this.tags);
13578
+ }
13101
13579
  super.validate();
13102
13580
  }
13103
13581
 
@@ -16346,74 +16824,40 @@ export class UpdateAggregateCompliancePackRequestExcludeTagsScope extends $dara.
16346
16824
  }
16347
16825
  }
16348
16826
 
16349
- export class UpdateAggregateCompliancePackRequestTagsScope extends $dara.Model {
16827
+ export class UpdateAggregateCompliancePackRequestTag extends $dara.Model {
16350
16828
  /**
16351
16829
  * @remarks
16352
- * The tag key.
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://`.
16353
16833
  *
16354
16834
  * @example
16355
16835
  * key-1
16356
16836
  */
16357
- tagKey?: string;
16837
+ key?: string;
16358
16838
  /**
16359
16839
  * @remarks
16360
- * The tag value.
16840
+ * The tag values.
16361
16841
  *
16362
- * @example
16363
- * value-1
16364
- */
16365
- tagValue?: string;
16366
- static names(): { [key: string]: string } {
16367
- return {
16368
- tagKey: 'TagKey',
16369
- tagValue: 'TagValue',
16370
- };
16371
- }
16372
-
16373
- static types(): { [key: string]: any } {
16374
- return {
16375
- tagKey: 'string',
16376
- tagValue: 'string',
16377
- };
16378
- }
16379
-
16380
- validate() {
16381
- super.validate();
16382
- }
16383
-
16384
- constructor(map?: { [key: string]: any }) {
16385
- super(map);
16386
- }
16387
- }
16388
-
16389
- export class UpdateAggregateCompliancePackShrinkRequestExcludeTagsScope extends $dara.Model {
16390
- /**
16391
- * @remarks
16392
- * The tag key.
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://`.
16393
16843
  *
16394
- * @example
16395
- * key-2
16396
- */
16397
- tagKey?: string;
16398
- /**
16399
- * @remarks
16400
- * The tag value.
16844
+ * Each key-value must be unique. You can specify at most 20 tag values in each call.
16401
16845
  *
16402
16846
  * @example
16403
- * value-2
16847
+ * value-1
16404
16848
  */
16405
- tagValue?: string;
16849
+ value?: string;
16406
16850
  static names(): { [key: string]: string } {
16407
16851
  return {
16408
- tagKey: 'TagKey',
16409
- tagValue: 'TagValue',
16852
+ key: 'Key',
16853
+ value: 'Value',
16410
16854
  };
16411
16855
  }
16412
16856
 
16413
16857
  static types(): { [key: string]: any } {
16414
16858
  return {
16415
- tagKey: 'string',
16416
- tagValue: 'string',
16859
+ key: 'string',
16860
+ value: 'string',
16417
16861
  };
16418
16862
  }
16419
16863
 
@@ -16426,7 +16870,7 @@ export class UpdateAggregateCompliancePackShrinkRequestExcludeTagsScope extends
16426
16870
  }
16427
16871
  }
16428
16872
 
16429
- export class UpdateAggregateCompliancePackShrinkRequestTagsScope extends $dara.Model {
16873
+ export class UpdateAggregateCompliancePackRequestTagsScope extends $dara.Model {
16430
16874
  /**
16431
16875
  * @remarks
16432
16876
  * The tag key.
@@ -16466,7 +16910,7 @@ export class UpdateAggregateCompliancePackShrinkRequestTagsScope extends $dara.M
16466
16910
  }
16467
16911
  }
16468
16912
 
16469
- export class UpdateAggregateConfigRuleRequestExcludeTagsScope extends $dara.Model {
16913
+ export class UpdateAggregateCompliancePackShrinkRequestExcludeTagsScope extends $dara.Model {
16470
16914
  /**
16471
16915
  * @remarks
16472
16916
  * The tag key.
@@ -16506,7 +16950,133 @@ export class UpdateAggregateConfigRuleRequestExcludeTagsScope extends $dara.Mode
16506
16950
  }
16507
16951
  }
16508
16952
 
16509
- export class UpdateAggregateConfigRuleRequestTagsScope extends $dara.Model {
16953
+ export class UpdateAggregateCompliancePackShrinkRequestTagsScope extends $dara.Model {
16954
+ /**
16955
+ * @remarks
16956
+ * The tag key.
16957
+ *
16958
+ * @example
16959
+ * key-1
16960
+ */
16961
+ tagKey?: string;
16962
+ /**
16963
+ * @remarks
16964
+ * The tag value.
16965
+ *
16966
+ * @example
16967
+ * value-1
16968
+ */
16969
+ tagValue?: string;
16970
+ static names(): { [key: string]: string } {
16971
+ return {
16972
+ tagKey: 'TagKey',
16973
+ tagValue: 'TagValue',
16974
+ };
16975
+ }
16976
+
16977
+ static types(): { [key: string]: any } {
16978
+ return {
16979
+ tagKey: 'string',
16980
+ tagValue: 'string',
16981
+ };
16982
+ }
16983
+
16984
+ validate() {
16985
+ super.validate();
16986
+ }
16987
+
16988
+ constructor(map?: { [key: string]: any }) {
16989
+ super(map);
16990
+ }
16991
+ }
16992
+
16993
+ export class UpdateAggregateConfigRuleRequestExcludeTagsScope extends $dara.Model {
16994
+ /**
16995
+ * @remarks
16996
+ * The tag key.
16997
+ *
16998
+ * @example
16999
+ * key-2
17000
+ */
17001
+ tagKey?: string;
17002
+ /**
17003
+ * @remarks
17004
+ * The tag value.
17005
+ *
17006
+ * @example
17007
+ * value-2
17008
+ */
17009
+ tagValue?: string;
17010
+ static names(): { [key: string]: string } {
17011
+ return {
17012
+ tagKey: 'TagKey',
17013
+ tagValue: 'TagValue',
17014
+ };
17015
+ }
17016
+
17017
+ static types(): { [key: string]: any } {
17018
+ return {
17019
+ tagKey: 'string',
17020
+ tagValue: 'string',
17021
+ };
17022
+ }
17023
+
17024
+ validate() {
17025
+ super.validate();
17026
+ }
17027
+
17028
+ constructor(map?: { [key: string]: any }) {
17029
+ super(map);
17030
+ }
17031
+ }
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
+
17079
+ export class UpdateAggregateConfigRuleRequestTagsScope extends $dara.Model {
16510
17080
  /**
16511
17081
  * @remarks
16512
17082
  * The tag key.
@@ -16686,6 +17256,32 @@ export class UpdateAggregatorRequestAggregatorAccounts extends $dara.Model {
16686
17256
  }
16687
17257
  }
16688
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
+
16689
17285
  export class UpdateCompliancePackRequestConfigRulesConfigRuleParameters extends $dara.Model {
16690
17286
  /**
16691
17287
  * @remarks
@@ -16858,6 +17454,32 @@ export class UpdateCompliancePackRequestExcludeTagsScope extends $dara.Model {
16858
17454
  }
16859
17455
  }
16860
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
+
16861
17483
  export class UpdateCompliancePackRequestTagsScope extends $dara.Model {
16862
17484
  /**
16863
17485
  * @remarks
@@ -18382,6 +19004,7 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18382
19004
  * 1
18383
19005
  */
18384
19006
  riskLevel?: number;
19007
+ tag?: CreateAggregateCompliancePackRequestTag[];
18385
19008
  /**
18386
19009
  * @remarks
18387
19010
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -18432,6 +19055,7 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18432
19055
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
18433
19056
  resourceIdsScope: 'ResourceIdsScope',
18434
19057
  riskLevel: 'RiskLevel',
19058
+ tag: 'Tag',
18435
19059
  tagKeyScope: 'TagKeyScope',
18436
19060
  tagValueScope: 'TagValueScope',
18437
19061
  tagsScope: 'TagsScope',
@@ -18456,6 +19080,7 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18456
19080
  resourceGroupIdsScope: 'string',
18457
19081
  resourceIdsScope: 'string',
18458
19082
  riskLevel: 'number',
19083
+ tag: { 'type': 'array', 'itemType': CreateAggregateCompliancePackRequestTag },
18459
19084
  tagKeyScope: 'string',
18460
19085
  tagValueScope: 'string',
18461
19086
  tagsScope: { 'type': 'array', 'itemType': CreateAggregateCompliancePackRequestTagsScope },
@@ -18470,6 +19095,9 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
18470
19095
  if(Array.isArray(this.excludeTagsScope)) {
18471
19096
  $dara.Model.validateArray(this.excludeTagsScope);
18472
19097
  }
19098
+ if(Array.isArray(this.tag)) {
19099
+ $dara.Model.validateArray(this.tag);
19100
+ }
18473
19101
  if(Array.isArray(this.tagsScope)) {
18474
19102
  $dara.Model.validateArray(this.tagsScope);
18475
19103
  }
@@ -18613,6 +19241,7 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
18613
19241
  * 1
18614
19242
  */
18615
19243
  riskLevel?: number;
19244
+ tagShrink?: string;
18616
19245
  /**
18617
19246
  * @remarks
18618
19247
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -18663,6 +19292,7 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
18663
19292
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
18664
19293
  resourceIdsScope: 'ResourceIdsScope',
18665
19294
  riskLevel: 'RiskLevel',
19295
+ tagShrink: 'Tag',
18666
19296
  tagKeyScope: 'TagKeyScope',
18667
19297
  tagValueScope: 'TagValueScope',
18668
19298
  tagsScope: 'TagsScope',
@@ -18687,6 +19317,7 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
18687
19317
  resourceGroupIdsScope: 'string',
18688
19318
  resourceIdsScope: 'string',
18689
19319
  riskLevel: 'number',
19320
+ tagShrink: 'string',
18690
19321
  tagKeyScope: 'string',
18691
19322
  tagValueScope: 'string',
18692
19323
  tagsScope: { 'type': 'array', 'itemType': CreateAggregateCompliancePackShrinkRequestTagsScope },
@@ -19312,6 +19943,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19312
19943
  * ALIYUN
19313
19944
  */
19314
19945
  sourceOwner?: string;
19946
+ tag?: CreateAggregateConfigRuleRequestTag[];
19315
19947
  /**
19316
19948
  * @remarks
19317
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:
@@ -19373,6 +20005,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19373
20005
  riskLevel: 'RiskLevel',
19374
20006
  sourceIdentifier: 'SourceIdentifier',
19375
20007
  sourceOwner: 'SourceOwner',
20008
+ tag: 'Tag',
19376
20009
  tagKeyLogicScope: 'TagKeyLogicScope',
19377
20010
  tagKeyScope: 'TagKeyScope',
19378
20011
  tagValueScope: 'TagValueScope',
@@ -19405,6 +20038,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19405
20038
  riskLevel: 'number',
19406
20039
  sourceIdentifier: 'string',
19407
20040
  sourceOwner: 'string',
20041
+ tag: { 'type': 'array', 'itemType': CreateAggregateConfigRuleRequestTag },
19408
20042
  tagKeyLogicScope: 'string',
19409
20043
  tagKeyScope: 'string',
19410
20044
  tagValueScope: 'string',
@@ -19422,6 +20056,9 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
19422
20056
  if(Array.isArray(this.resourceTypesScope)) {
19423
20057
  $dara.Model.validateArray(this.resourceTypesScope);
19424
20058
  }
20059
+ if(Array.isArray(this.tag)) {
20060
+ $dara.Model.validateArray(this.tag);
20061
+ }
19425
20062
  if(Array.isArray(this.tagsScope)) {
19426
20063
  $dara.Model.validateArray(this.tagsScope);
19427
20064
  }
@@ -19674,6 +20311,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
19674
20311
  * ALIYUN
19675
20312
  */
19676
20313
  sourceOwner?: string;
20314
+ tagShrink?: string;
19677
20315
  /**
19678
20316
  * @remarks
19679
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:
@@ -19735,6 +20373,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
19735
20373
  riskLevel: 'RiskLevel',
19736
20374
  sourceIdentifier: 'SourceIdentifier',
19737
20375
  sourceOwner: 'SourceOwner',
20376
+ tagShrink: 'Tag',
19738
20377
  tagKeyLogicScope: 'TagKeyLogicScope',
19739
20378
  tagKeyScope: 'TagKeyScope',
19740
20379
  tagValueScope: 'TagValueScope',
@@ -19767,6 +20406,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
19767
20406
  riskLevel: 'number',
19768
20407
  sourceIdentifier: 'string',
19769
20408
  sourceOwner: 'string',
20409
+ tagShrink: 'string',
19770
20410
  tagKeyLogicScope: 'string',
19771
20411
  tagKeyScope: 'string',
19772
20412
  tagValueScope: 'string',
@@ -20141,6 +20781,7 @@ export class CreateAggregatorRequest extends $dara.Model {
20141
20781
  * fd-brHdgv****
20142
20782
  */
20143
20783
  folderId?: string;
20784
+ tag?: CreateAggregatorRequestTag[];
20144
20785
  static names(): { [key: string]: string } {
20145
20786
  return {
20146
20787
  aggregatorAccounts: 'AggregatorAccounts',
@@ -20149,6 +20790,7 @@ export class CreateAggregatorRequest extends $dara.Model {
20149
20790
  clientToken: 'ClientToken',
20150
20791
  description: 'Description',
20151
20792
  folderId: 'FolderId',
20793
+ tag: 'Tag',
20152
20794
  };
20153
20795
  }
20154
20796
 
@@ -20160,6 +20802,7 @@ export class CreateAggregatorRequest extends $dara.Model {
20160
20802
  clientToken: 'string',
20161
20803
  description: 'string',
20162
20804
  folderId: 'string',
20805
+ tag: { 'type': 'array', 'itemType': CreateAggregatorRequestTag },
20163
20806
  };
20164
20807
  }
20165
20808
 
@@ -20167,6 +20810,9 @@ export class CreateAggregatorRequest extends $dara.Model {
20167
20810
  if(Array.isArray(this.aggregatorAccounts)) {
20168
20811
  $dara.Model.validateArray(this.aggregatorAccounts);
20169
20812
  }
20813
+ if(Array.isArray(this.tag)) {
20814
+ $dara.Model.validateArray(this.tag);
20815
+ }
20170
20816
  super.validate();
20171
20817
  }
20172
20818
 
@@ -20244,6 +20890,7 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
20244
20890
  * fd-brHdgv****
20245
20891
  */
20246
20892
  folderId?: string;
20893
+ tagShrink?: string;
20247
20894
  static names(): { [key: string]: string } {
20248
20895
  return {
20249
20896
  aggregatorAccountsShrink: 'AggregatorAccounts',
@@ -20252,6 +20899,7 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
20252
20899
  clientToken: 'ClientToken',
20253
20900
  description: 'Description',
20254
20901
  folderId: 'FolderId',
20902
+ tagShrink: 'Tag',
20255
20903
  };
20256
20904
  }
20257
20905
 
@@ -20263,6 +20911,7 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
20263
20911
  clientToken: 'string',
20264
20912
  description: 'string',
20265
20913
  folderId: 'string',
20914
+ tagShrink: 'string',
20266
20915
  };
20267
20916
  }
20268
20917
 
@@ -20471,6 +21120,7 @@ export class CreateCompliancePackRequest extends $dara.Model {
20471
21120
  * 1
20472
21121
  */
20473
21122
  riskLevel?: number;
21123
+ tag?: CreateCompliancePackRequestTag[];
20474
21124
  /**
20475
21125
  * @remarks
20476
21126
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -20518,6 +21168,7 @@ export class CreateCompliancePackRequest extends $dara.Model {
20518
21168
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
20519
21169
  resourceIdsScope: 'ResourceIdsScope',
20520
21170
  riskLevel: 'RiskLevel',
21171
+ tag: 'Tag',
20521
21172
  tagKeyScope: 'TagKeyScope',
20522
21173
  tagValueScope: 'TagValueScope',
20523
21174
  tagsScope: 'TagsScope',
@@ -20541,6 +21192,7 @@ export class CreateCompliancePackRequest extends $dara.Model {
20541
21192
  resourceGroupIdsScope: 'string',
20542
21193
  resourceIdsScope: 'string',
20543
21194
  riskLevel: 'number',
21195
+ tag: { 'type': 'array', 'itemType': CreateCompliancePackRequestTag },
20544
21196
  tagKeyScope: 'string',
20545
21197
  tagValueScope: 'string',
20546
21198
  tagsScope: { 'type': 'array', 'itemType': CreateCompliancePackRequestTagsScope },
@@ -20555,6 +21207,9 @@ export class CreateCompliancePackRequest extends $dara.Model {
20555
21207
  if(Array.isArray(this.excludeTagsScope)) {
20556
21208
  $dara.Model.validateArray(this.excludeTagsScope);
20557
21209
  }
21210
+ if(Array.isArray(this.tag)) {
21211
+ $dara.Model.validateArray(this.tag);
21212
+ }
20558
21213
  if(Array.isArray(this.tagsScope)) {
20559
21214
  $dara.Model.validateArray(this.tagsScope);
20560
21215
  }
@@ -20687,6 +21342,7 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
20687
21342
  * 1
20688
21343
  */
20689
21344
  riskLevel?: number;
21345
+ tagShrink?: string;
20690
21346
  /**
20691
21347
  * @remarks
20692
21348
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -20734,6 +21390,7 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
20734
21390
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
20735
21391
  resourceIdsScope: 'ResourceIdsScope',
20736
21392
  riskLevel: 'RiskLevel',
21393
+ tagShrink: 'Tag',
20737
21394
  tagKeyScope: 'TagKeyScope',
20738
21395
  tagValueScope: 'TagValueScope',
20739
21396
  tagsScope: 'TagsScope',
@@ -20757,6 +21414,7 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
20757
21414
  resourceGroupIdsScope: 'string',
20758
21415
  resourceIdsScope: 'string',
20759
21416
  riskLevel: 'number',
21417
+ tagShrink: 'string',
20760
21418
  tagKeyScope: 'string',
20761
21419
  tagValueScope: 'string',
20762
21420
  tagsScope: { 'type': 'array', 'itemType': CreateCompliancePackShrinkRequestTagsScope },
@@ -23993,6 +24651,13 @@ export class EvaluatePreConfigRulesRequest extends $dara.Model {
23993
24651
  * This parameter is required.
23994
24652
  */
23995
24653
  resourceEvaluateItems?: EvaluatePreConfigRulesRequestResourceEvaluateItems[];
24654
+ /**
24655
+ * @remarks
24656
+ * 下一个查询开始Token
24657
+ *
24658
+ * @example
24659
+ * ros
24660
+ */
23996
24661
  resourceTypeFormat?: string;
23997
24662
  static names(): { [key: string]: string } {
23998
24663
  return {
@@ -24043,6 +24708,13 @@ export class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
24043
24708
  * This parameter is required.
24044
24709
  */
24045
24710
  resourceEvaluateItemsShrink?: string;
24711
+ /**
24712
+ * @remarks
24713
+ * 下一个查询开始Token
24714
+ *
24715
+ * @example
24716
+ * ros
24717
+ */
24046
24718
  resourceTypeFormat?: string;
24047
24719
  static names(): { [key: string]: string } {
24048
24720
  return {
@@ -25244,10 +25916,66 @@ export class GetAggregateCompliancePackRequest extends $dara.Model {
25244
25916
  * cp-fdc8626622af00f9****
25245
25917
  */
25246
25918
  compliancePackId?: string;
25919
+ tag?: GetAggregateCompliancePackRequestTag[];
25920
+ static names(): { [key: string]: string } {
25921
+ return {
25922
+ aggregatorId: 'AggregatorId',
25923
+ compliancePackId: 'CompliancePackId',
25924
+ tag: 'Tag',
25925
+ };
25926
+ }
25927
+
25928
+ static types(): { [key: string]: any } {
25929
+ return {
25930
+ aggregatorId: 'string',
25931
+ compliancePackId: 'string',
25932
+ tag: { 'type': 'array', 'itemType': GetAggregateCompliancePackRequestTag },
25933
+ };
25934
+ }
25935
+
25936
+ validate() {
25937
+ if(Array.isArray(this.tag)) {
25938
+ $dara.Model.validateArray(this.tag);
25939
+ }
25940
+ super.validate();
25941
+ }
25942
+
25943
+ constructor(map?: { [key: string]: any }) {
25944
+ super(map);
25945
+ }
25946
+ }
25947
+
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;
25247
25974
  static names(): { [key: string]: string } {
25248
25975
  return {
25249
25976
  aggregatorId: 'AggregatorId',
25250
25977
  compliancePackId: 'CompliancePackId',
25978
+ tagShrink: 'Tag',
25251
25979
  };
25252
25980
  }
25253
25981
 
@@ -25255,6 +25983,7 @@ export class GetAggregateCompliancePackRequest extends $dara.Model {
25255
25983
  return {
25256
25984
  aggregatorId: 'string',
25257
25985
  compliancePackId: 'string',
25986
+ tagShrink: 'string',
25258
25987
  };
25259
25988
  }
25260
25989
 
@@ -27768,15 +28497,56 @@ export class GetAggregatorRequest extends $dara.Model {
27768
28497
  * ca-88ea626622af0055****
27769
28498
  */
27770
28499
  aggregatorId?: string;
28500
+ tag?: GetAggregatorRequestTag[];
27771
28501
  static names(): { [key: string]: string } {
27772
28502
  return {
27773
28503
  aggregatorId: 'AggregatorId',
28504
+ tag: 'Tag',
28505
+ };
28506
+ }
28507
+
28508
+ static types(): { [key: string]: any } {
28509
+ return {
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',
27774
28543
  };
27775
28544
  }
27776
28545
 
27777
28546
  static types(): { [key: string]: any } {
27778
28547
  return {
27779
28548
  aggregatorId: 'string',
28549
+ tagShrink: 'string',
27780
28550
  };
27781
28551
  }
27782
28552
 
@@ -27877,15 +28647,58 @@ export class GetCompliancePackRequest extends $dara.Model {
27877
28647
  * cp-a8a8626622af0082****
27878
28648
  */
27879
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;
27880
28691
  static names(): { [key: string]: string } {
27881
28692
  return {
27882
28693
  compliancePackId: 'CompliancePackId',
28694
+ tagShrink: 'Tag',
27883
28695
  };
27884
28696
  }
27885
28697
 
27886
28698
  static types(): { [key: string]: any } {
27887
28699
  return {
27888
28700
  compliancePackId: 'string',
28701
+ tagShrink: 'string',
27889
28702
  };
27890
28703
  }
27891
28704
 
@@ -30953,12 +31766,91 @@ export class ListAggregateCompliancePacksRequest extends $dara.Model {
30953
31766
  * ACTIVE
30954
31767
  */
30955
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;
30956
31847
  static names(): { [key: string]: string } {
30957
31848
  return {
30958
31849
  aggregatorId: 'AggregatorId',
30959
31850
  pageNumber: 'PageNumber',
30960
31851
  pageSize: 'PageSize',
30961
31852
  status: 'Status',
31853
+ tagShrink: 'Tag',
30962
31854
  };
30963
31855
  }
30964
31856
 
@@ -30968,6 +31860,7 @@ export class ListAggregateCompliancePacksRequest extends $dara.Model {
30968
31860
  pageNumber: 'number',
30969
31861
  pageSize: 'number',
30970
31862
  status: 'string',
31863
+ tagShrink: 'string',
30971
31864
  };
30972
31865
  }
30973
31866
 
@@ -31603,6 +32496,157 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
31603
32496
  * 1
31604
32497
  */
31605
32498
  riskLevel?: number;
32499
+ tag?: ListAggregateConfigRulesRequestTag[];
32500
+ static names(): { [key: string]: string } {
32501
+ return {
32502
+ aggregatorId: 'AggregatorId',
32503
+ compliancePackId: 'CompliancePackId',
32504
+ complianceType: 'ComplianceType',
32505
+ configRuleName: 'ConfigRuleName',
32506
+ configRuleState: 'ConfigRuleState',
32507
+ keyword: 'Keyword',
32508
+ pageNumber: 'PageNumber',
32509
+ pageSize: 'PageSize',
32510
+ resourceTypes: 'ResourceTypes',
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;
31606
32650
  static names(): { [key: string]: string } {
31607
32651
  return {
31608
32652
  aggregatorId: 'AggregatorId',
@@ -31615,6 +32659,7 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
31615
32659
  pageSize: 'PageSize',
31616
32660
  resourceTypes: 'ResourceTypes',
31617
32661
  riskLevel: 'RiskLevel',
32662
+ tagShrink: 'Tag',
31618
32663
  };
31619
32664
  }
31620
32665
 
@@ -31630,6 +32675,7 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
31630
32675
  pageSize: 'number',
31631
32676
  resourceTypes: 'string',
31632
32677
  riskLevel: 'number',
32678
+ tagShrink: 'string',
31633
32679
  };
31634
32680
  }
31635
32681
 
@@ -32739,10 +33785,60 @@ export class ListAggregatorsRequest extends $dara.Model {
32739
33785
  * TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0
32740
33786
  */
32741
33787
  nextToken?: string;
33788
+ tag?: ListAggregatorsRequestTag[];
33789
+ static names(): { [key: string]: string } {
33790
+ return {
33791
+ maxResults: 'MaxResults',
33792
+ nextToken: 'NextToken',
33793
+ tag: 'Tag',
33794
+ };
33795
+ }
33796
+
33797
+ static types(): { [key: string]: any } {
33798
+ return {
33799
+ maxResults: 'number',
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;
32742
33837
  static names(): { [key: string]: string } {
32743
33838
  return {
32744
33839
  maxResults: 'MaxResults',
32745
33840
  nextToken: 'NextToken',
33841
+ tagShrink: 'Tag',
32746
33842
  };
32747
33843
  }
32748
33844
 
@@ -32750,6 +33846,7 @@ export class ListAggregatorsRequest extends $dara.Model {
32750
33846
  return {
32751
33847
  maxResults: 'number',
32752
33848
  nextToken: 'string',
33849
+ tagShrink: 'string',
32753
33850
  };
32754
33851
  }
32755
33852
 
@@ -33008,11 +34105,76 @@ export class ListCompliancePacksRequest extends $dara.Model {
33008
34105
  * ACTIVE
33009
34106
  */
33010
34107
  status?: string;
34108
+ tag?: ListCompliancePacksRequestTag[];
34109
+ static names(): { [key: string]: string } {
34110
+ return {
34111
+ pageNumber: 'PageNumber',
34112
+ pageSize: 'PageSize',
34113
+ status: 'Status',
34114
+ tag: 'Tag',
34115
+ };
34116
+ }
34117
+
34118
+ static types(): { [key: string]: any } {
34119
+ return {
34120
+ pageNumber: 'number',
34121
+ pageSize: 'number',
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;
33011
34172
  static names(): { [key: string]: string } {
33012
34173
  return {
33013
34174
  pageNumber: 'PageNumber',
33014
34175
  pageSize: 'PageSize',
33015
34176
  status: 'Status',
34177
+ tagShrink: 'Tag',
33016
34178
  };
33017
34179
  }
33018
34180
 
@@ -33021,6 +34183,7 @@ export class ListCompliancePacksRequest extends $dara.Model {
33021
34183
  pageNumber: 'number',
33022
34184
  pageSize: 'number',
33023
34185
  status: 'string',
34186
+ tagShrink: 'string',
33024
34187
  };
33025
34188
  }
33026
34189
 
@@ -37415,6 +38578,13 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37415
38578
  * 1
37416
38579
  */
37417
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[];
37418
38588
  /**
37419
38589
  * @remarks
37420
38590
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -37454,6 +38624,7 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37454
38624
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
37455
38625
  resourceIdsScope: 'ResourceIdsScope',
37456
38626
  riskLevel: 'RiskLevel',
38627
+ tag: 'Tag',
37457
38628
  tagKeyScope: 'TagKeyScope',
37458
38629
  tagValueScope: 'TagValueScope',
37459
38630
  tagsScope: 'TagsScope',
@@ -37476,6 +38647,7 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37476
38647
  resourceGroupIdsScope: 'string',
37477
38648
  resourceIdsScope: 'string',
37478
38649
  riskLevel: 'number',
38650
+ tag: { 'type': 'array', 'itemType': UpdateAggregateCompliancePackRequestTag },
37479
38651
  tagKeyScope: 'string',
37480
38652
  tagValueScope: 'string',
37481
38653
  tagsScope: { 'type': 'array', 'itemType': UpdateAggregateCompliancePackRequestTagsScope },
@@ -37489,6 +38661,9 @@ export class UpdateAggregateCompliancePackRequest extends $dara.Model {
37489
38661
  if(Array.isArray(this.excludeTagsScope)) {
37490
38662
  $dara.Model.validateArray(this.excludeTagsScope);
37491
38663
  }
38664
+ if(Array.isArray(this.tag)) {
38665
+ $dara.Model.validateArray(this.tag);
38666
+ }
37492
38667
  if(Array.isArray(this.tagsScope)) {
37493
38668
  $dara.Model.validateArray(this.tagsScope);
37494
38669
  }
@@ -37623,6 +38798,13 @@ export class UpdateAggregateCompliancePackShrinkRequest extends $dara.Model {
37623
38798
  * 1
37624
38799
  */
37625
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;
37626
38808
  /**
37627
38809
  * @remarks
37628
38810
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -37662,6 +38844,7 @@ export class UpdateAggregateCompliancePackShrinkRequest extends $dara.Model {
37662
38844
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
37663
38845
  resourceIdsScope: 'ResourceIdsScope',
37664
38846
  riskLevel: 'RiskLevel',
38847
+ tagShrink: 'Tag',
37665
38848
  tagKeyScope: 'TagKeyScope',
37666
38849
  tagValueScope: 'TagValueScope',
37667
38850
  tagsScope: 'TagsScope',
@@ -37684,6 +38867,7 @@ export class UpdateAggregateCompliancePackShrinkRequest extends $dara.Model {
37684
38867
  resourceGroupIdsScope: 'string',
37685
38868
  resourceIdsScope: 'string',
37686
38869
  riskLevel: 'number',
38870
+ tagShrink: 'string',
37687
38871
  tagKeyScope: 'string',
37688
38872
  tagValueScope: 'string',
37689
38873
  tagsScope: { 'type': 'array', 'itemType': UpdateAggregateCompliancePackShrinkRequestTagsScope },
@@ -38299,6 +39483,13 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38299
39483
  * 3
38300
39484
  */
38301
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[];
38302
39493
  /**
38303
39494
  * @remarks
38304
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:
@@ -38358,6 +39549,7 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38358
39549
  resourceIdsScope: 'ResourceIdsScope',
38359
39550
  resourceTypesScope: 'ResourceTypesScope',
38360
39551
  riskLevel: 'RiskLevel',
39552
+ tag: 'Tag',
38361
39553
  tagKeyLogicScope: 'TagKeyLogicScope',
38362
39554
  tagKeyScope: 'TagKeyScope',
38363
39555
  tagValueScope: 'TagValueScope',
@@ -38388,6 +39580,7 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38388
39580
  resourceIdsScope: 'string',
38389
39581
  resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
38390
39582
  riskLevel: 'number',
39583
+ tag: { 'type': 'array', 'itemType': UpdateAggregateConfigRuleRequestTag },
38391
39584
  tagKeyLogicScope: 'string',
38392
39585
  tagKeyScope: 'string',
38393
39586
  tagValueScope: 'string',
@@ -38405,6 +39598,9 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
38405
39598
  if(Array.isArray(this.resourceTypesScope)) {
38406
39599
  $dara.Model.validateArray(this.resourceTypesScope);
38407
39600
  }
39601
+ if(Array.isArray(this.tag)) {
39602
+ $dara.Model.validateArray(this.tag);
39603
+ }
38408
39604
  if(Array.isArray(this.tagsScope)) {
38409
39605
  $dara.Model.validateArray(this.tagsScope);
38410
39606
  }
@@ -38629,6 +39825,13 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
38629
39825
  * 3
38630
39826
  */
38631
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;
38632
39835
  /**
38633
39836
  * @remarks
38634
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:
@@ -38688,6 +39891,7 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
38688
39891
  resourceIdsScope: 'ResourceIdsScope',
38689
39892
  resourceTypesScopeShrink: 'ResourceTypesScope',
38690
39893
  riskLevel: 'RiskLevel',
39894
+ tagShrink: 'Tag',
38691
39895
  tagKeyLogicScope: 'TagKeyLogicScope',
38692
39896
  tagKeyScope: 'TagKeyScope',
38693
39897
  tagValueScope: 'TagValueScope',
@@ -38718,6 +39922,7 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
38718
39922
  resourceIdsScope: 'string',
38719
39923
  resourceTypesScopeShrink: 'string',
38720
39924
  riskLevel: 'number',
39925
+ tagShrink: 'string',
38721
39926
  tagKeyLogicScope: 'string',
38722
39927
  tagKeyScope: 'string',
38723
39928
  tagValueScope: 'string',
@@ -39053,6 +40258,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
39053
40258
  * Test_Aggregator_Description
39054
40259
  */
39055
40260
  description?: string;
40261
+ tag?: UpdateAggregatorRequestTag[];
39056
40262
  static names(): { [key: string]: string } {
39057
40263
  return {
39058
40264
  aggregatorAccounts: 'AggregatorAccounts',
@@ -39060,6 +40266,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
39060
40266
  aggregatorName: 'AggregatorName',
39061
40267
  clientToken: 'ClientToken',
39062
40268
  description: 'Description',
40269
+ tag: 'Tag',
39063
40270
  };
39064
40271
  }
39065
40272
 
@@ -39070,6 +40277,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
39070
40277
  aggregatorName: 'string',
39071
40278
  clientToken: 'string',
39072
40279
  description: 'string',
40280
+ tag: { 'type': 'array', 'itemType': UpdateAggregatorRequestTag },
39073
40281
  };
39074
40282
  }
39075
40283
 
@@ -39077,6 +40285,9 @@ export class UpdateAggregatorRequest extends $dara.Model {
39077
40285
  if(Array.isArray(this.aggregatorAccounts)) {
39078
40286
  $dara.Model.validateArray(this.aggregatorAccounts);
39079
40287
  }
40288
+ if(Array.isArray(this.tag)) {
40289
+ $dara.Model.validateArray(this.tag);
40290
+ }
39080
40291
  super.validate();
39081
40292
  }
39082
40293
 
@@ -39136,6 +40347,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
39136
40347
  * Test_Aggregator_Description
39137
40348
  */
39138
40349
  description?: string;
40350
+ tagShrink?: string;
39139
40351
  static names(): { [key: string]: string } {
39140
40352
  return {
39141
40353
  aggregatorAccountsShrink: 'AggregatorAccounts',
@@ -39143,6 +40355,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
39143
40355
  aggregatorName: 'AggregatorName',
39144
40356
  clientToken: 'ClientToken',
39145
40357
  description: 'Description',
40358
+ tagShrink: 'Tag',
39146
40359
  };
39147
40360
  }
39148
40361
 
@@ -39153,6 +40366,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
39153
40366
  aggregatorName: 'string',
39154
40367
  clientToken: 'string',
39155
40368
  description: 'string',
40369
+ tagShrink: 'string',
39156
40370
  };
39157
40371
  }
39158
40372
 
@@ -39351,6 +40565,7 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39351
40565
  * 1
39352
40566
  */
39353
40567
  riskLevel?: number;
40568
+ tag?: UpdateCompliancePackRequestTag[];
39354
40569
  /**
39355
40570
  * @remarks
39356
40571
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -39389,6 +40604,7 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39389
40604
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
39390
40605
  resourceIdsScope: 'ResourceIdsScope',
39391
40606
  riskLevel: 'RiskLevel',
40607
+ tag: 'Tag',
39392
40608
  tagKeyScope: 'TagKeyScope',
39393
40609
  tagValueScope: 'TagValueScope',
39394
40610
  tagsScope: 'TagsScope',
@@ -39410,6 +40626,7 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39410
40626
  resourceGroupIdsScope: 'string',
39411
40627
  resourceIdsScope: 'string',
39412
40628
  riskLevel: 'number',
40629
+ tag: { 'type': 'array', 'itemType': UpdateCompliancePackRequestTag },
39413
40630
  tagKeyScope: 'string',
39414
40631
  tagValueScope: 'string',
39415
40632
  tagsScope: { 'type': 'array', 'itemType': UpdateCompliancePackRequestTagsScope },
@@ -39423,6 +40640,9 @@ export class UpdateCompliancePackRequest extends $dara.Model {
39423
40640
  if(Array.isArray(this.excludeTagsScope)) {
39424
40641
  $dara.Model.validateArray(this.excludeTagsScope);
39425
40642
  }
40643
+ if(Array.isArray(this.tag)) {
40644
+ $dara.Model.validateArray(this.tag);
40645
+ }
39426
40646
  if(Array.isArray(this.tagsScope)) {
39427
40647
  $dara.Model.validateArray(this.tagsScope);
39428
40648
  }
@@ -39545,6 +40765,7 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
39545
40765
  * 1
39546
40766
  */
39547
40767
  riskLevel?: number;
40768
+ tagShrink?: string;
39548
40769
  /**
39549
40770
  * @remarks
39550
40771
  * The tag key of the resource that you want to evaluate by using the compliance package.
@@ -39583,6 +40804,7 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
39583
40804
  resourceGroupIdsScope: 'ResourceGroupIdsScope',
39584
40805
  resourceIdsScope: 'ResourceIdsScope',
39585
40806
  riskLevel: 'RiskLevel',
40807
+ tagShrink: 'Tag',
39586
40808
  tagKeyScope: 'TagKeyScope',
39587
40809
  tagValueScope: 'TagValueScope',
39588
40810
  tagsScope: 'TagsScope',
@@ -39604,6 +40826,7 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
39604
40826
  resourceGroupIdsScope: 'string',
39605
40827
  resourceIdsScope: 'string',
39606
40828
  riskLevel: 'number',
40829
+ tagShrink: 'string',
39607
40830
  tagKeyScope: 'string',
39608
40831
  tagValueScope: 'string',
39609
40832
  tagsScope: { 'type': 'array', 'itemType': UpdateCompliancePackShrinkRequestTagsScope },
@@ -41390,7 +42613,12 @@ export default class Client extends OpenApi {
41390
42613
  reqBodyType: "formData",
41391
42614
  bodyType: "json",
41392
42615
  });
41393
- 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
+
41394
42622
  }
41395
42623
 
41396
42624
  /**
@@ -41443,7 +42671,12 @@ export default class Client extends OpenApi {
41443
42671
  reqBodyType: "formData",
41444
42672
  bodyType: "json",
41445
42673
  });
41446
- 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
+
41447
42680
  }
41448
42681
 
41449
42682
  /**
@@ -41500,7 +42733,12 @@ export default class Client extends OpenApi {
41500
42733
  reqBodyType: "formData",
41501
42734
  bodyType: "json",
41502
42735
  });
41503
- 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
+
41504
42742
  }
41505
42743
 
41506
42744
  /**
@@ -41552,7 +42790,12 @@ export default class Client extends OpenApi {
41552
42790
  reqBodyType: "formData",
41553
42791
  bodyType: "json",
41554
42792
  });
41555
- 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
+
41556
42799
  }
41557
42800
 
41558
42801
  /**
@@ -41605,7 +42848,12 @@ export default class Client extends OpenApi {
41605
42848
  reqBodyType: "formData",
41606
42849
  bodyType: "json",
41607
42850
  });
41608
- 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
+
41609
42857
  }
41610
42858
 
41611
42859
  /**
@@ -41655,7 +42903,12 @@ export default class Client extends OpenApi {
41655
42903
  reqBodyType: "formData",
41656
42904
  bodyType: "json",
41657
42905
  });
41658
- 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
+
41659
42912
  }
41660
42913
 
41661
42914
  /**
@@ -41697,7 +42950,12 @@ export default class Client extends OpenApi {
41697
42950
  reqBodyType: "formData",
41698
42951
  bodyType: "json",
41699
42952
  });
41700
- 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
+
41701
42959
  }
41702
42960
 
41703
42961
  /**
@@ -41746,7 +43004,12 @@ export default class Client extends OpenApi {
41746
43004
  reqBodyType: "formData",
41747
43005
  bodyType: "json",
41748
43006
  });
41749
- 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
+
41750
43013
  }
41751
43014
 
41752
43015
  /**
@@ -41781,6 +43044,15 @@ export default class Client extends OpenApi {
41781
43044
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
41782
43045
  }
41783
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
+
41784
43056
  let body : {[key: string ]: any} = { };
41785
43057
  if (!$dara.isNull(request.aggregatorId)) {
41786
43058
  body["AggregatorId"] = request.aggregatorId;
@@ -41864,6 +43136,7 @@ export default class Client extends OpenApi {
41864
43136
  ...OpenApiUtil.query(bodyFlat),
41865
43137
  };
41866
43138
  let req = new $OpenApiUtil.OpenApiRequest({
43139
+ query: OpenApiUtil.query(query),
41867
43140
  body: OpenApiUtil.parseToMap(body),
41868
43141
  });
41869
43142
  let params = new $OpenApiUtil.Params({
@@ -41877,7 +43150,12 @@ export default class Client extends OpenApi {
41877
43150
  reqBodyType: "formData",
41878
43151
  bodyType: "json",
41879
43152
  });
41880
- 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
+
41881
43159
  }
41882
43160
 
41883
43161
  /**
@@ -41973,7 +43251,12 @@ export default class Client extends OpenApi {
41973
43251
  reqBodyType: "formData",
41974
43252
  bodyType: "json",
41975
43253
  });
41976
- 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
+
41977
43260
  }
41978
43261
 
41979
43262
  /**
@@ -42015,6 +43298,15 @@ export default class Client extends OpenApi {
42015
43298
  request.resourceTypesScopeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceTypesScope, "ResourceTypesScope", "simple");
42016
43299
  }
42017
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
+
42018
43310
  let body : {[key: string ]: any} = { };
42019
43311
  if (!$dara.isNull(request.accountIdsScope)) {
42020
43312
  body["AccountIdsScope"] = request.accountIdsScope;
@@ -42130,6 +43422,7 @@ export default class Client extends OpenApi {
42130
43422
  ...OpenApiUtil.query(bodyFlat),
42131
43423
  };
42132
43424
  let req = new $OpenApiUtil.OpenApiRequest({
43425
+ query: OpenApiUtil.query(query),
42133
43426
  body: OpenApiUtil.parseToMap(body),
42134
43427
  });
42135
43428
  let params = new $OpenApiUtil.Params({
@@ -42143,7 +43436,12 @@ export default class Client extends OpenApi {
42143
43436
  reqBodyType: "formData",
42144
43437
  bodyType: "json",
42145
43438
  });
42146
- 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
+
42147
43445
  }
42148
43446
 
42149
43447
  /**
@@ -42222,7 +43520,12 @@ export default class Client extends OpenApi {
42222
43520
  reqBodyType: "formData",
42223
43521
  bodyType: "json",
42224
43522
  });
42225
- 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
+
42226
43529
  }
42227
43530
 
42228
43531
  /**
@@ -42263,6 +43566,15 @@ export default class Client extends OpenApi {
42263
43566
  request.aggregatorAccountsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.aggregatorAccounts, "AggregatorAccounts", "json");
42264
43567
  }
42265
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
+
42266
43578
  let body : {[key: string ]: any} = { };
42267
43579
  if (!$dara.isNull(request.aggregatorAccountsShrink)) {
42268
43580
  body["AggregatorAccounts"] = request.aggregatorAccountsShrink;
@@ -42289,6 +43601,7 @@ export default class Client extends OpenApi {
42289
43601
  }
42290
43602
 
42291
43603
  let req = new $OpenApiUtil.OpenApiRequest({
43604
+ query: OpenApiUtil.query(query),
42292
43605
  body: OpenApiUtil.parseToMap(body),
42293
43606
  });
42294
43607
  let params = new $OpenApiUtil.Params({
@@ -42302,7 +43615,12 @@ export default class Client extends OpenApi {
42302
43615
  reqBodyType: "formData",
42303
43616
  bodyType: "json",
42304
43617
  });
42305
- 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
+
42306
43624
  }
42307
43625
 
42308
43626
  /**
@@ -42344,6 +43662,15 @@ export default class Client extends OpenApi {
42344
43662
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
42345
43663
  }
42346
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
+
42347
43674
  let body : {[key: string ]: any} = { };
42348
43675
  if (!$dara.isNull(request.clientToken)) {
42349
43676
  body["ClientToken"] = request.clientToken;
@@ -42423,6 +43750,7 @@ export default class Client extends OpenApi {
42423
43750
  ...OpenApiUtil.query(bodyFlat),
42424
43751
  };
42425
43752
  let req = new $OpenApiUtil.OpenApiRequest({
43753
+ query: OpenApiUtil.query(query),
42426
43754
  body: OpenApiUtil.parseToMap(body),
42427
43755
  });
42428
43756
  let params = new $OpenApiUtil.Params({
@@ -42436,7 +43764,12 @@ export default class Client extends OpenApi {
42436
43764
  reqBodyType: "formData",
42437
43765
  bodyType: "json",
42438
43766
  });
42439
- 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
+
42440
43773
  }
42441
43774
 
42442
43775
  /**
@@ -42529,7 +43862,12 @@ export default class Client extends OpenApi {
42529
43862
  reqBodyType: "formData",
42530
43863
  bodyType: "json",
42531
43864
  });
42532
- 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
+
42533
43871
  }
42534
43872
 
42535
43873
  /**
@@ -42687,7 +44025,12 @@ export default class Client extends OpenApi {
42687
44025
  reqBodyType: "formData",
42688
44026
  bodyType: "json",
42689
44027
  });
42690
- 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
+
42691
44034
  }
42692
44035
 
42693
44036
  /**
@@ -42779,7 +44122,12 @@ export default class Client extends OpenApi {
42779
44122
  reqBodyType: "formData",
42780
44123
  bodyType: "json",
42781
44124
  });
42782
- 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
+
42783
44131
  }
42784
44132
 
42785
44133
  /**
@@ -42854,7 +44202,12 @@ export default class Client extends OpenApi {
42854
44202
  reqBodyType: "formData",
42855
44203
  bodyType: "json",
42856
44204
  });
42857
- 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
+
42858
44211
  }
42859
44212
 
42860
44213
  /**
@@ -42913,7 +44266,12 @@ export default class Client extends OpenApi {
42913
44266
  reqBodyType: "formData",
42914
44267
  bodyType: "json",
42915
44268
  });
42916
- 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
+
42917
44275
  }
42918
44276
 
42919
44277
  /**
@@ -42971,7 +44329,12 @@ export default class Client extends OpenApi {
42971
44329
  reqBodyType: "formData",
42972
44330
  bodyType: "json",
42973
44331
  });
42974
- 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
+
42975
44338
  }
42976
44339
 
42977
44340
  /**
@@ -43034,7 +44397,12 @@ export default class Client extends OpenApi {
43034
44397
  reqBodyType: "formData",
43035
44398
  bodyType: "json",
43036
44399
  });
43037
- 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
+
43038
44406
  }
43039
44407
 
43040
44408
  /**
@@ -43086,7 +44454,12 @@ export default class Client extends OpenApi {
43086
44454
  reqBodyType: "formData",
43087
44455
  bodyType: "json",
43088
44456
  });
43089
- 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
+
43090
44463
  }
43091
44464
 
43092
44465
  /**
@@ -43138,7 +44511,12 @@ export default class Client extends OpenApi {
43138
44511
  reqBodyType: "formData",
43139
44512
  bodyType: "json",
43140
44513
  });
43141
- 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
+
43142
44520
  }
43143
44521
 
43144
44522
  /**
@@ -43190,7 +44568,12 @@ export default class Client extends OpenApi {
43190
44568
  reqBodyType: "formData",
43191
44569
  bodyType: "json",
43192
44570
  });
43193
- 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
+
43194
44577
  }
43195
44578
 
43196
44579
  /**
@@ -43249,7 +44632,12 @@ export default class Client extends OpenApi {
43249
44632
  reqBodyType: "formData",
43250
44633
  bodyType: "json",
43251
44634
  });
43252
- 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
+
43253
44641
  }
43254
44642
 
43255
44643
  /**
@@ -43312,7 +44700,12 @@ export default class Client extends OpenApi {
43312
44700
  reqBodyType: "formData",
43313
44701
  bodyType: "json",
43314
44702
  });
43315
- 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
+
43316
44709
  }
43317
44710
 
43318
44711
  /**
@@ -43360,7 +44753,12 @@ export default class Client extends OpenApi {
43360
44753
  reqBodyType: "formData",
43361
44754
  bodyType: "json",
43362
44755
  });
43363
- 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
+
43364
44762
  }
43365
44763
 
43366
44764
  /**
@@ -43408,7 +44806,12 @@ export default class Client extends OpenApi {
43408
44806
  reqBodyType: "formData",
43409
44807
  bodyType: "json",
43410
44808
  });
43411
- 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
+
43412
44815
  }
43413
44816
 
43414
44817
  /**
@@ -43456,7 +44859,12 @@ export default class Client extends OpenApi {
43456
44859
  reqBodyType: "formData",
43457
44860
  bodyType: "json",
43458
44861
  });
43459
- 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
+
43460
44868
  }
43461
44869
 
43462
44870
  /**
@@ -43497,7 +44905,12 @@ export default class Client extends OpenApi {
43497
44905
  reqBodyType: "formData",
43498
44906
  bodyType: "json",
43499
44907
  });
43500
- 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
+
43501
44914
  }
43502
44915
 
43503
44916
  /**
@@ -43553,7 +44966,12 @@ export default class Client extends OpenApi {
43553
44966
  reqBodyType: "formData",
43554
44967
  bodyType: "json",
43555
44968
  });
43556
- 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
+
43557
44975
  }
43558
44976
 
43559
44977
  /**
@@ -43611,7 +45029,12 @@ export default class Client extends OpenApi {
43611
45029
  reqBodyType: "formData",
43612
45030
  bodyType: "json",
43613
45031
  });
43614
- 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
+
43615
45038
  }
43616
45039
 
43617
45040
  /**
@@ -43673,7 +45096,12 @@ export default class Client extends OpenApi {
43673
45096
  reqBodyType: "formData",
43674
45097
  bodyType: "json",
43675
45098
  });
43676
- 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
+
43677
45105
  }
43678
45106
 
43679
45107
  /**
@@ -43727,7 +45155,12 @@ export default class Client extends OpenApi {
43727
45155
  reqBodyType: "formData",
43728
45156
  bodyType: "json",
43729
45157
  });
43730
- 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
+
43731
45164
  }
43732
45165
 
43733
45166
  /**
@@ -43785,7 +45218,12 @@ export default class Client extends OpenApi {
43785
45218
  reqBodyType: "formData",
43786
45219
  bodyType: "json",
43787
45220
  });
43788
- 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
+
43789
45227
  }
43790
45228
 
43791
45229
  /**
@@ -43850,7 +45288,12 @@ export default class Client extends OpenApi {
43850
45288
  reqBodyType: "formData",
43851
45289
  bodyType: "json",
43852
45290
  });
43853
- 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
+
43854
45297
  }
43855
45298
 
43856
45299
  /**
@@ -43903,7 +45346,12 @@ export default class Client extends OpenApi {
43903
45346
  reqBodyType: "formData",
43904
45347
  bodyType: "json",
43905
45348
  });
43906
- 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
+
43907
45355
  }
43908
45356
 
43909
45357
  /**
@@ -43957,7 +45405,12 @@ export default class Client extends OpenApi {
43957
45405
  reqBodyType: "formData",
43958
45406
  bodyType: "json",
43959
45407
  });
43960
- 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
+
43961
45414
  }
43962
45415
 
43963
45416
  /**
@@ -44014,7 +45467,12 @@ export default class Client extends OpenApi {
44014
45467
  reqBodyType: "formData",
44015
45468
  bodyType: "json",
44016
45469
  });
44017
- 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
+
44018
45476
  }
44019
45477
 
44020
45478
  /**
@@ -44055,7 +45513,12 @@ export default class Client extends OpenApi {
44055
45513
  reqBodyType: "formData",
44056
45514
  bodyType: "json",
44057
45515
  });
44058
- 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
+
44059
45522
  }
44060
45523
 
44061
45524
  /**
@@ -44098,7 +45561,12 @@ export default class Client extends OpenApi {
44098
45561
  reqBodyType: "formData",
44099
45562
  bodyType: "json",
44100
45563
  });
44101
- 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
+
44102
45570
  }
44103
45571
 
44104
45572
  /**
@@ -44143,7 +45611,12 @@ export default class Client extends OpenApi {
44143
45611
  reqBodyType: "formData",
44144
45612
  bodyType: "json",
44145
45613
  });
44146
- 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
+
44147
45620
  }
44148
45621
 
44149
45622
  /**
@@ -44163,12 +45636,18 @@ export default class Client extends OpenApi {
44163
45636
  * @remarks
44164
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****`.
44165
45638
  *
44166
- * @param request - GetAggregateCompliancePackRequest
45639
+ * @param tmpReq - GetAggregateCompliancePackRequest
44167
45640
  * @param runtime - runtime options for this request RuntimeOptions
44168
45641
  * @returns GetAggregateCompliancePackResponse
44169
45642
  */
44170
- async getAggregateCompliancePackWithOptions(request: GetAggregateCompliancePackRequest, runtime: $dara.RuntimeOptions): Promise<GetAggregateCompliancePackResponse> {
44171
- 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
+
44172
45651
  let query = OpenApiUtil.query(request.toMap());
44173
45652
  let req = new $OpenApiUtil.OpenApiRequest({
44174
45653
  query: OpenApiUtil.query(query),
@@ -44184,7 +45663,12 @@ export default class Client extends OpenApi {
44184
45663
  reqBodyType: "formData",
44185
45664
  bodyType: "json",
44186
45665
  });
44187
- 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
+
44188
45672
  }
44189
45673
 
44190
45674
  /**
@@ -44229,7 +45713,12 @@ export default class Client extends OpenApi {
44229
45713
  reqBodyType: "formData",
44230
45714
  bodyType: "json",
44231
45715
  });
44232
- 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
+
44233
45722
  }
44234
45723
 
44235
45724
  /**
@@ -44278,7 +45767,12 @@ export default class Client extends OpenApi {
44278
45767
  reqBodyType: "formData",
44279
45768
  bodyType: "json",
44280
45769
  });
44281
- 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
+
44282
45776
  }
44283
45777
 
44284
45778
  /**
@@ -44327,7 +45821,12 @@ export default class Client extends OpenApi {
44327
45821
  reqBodyType: "formData",
44328
45822
  bodyType: "json",
44329
45823
  });
44330
- 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
+
44331
45830
  }
44332
45831
 
44333
45832
  /**
@@ -44386,7 +45885,12 @@ export default class Client extends OpenApi {
44386
45885
  reqBodyType: "formData",
44387
45886
  bodyType: "json",
44388
45887
  });
44389
- 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
+
44390
45894
  }
44391
45895
 
44392
45896
  /**
@@ -44430,7 +45934,12 @@ export default class Client extends OpenApi {
44430
45934
  reqBodyType: "formData",
44431
45935
  bodyType: "json",
44432
45936
  });
44433
- 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
+
44434
45943
  }
44435
45944
 
44436
45945
  /**
@@ -44478,7 +45987,12 @@ export default class Client extends OpenApi {
44478
45987
  reqBodyType: "formData",
44479
45988
  bodyType: "json",
44480
45989
  });
44481
- 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
+
44482
45996
  }
44483
45997
 
44484
45998
  /**
@@ -44531,7 +46045,12 @@ export default class Client extends OpenApi {
44531
46045
  reqBodyType: "formData",
44532
46046
  bodyType: "json",
44533
46047
  });
44534
- 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
+
44535
46054
  }
44536
46055
 
44537
46056
  /**
@@ -44604,7 +46123,12 @@ export default class Client extends OpenApi {
44604
46123
  reqBodyType: "formData",
44605
46124
  bodyType: "json",
44606
46125
  });
44607
- 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
+
44608
46132
  }
44609
46133
 
44610
46134
  /**
@@ -44668,7 +46192,12 @@ export default class Client extends OpenApi {
44668
46192
  reqBodyType: "formData",
44669
46193
  bodyType: "json",
44670
46194
  });
44671
- 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
+
44672
46201
  }
44673
46202
 
44674
46203
  /**
@@ -44712,7 +46241,12 @@ export default class Client extends OpenApi {
44712
46241
  reqBodyType: "formData",
44713
46242
  bodyType: "json",
44714
46243
  });
44715
- 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
+
44716
46250
  }
44717
46251
 
44718
46252
  /**
@@ -44761,7 +46295,12 @@ export default class Client extends OpenApi {
44761
46295
  reqBodyType: "formData",
44762
46296
  bodyType: "json",
44763
46297
  });
44764
- 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
+
44765
46304
  }
44766
46305
 
44767
46306
  /**
@@ -44807,7 +46346,12 @@ export default class Client extends OpenApi {
44807
46346
  reqBodyType: "formData",
44808
46347
  bodyType: "json",
44809
46348
  });
44810
- 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
+
44811
46355
  }
44812
46356
 
44813
46357
  /**
@@ -44848,7 +46392,12 @@ export default class Client extends OpenApi {
44848
46392
  reqBodyType: "formData",
44849
46393
  bodyType: "json",
44850
46394
  });
44851
- 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
+
44852
46401
  }
44853
46402
 
44854
46403
  /**
@@ -44892,7 +46441,12 @@ export default class Client extends OpenApi {
44892
46441
  reqBodyType: "formData",
44893
46442
  bodyType: "json",
44894
46443
  });
44895
- 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
+
44896
46450
  }
44897
46451
 
44898
46452
  /**
@@ -44956,7 +46510,12 @@ export default class Client extends OpenApi {
44956
46510
  reqBodyType: "formData",
44957
46511
  bodyType: "json",
44958
46512
  });
44959
- 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
+
44960
46519
  }
44961
46520
 
44962
46521
  /**
@@ -45020,7 +46579,12 @@ export default class Client extends OpenApi {
45020
46579
  reqBodyType: "formData",
45021
46580
  bodyType: "json",
45022
46581
  });
45023
- 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
+
45024
46588
  }
45025
46589
 
45026
46590
  /**
@@ -45071,7 +46635,12 @@ export default class Client extends OpenApi {
45071
46635
  reqBodyType: "formData",
45072
46636
  bodyType: "json",
45073
46637
  });
45074
- 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
+
45075
46644
  }
45076
46645
 
45077
46646
  /**
@@ -45097,17 +46666,27 @@ export default class Client extends OpenApi {
45097
46666
  * @remarks
45098
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.
45099
46668
  *
45100
- * @param request - GetAggregatorRequest
46669
+ * @param tmpReq - GetAggregatorRequest
45101
46670
  * @param runtime - runtime options for this request RuntimeOptions
45102
46671
  * @returns GetAggregatorResponse
45103
46672
  */
45104
- async getAggregatorWithOptions(request: GetAggregatorRequest, runtime: $dara.RuntimeOptions): Promise<GetAggregatorResponse> {
45105
- 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
+
45106
46681
  let query = { };
45107
46682
  if (!$dara.isNull(request.aggregatorId)) {
45108
46683
  query["AggregatorId"] = request.aggregatorId;
45109
46684
  }
45110
46685
 
46686
+ if (!$dara.isNull(request.tagShrink)) {
46687
+ query["Tag"] = request.tagShrink;
46688
+ }
46689
+
45111
46690
  let req = new $OpenApiUtil.OpenApiRequest({
45112
46691
  query: OpenApiUtil.query(query),
45113
46692
  });
@@ -45122,7 +46701,12 @@ export default class Client extends OpenApi {
45122
46701
  reqBodyType: "formData",
45123
46702
  bodyType: "json",
45124
46703
  });
45125
- 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
+
45126
46710
  }
45127
46711
 
45128
46712
  /**
@@ -45145,12 +46729,18 @@ export default class Client extends OpenApi {
45145
46729
  * @remarks
45146
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.
45147
46731
  *
45148
- * @param request - GetCompliancePackRequest
46732
+ * @param tmpReq - GetCompliancePackRequest
45149
46733
  * @param runtime - runtime options for this request RuntimeOptions
45150
46734
  * @returns GetCompliancePackResponse
45151
46735
  */
45152
- async getCompliancePackWithOptions(request: GetCompliancePackRequest, runtime: $dara.RuntimeOptions): Promise<GetCompliancePackResponse> {
45153
- 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
+
45154
46744
  let query = OpenApiUtil.query(request.toMap());
45155
46745
  let req = new $OpenApiUtil.OpenApiRequest({
45156
46746
  query: OpenApiUtil.query(query),
@@ -45166,7 +46756,12 @@ export default class Client extends OpenApi {
45166
46756
  reqBodyType: "formData",
45167
46757
  bodyType: "json",
45168
46758
  });
45169
- 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
+
45170
46765
  }
45171
46766
 
45172
46767
  /**
@@ -45211,7 +46806,12 @@ export default class Client extends OpenApi {
45211
46806
  reqBodyType: "formData",
45212
46807
  bodyType: "json",
45213
46808
  });
45214
- 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
+
45215
46815
  }
45216
46816
 
45217
46817
  /**
@@ -45252,7 +46852,12 @@ export default class Client extends OpenApi {
45252
46852
  reqBodyType: "formData",
45253
46853
  bodyType: "json",
45254
46854
  });
45255
- 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
+
45256
46861
  }
45257
46862
 
45258
46863
  /**
@@ -45295,7 +46900,12 @@ export default class Client extends OpenApi {
45295
46900
  reqBodyType: "formData",
45296
46901
  bodyType: "json",
45297
46902
  });
45298
- 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
+
45299
46909
  }
45300
46910
 
45301
46911
  /**
@@ -45350,7 +46960,12 @@ export default class Client extends OpenApi {
45350
46960
  reqBodyType: "formData",
45351
46961
  bodyType: "json",
45352
46962
  });
45353
- 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
+
45354
46969
  }
45355
46970
 
45356
46971
  /**
@@ -45394,7 +47009,12 @@ export default class Client extends OpenApi {
45394
47009
  reqBodyType: "formData",
45395
47010
  bodyType: "json",
45396
47011
  });
45397
- 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
+
45398
47018
  }
45399
47019
 
45400
47020
  /**
@@ -45434,7 +47054,12 @@ export default class Client extends OpenApi {
45434
47054
  reqBodyType: "formData",
45435
47055
  bodyType: "json",
45436
47056
  });
45437
- 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
+
45438
47063
  }
45439
47064
 
45440
47065
  /**
@@ -45481,7 +47106,12 @@ export default class Client extends OpenApi {
45481
47106
  reqBodyType: "formData",
45482
47107
  bodyType: "json",
45483
47108
  });
45484
- 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
+
45485
47115
  }
45486
47116
 
45487
47117
  /**
@@ -45522,7 +47152,12 @@ export default class Client extends OpenApi {
45522
47152
  reqBodyType: "formData",
45523
47153
  bodyType: "json",
45524
47154
  });
45525
- 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
+
45526
47161
  }
45527
47162
 
45528
47163
  /**
@@ -45580,7 +47215,12 @@ export default class Client extends OpenApi {
45580
47215
  reqBodyType: "formData",
45581
47216
  bodyType: "json",
45582
47217
  });
45583
- 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
+
45584
47224
  }
45585
47225
 
45586
47226
  /**
@@ -45628,7 +47268,12 @@ export default class Client extends OpenApi {
45628
47268
  reqBodyType: "formData",
45629
47269
  bodyType: "json",
45630
47270
  });
45631
- 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
+
45632
47277
  }
45633
47278
 
45634
47279
  /**
@@ -45676,7 +47321,12 @@ export default class Client extends OpenApi {
45676
47321
  reqBodyType: "formData",
45677
47322
  bodyType: "json",
45678
47323
  });
45679
- 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
+
45680
47330
  }
45681
47331
 
45682
47332
  /**
@@ -45721,7 +47371,12 @@ export default class Client extends OpenApi {
45721
47371
  reqBodyType: "formData",
45722
47372
  bodyType: "json",
45723
47373
  });
45724
- 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
+
45725
47380
  }
45726
47381
 
45727
47382
  /**
@@ -45766,7 +47421,12 @@ export default class Client extends OpenApi {
45766
47421
  reqBodyType: "formData",
45767
47422
  bodyType: "json",
45768
47423
  });
45769
- 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
+
45770
47430
  }
45771
47431
 
45772
47432
  /**
@@ -45814,7 +47474,12 @@ export default class Client extends OpenApi {
45814
47474
  reqBodyType: "formData",
45815
47475
  bodyType: "json",
45816
47476
  });
45817
- 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
+
45818
47483
  }
45819
47484
 
45820
47485
  /**
@@ -45858,7 +47523,12 @@ export default class Client extends OpenApi {
45858
47523
  reqBodyType: "formData",
45859
47524
  bodyType: "json",
45860
47525
  });
45861
- 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
+
45862
47532
  }
45863
47533
 
45864
47534
  /**
@@ -45902,7 +47572,12 @@ export default class Client extends OpenApi {
45902
47572
  reqBodyType: "formData",
45903
47573
  bodyType: "json",
45904
47574
  });
45905
- 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
+
45906
47581
  }
45907
47582
 
45908
47583
  /**
@@ -45947,7 +47622,12 @@ export default class Client extends OpenApi {
45947
47622
  reqBodyType: "formData",
45948
47623
  bodyType: "json",
45949
47624
  });
45950
- 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
+
45951
47631
  }
45952
47632
 
45953
47633
  /**
@@ -45989,7 +47669,12 @@ export default class Client extends OpenApi {
45989
47669
  reqBodyType: "formData",
45990
47670
  bodyType: "json",
45991
47671
  });
45992
- 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
+
45993
47678
  }
45994
47679
 
45995
47680
  /**
@@ -46031,7 +47716,12 @@ export default class Client extends OpenApi {
46031
47716
  reqBodyType: "formData",
46032
47717
  bodyType: "json",
46033
47718
  });
46034
- 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
+
46035
47725
  }
46036
47726
 
46037
47727
  /**
@@ -46076,7 +47766,12 @@ export default class Client extends OpenApi {
46076
47766
  reqBodyType: "formData",
46077
47767
  bodyType: "json",
46078
47768
  });
46079
- 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
+
46080
47775
  }
46081
47776
 
46082
47777
  /**
@@ -46119,7 +47814,12 @@ export default class Client extends OpenApi {
46119
47814
  reqBodyType: "formData",
46120
47815
  bodyType: "json",
46121
47816
  });
46122
- 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
+
46123
47823
  }
46124
47824
 
46125
47825
  /**
@@ -46168,7 +47868,12 @@ export default class Client extends OpenApi {
46168
47868
  reqBodyType: "formData",
46169
47869
  bodyType: "json",
46170
47870
  });
46171
- 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
+
46172
47877
  }
46173
47878
 
46174
47879
  /**
@@ -46229,7 +47934,80 @@ export default class Client extends OpenApi {
46229
47934
  body: OpenApiUtil.parseToMap(body),
46230
47935
  });
46231
47936
  let params = new $OpenApiUtil.Params({
46232
- action: "IgnoreAggregateEvaluationResults",
47937
+ action: "IgnoreAggregateEvaluationResults",
47938
+ version: "2020-09-07",
47939
+ protocol: "HTTPS",
47940
+ pathname: "/",
47941
+ method: "POST",
47942
+ authType: "AK",
47943
+ style: "RPC",
47944
+ reqBodyType: "formData",
47945
+ bodyType: "json",
47946
+ });
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
+
47953
+ }
47954
+
47955
+ /**
47956
+ * Ignores the evaluation results of some resources in an account group based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.
47957
+ *
47958
+ * @remarks
47959
+ * After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
47960
+ * This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
47961
+ *
47962
+ * @param request - IgnoreAggregateEvaluationResultsRequest
47963
+ * @returns IgnoreAggregateEvaluationResultsResponse
47964
+ */
47965
+ async ignoreAggregateEvaluationResults(request: IgnoreAggregateEvaluationResultsRequest): Promise<IgnoreAggregateEvaluationResultsResponse> {
47966
+ let runtime = new $dara.RuntimeOptions({ });
47967
+ return await this.ignoreAggregateEvaluationResultsWithOptions(request, runtime);
47968
+ }
47969
+
47970
+ /**
47971
+ * Ignores the evaluation results of some resources based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.
47972
+ *
47973
+ * @remarks
47974
+ * After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
47975
+ * This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` resource that is evaluated as incompliant by using the `cr-7e72626622af0051****` rule in the `100931896542****` account. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
47976
+ *
47977
+ * @param tmpReq - IgnoreEvaluationResultsRequest
47978
+ * @param runtime - runtime options for this request RuntimeOptions
47979
+ * @returns IgnoreEvaluationResultsResponse
47980
+ */
47981
+ async ignoreEvaluationResultsWithOptions(tmpReq: IgnoreEvaluationResultsRequest, runtime: $dara.RuntimeOptions): Promise<IgnoreEvaluationResultsResponse> {
47982
+ tmpReq.validate();
47983
+ let request = new IgnoreEvaluationResultsShrinkRequest({ });
47984
+ OpenApiUtil.convert(tmpReq, request);
47985
+ if (!$dara.isNull(tmpReq.resources)) {
47986
+ request.resourcesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resources, "Resources", "json");
47987
+ }
47988
+
47989
+ let body : {[key: string ]: any} = { };
47990
+ if (!$dara.isNull(request.configRuleId)) {
47991
+ body["ConfigRuleId"] = request.configRuleId;
47992
+ }
47993
+
47994
+ if (!$dara.isNull(request.ignoreDate)) {
47995
+ body["IgnoreDate"] = request.ignoreDate;
47996
+ }
47997
+
47998
+ if (!$dara.isNull(request.reason)) {
47999
+ body["Reason"] = request.reason;
48000
+ }
48001
+
48002
+ if (!$dara.isNull(request.resourcesShrink)) {
48003
+ body["Resources"] = request.resourcesShrink;
48004
+ }
48005
+
48006
+ let req = new $OpenApiUtil.OpenApiRequest({
48007
+ body: OpenApiUtil.parseToMap(body),
48008
+ });
48009
+ let params = new $OpenApiUtil.Params({
48010
+ action: "IgnoreEvaluationResults",
46233
48011
  version: "2020-09-07",
46234
48012
  protocol: "HTTPS",
46235
48013
  pathname: "/",
@@ -46239,75 +48017,12 @@ export default class Client extends OpenApi {
46239
48017
  reqBodyType: "formData",
46240
48018
  bodyType: "json",
46241
48019
  });
46242
- return $dara.cast<IgnoreAggregateEvaluationResultsResponse>(await this.callApi(params, req, runtime), new IgnoreAggregateEvaluationResultsResponse({}));
46243
- }
46244
-
46245
- /**
46246
- * Ignores the evaluation results of some resources in an account group based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.
46247
- *
46248
- * @remarks
46249
- * After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
46250
- * This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
46251
- *
46252
- * @param request - IgnoreAggregateEvaluationResultsRequest
46253
- * @returns IgnoreAggregateEvaluationResultsResponse
46254
- */
46255
- async ignoreAggregateEvaluationResults(request: IgnoreAggregateEvaluationResultsRequest): Promise<IgnoreAggregateEvaluationResultsResponse> {
46256
- let runtime = new $dara.RuntimeOptions({ });
46257
- return await this.ignoreAggregateEvaluationResultsWithOptions(request, runtime);
46258
- }
46259
-
46260
- /**
46261
- * Ignores the evaluation results of some resources based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.
46262
- *
46263
- * @remarks
46264
- * After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
46265
- * This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` resource that is evaluated as incompliant by using the `cr-7e72626622af0051****` rule in the `100931896542****` account. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
46266
- *
46267
- * @param tmpReq - IgnoreEvaluationResultsRequest
46268
- * @param runtime - runtime options for this request RuntimeOptions
46269
- * @returns IgnoreEvaluationResultsResponse
46270
- */
46271
- async ignoreEvaluationResultsWithOptions(tmpReq: IgnoreEvaluationResultsRequest, runtime: $dara.RuntimeOptions): Promise<IgnoreEvaluationResultsResponse> {
46272
- tmpReq.validate();
46273
- let request = new IgnoreEvaluationResultsShrinkRequest({ });
46274
- OpenApiUtil.convert(tmpReq, request);
46275
- if (!$dara.isNull(tmpReq.resources)) {
46276
- request.resourcesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resources, "Resources", "json");
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({}));
46277
48024
  }
46278
48025
 
46279
- let body : {[key: string ]: any} = { };
46280
- if (!$dara.isNull(request.configRuleId)) {
46281
- body["ConfigRuleId"] = request.configRuleId;
46282
- }
46283
-
46284
- if (!$dara.isNull(request.ignoreDate)) {
46285
- body["IgnoreDate"] = request.ignoreDate;
46286
- }
46287
-
46288
- if (!$dara.isNull(request.reason)) {
46289
- body["Reason"] = request.reason;
46290
- }
46291
-
46292
- if (!$dara.isNull(request.resourcesShrink)) {
46293
- body["Resources"] = request.resourcesShrink;
46294
- }
46295
-
46296
- let req = new $OpenApiUtil.OpenApiRequest({
46297
- body: OpenApiUtil.parseToMap(body),
46298
- });
46299
- let params = new $OpenApiUtil.Params({
46300
- action: "IgnoreEvaluationResults",
46301
- version: "2020-09-07",
46302
- protocol: "HTTPS",
46303
- pathname: "/",
46304
- method: "POST",
46305
- authType: "AK",
46306
- style: "RPC",
46307
- reqBodyType: "formData",
46308
- bodyType: "json",
46309
- });
46310
- return $dara.cast<IgnoreEvaluationResultsResponse>(await this.callApi(params, req, runtime), new IgnoreEvaluationResultsResponse({}));
46311
48026
  }
46312
48027
 
46313
48028
  /**
@@ -46331,12 +48046,18 @@ export default class Client extends OpenApi {
46331
48046
  * @remarks
46332
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****`.
46333
48048
  *
46334
- * @param request - ListAggregateCompliancePacksRequest
48049
+ * @param tmpReq - ListAggregateCompliancePacksRequest
46335
48050
  * @param runtime - runtime options for this request RuntimeOptions
46336
48051
  * @returns ListAggregateCompliancePacksResponse
46337
48052
  */
46338
- async listAggregateCompliancePacksWithOptions(request: ListAggregateCompliancePacksRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregateCompliancePacksResponse> {
46339
- 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
+
46340
48061
  let query = { };
46341
48062
  if (!$dara.isNull(request.aggregatorId)) {
46342
48063
  query["AggregatorId"] = request.aggregatorId;
@@ -46354,6 +48075,10 @@ export default class Client extends OpenApi {
46354
48075
  query["Status"] = request.status;
46355
48076
  }
46356
48077
 
48078
+ if (!$dara.isNull(request.tagShrink)) {
48079
+ query["Tag"] = request.tagShrink;
48080
+ }
48081
+
46357
48082
  let req = new $OpenApiUtil.OpenApiRequest({
46358
48083
  query: OpenApiUtil.query(query),
46359
48084
  });
@@ -46368,7 +48093,12 @@ export default class Client extends OpenApi {
46368
48093
  reqBodyType: "formData",
46369
48094
  bodyType: "json",
46370
48095
  });
46371
- 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
+
46372
48102
  }
46373
48103
 
46374
48104
  /**
@@ -46417,7 +48147,12 @@ export default class Client extends OpenApi {
46417
48147
  reqBodyType: "formData",
46418
48148
  bodyType: "json",
46419
48149
  });
46420
- 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
+
46421
48156
  }
46422
48157
 
46423
48158
  /**
@@ -46502,7 +48237,12 @@ export default class Client extends OpenApi {
46502
48237
  reqBodyType: "formData",
46503
48238
  bodyType: "json",
46504
48239
  });
46505
- 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
+
46506
48246
  }
46507
48247
 
46508
48248
  /**
@@ -46550,7 +48290,12 @@ export default class Client extends OpenApi {
46550
48290
  reqBodyType: "formData",
46551
48291
  bodyType: "json",
46552
48292
  });
46553
- 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
+
46554
48299
  }
46555
48300
 
46556
48301
  /**
@@ -46573,12 +48318,18 @@ export default class Client extends OpenApi {
46573
48318
  * @remarks
46574
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`.
46575
48320
  *
46576
- * @param request - ListAggregateConfigRulesRequest
48321
+ * @param tmpReq - ListAggregateConfigRulesRequest
46577
48322
  * @param runtime - runtime options for this request RuntimeOptions
46578
48323
  * @returns ListAggregateConfigRulesResponse
46579
48324
  */
46580
- async listAggregateConfigRulesWithOptions(request: ListAggregateConfigRulesRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregateConfigRulesResponse> {
46581
- 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
+
46582
48333
  let query = { };
46583
48334
  if (!$dara.isNull(request.aggregatorId)) {
46584
48335
  query["AggregatorId"] = request.aggregatorId;
@@ -46620,6 +48371,10 @@ export default class Client extends OpenApi {
46620
48371
  query["RiskLevel"] = request.riskLevel;
46621
48372
  }
46622
48373
 
48374
+ if (!$dara.isNull(request.tagShrink)) {
48375
+ query["Tag"] = request.tagShrink;
48376
+ }
48377
+
46623
48378
  let req = new $OpenApiUtil.OpenApiRequest({
46624
48379
  query: OpenApiUtil.query(query),
46625
48380
  });
@@ -46634,7 +48389,12 @@ export default class Client extends OpenApi {
46634
48389
  reqBodyType: "formData",
46635
48390
  bodyType: "json",
46636
48391
  });
46637
- 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
+
46638
48398
  }
46639
48399
 
46640
48400
  /**
@@ -46726,7 +48486,12 @@ export default class Client extends OpenApi {
46726
48486
  reqBodyType: "formData",
46727
48487
  bodyType: "json",
46728
48488
  });
46729
- 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
+
46730
48495
  }
46731
48496
 
46732
48497
  /**
@@ -46794,7 +48559,12 @@ export default class Client extends OpenApi {
46794
48559
  reqBodyType: "formData",
46795
48560
  bodyType: "json",
46796
48561
  });
46797
- 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
+
46798
48568
  }
46799
48569
 
46800
48570
  /**
@@ -46846,7 +48616,12 @@ export default class Client extends OpenApi {
46846
48616
  reqBodyType: "formData",
46847
48617
  bodyType: "json",
46848
48618
  });
46849
- 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
+
46850
48625
  }
46851
48626
 
46852
48627
  /**
@@ -46918,7 +48693,12 @@ export default class Client extends OpenApi {
46918
48693
  reqBodyType: "formData",
46919
48694
  bodyType: "json",
46920
48695
  });
46921
- 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
+
46922
48702
  }
46923
48703
 
46924
48704
  /**
@@ -47002,7 +48782,12 @@ export default class Client extends OpenApi {
47002
48782
  reqBodyType: "formData",
47003
48783
  bodyType: "json",
47004
48784
  });
47005
- 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
+
47006
48791
  }
47007
48792
 
47008
48793
  /**
@@ -47058,7 +48843,12 @@ export default class Client extends OpenApi {
47058
48843
  reqBodyType: "formData",
47059
48844
  bodyType: "json",
47060
48845
  });
47061
- 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
+
47062
48852
  }
47063
48853
 
47064
48854
  /**
@@ -47085,12 +48875,18 @@ export default class Client extends OpenApi {
47085
48875
  * @remarks
47086
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.
47087
48877
  *
47088
- * @param request - ListAggregatorsRequest
48878
+ * @param tmpReq - ListAggregatorsRequest
47089
48879
  * @param runtime - runtime options for this request RuntimeOptions
47090
48880
  * @returns ListAggregatorsResponse
47091
48881
  */
47092
- async listAggregatorsWithOptions(request: ListAggregatorsRequest, runtime: $dara.RuntimeOptions): Promise<ListAggregatorsResponse> {
47093
- 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
+
47094
48890
  let query = { };
47095
48891
  if (!$dara.isNull(request.maxResults)) {
47096
48892
  query["MaxResults"] = request.maxResults;
@@ -47100,6 +48896,10 @@ export default class Client extends OpenApi {
47100
48896
  query["NextToken"] = request.nextToken;
47101
48897
  }
47102
48898
 
48899
+ if (!$dara.isNull(request.tagShrink)) {
48900
+ query["Tag"] = request.tagShrink;
48901
+ }
48902
+
47103
48903
  let req = new $OpenApiUtil.OpenApiRequest({
47104
48904
  query: OpenApiUtil.query(query),
47105
48905
  });
@@ -47114,7 +48914,12 @@ export default class Client extends OpenApi {
47114
48914
  reqBodyType: "formData",
47115
48915
  bodyType: "json",
47116
48916
  });
47117
- 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
+
47118
48923
  }
47119
48924
 
47120
48925
  /**
@@ -47174,7 +48979,12 @@ export default class Client extends OpenApi {
47174
48979
  reqBodyType: "formData",
47175
48980
  bodyType: "json",
47176
48981
  });
47177
- 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
+
47178
48988
  }
47179
48989
 
47180
48990
  /**
@@ -47197,12 +49007,18 @@ export default class Client extends OpenApi {
47197
49007
  * @remarks
47198
49008
  * This topic provides an example of how to query compliance packages. The return result shows the details of the `cp-fdc8626622af00f9****` compliance package.
47199
49009
  *
47200
- * @param request - ListCompliancePacksRequest
49010
+ * @param tmpReq - ListCompliancePacksRequest
47201
49011
  * @param runtime - runtime options for this request RuntimeOptions
47202
49012
  * @returns ListCompliancePacksResponse
47203
49013
  */
47204
- async listCompliancePacksWithOptions(request: ListCompliancePacksRequest, runtime: $dara.RuntimeOptions): Promise<ListCompliancePacksResponse> {
47205
- 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
+
47206
49022
  let query = { };
47207
49023
  if (!$dara.isNull(request.pageNumber)) {
47208
49024
  query["PageNumber"] = request.pageNumber;
@@ -47216,6 +49032,10 @@ export default class Client extends OpenApi {
47216
49032
  query["Status"] = request.status;
47217
49033
  }
47218
49034
 
49035
+ if (!$dara.isNull(request.tagShrink)) {
49036
+ query["Tag"] = request.tagShrink;
49037
+ }
49038
+
47219
49039
  let req = new $OpenApiUtil.OpenApiRequest({
47220
49040
  query: OpenApiUtil.query(query),
47221
49041
  });
@@ -47230,7 +49050,12 @@ export default class Client extends OpenApi {
47230
49050
  reqBodyType: "formData",
47231
49051
  bodyType: "json",
47232
49052
  });
47233
- 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
+
47234
49059
  }
47235
49060
 
47236
49061
  /**
@@ -47275,7 +49100,12 @@ export default class Client extends OpenApi {
47275
49100
  reqBodyType: "formData",
47276
49101
  bodyType: "json",
47277
49102
  });
47278
- 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
+
47279
49109
  }
47280
49110
 
47281
49111
  /**
@@ -47316,7 +49146,12 @@ export default class Client extends OpenApi {
47316
49146
  reqBodyType: "formData",
47317
49147
  bodyType: "json",
47318
49148
  });
47319
- 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
+
47320
49155
  }
47321
49156
 
47322
49157
  /**
@@ -47353,7 +49188,12 @@ export default class Client extends OpenApi {
47353
49188
  reqBodyType: "formData",
47354
49189
  bodyType: "json",
47355
49190
  });
47356
- 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
+
47357
49197
  }
47358
49198
 
47359
49199
  /**
@@ -47438,7 +49278,12 @@ export default class Client extends OpenApi {
47438
49278
  reqBodyType: "formData",
47439
49279
  bodyType: "json",
47440
49280
  });
47441
- 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
+
47442
49287
  }
47443
49288
 
47444
49289
  /**
@@ -47518,7 +49363,12 @@ export default class Client extends OpenApi {
47518
49363
  reqBodyType: "formData",
47519
49364
  bodyType: "json",
47520
49365
  });
47521
- 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
+
47522
49372
  }
47523
49373
 
47524
49374
  /**
@@ -47558,7 +49408,12 @@ export default class Client extends OpenApi {
47558
49408
  reqBodyType: "formData",
47559
49409
  bodyType: "json",
47560
49410
  });
47561
- 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
+
47562
49417
  }
47563
49418
 
47564
49419
  /**
@@ -47623,7 +49478,12 @@ export default class Client extends OpenApi {
47623
49478
  reqBodyType: "formData",
47624
49479
  bodyType: "json",
47625
49480
  });
47626
- 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
+
47627
49487
  }
47628
49488
 
47629
49489
  /**
@@ -47689,7 +49549,12 @@ export default class Client extends OpenApi {
47689
49549
  reqBodyType: "formData",
47690
49550
  bodyType: "json",
47691
49551
  });
47692
- 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
+
47693
49558
  }
47694
49559
 
47695
49560
  /**
@@ -47750,7 +49615,12 @@ export default class Client extends OpenApi {
47750
49615
  reqBodyType: "formData",
47751
49616
  bodyType: "json",
47752
49617
  });
47753
- 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
+
47754
49624
  }
47755
49625
 
47756
49626
  /**
@@ -47810,7 +49680,12 @@ export default class Client extends OpenApi {
47810
49680
  reqBodyType: "formData",
47811
49681
  bodyType: "json",
47812
49682
  });
47813
- 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
+
47814
49689
  }
47815
49690
 
47816
49691
  /**
@@ -47866,7 +49741,12 @@ export default class Client extends OpenApi {
47866
49741
  reqBodyType: "formData",
47867
49742
  bodyType: "json",
47868
49743
  });
47869
- 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
+
47870
49750
  }
47871
49751
 
47872
49752
  /**
@@ -47934,7 +49814,12 @@ export default class Client extends OpenApi {
47934
49814
  reqBodyType: "formData",
47935
49815
  bodyType: "json",
47936
49816
  });
47937
- 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
+
47938
49823
  }
47939
49824
 
47940
49825
  /**
@@ -48011,7 +49896,12 @@ export default class Client extends OpenApi {
48011
49896
  reqBodyType: "formData",
48012
49897
  bodyType: "json",
48013
49898
  });
48014
- 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
+
48015
49905
  }
48016
49906
 
48017
49907
  /**
@@ -48064,7 +49954,12 @@ export default class Client extends OpenApi {
48064
49954
  reqBodyType: "formData",
48065
49955
  bodyType: "json",
48066
49956
  });
48067
- 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
+
48068
49963
  }
48069
49964
 
48070
49965
  /**
@@ -48120,7 +50015,12 @@ export default class Client extends OpenApi {
48120
50015
  reqBodyType: "formData",
48121
50016
  bodyType: "json",
48122
50017
  });
48123
- 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
+
48124
50024
  }
48125
50025
 
48126
50026
  /**
@@ -48187,7 +50087,12 @@ export default class Client extends OpenApi {
48187
50087
  reqBodyType: "formData",
48188
50088
  bodyType: "json",
48189
50089
  });
48190
- 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
+
48191
50096
  }
48192
50097
 
48193
50098
  /**
@@ -48240,7 +50145,12 @@ export default class Client extends OpenApi {
48240
50145
  reqBodyType: "formData",
48241
50146
  bodyType: "json",
48242
50147
  });
48243
- 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
+
48244
50154
  }
48245
50155
 
48246
50156
  /**
@@ -48305,7 +50215,12 @@ export default class Client extends OpenApi {
48305
50215
  reqBodyType: "formData",
48306
50216
  bodyType: "json",
48307
50217
  });
48308
- 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
+
48309
50224
  }
48310
50225
 
48311
50226
  /**
@@ -48369,7 +50284,12 @@ export default class Client extends OpenApi {
48369
50284
  reqBodyType: "formData",
48370
50285
  bodyType: "json",
48371
50286
  });
48372
- 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
+
48373
50293
  }
48374
50294
 
48375
50295
  /**
@@ -48433,7 +50353,12 @@ export default class Client extends OpenApi {
48433
50353
  reqBodyType: "formData",
48434
50354
  bodyType: "json",
48435
50355
  });
48436
- 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
+
48437
50362
  }
48438
50363
 
48439
50364
  /**
@@ -48490,7 +50415,12 @@ export default class Client extends OpenApi {
48490
50415
  reqBodyType: "formData",
48491
50416
  bodyType: "json",
48492
50417
  });
48493
- 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
+
48494
50424
  }
48495
50425
 
48496
50426
  /**
@@ -48546,7 +50476,12 @@ export default class Client extends OpenApi {
48546
50476
  reqBodyType: "formData",
48547
50477
  bodyType: "json",
48548
50478
  });
48549
- 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
+
48550
50485
  }
48551
50486
 
48552
50487
  /**
@@ -48586,7 +50521,12 @@ export default class Client extends OpenApi {
48586
50521
  reqBodyType: "formData",
48587
50522
  bodyType: "json",
48588
50523
  });
48589
- 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
+
48590
50530
  }
48591
50531
 
48592
50532
  /**
@@ -48632,7 +50572,12 @@ export default class Client extends OpenApi {
48632
50572
  reqBodyType: "formData",
48633
50573
  bodyType: "json",
48634
50574
  });
48635
- 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
+
48636
50581
  }
48637
50582
 
48638
50583
  /**
@@ -48672,7 +50617,12 @@ export default class Client extends OpenApi {
48672
50617
  reqBodyType: "formData",
48673
50618
  bodyType: "json",
48674
50619
  });
48675
- 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
+
48676
50626
  }
48677
50627
 
48678
50628
  /**
@@ -48733,7 +50683,12 @@ export default class Client extends OpenApi {
48733
50683
  reqBodyType: "formData",
48734
50684
  bodyType: "json",
48735
50685
  });
48736
- 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
+
48737
50692
  }
48738
50693
 
48739
50694
  /**
@@ -48791,7 +50746,12 @@ export default class Client extends OpenApi {
48791
50746
  reqBodyType: "formData",
48792
50747
  bodyType: "json",
48793
50748
  });
48794
- 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
+
48795
50755
  }
48796
50756
 
48797
50757
  /**
@@ -48823,6 +50783,15 @@ export default class Client extends OpenApi {
48823
50783
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
48824
50784
  }
48825
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
+
48826
50795
  let body : {[key: string ]: any} = { };
48827
50796
  if (!$dara.isNull(request.aggregatorId)) {
48828
50797
  body["AggregatorId"] = request.aggregatorId;
@@ -48898,6 +50867,7 @@ export default class Client extends OpenApi {
48898
50867
  ...OpenApiUtil.query(bodyFlat),
48899
50868
  };
48900
50869
  let req = new $OpenApiUtil.OpenApiRequest({
50870
+ query: OpenApiUtil.query(query),
48901
50871
  body: OpenApiUtil.parseToMap(body),
48902
50872
  });
48903
50873
  let params = new $OpenApiUtil.Params({
@@ -48911,7 +50881,12 @@ export default class Client extends OpenApi {
48911
50881
  reqBodyType: "formData",
48912
50882
  bodyType: "json",
48913
50883
  });
48914
- 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
+
48915
50890
  }
48916
50891
 
48917
50892
  /**
@@ -49011,7 +50986,12 @@ export default class Client extends OpenApi {
49011
50986
  reqBodyType: "formData",
49012
50987
  bodyType: "json",
49013
50988
  });
49014
- 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
+
49015
50995
  }
49016
50996
 
49017
50997
  /**
@@ -49050,6 +51030,15 @@ export default class Client extends OpenApi {
49050
51030
  request.resourceTypesScopeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceTypesScope, "ResourceTypesScope", "simple");
49051
51031
  }
49052
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
+
49053
51042
  let body : {[key: string ]: any} = { };
49054
51043
  if (!$dara.isNull(request.accountIdsScope)) {
49055
51044
  body["AccountIdsScope"] = request.accountIdsScope;
@@ -49157,6 +51146,7 @@ export default class Client extends OpenApi {
49157
51146
  ...OpenApiUtil.query(bodyFlat),
49158
51147
  };
49159
51148
  let req = new $OpenApiUtil.OpenApiRequest({
51149
+ query: OpenApiUtil.query(query),
49160
51150
  body: OpenApiUtil.parseToMap(body),
49161
51151
  });
49162
51152
  let params = new $OpenApiUtil.Params({
@@ -49170,7 +51160,12 @@ export default class Client extends OpenApi {
49170
51160
  reqBodyType: "formData",
49171
51161
  bodyType: "json",
49172
51162
  });
49173
- 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
+
49174
51169
  }
49175
51170
 
49176
51171
  /**
@@ -49242,7 +51237,12 @@ export default class Client extends OpenApi {
49242
51237
  reqBodyType: "formData",
49243
51238
  bodyType: "json",
49244
51239
  });
49245
- 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
+
49246
51246
  }
49247
51247
 
49248
51248
  /**
@@ -49277,6 +51277,15 @@ export default class Client extends OpenApi {
49277
51277
  request.aggregatorAccountsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.aggregatorAccounts, "AggregatorAccounts", "json");
49278
51278
  }
49279
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
+
49280
51289
  let body : {[key: string ]: any} = { };
49281
51290
  if (!$dara.isNull(request.aggregatorAccountsShrink)) {
49282
51291
  body["AggregatorAccounts"] = request.aggregatorAccountsShrink;
@@ -49299,6 +51308,7 @@ export default class Client extends OpenApi {
49299
51308
  }
49300
51309
 
49301
51310
  let req = new $OpenApiUtil.OpenApiRequest({
51311
+ query: OpenApiUtil.query(query),
49302
51312
  body: OpenApiUtil.parseToMap(body),
49303
51313
  });
49304
51314
  let params = new $OpenApiUtil.Params({
@@ -49312,7 +51322,12 @@ export default class Client extends OpenApi {
49312
51322
  reqBodyType: "formData",
49313
51323
  bodyType: "json",
49314
51324
  });
49315
- 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
+
49316
51331
  }
49317
51332
 
49318
51333
  /**
@@ -49347,6 +51362,15 @@ export default class Client extends OpenApi {
49347
51362
  request.configRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRules, "ConfigRules", "json");
49348
51363
  }
49349
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
+
49350
51374
  let body : {[key: string ]: any} = { };
49351
51375
  if (!$dara.isNull(request.clientToken)) {
49352
51376
  body["ClientToken"] = request.clientToken;
@@ -49418,6 +51442,7 @@ export default class Client extends OpenApi {
49418
51442
  ...OpenApiUtil.query(bodyFlat),
49419
51443
  };
49420
51444
  let req = new $OpenApiUtil.OpenApiRequest({
51445
+ query: OpenApiUtil.query(query),
49421
51446
  body: OpenApiUtil.parseToMap(body),
49422
51447
  });
49423
51448
  let params = new $OpenApiUtil.Params({
@@ -49431,7 +51456,12 @@ export default class Client extends OpenApi {
49431
51456
  reqBodyType: "formData",
49432
51457
  bodyType: "json",
49433
51458
  });
49434
- 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
+
49435
51465
  }
49436
51466
 
49437
51467
  /**
@@ -49527,7 +51557,12 @@ export default class Client extends OpenApi {
49527
51557
  reqBodyType: "formData",
49528
51558
  bodyType: "json",
49529
51559
  });
49530
- 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
+
49531
51566
  }
49532
51567
 
49533
51568
  /**
@@ -49680,7 +51715,12 @@ export default class Client extends OpenApi {
49680
51715
  reqBodyType: "formData",
49681
51716
  bodyType: "json",
49682
51717
  });
49683
- 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
+
49684
51724
  }
49685
51725
 
49686
51726
  /**
@@ -49728,7 +51768,12 @@ export default class Client extends OpenApi {
49728
51768
  reqBodyType: "formData",
49729
51769
  bodyType: "json",
49730
51770
  });
49731
- 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
+
49732
51777
  }
49733
51778
 
49734
51779
  /**
@@ -49823,7 +51868,12 @@ export default class Client extends OpenApi {
49823
51868
  reqBodyType: "formData",
49824
51869
  bodyType: "json",
49825
51870
  });
49826
- 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
+
49827
51877
  }
49828
51878
 
49829
51879
  /**
@@ -49883,7 +51933,12 @@ export default class Client extends OpenApi {
49883
51933
  reqBodyType: "formData",
49884
51934
  bodyType: "json",
49885
51935
  });
49886
- 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
+
49887
51942
  }
49888
51943
 
49889
51944
  /**
@@ -49952,7 +52007,12 @@ export default class Client extends OpenApi {
49952
52007
  reqBodyType: "formData",
49953
52008
  bodyType: "json",
49954
52009
  });
49955
- 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
+
49956
52016
  }
49957
52017
 
49958
52018
  /**