@aws-sdk/client-config-service 3.428.0 → 3.430.0

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.
@@ -187,7 +187,7 @@ export interface OrganizationCustomPolicyRuleMetadata {
187
187
  * </li>
188
188
  * </ul>
189
189
  */
190
- OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
190
+ OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSN[];
191
191
  /**
192
192
  * @public
193
193
  * <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
@@ -199,7 +199,7 @@ export interface OrganizationCustomPolicyRuleMetadata {
199
199
  * Config Custom Policy rule is triggered when Config delivers
200
200
  * the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
201
201
  */
202
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
202
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
203
203
  /**
204
204
  * @public
205
205
  * <p>The type of the Amazon Web Services resource that was evaluated.</p>
@@ -947,7 +947,7 @@ export interface StartResourceEvaluationRequest {
947
947
  * @public
948
948
  * <p>The mode of an evaluation. The valid values for this API are <code>DETECTIVE</code> and <code>PROACTIVE</code>.</p>
949
949
  */
950
- EvaluationMode: EvaluationMode | string | undefined;
950
+ EvaluationMode: EvaluationMode | undefined;
951
951
  /**
952
952
  * @public
953
953
  * <p>The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.</p>
@@ -18,7 +18,7 @@ export declare const ComplianceType: {
18
18
  export type ComplianceType =
19
19
  (typeof ComplianceType)[keyof typeof ComplianceType];
20
20
  export interface Compliance {
21
- ComplianceType?: ComplianceType | string;
21
+ ComplianceType?: ComplianceType;
22
22
  ComplianceContributorCount?: ComplianceContributorCount;
23
23
  }
24
24
  export interface AggregateComplianceByConfigRule {
@@ -35,7 +35,7 @@ export declare const ConformancePackComplianceType: {
35
35
  export type ConformancePackComplianceType =
36
36
  (typeof ConformancePackComplianceType)[keyof typeof ConformancePackComplianceType];
37
37
  export interface AggregateConformancePackCompliance {
38
- ComplianceType?: ConformancePackComplianceType | string;
38
+ ComplianceType?: ConformancePackComplianceType;
39
39
  CompliantRuleCount?: number;
40
40
  NonCompliantRuleCount?: number;
41
41
  TotalRuleCount?: number;
@@ -61,7 +61,7 @@ export interface AggregateConformancePackComplianceCount {
61
61
  }
62
62
  export interface AggregateConformancePackComplianceFilters {
63
63
  ConformancePackName?: string;
64
- ComplianceType?: ConformancePackComplianceType | string;
64
+ ComplianceType?: ConformancePackComplianceType;
65
65
  AccountId?: string;
66
66
  AwsRegion?: string;
67
67
  }
@@ -94,9 +94,9 @@ export type AggregatedSourceType =
94
94
  (typeof AggregatedSourceType)[keyof typeof AggregatedSourceType];
95
95
  export interface AggregatedSourceStatus {
96
96
  SourceId?: string;
97
- SourceType?: AggregatedSourceType | string;
97
+ SourceType?: AggregatedSourceType;
98
98
  AwsRegion?: string;
99
- LastUpdateStatus?: AggregatedSourceStatusType | string;
99
+ LastUpdateStatus?: AggregatedSourceStatusType;
100
100
  LastUpdateTime?: Date;
101
101
  LastErrorCode?: string;
102
102
  LastErrorMessage?: string;
@@ -111,7 +111,7 @@ export interface EvaluationResultQualifier {
111
111
  ConfigRuleName?: string;
112
112
  ResourceType?: string;
113
113
  ResourceId?: string;
114
- EvaluationMode?: EvaluationMode | string;
114
+ EvaluationMode?: EvaluationMode;
115
115
  }
116
116
  export interface EvaluationResultIdentifier {
117
117
  EvaluationResultQualifier?: EvaluationResultQualifier;
@@ -120,7 +120,7 @@ export interface EvaluationResultIdentifier {
120
120
  }
121
121
  export interface AggregateEvaluationResult {
122
122
  EvaluationResultIdentifier?: EvaluationResultIdentifier;
123
- ComplianceType?: ComplianceType | string;
123
+ ComplianceType?: ComplianceType;
124
124
  ResultRecordedTime?: Date;
125
125
  ConfigRuleInvokedTime?: Date;
126
126
  Annotation?: string;
@@ -506,7 +506,7 @@ export interface AggregateResourceIdentifier {
506
506
  SourceAccountId: string | undefined;
507
507
  SourceRegion: string | undefined;
508
508
  ResourceId: string | undefined;
509
- ResourceType: ResourceType | string | undefined;
509
+ ResourceType: ResourceType | undefined;
510
510
  ResourceName?: string;
511
511
  }
512
512
  export interface AggregationAuthorization {
@@ -528,10 +528,10 @@ export interface BaseConfigurationItem {
528
528
  version?: string;
529
529
  accountId?: string;
530
530
  configurationItemCaptureTime?: Date;
531
- configurationItemStatus?: ConfigurationItemStatus | string;
531
+ configurationItemStatus?: ConfigurationItemStatus;
532
532
  configurationStateId?: string;
533
533
  arn?: string;
534
- resourceType?: ResourceType | string;
534
+ resourceType?: ResourceType;
535
535
  resourceId?: string;
536
536
  resourceName?: string;
537
537
  awsRegion?: string;
@@ -566,7 +566,7 @@ export declare class ValidationException extends __BaseException {
566
566
  );
567
567
  }
568
568
  export interface ResourceKey {
569
- resourceType: ResourceType | string | undefined;
569
+ resourceType: ResourceType | undefined;
570
570
  resourceId: string | undefined;
571
571
  }
572
572
  export interface BatchGetResourceConfigRequest {
@@ -613,7 +613,7 @@ export declare const DeliveryStatus: {
613
613
  export type DeliveryStatus =
614
614
  (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
615
615
  export interface ConfigExportDeliveryInfo {
616
- lastStatus?: DeliveryStatus | string;
616
+ lastStatus?: DeliveryStatus;
617
617
  lastErrorCode?: string;
618
618
  lastErrorMessage?: string;
619
619
  lastAttemptTime?: Date;
@@ -629,7 +629,7 @@ export declare const ConfigRuleState: {
629
629
  export type ConfigRuleState =
630
630
  (typeof ConfigRuleState)[keyof typeof ConfigRuleState];
631
631
  export interface EvaluationModeConfiguration {
632
- Mode?: EvaluationMode | string;
632
+ Mode?: EvaluationMode;
633
633
  }
634
634
  export declare const MaximumExecutionFrequency: {
635
635
  readonly One_Hour: "One_Hour";
@@ -669,12 +669,12 @@ export declare const MessageType: {
669
669
  };
670
670
  export type MessageType = (typeof MessageType)[keyof typeof MessageType];
671
671
  export interface SourceDetail {
672
- EventSource?: EventSource | string;
673
- MessageType?: MessageType | string;
674
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
672
+ EventSource?: EventSource;
673
+ MessageType?: MessageType;
674
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
675
675
  }
676
676
  export interface Source {
677
- Owner: Owner | string | undefined;
677
+ Owner: Owner | undefined;
678
678
  SourceIdentifier?: string;
679
679
  SourceDetails?: SourceDetail[];
680
680
  CustomPolicyDetails?: CustomPolicyDetails;
@@ -687,14 +687,14 @@ export interface ConfigRule {
687
687
  Scope?: Scope;
688
688
  Source: Source | undefined;
689
689
  InputParameters?: string;
690
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
691
- ConfigRuleState?: ConfigRuleState | string;
690
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
691
+ ConfigRuleState?: ConfigRuleState;
692
692
  CreatedBy?: string;
693
693
  EvaluationModes?: EvaluationModeConfiguration[];
694
694
  }
695
695
  export interface ConfigRuleComplianceFilters {
696
696
  ConfigRuleName?: string;
697
- ComplianceType?: ComplianceType | string;
697
+ ComplianceType?: ComplianceType;
698
698
  AccountId?: string;
699
699
  AwsRegion?: string;
700
700
  }
@@ -726,10 +726,10 @@ export interface ConfigRuleEvaluationStatus {
726
726
  LastDebugLogDeliveryTime?: Date;
727
727
  }
728
728
  export interface ConfigSnapshotDeliveryProperties {
729
- deliveryFrequency?: MaximumExecutionFrequency | string;
729
+ deliveryFrequency?: MaximumExecutionFrequency;
730
730
  }
731
731
  export interface ConfigStreamDeliveryInfo {
732
- lastStatus?: DeliveryStatus | string;
732
+ lastStatus?: DeliveryStatus;
733
733
  lastErrorCode?: string;
734
734
  lastErrorMessage?: string;
735
735
  lastStatusChangeTime?: Date;
@@ -749,7 +749,7 @@ export interface ConfigurationAggregator {
749
749
  CreatedBy?: string;
750
750
  }
751
751
  export interface Relationship {
752
- resourceType?: ResourceType | string;
752
+ resourceType?: ResourceType;
753
753
  resourceId?: string;
754
754
  resourceName?: string;
755
755
  relationshipName?: string;
@@ -758,11 +758,11 @@ export interface ConfigurationItem {
758
758
  version?: string;
759
759
  accountId?: string;
760
760
  configurationItemCaptureTime?: Date;
761
- configurationItemStatus?: ConfigurationItemStatus | string;
761
+ configurationItemStatus?: ConfigurationItemStatus;
762
762
  configurationStateId?: string;
763
763
  configurationItemMD5Hash?: string;
764
764
  arn?: string;
765
- resourceType?: ResourceType | string;
765
+ resourceType?: ResourceType;
766
766
  resourceId?: string;
767
767
  resourceName?: string;
768
768
  awsRegion?: string;
@@ -775,7 +775,7 @@ export interface ConfigurationItem {
775
775
  supplementaryConfiguration?: Record<string, string>;
776
776
  }
777
777
  export interface ExclusionByResourceTypes {
778
- resourceTypes?: (ResourceType | string)[];
778
+ resourceTypes?: ResourceType[];
779
779
  }
780
780
  export declare const RecordingStrategyType: {
781
781
  readonly ALL_SUPPORTED_RESOURCE_TYPES: "ALL_SUPPORTED_RESOURCE_TYPES";
@@ -785,12 +785,12 @@ export declare const RecordingStrategyType: {
785
785
  export type RecordingStrategyType =
786
786
  (typeof RecordingStrategyType)[keyof typeof RecordingStrategyType];
787
787
  export interface RecordingStrategy {
788
- useOnly?: RecordingStrategyType | string;
788
+ useOnly?: RecordingStrategyType;
789
789
  }
790
790
  export interface RecordingGroup {
791
791
  allSupported?: boolean;
792
792
  includeGlobalResourceTypes?: boolean;
793
- resourceTypes?: (ResourceType | string)[];
793
+ resourceTypes?: ResourceType[];
794
794
  exclusionByResourceTypes?: ExclusionByResourceTypes;
795
795
  recordingStrategy?: RecordingStrategy;
796
796
  }
@@ -811,14 +811,14 @@ export interface ConfigurationRecorderStatus {
811
811
  lastStartTime?: Date;
812
812
  lastStopTime?: Date;
813
813
  recording?: boolean;
814
- lastStatus?: RecorderStatus | string;
814
+ lastStatus?: RecorderStatus;
815
815
  lastErrorCode?: string;
816
816
  lastErrorMessage?: string;
817
817
  lastStatusChangeTime?: Date;
818
818
  }
819
819
  export interface ConformancePackComplianceFilters {
820
820
  ConfigRuleNames?: string[];
821
- ComplianceType?: ConformancePackComplianceType | string;
821
+ ComplianceType?: ConformancePackComplianceType;
822
822
  }
823
823
  export interface ConformancePackComplianceScore {
824
824
  Score?: string;
@@ -830,10 +830,7 @@ export interface ConformancePackComplianceScoresFilters {
830
830
  }
831
831
  export interface ConformancePackComplianceSummary {
832
832
  ConformancePackName: string | undefined;
833
- ConformancePackComplianceStatus:
834
- | ConformancePackComplianceType
835
- | string
836
- | undefined;
833
+ ConformancePackComplianceStatus: ConformancePackComplianceType | undefined;
837
834
  }
838
835
  export interface ConformancePackInputParameter {
839
836
  ParameterName: string | undefined;
@@ -856,12 +853,12 @@ export interface ConformancePackDetail {
856
853
  }
857
854
  export interface ConformancePackEvaluationFilters {
858
855
  ConfigRuleNames?: string[];
859
- ComplianceType?: ConformancePackComplianceType | string;
856
+ ComplianceType?: ConformancePackComplianceType;
860
857
  ResourceType?: string;
861
858
  ResourceIds?: string[];
862
859
  }
863
860
  export interface ConformancePackEvaluationResult {
864
- ComplianceType: ConformancePackComplianceType | string | undefined;
861
+ ComplianceType: ConformancePackComplianceType | undefined;
865
862
  EvaluationResultIdentifier: EvaluationResultIdentifier | undefined;
866
863
  ConfigRuleInvokedTime: Date | undefined;
867
864
  ResultRecordedTime: Date | undefined;
@@ -869,7 +866,7 @@ export interface ConformancePackEvaluationResult {
869
866
  }
870
867
  export interface ConformancePackRuleCompliance {
871
868
  ConfigRuleName?: string;
872
- ComplianceType?: ConformancePackComplianceType | string;
869
+ ComplianceType?: ConformancePackComplianceType;
873
870
  Controls?: string[];
874
871
  }
875
872
  export declare const ConformancePackState: {
@@ -885,7 +882,7 @@ export interface ConformancePackStatusDetail {
885
882
  ConformancePackName: string | undefined;
886
883
  ConformancePackId: string | undefined;
887
884
  ConformancePackArn: string | undefined;
888
- ConformancePackState: ConformancePackState | string | undefined;
885
+ ConformancePackState: ConformancePackState | undefined;
889
886
  StackArn: string | undefined;
890
887
  ConformancePackStatusReason?: string;
891
888
  LastUpdateRequestedTime: Date | undefined;
@@ -1178,7 +1175,7 @@ export interface DescribeAggregationAuthorizationsResponse {
1178
1175
  }
1179
1176
  export interface DescribeComplianceByConfigRuleRequest {
1180
1177
  ConfigRuleNames?: string[];
1181
- ComplianceTypes?: (ComplianceType | string)[];
1178
+ ComplianceTypes?: ComplianceType[];
1182
1179
  NextToken?: string;
1183
1180
  }
1184
1181
  export interface DescribeComplianceByConfigRuleResponse {
@@ -1188,7 +1185,7 @@ export interface DescribeComplianceByConfigRuleResponse {
1188
1185
  export interface DescribeComplianceByResourceRequest {
1189
1186
  ResourceType?: string;
1190
1187
  ResourceId?: string;
1191
- ComplianceTypes?: (ComplianceType | string)[];
1188
+ ComplianceTypes?: ComplianceType[];
1192
1189
  Limit?: number;
1193
1190
  NextToken?: string;
1194
1191
  }
@@ -1206,7 +1203,7 @@ export interface DescribeConfigRuleEvaluationStatusResponse {
1206
1203
  NextToken?: string;
1207
1204
  }
1208
1205
  export interface DescribeConfigRulesFilters {
1209
- EvaluationMode?: EvaluationMode | string;
1206
+ EvaluationMode?: EvaluationMode;
1210
1207
  }
1211
1208
  export interface DescribeConfigRulesRequest {
1212
1209
  ConfigRuleNames?: string[];
@@ -1228,7 +1225,7 @@ export interface DescribeConfigurationAggregatorsResponse {
1228
1225
  }
1229
1226
  export interface DescribeConfigurationAggregatorSourcesStatusRequest {
1230
1227
  ConfigurationAggregatorName: string | undefined;
1231
- UpdateStatus?: (AggregatedSourceStatusType | string)[];
1228
+ UpdateStatus?: AggregatedSourceStatusType[];
1232
1229
  NextToken?: string;
1233
1230
  Limit?: number;
1234
1231
  }
@@ -1314,12 +1311,9 @@ export type OrganizationConfigRuleTriggerTypeNoSN =
1314
1311
  (typeof OrganizationConfigRuleTriggerTypeNoSN)[keyof typeof OrganizationConfigRuleTriggerTypeNoSN];
1315
1312
  export interface OrganizationCustomPolicyRuleMetadataNoPolicy {
1316
1313
  Description?: string;
1317
- OrganizationConfigRuleTriggerTypes?: (
1318
- | OrganizationConfigRuleTriggerTypeNoSN
1319
- | string
1320
- )[];
1314
+ OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSN[];
1321
1315
  InputParameters?: string;
1322
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
1316
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
1323
1317
  ResourceTypesScope?: string[];
1324
1318
  ResourceIdScope?: string;
1325
1319
  TagKeyScope?: string;
@@ -1338,10 +1332,10 @@ export interface OrganizationCustomRuleMetadata {
1338
1332
  Description?: string;
1339
1333
  LambdaFunctionArn: string | undefined;
1340
1334
  OrganizationConfigRuleTriggerTypes:
1341
- | (OrganizationConfigRuleTriggerType | string)[]
1335
+ | OrganizationConfigRuleTriggerType[]
1342
1336
  | undefined;
1343
1337
  InputParameters?: string;
1344
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
1338
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
1345
1339
  ResourceTypesScope?: string[];
1346
1340
  ResourceIdScope?: string;
1347
1341
  TagKeyScope?: string;
@@ -1351,7 +1345,7 @@ export interface OrganizationManagedRuleMetadata {
1351
1345
  Description?: string;
1352
1346
  RuleIdentifier: string | undefined;
1353
1347
  InputParameters?: string;
1354
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
1348
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
1355
1349
  ResourceTypesScope?: string[];
1356
1350
  ResourceIdScope?: string;
1357
1351
  TagKeyScope?: string;
@@ -1390,7 +1384,7 @@ export type OrganizationRuleStatus =
1390
1384
  (typeof OrganizationRuleStatus)[keyof typeof OrganizationRuleStatus];
1391
1385
  export interface OrganizationConfigRuleStatus {
1392
1386
  OrganizationConfigRuleName: string | undefined;
1393
- OrganizationRuleStatus: OrganizationRuleStatus | string | undefined;
1387
+ OrganizationRuleStatus: OrganizationRuleStatus | undefined;
1394
1388
  ErrorCode?: string;
1395
1389
  ErrorMessage?: string;
1396
1390
  LastUpdateTime?: Date;
@@ -1437,7 +1431,7 @@ export type OrganizationResourceStatus =
1437
1431
  (typeof OrganizationResourceStatus)[keyof typeof OrganizationResourceStatus];
1438
1432
  export interface OrganizationConformancePackStatus {
1439
1433
  OrganizationConformancePackName: string | undefined;
1440
- Status: OrganizationResourceStatus | string | undefined;
1434
+ Status: OrganizationResourceStatus | undefined;
1441
1435
  ErrorCode?: string;
1442
1436
  ErrorMessage?: string;
1443
1437
  LastUpdateTime?: Date;
@@ -1474,7 +1468,7 @@ export declare const ResourceValueType: {
1474
1468
  export type ResourceValueType =
1475
1469
  (typeof ResourceValueType)[keyof typeof ResourceValueType];
1476
1470
  export interface ResourceValue {
1477
- Value: ResourceValueType | string | undefined;
1471
+ Value: ResourceValueType | undefined;
1478
1472
  }
1479
1473
  export interface StaticValue {
1480
1474
  Values: string[] | undefined;
@@ -1490,7 +1484,7 @@ export type RemediationTargetType =
1490
1484
  (typeof RemediationTargetType)[keyof typeof RemediationTargetType];
1491
1485
  export interface RemediationConfiguration {
1492
1486
  ConfigRuleName: string | undefined;
1493
- TargetType: RemediationTargetType | string | undefined;
1487
+ TargetType: RemediationTargetType | undefined;
1494
1488
  TargetId: string | undefined;
1495
1489
  TargetVersion?: string;
1496
1490
  Parameters?: Record<string, RemediationParameterValue>;
@@ -1545,14 +1539,14 @@ export type RemediationExecutionStepState =
1545
1539
  (typeof RemediationExecutionStepState)[keyof typeof RemediationExecutionStepState];
1546
1540
  export interface RemediationExecutionStep {
1547
1541
  Name?: string;
1548
- State?: RemediationExecutionStepState | string;
1542
+ State?: RemediationExecutionStepState;
1549
1543
  ErrorMessage?: string;
1550
1544
  StartTime?: Date;
1551
1545
  StopTime?: Date;
1552
1546
  }
1553
1547
  export interface RemediationExecutionStatus {
1554
1548
  ResourceKey?: ResourceKey;
1555
- State?: RemediationExecutionState | string;
1549
+ State?: RemediationExecutionState;
1556
1550
  StepDetails?: RemediationExecutionStep[];
1557
1551
  InvocationTime?: Date;
1558
1552
  LastUpdatedTime?: Date;
@@ -1576,7 +1570,7 @@ export interface DescribeRetentionConfigurationsResponse {
1576
1570
  export interface Evaluation {
1577
1571
  ComplianceResourceType: string | undefined;
1578
1572
  ComplianceResourceId: string | undefined;
1579
- ComplianceType: ComplianceType | string | undefined;
1573
+ ComplianceType: ComplianceType | undefined;
1580
1574
  Annotation?: string;
1581
1575
  OrderingTimestamp: Date | undefined;
1582
1576
  }
@@ -1585,7 +1579,7 @@ export interface EvaluationContext {
1585
1579
  }
1586
1580
  export interface EvaluationResult {
1587
1581
  EvaluationResultIdentifier?: EvaluationResultIdentifier;
1588
- ComplianceType?: ComplianceType | string;
1582
+ ComplianceType?: ComplianceType;
1589
1583
  ResultRecordedTime?: Date;
1590
1584
  ConfigRuleInvokedTime?: Date;
1591
1585
  Annotation?: string;
@@ -1599,13 +1593,13 @@ export declare const ResourceEvaluationStatus: {
1599
1593
  export type ResourceEvaluationStatus =
1600
1594
  (typeof ResourceEvaluationStatus)[keyof typeof ResourceEvaluationStatus];
1601
1595
  export interface EvaluationStatus {
1602
- Status: ResourceEvaluationStatus | string | undefined;
1596
+ Status: ResourceEvaluationStatus | undefined;
1603
1597
  FailureReason?: string;
1604
1598
  }
1605
1599
  export interface ExternalEvaluation {
1606
1600
  ComplianceResourceType: string | undefined;
1607
1601
  ComplianceResourceId: string | undefined;
1608
- ComplianceType: ComplianceType | string | undefined;
1602
+ ComplianceType: ComplianceType | undefined;
1609
1603
  Annotation?: string;
1610
1604
  OrderingTimestamp: Date | undefined;
1611
1605
  }
@@ -1625,7 +1619,7 @@ export interface GetAggregateComplianceDetailsByConfigRuleRequest {
1625
1619
  ConfigRuleName: string | undefined;
1626
1620
  AccountId: string | undefined;
1627
1621
  AwsRegion: string | undefined;
1628
- ComplianceType?: ComplianceType | string;
1622
+ ComplianceType?: ComplianceType;
1629
1623
  Limit?: number;
1630
1624
  NextToken?: string;
1631
1625
  }
@@ -1636,7 +1630,7 @@ export interface GetAggregateComplianceDetailsByConfigRuleResponse {
1636
1630
  export interface GetAggregateConfigRuleComplianceSummaryRequest {
1637
1631
  ConfigurationAggregatorName: string | undefined;
1638
1632
  Filters?: ConfigRuleComplianceSummaryFilters;
1639
- GroupByKey?: ConfigRuleComplianceSummaryGroupKey | string;
1633
+ GroupByKey?: ConfigRuleComplianceSummaryGroupKey;
1640
1634
  Limit?: number;
1641
1635
  NextToken?: string;
1642
1636
  }
@@ -1648,7 +1642,7 @@ export interface GetAggregateConfigRuleComplianceSummaryResponse {
1648
1642
  export interface GetAggregateConformancePackComplianceSummaryRequest {
1649
1643
  ConfigurationAggregatorName: string | undefined;
1650
1644
  Filters?: AggregateConformancePackComplianceSummaryFilters;
1651
- GroupByKey?: AggregateConformancePackComplianceSummaryGroupKey | string;
1645
+ GroupByKey?: AggregateConformancePackComplianceSummaryGroupKey;
1652
1646
  Limit?: number;
1653
1647
  NextToken?: string;
1654
1648
  }
@@ -1658,7 +1652,7 @@ export interface GetAggregateConformancePackComplianceSummaryResponse {
1658
1652
  NextToken?: string;
1659
1653
  }
1660
1654
  export interface ResourceCountFilters {
1661
- ResourceType?: ResourceType | string;
1655
+ ResourceType?: ResourceType;
1662
1656
  AccountId?: string;
1663
1657
  Region?: string;
1664
1658
  }
@@ -1672,7 +1666,7 @@ export type ResourceCountGroupKey =
1672
1666
  export interface GetAggregateDiscoveredResourceCountsRequest {
1673
1667
  ConfigurationAggregatorName: string | undefined;
1674
1668
  Filters?: ResourceCountFilters;
1675
- GroupByKey?: ResourceCountGroupKey | string;
1669
+ GroupByKey?: ResourceCountGroupKey;
1676
1670
  Limit?: number;
1677
1671
  NextToken?: string;
1678
1672
  }
@@ -1712,7 +1706,7 @@ export declare class ResourceNotDiscoveredException extends __BaseException {
1712
1706
  }
1713
1707
  export interface GetComplianceDetailsByConfigRuleRequest {
1714
1708
  ConfigRuleName: string | undefined;
1715
- ComplianceTypes?: (ComplianceType | string)[];
1709
+ ComplianceTypes?: ComplianceType[];
1716
1710
  Limit?: number;
1717
1711
  NextToken?: string;
1718
1712
  }
@@ -1723,7 +1717,7 @@ export interface GetComplianceDetailsByConfigRuleResponse {
1723
1717
  export interface GetComplianceDetailsByResourceRequest {
1724
1718
  ResourceType?: string;
1725
1719
  ResourceId?: string;
1726
- ComplianceTypes?: (ComplianceType | string)[];
1720
+ ComplianceTypes?: ComplianceType[];
1727
1721
  NextToken?: string;
1728
1722
  ResourceEvaluationId?: string;
1729
1723
  }
@@ -1772,7 +1766,7 @@ export interface GetDiscoveredResourceCountsRequest {
1772
1766
  nextToken?: string;
1773
1767
  }
1774
1768
  export interface ResourceCount {
1775
- resourceType?: ResourceType | string;
1769
+ resourceType?: ResourceType;
1776
1770
  count?: number;
1777
1771
  }
1778
1772
  export interface GetDiscoveredResourceCountsResponse {
@@ -1795,7 +1789,7 @@ export type MemberAccountRuleStatus =
1795
1789
  (typeof MemberAccountRuleStatus)[keyof typeof MemberAccountRuleStatus];
1796
1790
  export interface StatusDetailFilters {
1797
1791
  AccountId?: string;
1798
- MemberAccountRuleStatus?: MemberAccountRuleStatus | string;
1792
+ MemberAccountRuleStatus?: MemberAccountRuleStatus;
1799
1793
  }
1800
1794
  export interface GetOrganizationConfigRuleDetailedStatusRequest {
1801
1795
  OrganizationConfigRuleName: string | undefined;
@@ -1806,7 +1800,7 @@ export interface GetOrganizationConfigRuleDetailedStatusRequest {
1806
1800
  export interface MemberAccountStatus {
1807
1801
  AccountId: string | undefined;
1808
1802
  ConfigRuleName: string | undefined;
1809
- MemberAccountRuleStatus: MemberAccountRuleStatus | string | undefined;
1803
+ MemberAccountRuleStatus: MemberAccountRuleStatus | undefined;
1810
1804
  ErrorCode?: string;
1811
1805
  ErrorMessage?: string;
1812
1806
  LastUpdateTime?: Date;
@@ -1830,7 +1824,7 @@ export type OrganizationResourceDetailedStatus =
1830
1824
  (typeof OrganizationResourceDetailedStatus)[keyof typeof OrganizationResourceDetailedStatus];
1831
1825
  export interface OrganizationResourceDetailedStatusFilters {
1832
1826
  AccountId?: string;
1833
- Status?: OrganizationResourceDetailedStatus | string;
1827
+ Status?: OrganizationResourceDetailedStatus;
1834
1828
  }
1835
1829
  export interface GetOrganizationConformancePackDetailedStatusRequest {
1836
1830
  OrganizationConformancePackName: string | undefined;
@@ -1841,7 +1835,7 @@ export interface GetOrganizationConformancePackDetailedStatusRequest {
1841
1835
  export interface OrganizationConformancePackDetailedStatus {
1842
1836
  AccountId: string | undefined;
1843
1837
  ConformancePackName: string | undefined;
1844
- Status: OrganizationResourceDetailedStatus | string | undefined;
1838
+ Status: OrganizationResourceDetailedStatus | undefined;
1845
1839
  ErrorCode?: string;
1846
1840
  ErrorMessage?: string;
1847
1841
  LastUpdateTime?: Date;
@@ -1857,11 +1851,11 @@ export interface GetOrganizationCustomRulePolicyResponse {
1857
1851
  PolicyText?: string;
1858
1852
  }
1859
1853
  export interface GetResourceConfigHistoryRequest {
1860
- resourceType: ResourceType | string | undefined;
1854
+ resourceType: ResourceType | undefined;
1861
1855
  resourceId: string | undefined;
1862
1856
  laterTime?: Date;
1863
1857
  earlierTime?: Date;
1864
- chronologicalOrder?: ChronologicalOrder | string;
1858
+ chronologicalOrder?: ChronologicalOrder;
1865
1859
  limit?: number;
1866
1860
  nextToken?: string;
1867
1861
  }
@@ -1888,14 +1882,14 @@ export interface ResourceDetails {
1888
1882
  ResourceId: string | undefined;
1889
1883
  ResourceType: string | undefined;
1890
1884
  ResourceConfiguration: string | undefined;
1891
- ResourceConfigurationSchemaType?: ResourceConfigurationSchemaType | string;
1885
+ ResourceConfigurationSchemaType?: ResourceConfigurationSchemaType;
1892
1886
  }
1893
1887
  export interface GetResourceEvaluationSummaryResponse {
1894
1888
  ResourceEvaluationId?: string;
1895
- EvaluationMode?: EvaluationMode | string;
1889
+ EvaluationMode?: EvaluationMode;
1896
1890
  EvaluationStatus?: EvaluationStatus;
1897
1891
  EvaluationStartTimestamp?: Date;
1898
- Compliance?: ComplianceType | string;
1892
+ Compliance?: ComplianceType;
1899
1893
  EvaluationContext?: EvaluationContext;
1900
1894
  ResourceDetails?: ResourceDetails;
1901
1895
  }
@@ -2013,7 +2007,7 @@ export interface ResourceFilters {
2013
2007
  }
2014
2008
  export interface ListAggregateDiscoveredResourcesRequest {
2015
2009
  ConfigurationAggregatorName: string | undefined;
2016
- ResourceType: ResourceType | string | undefined;
2010
+ ResourceType: ResourceType | undefined;
2017
2011
  Filters?: ResourceFilters;
2018
2012
  Limit?: number;
2019
2013
  NextToken?: string;
@@ -2033,8 +2027,8 @@ export declare const SortOrder: {
2033
2027
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
2034
2028
  export interface ListConformancePackComplianceScoresRequest {
2035
2029
  Filters?: ConformancePackComplianceScoresFilters;
2036
- SortOrder?: SortOrder | string;
2037
- SortBy?: SortBy | string;
2030
+ SortOrder?: SortOrder;
2031
+ SortBy?: SortBy;
2038
2032
  Limit?: number;
2039
2033
  NextToken?: string;
2040
2034
  }
@@ -2043,7 +2037,7 @@ export interface ListConformancePackComplianceScoresResponse {
2043
2037
  ConformancePackComplianceScores: ConformancePackComplianceScore[] | undefined;
2044
2038
  }
2045
2039
  export interface ListDiscoveredResourcesRequest {
2046
- resourceType: ResourceType | string | undefined;
2040
+ resourceType: ResourceType | undefined;
2047
2041
  resourceIds?: string[];
2048
2042
  resourceName?: string;
2049
2043
  limit?: number;
@@ -2051,7 +2045,7 @@ export interface ListDiscoveredResourcesRequest {
2051
2045
  nextToken?: string;
2052
2046
  }
2053
2047
  export interface ResourceIdentifier {
2054
- resourceType?: ResourceType | string;
2048
+ resourceType?: ResourceType;
2055
2049
  resourceId?: string;
2056
2050
  resourceName?: string;
2057
2051
  resourceDeletionTime?: Date;
@@ -2065,7 +2059,7 @@ export interface TimeWindow {
2065
2059
  EndTime?: Date;
2066
2060
  }
2067
2061
  export interface ResourceEvaluationFilters {
2068
- EvaluationMode?: EvaluationMode | string;
2062
+ EvaluationMode?: EvaluationMode;
2069
2063
  TimeWindow?: TimeWindow;
2070
2064
  EvaluationContextIdentifier?: string;
2071
2065
  }
@@ -2076,7 +2070,7 @@ export interface ListResourceEvaluationsRequest {
2076
2070
  }
2077
2071
  export interface ResourceEvaluation {
2078
2072
  ResourceEvaluationId?: string;
2079
- EvaluationMode?: EvaluationMode | string;
2073
+ EvaluationMode?: EvaluationMode;
2080
2074
  EvaluationStartTimestamp?: Date;
2081
2075
  }
2082
2076
  export interface ListResourceEvaluationsResponse {
@@ -148,12 +148,9 @@ export declare class OrganizationConformancePackTemplateValidationException exte
148
148
  }
149
149
  export interface OrganizationCustomPolicyRuleMetadata {
150
150
  Description?: string;
151
- OrganizationConfigRuleTriggerTypes?: (
152
- | OrganizationConfigRuleTriggerTypeNoSN
153
- | string
154
- )[];
151
+ OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSN[];
155
152
  InputParameters?: string;
156
- MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
153
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
157
154
  ResourceTypesScope?: string[];
158
155
  ResourceIdScope?: string;
159
156
  TagKeyScope?: string;
@@ -332,7 +329,7 @@ export interface StartRemediationExecutionResponse {
332
329
  export interface StartResourceEvaluationRequest {
333
330
  ResourceDetails: ResourceDetails | undefined;
334
331
  EvaluationContext?: EvaluationContext;
335
- EvaluationMode: EvaluationMode | string | undefined;
332
+ EvaluationMode: EvaluationMode | undefined;
336
333
  EvaluationTimeout?: number;
337
334
  ClientToken?: string;
338
335
  }