Skip to content

Commit e136069

Browse files
author
awstools
committed
feat(client-config-service): Updated ResourceType enum with new resource types onboarded by AWS Config in November and December 2023.
1 parent 970007d commit e136069

14 files changed

+170
-38
lines changed

clients/client-config-service/src/commands/BatchGetAggregateResourceConfigCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/BatchGetResourceConfigCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/DescribeConfigurationRecordersCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/DescribeRemediationExecutionStatusCommand.ts

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/GetAggregateDiscoveredResourceCountsCommand.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/client-config-service/src/commands/GetAggregateResourceConfigCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/GetDiscoveredResourceCountsCommand.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/client-config-service/src/commands/GetResourceConfigHistoryCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/ListAggregateDiscoveredResourcesCommand.ts

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/ListDiscoveredResourcesCommand.ts

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/PutConfigurationRecorderCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/StartRemediationExecutionCommand.ts

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/models/models_0.ts

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ export const ResourceType = {
631631
AppRunnerVpcConnector: "AWS::AppRunner::VpcConnector",
632632
AppStreamApplication: "AWS::AppStream::Application",
633633
AppStreamDirectoryConfig: "AWS::AppStream::DirectoryConfig",
634+
AppStreamFleet: "AWS::AppStream::Fleet",
634635
AppStreamStack: "AWS::AppStream::Stack",
635636
AppSyncGraphQLApi: "AWS::AppSync::GraphQLApi",
636637
Application: "AWS::ElasticBeanstalk::Application",
@@ -670,6 +671,9 @@ export const ResourceType = {
670671
CodeDeployDeploymentGroup: "AWS::CodeDeploy::DeploymentGroup",
671672
CodeGuruProfilerProfilingGroup: "AWS::CodeGuruProfiler::ProfilingGroup",
672673
CodeGuruReviewerRepositoryAssociation: "AWS::CodeGuruReviewer::RepositoryAssociation",
674+
CognitoUserPool: "AWS::Cognito::UserPool",
675+
CognitoUserPoolClient: "AWS::Cognito::UserPoolClient",
676+
CognitoUserPoolGroup: "AWS::Cognito::UserPoolGroup",
673677
ConformancePackCompliance: "AWS::Config::ConformancePackCompliance",
674678
ConnectInstance: "AWS::Connect::Instance",
675679
ConnectPhoneNumber: "AWS::Connect::PhoneNumber",
@@ -710,6 +714,8 @@ export const ResourceType = {
710714
EC2IPAM: "AWS::EC2::IPAM",
711715
EC2IPAMPool: "AWS::EC2::IPAMPool",
712716
EC2IPAMScope: "AWS::EC2::IPAMScope",
717+
EC2NetworkInsightsAccessScope: "AWS::EC2::NetworkInsightsAccessScope",
718+
EC2NetworkInsightsAnalysis: "AWS::EC2::NetworkInsightsAnalysis",
713719
EC2NetworkInsightsPath: "AWS::EC2::NetworkInsightsPath",
714720
EC2PrefixList: "AWS::EC2::PrefixList",
715721
EC2SpotFleet: "AWS::EC2::SpotFleet",
@@ -768,8 +774,10 @@ export const ResourceType = {
768774
GlueClassifier: "AWS::Glue::Classifier",
769775
GlueJob: "AWS::Glue::Job",
770776
GlueMLTransform: "AWS::Glue::MLTransform",
777+
GrafanaWorkspace: "AWS::Grafana::Workspace",
771778
GreengrassV2ComponentVersion: "AWS::GreengrassV2::ComponentVersion",
772779
GroundStationConfig: "AWS::GroundStation::Config",
780+
GroundStationDataflowEndpointGroup: "AWS::GroundStation::DataflowEndpointGroup",
773781
GroundStationMissionProfile: "AWS::GroundStation::MissionProfile",
774782
Group: "AWS::IAM::Group",
775783
GuardDutyDetector: "AWS::GuardDuty::Detector",
@@ -788,6 +796,7 @@ export const ResourceType = {
788796
ImageBuilderContainerRecipe: "AWS::ImageBuilder::ContainerRecipe",
789797
ImageBuilderDistributionConfiguration: "AWS::ImageBuilder::DistributionConfiguration",
790798
ImageBuilderImagePipeline: "AWS::ImageBuilder::ImagePipeline",
799+
ImageBuilderImageRecipe: "AWS::ImageBuilder::ImageRecipe",
791800
ImageBuilderInfrastructureConfiguration: "AWS::ImageBuilder::InfrastructureConfiguration",
792801
InspectorV2Filter: "AWS::InspectorV2::Filter",
793802
Instance: "AWS::EC2::Instance",
@@ -825,6 +834,7 @@ export const ResourceType = {
825834
IoTWirelessFuotaTask: "AWS::IoTWireless::FuotaTask",
826835
IoTWirelessMulticastGroup: "AWS::IoTWireless::MulticastGroup",
827836
IoTWirelessServiceProfile: "AWS::IoTWireless::ServiceProfile",
837+
KMSAlias: "AWS::KMS::Alias",
828838
KafkaConnectConnector: "AWS::KafkaConnect::Connector",
829839
KendraIndex: "AWS::Kendra::Index",
830840
Key: "AWS::KMS::Key",
@@ -849,6 +859,7 @@ export const ResourceType = {
849859
LogsDestination: "AWS::Logs::Destination",
850860
LookoutMetricsAlert: "AWS::LookoutMetrics::Alert",
851861
LookoutVisionProject: "AWS::LookoutVision::Project",
862+
M2Environment: "AWS::M2::Environment",
852863
MSKBatchScramSecret: "AWS::MSK::BatchScramSecret",
853864
MSKCluster: "AWS::MSK::Cluster",
854865
MSKConfiguration: "AWS::MSK::Configuration",
@@ -897,9 +908,14 @@ export const ResourceType = {
897908
Protection: "AWS::Shield::Protection",
898909
QLDBLedger: "AWS::QLDB::Ledger",
899910
Queue: "AWS::SQS::Queue",
911+
QuickSightDataSource: "AWS::QuickSight::DataSource",
912+
QuickSightTemplate: "AWS::QuickSight::Template",
913+
QuickSightTheme: "AWS::QuickSight::Theme",
900914
RDSGlobalCluster: "AWS::RDS::GlobalCluster",
915+
RDSOptionGroup: "AWS::RDS::OptionGroup",
901916
RUMAppMonitor: "AWS::RUM::AppMonitor",
902917
RateBasedRule: "AWS::WAF::RateBasedRule",
918+
RedshiftEndpointAccess: "AWS::Redshift::EndpointAccess",
903919
RedshiftEventSubscription: "AWS::Redshift::EventSubscription",
904920
RedshiftScheduledAction: "AWS::Redshift::ScheduledAction",
905921
RegexPatternSetV2: "AWS::WAFv2::RegexPatternSet",
@@ -928,6 +944,7 @@ export const ResourceType = {
928944
Route53RecoveryReadinessRecoveryGroup: "AWS::Route53RecoveryReadiness::RecoveryGroup",
929945
Route53RecoveryReadinessResourceSet: "AWS::Route53RecoveryReadiness::ResourceSet",
930946
Route53ResolverFirewallDomainList: "AWS::Route53Resolver::FirewallDomainList",
947+
Route53ResolverFirewallRuleGroup: "AWS::Route53Resolver::FirewallRuleGroup",
931948
Route53ResolverFirewallRuleGroupAssociation: "AWS::Route53Resolver::FirewallRuleGroupAssociation",
932949
Route53ResolverResolverEndpoint: "AWS::Route53Resolver::ResolverEndpoint",
933950
Route53ResolverResolverQueryLoggingConfig: "AWS::Route53Resolver::ResolverQueryLoggingConfig",
@@ -946,6 +963,7 @@ export const ResourceType = {
946963
SESReceiptFilter: "AWS::SES::ReceiptFilter",
947964
SESReceiptRuleSet: "AWS::SES::ReceiptRuleSet",
948965
SESTemplate: "AWS::SES::Template",
966+
SSMDocument: "AWS::SSM::Document",
949967
SageMakerAppImageConfig: "AWS::SageMaker::AppImageConfig",
950968
SageMakerCodeRepository: "AWS::SageMaker::CodeRepository",
951969
SageMakerDomain: "AWS::SageMaker::Domain",
@@ -2934,7 +2952,8 @@ export interface RecordingModeOverride {
29342952
* <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>
29352953
* </li>
29362954
* <li>
2937-
* <p>Daily recording allows you record configuration data once every 24 hours, only if a change has occurred.</p>
2955+
* <p>Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.
2956+
* </p>
29382957
* </li>
29392958
* </ul>
29402959
* <note>
@@ -2955,7 +2974,8 @@ export interface RecordingModeOverride {
29552974
* <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>
29562975
* </li>
29572976
* <li>
2958-
* <p>Daily recording allows you record configuration data once every 24 hours, only if a change has occurred.</p>
2977+
* <p>Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.
2978+
* </p>
29592979
* </li>
29602980
* </ul>
29612981
* <note>
@@ -3078,7 +3098,8 @@ export interface ConfigurationRecorder {
30783098
* <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>
30793099
* </li>
30803100
* <li>
3081-
* <p>Daily recording allows you record configuration data once every 24 hours, only if a change has occurred.</p>
3101+
* <p>Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.
3102+
* </p>
30823103
* </li>
30833104
* </ul>
30843105
* <note>
@@ -6110,9 +6131,12 @@ export interface RemediationConfiguration {
61106131

61116132
/**
61126133
* @public
6113-
* <p>Maximum time in seconds that Config runs auto-remediation. If you do not select a number, the default is 60 seconds. </p>
6114-
* <p>For example, if you specify RetryAttemptSeconds as 50 seconds and MaximumAutomaticAttempts as 5,
6115-
* Config will run auto-remediations 5 times within 50 seconds before throwing an exception.</p>
6134+
* <p>Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.
6135+
* If <code>MaximumAutomaticAttempts</code> remediation attempts have been made under <code>RetryAttemptSeconds</code>, a remediation exception will be added to the resource.
6136+
* If you do not select a number, the default is 60 seconds.
6137+
* </p>
6138+
* <p>For example, if you specify <code>RetryAttemptSeconds</code> as 50 seconds and <code>MaximumAutomaticAttempts</code> as 5,
6139+
* Config will run auto-remediations 5 times within 50 seconds before adding a remediation exception to the resource.</p>
61166140
*/
61176141
RetryAttemptSeconds?: number;
61186142

codegen/sdk-codegen/aws-models/config-service.json

Lines changed: 112 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@
18211821
"recordingMode": {
18221822
"target": "com.amazonaws.configservice#RecordingMode",
18231823
"traits": {
1824-
"smithy.api#documentation": "<p>Specifies the default recording frequency that Config uses to record configuration changes.\n\t\t\t\n\t\t\tConfig supports <i>Continuous recording</i> and <i>Daily recording</i>.</p>\n <ul>\n <li>\n <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>\n </li>\n <li>\n <p>Daily recording allows you record configuration data once every 24 hours, only if a change has occurred.</p>\n </li>\n </ul>\n <note>\n <p>Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager,\n\t\t\tit is recommended that you set the recording frequency to Continuous.</p>\n </note>\n <p>You can also override the recording frequency for specific resource types.</p>"
1824+
"smithy.api#documentation": "<p>Specifies the default recording frequency that Config uses to record configuration changes.\n\t\t\t\n\t\t\tConfig supports <i>Continuous recording</i> and <i>Daily recording</i>.</p>\n <ul>\n <li>\n <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>\n </li>\n <li>\n <p>Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.\n\t\t\t</p>\n </li>\n </ul>\n <note>\n <p>Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager,\n\t\t\tit is recommended that you set the recording frequency to Continuous.</p>\n </note>\n <p>You can also override the recording frequency for specific resource types.</p>"
18251825
}
18261826
}
18271827
},
@@ -10732,7 +10732,7 @@
1073210732
}
1073310733
},
1073410734
"traits": {
10735-
"smithy.api#documentation": "<p>Specifies the default recording frequency that Config uses to record configuration changes.\n\t\t\t\n\t\t\tConfig supports <i>Continuous recording</i> and <i>Daily recording</i>.</p>\n <ul>\n <li>\n <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>\n </li>\n <li>\n <p>Daily recording allows you record configuration data once every 24 hours, only if a change has occurred.</p>\n </li>\n </ul>\n <note>\n <p>Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager,\n\t\t\tit is recommended that you set the recording frequency to Continuous.</p>\n </note>\n <p>You can also override the recording frequency for specific resource types.</p>"
10735+
"smithy.api#documentation": "<p>Specifies the default recording frequency that Config uses to record configuration changes.\n\t\t\t\n\t\t\tConfig supports <i>Continuous recording</i> and <i>Daily recording</i>.</p>\n <ul>\n <li>\n <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>\n </li>\n <li>\n <p>Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.\n\t\t\t</p>\n </li>\n </ul>\n <note>\n <p>Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager,\n\t\t\tit is recommended that you set the recording frequency to Continuous.</p>\n </note>\n <p>You can also override the recording frequency for specific resource types.</p>"
1073610736
}
1073710737
},
1073810738
"com.amazonaws.configservice#RecordingModeOverride": {
@@ -10754,7 +10754,7 @@
1075410754
"recordingFrequency": {
1075510755
"target": "com.amazonaws.configservice#RecordingFrequency",
1075610756
"traits": {
10757-
"smithy.api#documentation": "<p>The recording frequency that will be applied to all the resource types specified in the override.</p>\n <ul>\n <li>\n <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>\n </li>\n <li>\n <p>Daily recording allows you record configuration data once every 24 hours, only if a change has occurred.</p>\n </li>\n </ul>\n <note>\n <p>Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager,\n\t\t\tit is recommended that you set the recording frequency to Continuous.</p>\n </note>",
10757+
"smithy.api#documentation": "<p>The recording frequency that will be applied to all the resource types specified in the override.</p>\n <ul>\n <li>\n <p>Continuous recording allows you to record configuration changes continuously whenever a change occurs.</p>\n </li>\n <li>\n <p>Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.\n\t\t\t</p>\n </li>\n </ul>\n <note>\n <p>Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager,\n\t\t\tit is recommended that you set the recording frequency to Continuous.</p>\n </note>",
1075810758
"smithy.api#required": {}
1075910759
}
1076010760
}
@@ -10944,7 +10944,7 @@
1094410944
"RetryAttemptSeconds": {
1094510945
"target": "com.amazonaws.configservice#AutoRemediationAttemptSeconds",
1094610946
"traits": {
10947-
"smithy.api#documentation": "<p>Maximum time in seconds that Config runs auto-remediation. If you do not select a number, the default is 60 seconds. </p>\n <p>For example, if you specify RetryAttemptSeconds as 50 seconds and MaximumAutomaticAttempts as 5, \n\t\tConfig will run auto-remediations 5 times within 50 seconds before throwing an exception.</p>"
10947+
"smithy.api#documentation": "<p>Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.\n\t\t\tIf <code>MaximumAutomaticAttempts</code> remediation attempts have been made under <code>RetryAttemptSeconds</code>, a remediation exception will be added to the resource.\n\t\t\tIf you do not select a number, the default is 60 seconds.\n\t\t</p>\n <p>For example, if you specify <code>RetryAttemptSeconds</code> as 50 seconds and <code>MaximumAutomaticAttempts</code> as 5, \n\t\t\tConfig will run auto-remediations 5 times within 50 seconds before adding a remediation exception to the resource.</p>"
1094810948
}
1094910949
},
1095010950
"Arn": {
@@ -14013,6 +14013,114 @@
1401314013
"traits": {
1401414014
"smithy.api#enumValue": "AWS::ResourceExplorer2::Index"
1401514015
}
14016+
},
14017+
"AppStreamFleet": {
14018+
"target": "smithy.api#Unit",
14019+
"traits": {
14020+
"smithy.api#enumValue": "AWS::AppStream::Fleet"
14021+
}
14022+
},
14023+
"CognitoUserPool": {
14024+
"target": "smithy.api#Unit",
14025+
"traits": {
14026+
"smithy.api#enumValue": "AWS::Cognito::UserPool"
14027+
}
14028+
},
14029+
"CognitoUserPoolClient": {
14030+
"target": "smithy.api#Unit",
14031+
"traits": {
14032+
"smithy.api#enumValue": "AWS::Cognito::UserPoolClient"
14033+
}
14034+
},
14035+
"CognitoUserPoolGroup": {
14036+
"target": "smithy.api#Unit",
14037+
"traits": {
14038+
"smithy.api#enumValue": "AWS::Cognito::UserPoolGroup"
14039+
}
14040+
},
14041+
"EC2NetworkInsightsAccessScope": {
14042+
"target": "smithy.api#Unit",
14043+
"traits": {
14044+
"smithy.api#enumValue": "AWS::EC2::NetworkInsightsAccessScope"
14045+
}
14046+
},
14047+
"EC2NetworkInsightsAnalysis": {
14048+
"target": "smithy.api#Unit",
14049+
"traits": {
14050+
"smithy.api#enumValue": "AWS::EC2::NetworkInsightsAnalysis"
14051+
}
14052+
},
14053+
"GrafanaWorkspace": {
14054+
"target": "smithy.api#Unit",
14055+
"traits": {
14056+
"smithy.api#enumValue": "AWS::Grafana::Workspace"
14057+
}
14058+
},
14059+
"GroundStationDataflowEndpointGroup": {
14060+
"target": "smithy.api#Unit",
14061+
"traits": {
14062+
"smithy.api#enumValue": "AWS::GroundStation::DataflowEndpointGroup"
14063+
}
14064+
},
14065+
"ImageBuilderImageRecipe": {
14066+
"target": "smithy.api#Unit",
14067+
"traits": {
14068+
"smithy.api#enumValue": "AWS::ImageBuilder::ImageRecipe"
14069+
}
14070+
},
14071+
"KMSAlias": {
14072+
"target": "smithy.api#Unit",
14073+
"traits": {
14074+
"smithy.api#enumValue": "AWS::KMS::Alias"
14075+
}
14076+
},
14077+
"M2Environment": {
14078+
"target": "smithy.api#Unit",
14079+
"traits": {
14080+
"smithy.api#enumValue": "AWS::M2::Environment"
14081+
}
14082+
},
14083+
"QuickSightDataSource": {
14084+
"target": "smithy.api#Unit",
14085+
"traits": {
14086+
"smithy.api#enumValue": "AWS::QuickSight::DataSource"
14087+
}
14088+
},
14089+
"QuickSightTemplate": {
14090+
"target": "smithy.api#Unit",
14091+
"traits": {
14092+
"smithy.api#enumValue": "AWS::QuickSight::Template"
14093+
}
14094+
},
14095+
"QuickSightTheme": {
14096+
"target": "smithy.api#Unit",
14097+
"traits": {
14098+
"smithy.api#enumValue": "AWS::QuickSight::Theme"
14099+
}
14100+
},
14101+
"RDSOptionGroup": {
14102+
"target": "smithy.api#Unit",
14103+
"traits": {
14104+
"smithy.api#enumValue": "AWS::RDS::OptionGroup"
14105+
}
14106+
},
14107+
"RedshiftEndpointAccess": {
14108+
"target": "smithy.api#Unit",
14109+
"traits": {
14110+
"smithy.api#enumValue": "AWS::Redshift::EndpointAccess"
14111+
}
14112+
},
14113+
"Route53ResolverFirewallRuleGroup": {
14114+
"target": "smithy.api#Unit",
14115+
"traits": {
14116+
"smithy.api#enumValue": "AWS::Route53Resolver::FirewallRuleGroup"
14117+
}
14118+
},
14119+
"SSMDocument": {
14120+
"target": "smithy.api#Unit",
14121+
"traits": {
14122+
"smithy.api#enumValue": "AWS::SSM::Document"
14123+
}
1401614124
}
1401714125
}
1401814126
},

0 commit comments

Comments
 (0)