From 91254f30925b89db5e79604d812a1ee9279267bd Mon Sep 17 00:00:00 2001 From: Paul Maddox Date: Mon, 28 Oct 2019 16:07:10 -0700 Subject: [PATCH] fix(schema): Ordered cloudformation/all.go file (#238) Previously items in the cloudformation/all.go file were generated in a random order, which meant the generated file was likely to change each and every time it was generated - even if the contents were the same. --- cloudformation/all.go | 8268 ++++++++++++++++++++--------------------- generate/generate.go | 7 + 2 files changed, 4141 insertions(+), 4134 deletions(-) diff --git a/cloudformation/all.go b/cloudformation/all.go index 24301a948e..911da5638c 100644 --- a/cloudformation/all.go +++ b/cloudformation/all.go @@ -107,3928 +107,3904 @@ import ( // AllResources fetches an iterable map all CloudFormation and SAM resources func AllResources() map[string]Resource { return map[string]Resource{ - "AWS::AppStream::ImageBuilder": &appstream.ImageBuilder{}, - "AWS::Pinpoint::APNSSandboxChannel": &pinpoint.APNSSandboxChannel{}, - "AWS::FSx::FileSystem": &fsx.FileSystem{}, - "AWS::ElasticBeanstalk::Environment": &elasticbeanstalk.Environment{}, - "AWS::CloudFront::StreamingDistribution": &cloudfront.StreamingDistribution{}, - "AWS::SES::Template": &ses.Template{}, - "AWS::CloudTrail::Trail": &cloudtrail.Trail{}, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": &kinesisanalyticsv2.ApplicationCloudWatchLoggingOption{}, - "AWS::ElastiCache::SecurityGroup": &elasticache.SecurityGroup{}, - "AWS::DAX::SubnetGroup": &dax.SubnetGroup{}, - "AWS::Pinpoint::ADMChannel": &pinpoint.ADMChannel{}, - "AWS::OpsWorks::Layer": &opsworks.Layer{}, - "AWS::ApiGateway::Stage": &apigateway.Stage{}, - "AWS::SES::ReceiptRule": &ses.ReceiptRule{}, - "AWS::EC2::VPCDHCPOptionsAssociation": &ec2.VPCDHCPOptionsAssociation{}, - "AWS::ServiceDiscovery::PublicDnsNamespace": &servicediscovery.PublicDnsNamespace{}, - "AWS::ElasticBeanstalk::ConfigurationTemplate": &elasticbeanstalk.ConfigurationTemplate{}, - "AWS::AutoScalingPlans::ScalingPlan": &autoscalingplans.ScalingPlan{}, + "AWS::AmazonMQ::Broker": &amazonmq.Broker{}, + "AWS::AmazonMQ::Configuration": &amazonmq.Configuration{}, + "AWS::AmazonMQ::ConfigurationAssociation": &amazonmq.ConfigurationAssociation{}, + "AWS::Amplify::App": &lify.App{}, + "AWS::Amplify::Branch": &lify.Branch{}, + "AWS::Amplify::Domain": &lify.Domain{}, + "AWS::ApiGateway::Account": &apigateway.Account{}, + "AWS::ApiGateway::ApiKey": &apigateway.ApiKey{}, "AWS::ApiGateway::Authorizer": &apigateway.Authorizer{}, - "AWS::EC2::TrafficMirrorFilter": &ec2.TrafficMirrorFilter{}, - "AWS::SecretsManager::SecretTargetAttachment": &secretsmanager.SecretTargetAttachment{}, - "AWS::Greengrass::FunctionDefinitionVersion": &greengrass.FunctionDefinitionVersion{}, - "AWS::ServiceCatalog::TagOptionAssociation": &servicecatalog.TagOptionAssociation{}, - "AWS::Events::EventBusPolicy": &events.EventBusPolicy{}, - "AWS::SSM::MaintenanceWindowTarget": &ssm.MaintenanceWindowTarget{}, - "AWS::Config::DeliveryChannel": &config.DeliveryChannel{}, - "AWS::EC2::NetworkAcl": &ec2.NetworkAcl{}, - "AWS::KinesisFirehose::DeliveryStream": &kinesisfirehose.DeliveryStream{}, - "AWS::StepFunctions::Activity": &stepfunctions.Activity{}, - "AWS::ElasticLoadBalancing::LoadBalancer": &elasticloadbalancing.LoadBalancer{}, - "Alexa::ASK::Skill": &ask.Skill{}, + "AWS::ApiGateway::BasePathMapping": &apigateway.BasePathMapping{}, + "AWS::ApiGateway::ClientCertificate": &apigateway.ClientCertificate{}, + "AWS::ApiGateway::Deployment": &apigateway.Deployment{}, "AWS::ApiGateway::DocumentationPart": &apigateway.DocumentationPart{}, - "AWS::EFS::FileSystem": &efs.FileSystem{}, - "AWS::WAF::ByteMatchSet": &waf.ByteMatchSet{}, - "AWS::GuardDuty::Detector": &guardduty.Detector{}, + "AWS::ApiGateway::DocumentationVersion": &apigateway.DocumentationVersion{}, + "AWS::ApiGateway::DomainName": &apigateway.DomainName{}, + "AWS::ApiGateway::GatewayResponse": &apigateway.GatewayResponse{}, + "AWS::ApiGateway::Method": &apigateway.Method{}, + "AWS::ApiGateway::Model": &apigateway.Model{}, + "AWS::ApiGateway::RequestValidator": &apigateway.RequestValidator{}, + "AWS::ApiGateway::Resource": &apigateway.Resource{}, + "AWS::ApiGateway::RestApi": &apigateway.RestApi{}, + "AWS::ApiGateway::Stage": &apigateway.Stage{}, + "AWS::ApiGateway::UsagePlan": &apigateway.UsagePlan{}, + "AWS::ApiGateway::UsagePlanKey": &apigateway.UsagePlanKey{}, + "AWS::ApiGateway::VpcLink": &apigateway.VpcLink{}, + "AWS::ApiGatewayV2::Api": &apigatewayv2.Api{}, + "AWS::ApiGatewayV2::ApiMapping": &apigatewayv2.ApiMapping{}, + "AWS::ApiGatewayV2::Authorizer": &apigatewayv2.Authorizer{}, + "AWS::ApiGatewayV2::Deployment": &apigatewayv2.Deployment{}, + "AWS::ApiGatewayV2::DomainName": &apigatewayv2.DomainName{}, + "AWS::ApiGatewayV2::Integration": &apigatewayv2.Integration{}, + "AWS::ApiGatewayV2::IntegrationResponse": &apigatewayv2.IntegrationResponse{}, + "AWS::ApiGatewayV2::Model": &apigatewayv2.Model{}, + "AWS::ApiGatewayV2::Route": &apigatewayv2.Route{}, + "AWS::ApiGatewayV2::RouteResponse": &apigatewayv2.RouteResponse{}, + "AWS::ApiGatewayV2::Stage": &apigatewayv2.Stage{}, + "AWS::AppMesh::Mesh": &appmesh.Mesh{}, + "AWS::AppMesh::Route": &appmesh.Route{}, + "AWS::AppMesh::VirtualNode": &appmesh.VirtualNode{}, + "AWS::AppMesh::VirtualRouter": &appmesh.VirtualRouter{}, + "AWS::AppMesh::VirtualService": &appmesh.VirtualService{}, "AWS::AppStream::DirectoryConfig": &appstream.DirectoryConfig{}, - "AWS::EC2::TransitGatewayRoute": &ec2.TransitGatewayRoute{}, + "AWS::AppStream::Fleet": &appstream.Fleet{}, + "AWS::AppStream::ImageBuilder": &appstream.ImageBuilder{}, + "AWS::AppStream::Stack": &appstream.Stack{}, + "AWS::AppStream::StackFleetAssociation": &appstream.StackFleetAssociation{}, "AWS::AppStream::StackUserAssociation": &appstream.StackUserAssociation{}, - "AWS::DMS::ReplicationInstance": &dms.ReplicationInstance{}, - "AWS::RDS::DBParameterGroup": &rds.DBParameterGroup{}, - "AWS::Events::EventBus": &events.EventBus{}, - "AWS::ServiceDiscovery::Service": &servicediscovery.Service{}, - "AWS::EC2::NetworkInterface": &ec2.NetworkInterface{}, - "AWS::Transfer::User": &transfer.User{}, - "AWS::Config::ConfigRule": &config.ConfigRule{}, - "AWS::ApiGatewayV2::Stage": &apigatewayv2.Stage{}, - "AWS::IoT::TopicRule": &iot.TopicRule{}, - "AWS::Events::Rule": &events.Rule{}, - "AWS::Greengrass::CoreDefinitionVersion": &greengrass.CoreDefinitionVersion{}, - "AWS::WAFRegional::GeoMatchSet": &wafregional.GeoMatchSet{}, - "AWS::CertificateManager::Certificate": &certificatemanager.Certificate{}, - "AWS::StepFunctions::StateMachine": &stepfunctions.StateMachine{}, - "AWS::EC2::TransitGatewayAttachment": &ec2.TransitGatewayAttachment{}, - "AWS::EC2::Subnet": &ec2.Subnet{}, - "AWS::Glue::DevEndpoint": &glue.DevEndpoint{}, - "AWS::EC2::ClientVpnRoute": &ec2.ClientVpnRoute{}, - "AWS::ApiGateway::Account": &apigateway.Account{}, - "AWS::Lambda::LayerVersionPermission": &lambda.LayerVersionPermission{}, - "AWS::SageMaker::CodeRepository": &sagemaker.CodeRepository{}, - "AWS::Transfer::Server": &transfer.Server{}, - "AWS::DMS::ReplicationTask": &dms.ReplicationTask{}, - "AWS::GuardDuty::ThreatIntelSet": &guardduty.ThreatIntelSet{}, - "AWS::DMS::EventSubscription": &dms.EventSubscription{}, "AWS::AppStream::User": &appstream.User{}, - "AWS::IoTThingsGraph::FlowTemplate": &iotthingsgraph.FlowTemplate{}, - "AWS::EC2::TransitGatewayRouteTablePropagation": &ec2.TransitGatewayRouteTablePropagation{}, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct": &servicecatalog.CloudFormationProvisionedProduct{}, - "AWS::SNS::Subscription": &sns.Subscription{}, - "AWS::Pinpoint::EventStream": &pinpoint.EventStream{}, - "AWS::EMR::Cluster": &emr.Cluster{}, - "AWS::RDS::EventSubscription": &rds.EventSubscription{}, - "AWS::ApiGateway::VpcLink": &apigateway.VpcLink{}, - "AWS::RoboMaker::Robot": &robomaker.Robot{}, - "AWS::EC2::TrafficMirrorTarget": &ec2.TrafficMirrorTarget{}, - "AWS::KinesisAnalytics::ApplicationOutput": &kinesisanalytics.ApplicationOutput{}, - "AWS::EC2::Volume": &ec2.Volume{}, - "AWS::SecretsManager::ResourcePolicy": &secretsmanager.ResourcePolicy{}, - "AWS::CodePipeline::CustomActionType": &codepipeline.CustomActionType{}, - "AWS::ApiGateway::RestApi": &apigateway.RestApi{}, - "AWS::ApplicationAutoScaling::ScalingPolicy": &applicationautoscaling.ScalingPolicy{}, - "AWS::ApiGatewayV2::Model": &apigatewayv2.Model{}, - "AWS::EC2::VPCPeeringConnection": &ec2.VPCPeeringConnection{}, - "AWS::EC2::CustomerGateway": &ec2.CustomerGateway{}, - "AWS::ServiceDiscovery::PrivateDnsNamespace": &servicediscovery.PrivateDnsNamespace{}, - "AWS::GameLift::Alias": &gamelift.Alias{}, - "AWS::Glue::Partition": &glue.Partition{}, - "AWS::CloudFormation::Macro": &cloudformation.Macro{}, - "AWS::EC2::TransitGatewayRouteTableAssociation": &ec2.TransitGatewayRouteTableAssociation{}, - "AWS::Inspector::AssessmentTarget": &inspector.AssessmentTarget{}, - "AWS::EC2::VPCEndpointService": &ec2.VPCEndpointService{}, - "AWS::EC2::VPCEndpoint": &ec2.VPCEndpoint{}, - "AWS::ElasticLoadBalancingV2::TargetGroup": &elasticloadbalancingv2.TargetGroup{}, - "AWS::EC2::VPCCidrBlock": &ec2.VPCCidrBlock{}, - "AWS::EC2::DHCPOptions": &ec2.DHCPOptions{}, - "AWS::EC2::EgressOnlyInternetGateway": &ec2.EgressOnlyInternetGateway{}, + "AWS::AppSync::ApiKey": &appsync.ApiKey{}, "AWS::AppSync::DataSource": &appsync.DataSource{}, - "AWS::DMS::Certificate": &dms.Certificate{}, - "AWS::EC2::ClientVpnTargetNetworkAssociation": &ec2.ClientVpnTargetNetworkAssociation{}, - "AWS::Lambda::LayerVersion": &lambda.LayerVersion{}, - "AWS::ElasticLoadBalancingV2::Listener": &elasticloadbalancingv2.Listener{}, - "AWS::EC2::VPCEndpointServicePermissions": &ec2.VPCEndpointServicePermissions{}, - "AWS::SES::ConfigurationSet": &ses.ConfigurationSet{}, - "AWS::EC2::NetworkInterfaceAttachment": &ec2.NetworkInterfaceAttachment{}, - "AWS::LakeFormation::Resource": &lakeformation.Resource{}, - "AWS::ServiceDiscovery::Instance": &servicediscovery.Instance{}, - "AWS::AutoScaling::ScalingPolicy": &autoscaling.ScalingPolicy{}, - "AWS::Glue::Classifier": &glue.Classifier{}, - "AWS::ServiceCatalog::Portfolio": &servicecatalog.Portfolio{}, - "AWS::GuardDuty::Member": &guardduty.Member{}, - "AWS::EC2::VolumeAttachment": &ec2.VolumeAttachment{}, - "AWS::EC2::TrafficMirrorSession": &ec2.TrafficMirrorSession{}, - "AWS::IAM::Group": &iam.Group{}, - "AWS::CodeBuild::Project": &codebuild.Project{}, - "AWS::WAF::XssMatchSet": &waf.XssMatchSet{}, - "AWS::QLDB::Ledger": &qldb.Ledger{}, - "AWS::IAM::UserToGroupAddition": &iam.UserToGroupAddition{}, - "AWS::Redshift::ClusterSecurityGroupIngress": &redshift.ClusterSecurityGroupIngress{}, - "AWS::PinpointEmail::ConfigurationSetEventDestination": &pinpointemail.ConfigurationSetEventDestination{}, - "AWS::OpsWorks::Instance": &opsworks.Instance{}, - "AWS::ECS::Service": &ecs.Service{}, - "AWS::WAF::SqlInjectionMatchSet": &waf.SqlInjectionMatchSet{}, - "AWS::EKS::Cluster": &eks.Cluster{}, - "AWS::GuardDuty::Master": &guardduty.Master{}, - "AWS::ElastiCache::ReplicationGroup": &elasticache.ReplicationGroup{}, - "AWS::AppMesh::Route": &appmesh.Route{}, - "AWS::ApiGateway::DomainName": &apigateway.DomainName{}, - "AWS::Logs::MetricFilter": &logs.MetricFilter{}, - "AWS::Greengrass::ConnectorDefinition": &greengrass.ConnectorDefinition{}, - "AWS::Cognito::UserPoolUser": &cognito.UserPoolUser{}, - "AWS::AutoScaling::AutoScalingGroup": &autoscaling.AutoScalingGroup{}, - "AWS::DAX::ParameterGroup": &dax.ParameterGroup{}, - "AWS::Greengrass::SubscriptionDefinitionVersion": &greengrass.SubscriptionDefinitionVersion{}, - "AWS::EC2::ClientVpnAuthorizationRule": &ec2.ClientVpnAuthorizationRule{}, - "AWS::SES::ReceiptRuleSet": &ses.ReceiptRuleSet{}, - "AWS::Glue::Workflow": &glue.Workflow{}, - "AWS::DocDB::DBInstance": &docdb.DBInstance{}, - "AWS::Cognito::UserPoolClient": &cognito.UserPoolClient{}, - "AWS::CodeCommit::Repository": &codecommit.Repository{}, - "AWS::Config::ConfigurationAggregator": &config.ConfigurationAggregator{}, - "AWS::DocDB::DBCluster": &docdb.DBCluster{}, - "AWS::ElastiCache::SubnetGroup": &elasticache.SubnetGroup{}, - "AWS::SageMaker::Endpoint": &sagemaker.Endpoint{}, - "AWS::MediaLive::Input": &medialive.Input{}, - "AWS::EC2::NatGateway": &ec2.NatGateway{}, - "AWS::EC2::Host": &ec2.Host{}, - "AWS::KinesisAnalytics::Application": &kinesisanalytics.Application{}, - "AWS::SSM::Association": &ssm.Association{}, - "AWS::ElasticLoadBalancingV2::LoadBalancer": &elasticloadbalancingv2.LoadBalancer{}, - "AWS::S3::BucketPolicy": &s3.BucketPolicy{}, - "AWS::PinpointEmail::ConfigurationSet": &pinpointemail.ConfigurationSet{}, - "AWS::ApiGatewayV2::ApiMapping": &apigatewayv2.ApiMapping{}, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource": &kinesisanalytics.ApplicationReferenceDataSource{}, - "AWS::ApiGateway::RequestValidator": &apigateway.RequestValidator{}, - "AWS::EC2::NetworkAclEntry": &ec2.NetworkAclEntry{}, - "AWS::EC2::InternetGateway": &ec2.InternetGateway{}, - "AWS::Pinpoint::Campaign": &pinpoint.Campaign{}, - "AWS::DocDB::DBClusterParameterGroup": &docdb.DBClusterParameterGroup{}, - "AWS::Glue::Trigger": &glue.Trigger{}, - "AWS::Cognito::UserPoolRiskConfigurationAttachment": &cognito.UserPoolRiskConfigurationAttachment{}, - "AWS::SNS::Topic": &sns.Topic{}, - "AWS::EC2::SecurityGroupEgress": &ec2.SecurityGroupEgress{}, - "AWS::Lambda::Version": &lambda.Version{}, - "AWS::OpsWorks::Volume": &opsworks.Volume{}, - "AWS::Config::RemediationConfiguration": &config.RemediationConfiguration{}, - "AWS::ServiceCatalog::AcceptedPortfolioShare": &servicecatalog.AcceptedPortfolioShare{}, - "AWS::EC2::VPNGateway": &ec2.VPNGateway{}, - "AWS::Neptune::DBParameterGroup": &neptune.DBParameterGroup{}, - "AWS::ElastiCache::ParameterGroup": &elasticache.ParameterGroup{}, - "AWS::RoboMaker::RobotApplicationVersion": &robomaker.RobotApplicationVersion{}, - "AWS::Glue::Job": &glue.Job{}, - "AWS::Glue::Crawler": &glue.Crawler{}, - "AWS::RoboMaker::Fleet": &robomaker.Fleet{}, - "AWS::EC2::SubnetRouteTableAssociation": &ec2.SubnetRouteTableAssociation{}, - "AWS::LakeFormation::DataLakeSettings": &lakeformation.DataLakeSettings{}, - "AWS::ElasticLoadBalancingV2::ListenerCertificate": &elasticloadbalancingv2.ListenerCertificate{}, - "AWS::Glue::SecurityConfiguration": &glue.SecurityConfiguration{}, - "AWS::Cognito::UserPoolGroup": &cognito.UserPoolGroup{}, - "AWS::IoTAnalytics::Channel": &iotanalytics.Channel{}, - "AWS::Greengrass::Group": &greengrass.Group{}, - "AWS::MediaLive::InputSecurityGroup": &medialive.InputSecurityGroup{}, - "AWS::WAF::WebACL": &waf.WebACL{}, - "AWS::Route53::RecordSetGroup": &route53.RecordSetGroup{}, - "AWS::ApiGateway::Method": &apigateway.Method{}, - "AWS::WAF::IPSet": &waf.IPSet{}, + "AWS::AppSync::FunctionConfiguration": &appsync.FunctionConfiguration{}, "AWS::AppSync::GraphQLApi": &appsync.GraphQLApi{}, - "AWS::CloudFront::Distribution": &cloudfront.Distribution{}, - "AWS::Cognito::UserPool": &cognito.UserPool{}, - "AWS::PinpointEmail::DedicatedIpPool": &pinpointemail.DedicatedIpPool{}, - "AWS::RDS::OptionGroup": &rds.OptionGroup{}, - "AWS::Inspector::AssessmentTemplate": &inspector.AssessmentTemplate{}, - "AWS::WAFRegional::SqlInjectionMatchSet": &wafregional.SqlInjectionMatchSet{}, - "AWS::EC2::EC2Fleet": &ec2.EC2Fleet{}, - "AWS::WorkSpaces::Workspace": &workspaces.Workspace{}, - "AWS::RoboMaker::SimulationApplicationVersion": &robomaker.SimulationApplicationVersion{}, - "AWS::ApiGatewayV2::DomainName": &apigatewayv2.DomainName{}, - "AWS::Neptune::DBClusterParameterGroup": &neptune.DBClusterParameterGroup{}, - "AWS::ApiGateway::BasePathMapping": &apigateway.BasePathMapping{}, - "AWS::ServiceCatalog::ResourceUpdateConstraint": &servicecatalog.ResourceUpdateConstraint{}, - "AWS::IAM::ServiceLinkedRole": &iam.ServiceLinkedRole{}, - "AWS::SageMaker::EndpointConfig": &sagemaker.EndpointConfig{}, - "AWS::OpsWorks::ElasticLoadBalancerAttachment": &opsworks.ElasticLoadBalancerAttachment{}, - "AWS::EC2::EIPAssociation": &ec2.EIPAssociation{}, - "AWS::Cognito::UserPoolIdentityProvider": &cognito.UserPoolIdentityProvider{}, - "AWS::Lambda::Permission": &lambda.Permission{}, - "AWS::AppMesh::Mesh": &appmesh.Mesh{}, - "AWS::GuardDuty::IPSet": &guardduty.IPSet{}, - "AWS::EC2::EIP": &ec2.EIP{}, - "AWS::Lambda::Alias": &lambda.Alias{}, - "AWS::Greengrass::LoggerDefinitionVersion": &greengrass.LoggerDefinitionVersion{}, - "AWS::EC2::VPNConnection": &ec2.VPNConnection{}, - "AWS::ApiGateway::DocumentationVersion": &apigateway.DocumentationVersion{}, - "AWS::SSM::MaintenanceWindowTask": &ssm.MaintenanceWindowTask{}, - "AWS::EC2::FlowLog": &ec2.FlowLog{}, - "AWS::IAM::AccessKey": &iam.AccessKey{}, - "AWS::ElasticLoadBalancingV2::ListenerRule": &elasticloadbalancingv2.ListenerRule{}, - "AWS::RAM::ResourceShare": &ram.ResourceShare{}, - "AWS::ServiceCatalog::StackSetConstraint": &servicecatalog.StackSetConstraint{}, - "AWS::EC2::SecurityGroupIngress": &ec2.SecurityGroupIngress{}, - "AWS::Greengrass::ResourceDefinitionVersion": &greengrass.ResourceDefinitionVersion{}, - "AWS::MSK::Cluster": &msk.Cluster{}, - "AWS::EC2::VPCGatewayAttachment": &ec2.VPCGatewayAttachment{}, - "AWS::EC2::Route": &ec2.Route{}, - "AWS::Lambda::Function": &lambda.Function{}, - "AWS::ElasticBeanstalk::ApplicationVersion": &elasticbeanstalk.ApplicationVersion{}, - "AWS::Route53Resolver::ResolverEndpoint": &route53resolver.ResolverEndpoint{}, - "AWS::OpsWorks::App": &opsworks.App{}, - "AWS::CloudFront::CloudFrontOriginAccessIdentity": &cloudfront.CloudFrontOriginAccessIdentity{}, - "AWS::Pinpoint::BaiduChannel": &pinpoint.BaiduChannel{}, - "AWS::Redshift::ClusterSubnetGroup": &redshift.ClusterSubnetGroup{}, - "AWS::ApiGateway::UsagePlanKey": &apigateway.UsagePlanKey{}, - "AWS::Greengrass::CoreDefinition": &greengrass.CoreDefinition{}, - "AWS::SES::ConfigurationSetEventDestination": &ses.ConfigurationSetEventDestination{}, - "AWS::Route53::HealthCheck": &route53.HealthCheck{}, - "AWS::ApiGateway::Resource": &apigateway.Resource{}, - "AWS::Pinpoint::Segment": &pinpoint.Segment{}, - "AWS::Pinpoint::EmailChannel": &pinpoint.EmailChannel{}, - "AWS::SQS::Queue": &sqs.Queue{}, - "AWS::GuardDuty::Filter": &guardduty.Filter{}, - "AWS::Lambda::EventSourceMapping": &lambda.EventSourceMapping{}, - "AWS::EC2::PlacementGroup": &ec2.PlacementGroup{}, - "AWS::EC2::TrafficMirrorFilterRule": &ec2.TrafficMirrorFilterRule{}, - "AWS::ApiGateway::Model": &apigateway.Model{}, - "AWS::WAFRegional::RegexPatternSet": &wafregional.RegexPatternSet{}, - "AWS::AutoScaling::LifecycleHook": &autoscaling.LifecycleHook{}, - "AWS::ApiGatewayV2::IntegrationResponse": &apigatewayv2.IntegrationResponse{}, - "AWS::EC2::CapacityReservation": &ec2.CapacityReservation{}, + "AWS::AppSync::GraphQLSchema": &appsync.GraphQLSchema{}, "AWS::AppSync::Resolver": &appsync.Resolver{}, - "AWS::AmazonMQ::Configuration": &amazonmq.Configuration{}, - "AWS::GameLift::Build": &gamelift.Build{}, - "AWS::SecurityHub::Hub": &securityhub.Hub{}, - "AWS::DLM::LifecyclePolicy": &dlm.LifecyclePolicy{}, - "AWS::Greengrass::FunctionDefinition": &greengrass.FunctionDefinition{}, - "AWS::EC2::TransitGateway": &ec2.TransitGateway{}, - "AWS::CodeDeploy::DeploymentConfig": &codedeploy.DeploymentConfig{}, - "AWS::WAFRegional::Rule": &wafregional.Rule{}, - "AWS::IAM::Policy": &iam.Policy{}, - "AWS::ServiceCatalog::PortfolioProductAssociation": &servicecatalog.PortfolioProductAssociation{}, - "AWS::IoT1Click::Placement": &iot1click.Placement{}, - "AWS::IoTAnalytics::Datastore": &iotanalytics.Datastore{}, - "AWS::ServiceDiscovery::HttpNamespace": &servicediscovery.HttpNamespace{}, - "AWS::Logs::LogGroup": &logs.LogGroup{}, - "AWS::EC2::RouteTable": &ec2.RouteTable{}, - "AWS::ApiGatewayV2::Route": &apigatewayv2.Route{}, - "AWS::EC2::VPNConnectionRoute": &ec2.VPNConnectionRoute{}, - "AWS::OpsWorks::Stack": &opsworks.Stack{}, - "AWS::DirectoryService::MicrosoftAD": &directoryservice.MicrosoftAD{}, - "AWS::DataPipeline::Pipeline": &datapipeline.Pipeline{}, - "AWS::Batch::JobDefinition": &batch.JobDefinition{}, - "AWS::Greengrass::ResourceDefinition": &greengrass.ResourceDefinition{}, - "AWS::IAM::Role": &iam.Role{}, - "AWS::ServiceCatalog::LaunchTemplateConstraint": &servicecatalog.LaunchTemplateConstraint{}, + "AWS::ApplicationAutoScaling::ScalableTarget": &applicationautoscaling.ScalableTarget{}, + "AWS::ApplicationAutoScaling::ScalingPolicy": &applicationautoscaling.ScalingPolicy{}, + "AWS::Athena::NamedQuery": &athena.NamedQuery{}, + "AWS::AutoScaling::AutoScalingGroup": &autoscaling.AutoScalingGroup{}, + "AWS::AutoScaling::LaunchConfiguration": &autoscaling.LaunchConfiguration{}, + "AWS::AutoScaling::LifecycleHook": &autoscaling.LifecycleHook{}, + "AWS::AutoScaling::ScalingPolicy": &autoscaling.ScalingPolicy{}, + "AWS::AutoScaling::ScheduledAction": &autoscaling.ScheduledAction{}, + "AWS::AutoScalingPlans::ScalingPlan": &autoscalingplans.ScalingPlan{}, + "AWS::Backup::BackupPlan": &backup.BackupPlan{}, + "AWS::Backup::BackupSelection": &backup.BackupSelection{}, + "AWS::Backup::BackupVault": &backup.BackupVault{}, "AWS::Batch::ComputeEnvironment": &batch.ComputeEnvironment{}, - "AWS::DMS::Endpoint": &dms.Endpoint{}, - "AWS::Glue::DataCatalogEncryptionSettings": &glue.DataCatalogEncryptionSettings{}, - "AWS::AppMesh::VirtualRouter": &appmesh.VirtualRouter{}, - "AWS::Amplify::App": &lify.App{}, - "AWS::Neptune::DBSubnetGroup": &neptune.DBSubnetGroup{}, + "AWS::Batch::JobDefinition": &batch.JobDefinition{}, + "AWS::Batch::JobQueue": &batch.JobQueue{}, + "AWS::Budgets::Budget": &budgets.Budget{}, + "AWS::CertificateManager::Certificate": &certificatemanager.Certificate{}, + "AWS::Cloud9::EnvironmentEC2": &cloud9.EnvironmentEC2{}, + "AWS::CloudFormation::CustomResource": &cloudformation.CustomResource{}, + "AWS::CloudFormation::Macro": &cloudformation.Macro{}, + "AWS::CloudFormation::Stack": &cloudformation.Stack{}, "AWS::CloudFormation::WaitCondition": &cloudformation.WaitCondition{}, - "AWS::ApplicationAutoScaling::ScalableTarget": &applicationautoscaling.ScalableTarget{}, - "AWS::Redshift::Cluster": &redshift.Cluster{}, - "AWS::ApiGatewayV2::Integration": &apigatewayv2.Integration{}, - "AWS::AppSync::FunctionConfiguration": &appsync.FunctionConfiguration{}, - "AWS::Cognito::UserPoolUICustomizationAttachment": &cognito.UserPoolUICustomizationAttachment{}, - "AWS::DynamoDB::Table": &dynamodb.Table{}, - "AWS::Backup::BackupPlan": &backup.BackupPlan{}, - "AWS::Greengrass::DeviceDefinition": &greengrass.DeviceDefinition{}, - "AWS::CodePipeline::Pipeline": &codepipeline.Pipeline{}, - "AWS::EC2::SpotFleet": &ec2.SpotFleet{}, - "AWS::IoTAnalytics::Dataset": &iotanalytics.Dataset{}, - "AWS::Greengrass::LoggerDefinition": &greengrass.LoggerDefinition{}, - "AWS::AppSync::GraphQLSchema": &appsync.GraphQLSchema{}, - "AWS::S3::Bucket": &s3.Bucket{}, - "AWS::Cognito::UserPoolDomain": &cognito.UserPoolDomain{}, - "AWS::KMS::Key": &kms.Key{}, - "AWS::DMS::ReplicationSubnetGroup": &dms.ReplicationSubnetGroup{}, - "AWS::Config::ConfigurationRecorder": &config.ConfigurationRecorder{}, - "AWS::SSM::Document": &ssm.Document{}, - "AWS::EC2::VPCEndpointConnectionNotification": &ec2.VPCEndpointConnectionNotification{}, - "AWS::WAF::Rule": &waf.Rule{}, + "AWS::CloudFormation::WaitConditionHandle": &cloudformation.WaitConditionHandle{}, + "AWS::CloudFront::CloudFrontOriginAccessIdentity": &cloudfront.CloudFrontOriginAccessIdentity{}, + "AWS::CloudFront::Distribution": &cloudfront.Distribution{}, + "AWS::CloudFront::StreamingDistribution": &cloudfront.StreamingDistribution{}, + "AWS::CloudTrail::Trail": &cloudtrail.Trail{}, "AWS::CloudWatch::Alarm": &cloudwatch.Alarm{}, + "AWS::CloudWatch::AnomalyDetector": &cloudwatch.AnomalyDetector{}, "AWS::CloudWatch::Dashboard": &cloudwatch.Dashboard{}, + "AWS::CodeBuild::Project": &codebuild.Project{}, "AWS::CodeBuild::SourceCredential": &codebuild.SourceCredential{}, + "AWS::CodeCommit::Repository": &codecommit.Repository{}, + "AWS::CodeDeploy::Application": &codedeploy.Application{}, + "AWS::CodeDeploy::DeploymentConfig": &codedeploy.DeploymentConfig{}, + "AWS::CodeDeploy::DeploymentGroup": &codedeploy.DeploymentGroup{}, + "AWS::CodePipeline::CustomActionType": &codepipeline.CustomActionType{}, + "AWS::CodePipeline::Pipeline": &codepipeline.Pipeline{}, "AWS::CodePipeline::Webhook": &codepipeline.Webhook{}, + "AWS::CodeStar::GitHubRepository": &codestar.GitHubRepository{}, + "AWS::Cognito::IdentityPool": &cognito.IdentityPool{}, + "AWS::Cognito::IdentityPoolRoleAttachment": &cognito.IdentityPoolRoleAttachment{}, + "AWS::Cognito::UserPool": &cognito.UserPool{}, + "AWS::Cognito::UserPoolClient": &cognito.UserPoolClient{}, + "AWS::Cognito::UserPoolDomain": &cognito.UserPoolDomain{}, + "AWS::Cognito::UserPoolGroup": &cognito.UserPoolGroup{}, + "AWS::Cognito::UserPoolIdentityProvider": &cognito.UserPoolIdentityProvider{}, + "AWS::Cognito::UserPoolResourceServer": &cognito.UserPoolResourceServer{}, + "AWS::Cognito::UserPoolRiskConfigurationAttachment": &cognito.UserPoolRiskConfigurationAttachment{}, + "AWS::Cognito::UserPoolUICustomizationAttachment": &cognito.UserPoolUICustomizationAttachment{}, + "AWS::Cognito::UserPoolUser": &cognito.UserPoolUser{}, + "AWS::Cognito::UserPoolUserToGroupAttachment": &cognito.UserPoolUserToGroupAttachment{}, + "AWS::Config::AggregationAuthorization": &config.AggregationAuthorization{}, + "AWS::Config::ConfigRule": &config.ConfigRule{}, + "AWS::Config::ConfigurationAggregator": &config.ConfigurationAggregator{}, + "AWS::Config::ConfigurationRecorder": &config.ConfigurationRecorder{}, + "AWS::Config::DeliveryChannel": &config.DeliveryChannel{}, + "AWS::Config::OrganizationConfigRule": &config.OrganizationConfigRule{}, + "AWS::Config::RemediationConfiguration": &config.RemediationConfiguration{}, + "AWS::DAX::Cluster": &dax.Cluster{}, + "AWS::DAX::ParameterGroup": &dax.ParameterGroup{}, + "AWS::DAX::SubnetGroup": &dax.SubnetGroup{}, + "AWS::DLM::LifecyclePolicy": &dlm.LifecyclePolicy{}, + "AWS::DMS::Certificate": &dms.Certificate{}, + "AWS::DMS::Endpoint": &dms.Endpoint{}, + "AWS::DMS::EventSubscription": &dms.EventSubscription{}, + "AWS::DMS::ReplicationInstance": &dms.ReplicationInstance{}, + "AWS::DMS::ReplicationSubnetGroup": &dms.ReplicationSubnetGroup{}, + "AWS::DMS::ReplicationTask": &dms.ReplicationTask{}, + "AWS::DataPipeline::Pipeline": &datapipeline.Pipeline{}, + "AWS::DirectoryService::MicrosoftAD": &directoryservice.MicrosoftAD{}, + "AWS::DirectoryService::SimpleAD": &directoryservice.SimpleAD{}, + "AWS::DocDB::DBCluster": &docdb.DBCluster{}, + "AWS::DocDB::DBClusterParameterGroup": &docdb.DBClusterParameterGroup{}, + "AWS::DocDB::DBInstance": &docdb.DBInstance{}, + "AWS::DocDB::DBSubnetGroup": &docdb.DBSubnetGroup{}, + "AWS::DynamoDB::Table": &dynamodb.Table{}, + "AWS::EC2::CapacityReservation": &ec2.CapacityReservation{}, + "AWS::EC2::ClientVpnAuthorizationRule": &ec2.ClientVpnAuthorizationRule{}, + "AWS::EC2::ClientVpnEndpoint": &ec2.ClientVpnEndpoint{}, + "AWS::EC2::ClientVpnRoute": &ec2.ClientVpnRoute{}, + "AWS::EC2::ClientVpnTargetNetworkAssociation": &ec2.ClientVpnTargetNetworkAssociation{}, + "AWS::EC2::CustomerGateway": &ec2.CustomerGateway{}, + "AWS::EC2::DHCPOptions": &ec2.DHCPOptions{}, + "AWS::EC2::EC2Fleet": &ec2.EC2Fleet{}, + "AWS::EC2::EIP": &ec2.EIP{}, + "AWS::EC2::EIPAssociation": &ec2.EIPAssociation{}, + "AWS::EC2::EgressOnlyInternetGateway": &ec2.EgressOnlyInternetGateway{}, + "AWS::EC2::FlowLog": &ec2.FlowLog{}, + "AWS::EC2::Host": &ec2.Host{}, + "AWS::EC2::Instance": &ec2.Instance{}, + "AWS::EC2::InternetGateway": &ec2.InternetGateway{}, + "AWS::EC2::LaunchTemplate": &ec2.LaunchTemplate{}, + "AWS::EC2::NatGateway": &ec2.NatGateway{}, + "AWS::EC2::NetworkAcl": &ec2.NetworkAcl{}, + "AWS::EC2::NetworkAclEntry": &ec2.NetworkAclEntry{}, + "AWS::EC2::NetworkInterface": &ec2.NetworkInterface{}, + "AWS::EC2::NetworkInterfaceAttachment": &ec2.NetworkInterfaceAttachment{}, + "AWS::EC2::NetworkInterfacePermission": &ec2.NetworkInterfacePermission{}, + "AWS::EC2::PlacementGroup": &ec2.PlacementGroup{}, + "AWS::EC2::Route": &ec2.Route{}, + "AWS::EC2::RouteTable": &ec2.RouteTable{}, + "AWS::EC2::SecurityGroup": &ec2.SecurityGroup{}, + "AWS::EC2::SecurityGroupEgress": &ec2.SecurityGroupEgress{}, + "AWS::EC2::SecurityGroupIngress": &ec2.SecurityGroupIngress{}, + "AWS::EC2::SpotFleet": &ec2.SpotFleet{}, + "AWS::EC2::Subnet": &ec2.Subnet{}, + "AWS::EC2::SubnetCidrBlock": &ec2.SubnetCidrBlock{}, + "AWS::EC2::SubnetNetworkAclAssociation": &ec2.SubnetNetworkAclAssociation{}, + "AWS::EC2::SubnetRouteTableAssociation": &ec2.SubnetRouteTableAssociation{}, + "AWS::EC2::TrafficMirrorFilter": &ec2.TrafficMirrorFilter{}, + "AWS::EC2::TrafficMirrorFilterRule": &ec2.TrafficMirrorFilterRule{}, + "AWS::EC2::TrafficMirrorSession": &ec2.TrafficMirrorSession{}, + "AWS::EC2::TrafficMirrorTarget": &ec2.TrafficMirrorTarget{}, + "AWS::EC2::TransitGateway": &ec2.TransitGateway{}, + "AWS::EC2::TransitGatewayAttachment": &ec2.TransitGatewayAttachment{}, + "AWS::EC2::TransitGatewayRoute": &ec2.TransitGatewayRoute{}, + "AWS::EC2::TransitGatewayRouteTable": &ec2.TransitGatewayRouteTable{}, + "AWS::EC2::TransitGatewayRouteTableAssociation": &ec2.TransitGatewayRouteTableAssociation{}, + "AWS::EC2::TransitGatewayRouteTablePropagation": &ec2.TransitGatewayRouteTablePropagation{}, + "AWS::EC2::VPC": &ec2.VPC{}, + "AWS::EC2::VPCCidrBlock": &ec2.VPCCidrBlock{}, + "AWS::EC2::VPCDHCPOptionsAssociation": &ec2.VPCDHCPOptionsAssociation{}, + "AWS::EC2::VPCEndpoint": &ec2.VPCEndpoint{}, + "AWS::EC2::VPCEndpointConnectionNotification": &ec2.VPCEndpointConnectionNotification{}, + "AWS::EC2::VPCEndpointService": &ec2.VPCEndpointService{}, + "AWS::EC2::VPCEndpointServicePermissions": &ec2.VPCEndpointServicePermissions{}, + "AWS::EC2::VPCGatewayAttachment": &ec2.VPCGatewayAttachment{}, + "AWS::EC2::VPCPeeringConnection": &ec2.VPCPeeringConnection{}, + "AWS::EC2::VPNConnection": &ec2.VPNConnection{}, + "AWS::EC2::VPNConnectionRoute": &ec2.VPNConnectionRoute{}, + "AWS::EC2::VPNGateway": &ec2.VPNGateway{}, "AWS::EC2::VPNGatewayRoutePropagation": &ec2.VPNGatewayRoutePropagation{}, + "AWS::EC2::Volume": &ec2.Volume{}, + "AWS::EC2::VolumeAttachment": &ec2.VolumeAttachment{}, + "AWS::ECR::Repository": &ecr.Repository{}, "AWS::ECS::Cluster": &ecs.Cluster{}, - "AWS::ServiceCatalog::TagOption": &servicecatalog.TagOption{}, - "AWS::SSM::PatchBaseline": &ssm.PatchBaseline{}, - "AWS::ApiGateway::GatewayResponse": &apigateway.GatewayResponse{}, - "AWS::Pinpoint::APNSChannel": &pinpoint.APNSChannel{}, - "AWS::Batch::JobQueue": &batch.JobQueue{}, - "AWS::Backup::BackupVault": &backup.BackupVault{}, - "AWS::Route53Resolver::ResolverRuleAssociation": &route53resolver.ResolverRuleAssociation{}, - "AWS::RDS::DBSubnetGroup": &rds.DBSubnetGroup{}, - "AWS::SecretsManager::RotationSchedule": &secretsmanager.RotationSchedule{}, + "AWS::ECS::Service": &ecs.Service{}, + "AWS::ECS::TaskDefinition": &ecs.TaskDefinition{}, + "AWS::EFS::FileSystem": &efs.FileSystem{}, + "AWS::EFS::MountTarget": &efs.MountTarget{}, + "AWS::EKS::Cluster": &eks.Cluster{}, + "AWS::EMR::Cluster": &emr.Cluster{}, + "AWS::EMR::InstanceFleetConfig": &emr.InstanceFleetConfig{}, + "AWS::EMR::InstanceGroupConfig": &emr.InstanceGroupConfig{}, "AWS::EMR::SecurityConfiguration": &emr.SecurityConfiguration{}, + "AWS::EMR::Step": &emr.Step{}, + "AWS::ElastiCache::CacheCluster": &elasticache.CacheCluster{}, + "AWS::ElastiCache::ParameterGroup": &elasticache.ParameterGroup{}, + "AWS::ElastiCache::ReplicationGroup": &elasticache.ReplicationGroup{}, + "AWS::ElastiCache::SecurityGroup": &elasticache.SecurityGroup{}, + "AWS::ElastiCache::SecurityGroupIngress": &elasticache.SecurityGroupIngress{}, + "AWS::ElastiCache::SubnetGroup": &elasticache.SubnetGroup{}, "AWS::ElasticBeanstalk::Application": &elasticbeanstalk.Application{}, - "AWS::CloudFormation::WaitConditionHandle": &cloudformation.WaitConditionHandle{}, - "AWS::ApiGateway::Deployment": &apigateway.Deployment{}, + "AWS::ElasticBeanstalk::ApplicationVersion": &elasticbeanstalk.ApplicationVersion{}, + "AWS::ElasticBeanstalk::ConfigurationTemplate": &elasticbeanstalk.ConfigurationTemplate{}, + "AWS::ElasticBeanstalk::Environment": &elasticbeanstalk.Environment{}, + "AWS::ElasticLoadBalancing::LoadBalancer": &elasticloadbalancing.LoadBalancer{}, + "AWS::ElasticLoadBalancingV2::Listener": &elasticloadbalancingv2.Listener{}, + "AWS::ElasticLoadBalancingV2::ListenerCertificate": &elasticloadbalancingv2.ListenerCertificate{}, + "AWS::ElasticLoadBalancingV2::ListenerRule": &elasticloadbalancingv2.ListenerRule{}, + "AWS::ElasticLoadBalancingV2::LoadBalancer": &elasticloadbalancingv2.LoadBalancer{}, + "AWS::ElasticLoadBalancingV2::TargetGroup": &elasticloadbalancingv2.TargetGroup{}, + "AWS::Elasticsearch::Domain": &elasticsearch.Domain{}, + "AWS::Events::EventBus": &events.EventBus{}, + "AWS::Events::EventBusPolicy": &events.EventBusPolicy{}, + "AWS::Events::Rule": &events.Rule{}, + "AWS::FSx::FileSystem": &fsx.FileSystem{}, + "AWS::GameLift::Alias": &gamelift.Alias{}, + "AWS::GameLift::Build": &gamelift.Build{}, "AWS::GameLift::Fleet": &gamelift.Fleet{}, - "AWS::AppMesh::VirtualNode": &appmesh.VirtualNode{}, + "AWS::Glue::Classifier": &glue.Classifier{}, + "AWS::Glue::Connection": &glue.Connection{}, + "AWS::Glue::Crawler": &glue.Crawler{}, + "AWS::Glue::DataCatalogEncryptionSettings": &glue.DataCatalogEncryptionSettings{}, + "AWS::Glue::Database": &glue.Database{}, + "AWS::Glue::DevEndpoint": &glue.DevEndpoint{}, + "AWS::Glue::Job": &glue.Job{}, + "AWS::Glue::MLTransform": &glue.MLTransform{}, + "AWS::Glue::Partition": &glue.Partition{}, + "AWS::Glue::SecurityConfiguration": &glue.SecurityConfiguration{}, + "AWS::Glue::Table": &glue.Table{}, + "AWS::Glue::Trigger": &glue.Trigger{}, + "AWS::Glue::Workflow": &glue.Workflow{}, + "AWS::Greengrass::ConnectorDefinition": &greengrass.ConnectorDefinition{}, + "AWS::Greengrass::ConnectorDefinitionVersion": &greengrass.ConnectorDefinitionVersion{}, + "AWS::Greengrass::CoreDefinition": &greengrass.CoreDefinition{}, + "AWS::Greengrass::CoreDefinitionVersion": &greengrass.CoreDefinitionVersion{}, + "AWS::Greengrass::DeviceDefinition": &greengrass.DeviceDefinition{}, + "AWS::Greengrass::DeviceDefinitionVersion": &greengrass.DeviceDefinitionVersion{}, + "AWS::Greengrass::FunctionDefinition": &greengrass.FunctionDefinition{}, + "AWS::Greengrass::FunctionDefinitionVersion": &greengrass.FunctionDefinitionVersion{}, + "AWS::Greengrass::Group": &greengrass.Group{}, + "AWS::Greengrass::GroupVersion": &greengrass.GroupVersion{}, + "AWS::Greengrass::LoggerDefinition": &greengrass.LoggerDefinition{}, + "AWS::Greengrass::LoggerDefinitionVersion": &greengrass.LoggerDefinitionVersion{}, + "AWS::Greengrass::ResourceDefinition": &greengrass.ResourceDefinition{}, + "AWS::Greengrass::ResourceDefinitionVersion": &greengrass.ResourceDefinitionVersion{}, + "AWS::Greengrass::SubscriptionDefinition": &greengrass.SubscriptionDefinition{}, + "AWS::Greengrass::SubscriptionDefinitionVersion": &greengrass.SubscriptionDefinitionVersion{}, + "AWS::GuardDuty::Detector": &guardduty.Detector{}, + "AWS::GuardDuty::Filter": &guardduty.Filter{}, + "AWS::GuardDuty::IPSet": &guardduty.IPSet{}, + "AWS::GuardDuty::Master": &guardduty.Master{}, + "AWS::GuardDuty::Member": &guardduty.Member{}, + "AWS::GuardDuty::ThreatIntelSet": &guardduty.ThreatIntelSet{}, + "AWS::IAM::AccessKey": &iam.AccessKey{}, + "AWS::IAM::Group": &iam.Group{}, + "AWS::IAM::InstanceProfile": &iam.InstanceProfile{}, + "AWS::IAM::ManagedPolicy": &iam.ManagedPolicy{}, + "AWS::IAM::Policy": &iam.Policy{}, + "AWS::IAM::Role": &iam.Role{}, + "AWS::IAM::ServiceLinkedRole": &iam.ServiceLinkedRole{}, + "AWS::IAM::User": &iam.User{}, + "AWS::IAM::UserToGroupAddition": &iam.UserToGroupAddition{}, + "AWS::Inspector::AssessmentTarget": &inspector.AssessmentTarget{}, + "AWS::Inspector::AssessmentTemplate": &inspector.AssessmentTemplate{}, "AWS::Inspector::ResourceGroup": &inspector.ResourceGroup{}, - "AWS::IoTAnalytics::Pipeline": &iotanalytics.Pipeline{}, - "AWS::WAFRegional::RateBasedRule": &wafregional.RateBasedRule{}, - "AWS::AutoScaling::LaunchConfiguration": &autoscaling.LaunchConfiguration{}, - "AWS::EMR::Step": &emr.Step{}, - "AWS::ServiceCatalog::PortfolioPrincipalAssociation": &servicecatalog.PortfolioPrincipalAssociation{}, - "AWS::EC2::SecurityGroup": &ec2.SecurityGroup{}, - "AWS::CloudWatch::AnomalyDetector": &cloudwatch.AnomalyDetector{}, - "AWS::ApiGatewayV2::Deployment": &apigatewayv2.Deployment{}, - "AWS::AutoScaling::ScheduledAction": &autoscaling.ScheduledAction{}, - "AWS::AppSync::ApiKey": &appsync.ApiKey{}, - "AWS::OpsWorksCM::Server": &opsworkscm.Server{}, - "AWS::Route53Resolver::ResolverRule": &route53resolver.ResolverRule{}, - "AWS::SecretsManager::Secret": &secretsmanager.Secret{}, + "AWS::IoT1Click::Device": &iot1click.Device{}, + "AWS::IoT1Click::Placement": &iot1click.Placement{}, + "AWS::IoT1Click::Project": &iot1click.Project{}, + "AWS::IoT::Certificate": &iot.Certificate{}, + "AWS::IoT::Policy": &iot.Policy{}, "AWS::IoT::PolicyPrincipalAttachment": &iot.PolicyPrincipalAttachment{}, - "AWS::LakeFormation::Permissions": &lakeformation.Permissions{}, - "AWS::SDB::Domain": &sdb.Domain{}, - "AWS::WAFRegional::SizeConstraintSet": &wafregional.SizeConstraintSet{}, - "AWS::MediaStore::Container": &mediastore.Container{}, - "AWS::Greengrass::ConnectorDefinitionVersion": &greengrass.ConnectorDefinitionVersion{}, - "AWS::Pinpoint::GCMChannel": &pinpoint.GCMChannel{}, - "AWS::RDS::DBSecurityGroupIngress": &rds.DBSecurityGroupIngress{}, - "AWS::Config::OrganizationConfigRule": &config.OrganizationConfigRule{}, "AWS::IoT::Thing": &iot.Thing{}, - "AWS::CodeDeploy::DeploymentGroup": &codedeploy.DeploymentGroup{}, - "AWS::WAFRegional::WebACLAssociation": &wafregional.WebACLAssociation{}, - "AWS::IAM::User": &iam.User{}, + "AWS::IoT::ThingPrincipalAttachment": &iot.ThingPrincipalAttachment{}, + "AWS::IoT::TopicRule": &iot.TopicRule{}, + "AWS::IoTAnalytics::Channel": &iotanalytics.Channel{}, + "AWS::IoTAnalytics::Dataset": &iotanalytics.Dataset{}, + "AWS::IoTAnalytics::Datastore": &iotanalytics.Datastore{}, + "AWS::IoTAnalytics::Pipeline": &iotanalytics.Pipeline{}, + "AWS::IoTEvents::DetectorModel": &iotevents.DetectorModel{}, "AWS::IoTEvents::Input": &iotevents.Input{}, - "AWS::RDS::DBSecurityGroup": &rds.DBSecurityGroup{}, - "AWS::Logs::SubscriptionFilter": &logs.SubscriptionFilter{}, - "AWS::ElastiCache::SecurityGroupIngress": &elasticache.SecurityGroupIngress{}, - "AWS::EFS::MountTarget": &efs.MountTarget{}, - "AWS::DAX::Cluster": &dax.Cluster{}, - "AWS::ApiGatewayV2::RouteResponse": &apigatewayv2.RouteResponse{}, - "AWS::Logs::Destination": &logs.Destination{}, - "AWS::SSM::ResourceDataSync": &ssm.ResourceDataSync{}, - "AWS::Redshift::ClusterSecurityGroup": &redshift.ClusterSecurityGroup{}, - "AWS::AmazonMQ::Broker": &amazonmq.Broker{}, - "AWS::SSM::Parameter": &ssm.Parameter{}, - "AWS::EMR::InstanceFleetConfig": &emr.InstanceFleetConfig{}, + "AWS::IoTThingsGraph::FlowTemplate": &iotthingsgraph.FlowTemplate{}, + "AWS::KMS::Alias": &kms.Alias{}, + "AWS::KMS::Key": &kms.Key{}, "AWS::Kinesis::Stream": &kinesis.Stream{}, - "AWS::ServiceCatalog::LaunchNotificationConstraint": &servicecatalog.LaunchNotificationConstraint{}, - "AWS::EC2::TransitGatewayRouteTable": &ec2.TransitGatewayRouteTable{}, - "AWS::AppMesh::VirtualService": &appmesh.VirtualService{}, - "AWS::IoT1Click::Device": &iot1click.Device{}, - "AWS::Pinpoint::APNSVoipChannel": &pinpoint.APNSVoipChannel{}, - "AWS::Greengrass::GroupVersion": &greengrass.GroupVersion{}, - "AWS::SES::ReceiptFilter": &ses.ReceiptFilter{}, - "AWS::Greengrass::SubscriptionDefinition": &greengrass.SubscriptionDefinition{}, - "AWS::Athena::NamedQuery": &athena.NamedQuery{}, - "AWS::SSM::MaintenanceWindow": &ssm.MaintenanceWindow{}, - "AWS::EMR::InstanceGroupConfig": &emr.InstanceGroupConfig{}, - "AWS::RoboMaker::SimulationApplication": &robomaker.SimulationApplication{}, - "AWS::ManagedBlockchain::Node": &managedblockchain.Node{}, - "AWS::IAM::InstanceProfile": &iam.InstanceProfile{}, + "AWS::Kinesis::StreamConsumer": &kinesis.StreamConsumer{}, + "AWS::KinesisAnalytics::Application": &kinesisanalytics.Application{}, + "AWS::KinesisAnalytics::ApplicationOutput": &kinesisanalytics.ApplicationOutput{}, + "AWS::KinesisAnalytics::ApplicationReferenceDataSource": &kinesisanalytics.ApplicationReferenceDataSource{}, + "AWS::KinesisAnalyticsV2::Application": &kinesisanalyticsv2.Application{}, + "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": &kinesisanalyticsv2.ApplicationCloudWatchLoggingOption{}, + "AWS::KinesisAnalyticsV2::ApplicationOutput": &kinesisanalyticsv2.ApplicationOutput{}, "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource": &kinesisanalyticsv2.ApplicationReferenceDataSource{}, - "AWS::RDS::DBInstance": &rds.DBInstance{}, - "AWS::RDS::DBClusterParameterGroup": &rds.DBClusterParameterGroup{}, - "AWS::Glue::MLTransform": &glue.MLTransform{}, - "AWS::Glue::Table": &glue.Table{}, - "AWS::ServiceCatalog::LaunchRoleConstraint": &servicecatalog.LaunchRoleConstraint{}, + "AWS::KinesisFirehose::DeliveryStream": &kinesisfirehose.DeliveryStream{}, + "AWS::LakeFormation::DataLakeSettings": &lakeformation.DataLakeSettings{}, + "AWS::LakeFormation::Permissions": &lakeformation.Permissions{}, + "AWS::LakeFormation::Resource": &lakeformation.Resource{}, + "AWS::Lambda::Alias": &lambda.Alias{}, + "AWS::Lambda::EventSourceMapping": &lambda.EventSourceMapping{}, + "AWS::Lambda::Function": &lambda.Function{}, + "AWS::Lambda::LayerVersion": &lambda.LayerVersion{}, + "AWS::Lambda::LayerVersionPermission": &lambda.LayerVersionPermission{}, + "AWS::Lambda::Permission": &lambda.Permission{}, + "AWS::Lambda::Version": &lambda.Version{}, + "AWS::Logs::Destination": &logs.Destination{}, + "AWS::Logs::LogGroup": &logs.LogGroup{}, "AWS::Logs::LogStream": &logs.LogStream{}, - "AWS::Redshift::ClusterParameterGroup": &redshift.ClusterParameterGroup{}, - "AWS::DirectoryService::SimpleAD": &directoryservice.SimpleAD{}, - "AWS::Route53::RecordSet": &route53.RecordSet{}, - "AWS::Budgets::Budget": &budgets.Budget{}, - "AWS::EC2::VPC": &ec2.VPC{}, - "AWS::Route53::HostedZone": &route53.HostedZone{}, - "AWS::Glue::Database": &glue.Database{}, - "AWS::OpsWorks::UserProfile": &opsworks.UserProfile{}, - "AWS::EC2::LaunchTemplate": &ec2.LaunchTemplate{}, - "AWS::EC2::SubnetCidrBlock": &ec2.SubnetCidrBlock{}, - "AWS::AppStream::Fleet": &appstream.Fleet{}, - "AWS::WAFRegional::ByteMatchSet": &wafregional.ByteMatchSet{}, - "AWS::Pinpoint::SMSChannel": &pinpoint.SMSChannel{}, - "AWS::SNS::TopicPolicy": &sns.TopicPolicy{}, - "AWS::SageMaker::Model": &sagemaker.Model{}, - "AWS::Cognito::UserPoolResourceServer": &cognito.UserPoolResourceServer{}, - "AWS::Glue::Connection": &glue.Connection{}, - "AWS::IoT::ThingPrincipalAttachment": &iot.ThingPrincipalAttachment{}, + "AWS::Logs::MetricFilter": &logs.MetricFilter{}, + "AWS::Logs::SubscriptionFilter": &logs.SubscriptionFilter{}, + "AWS::MSK::Cluster": &msk.Cluster{}, + "AWS::ManagedBlockchain::Member": &managedblockchain.Member{}, + "AWS::ManagedBlockchain::Node": &managedblockchain.Node{}, "AWS::MediaLive::Channel": &medialive.Channel{}, - "AWS::Amplify::Branch": &lify.Branch{}, - "AWS::WAF::SizeConstraintSet": &waf.SizeConstraintSet{}, - "AWS::SageMaker::NotebookInstance": &sagemaker.NotebookInstance{}, - "AWS::ECR::Repository": &ecr.Repository{}, + "AWS::MediaLive::Input": &medialive.Input{}, + "AWS::MediaLive::InputSecurityGroup": &medialive.InputSecurityGroup{}, + "AWS::MediaStore::Container": &mediastore.Container{}, + "AWS::Neptune::DBCluster": &neptune.DBCluster{}, + "AWS::Neptune::DBClusterParameterGroup": &neptune.DBClusterParameterGroup{}, + "AWS::Neptune::DBInstance": &neptune.DBInstance{}, + "AWS::Neptune::DBParameterGroup": &neptune.DBParameterGroup{}, + "AWS::Neptune::DBSubnetGroup": &neptune.DBSubnetGroup{}, + "AWS::OpsWorks::App": &opsworks.App{}, + "AWS::OpsWorks::ElasticLoadBalancerAttachment": &opsworks.ElasticLoadBalancerAttachment{}, + "AWS::OpsWorks::Instance": &opsworks.Instance{}, + "AWS::OpsWorks::Layer": &opsworks.Layer{}, + "AWS::OpsWorks::Stack": &opsworks.Stack{}, + "AWS::OpsWorks::UserProfile": &opsworks.UserProfile{}, + "AWS::OpsWorks::Volume": &opsworks.Volume{}, + "AWS::OpsWorksCM::Server": &opsworkscm.Server{}, + "AWS::Pinpoint::ADMChannel": &pinpoint.ADMChannel{}, + "AWS::Pinpoint::APNSChannel": &pinpoint.APNSChannel{}, + "AWS::Pinpoint::APNSSandboxChannel": &pinpoint.APNSSandboxChannel{}, + "AWS::Pinpoint::APNSVoipChannel": &pinpoint.APNSVoipChannel{}, "AWS::Pinpoint::APNSVoipSandboxChannel": &pinpoint.APNSVoipSandboxChannel{}, - "AWS::IoT::Policy": &iot.Policy{}, - "AWS::AppStream::StackFleetAssociation": &appstream.StackFleetAssociation{}, + "AWS::Pinpoint::App": &pinpoint.App{}, + "AWS::Pinpoint::ApplicationSettings": &pinpoint.ApplicationSettings{}, + "AWS::Pinpoint::BaiduChannel": &pinpoint.BaiduChannel{}, + "AWS::Pinpoint::Campaign": &pinpoint.Campaign{}, + "AWS::Pinpoint::EmailChannel": &pinpoint.EmailChannel{}, + "AWS::Pinpoint::EventStream": &pinpoint.EventStream{}, + "AWS::Pinpoint::GCMChannel": &pinpoint.GCMChannel{}, + "AWS::Pinpoint::SMSChannel": &pinpoint.SMSChannel{}, + "AWS::Pinpoint::Segment": &pinpoint.Segment{}, "AWS::Pinpoint::VoiceChannel": &pinpoint.VoiceChannel{}, - "AWS::CodeDeploy::Application": &codedeploy.Application{}, - "AWS::ApiGateway::ClientCertificate": &apigateway.ClientCertificate{}, + "AWS::PinpointEmail::ConfigurationSet": &pinpointemail.ConfigurationSet{}, + "AWS::PinpointEmail::ConfigurationSetEventDestination": &pinpointemail.ConfigurationSetEventDestination{}, + "AWS::PinpointEmail::DedicatedIpPool": &pinpointemail.DedicatedIpPool{}, "AWS::PinpointEmail::Identity": &pinpointemail.Identity{}, - "AWS::Pinpoint::ApplicationSettings": &pinpoint.ApplicationSettings{}, - "AWS::Greengrass::DeviceDefinitionVersion": &greengrass.DeviceDefinitionVersion{}, - "AWS::ElastiCache::CacheCluster": &elasticache.CacheCluster{}, - "AWS::CodeStar::GitHubRepository": &codestar.GitHubRepository{}, + "AWS::QLDB::Ledger": &qldb.Ledger{}, + "AWS::RAM::ResourceShare": &ram.ResourceShare{}, "AWS::RDS::DBCluster": &rds.DBCluster{}, - "AWS::EC2::ClientVpnEndpoint": &ec2.ClientVpnEndpoint{}, - "AWS::Elasticsearch::Domain": &elasticsearch.Domain{}, - "AWS::KMS::Alias": &kms.Alias{}, - "AWS::ApiGateway::ApiKey": &apigateway.ApiKey{}, - "AWS::EC2::Instance": &ec2.Instance{}, - "AWS::Config::AggregationAuthorization": &config.AggregationAuthorization{}, - "AWS::SageMaker::Workteam": &sagemaker.Workteam{}, - "AWS::ServiceCatalog::CloudFormationProduct": &servicecatalog.CloudFormationProduct{}, - "AWS::WAFRegional::XssMatchSet": &wafregional.XssMatchSet{}, - "AWS::EC2::SubnetNetworkAclAssociation": &ec2.SubnetNetworkAclAssociation{}, - "AWS::Cognito::IdentityPool": &cognito.IdentityPool{}, - "AWS::KinesisAnalyticsV2::Application": &kinesisanalyticsv2.Application{}, - "AWS::Backup::BackupSelection": &backup.BackupSelection{}, - "AWS::ApiGatewayV2::Authorizer": &apigatewayv2.Authorizer{}, - "AWS::Pinpoint::App": &pinpoint.App{}, - "AWS::ServiceCatalog::PortfolioShare": &servicecatalog.PortfolioShare{}, - "AWS::ManagedBlockchain::Member": &managedblockchain.Member{}, - "AWS::WAFRegional::IPSet": &wafregional.IPSet{}, - "AWS::CloudFormation::CustomResource": &cloudformation.CustomResource{}, - "AWS::AmazonMQ::ConfigurationAssociation": &amazonmq.ConfigurationAssociation{}, + "AWS::RDS::DBClusterParameterGroup": &rds.DBClusterParameterGroup{}, + "AWS::RDS::DBInstance": &rds.DBInstance{}, + "AWS::RDS::DBParameterGroup": &rds.DBParameterGroup{}, + "AWS::RDS::DBSecurityGroup": &rds.DBSecurityGroup{}, + "AWS::RDS::DBSecurityGroupIngress": &rds.DBSecurityGroupIngress{}, + "AWS::RDS::DBSubnetGroup": &rds.DBSubnetGroup{}, + "AWS::RDS::EventSubscription": &rds.EventSubscription{}, + "AWS::RDS::OptionGroup": &rds.OptionGroup{}, + "AWS::Redshift::Cluster": &redshift.Cluster{}, + "AWS::Redshift::ClusterParameterGroup": &redshift.ClusterParameterGroup{}, + "AWS::Redshift::ClusterSecurityGroup": &redshift.ClusterSecurityGroup{}, + "AWS::Redshift::ClusterSecurityGroupIngress": &redshift.ClusterSecurityGroupIngress{}, + "AWS::Redshift::ClusterSubnetGroup": &redshift.ClusterSubnetGroup{}, + "AWS::RoboMaker::Fleet": &robomaker.Fleet{}, + "AWS::RoboMaker::Robot": &robomaker.Robot{}, "AWS::RoboMaker::RobotApplication": &robomaker.RobotApplication{}, - "AWS::IAM::ManagedPolicy": &iam.ManagedPolicy{}, - "AWS::Neptune::DBInstance": &neptune.DBInstance{}, - "AWS::Cognito::UserPoolUserToGroupAttachment": &cognito.UserPoolUserToGroupAttachment{}, - "AWS::Cognito::IdentityPoolRoleAttachment": &cognito.IdentityPoolRoleAttachment{}, - "AWS::SageMaker::NotebookInstanceLifecycleConfig": &sagemaker.NotebookInstanceLifecycleConfig{}, - "AWS::Neptune::DBCluster": &neptune.DBCluster{}, - "AWS::IoTEvents::DetectorModel": &iotevents.DetectorModel{}, - "AWS::DocDB::DBSubnetGroup": &docdb.DBSubnetGroup{}, + "AWS::RoboMaker::RobotApplicationVersion": &robomaker.RobotApplicationVersion{}, + "AWS::RoboMaker::SimulationApplication": &robomaker.SimulationApplication{}, + "AWS::RoboMaker::SimulationApplicationVersion": &robomaker.SimulationApplicationVersion{}, + "AWS::Route53::HealthCheck": &route53.HealthCheck{}, + "AWS::Route53::HostedZone": &route53.HostedZone{}, + "AWS::Route53::RecordSet": &route53.RecordSet{}, + "AWS::Route53::RecordSetGroup": &route53.RecordSetGroup{}, + "AWS::Route53Resolver::ResolverEndpoint": &route53resolver.ResolverEndpoint{}, + "AWS::Route53Resolver::ResolverRule": &route53resolver.ResolverRule{}, + "AWS::Route53Resolver::ResolverRuleAssociation": &route53resolver.ResolverRuleAssociation{}, + "AWS::S3::Bucket": &s3.Bucket{}, + "AWS::S3::BucketPolicy": &s3.BucketPolicy{}, + "AWS::SDB::Domain": &sdb.Domain{}, + "AWS::SES::ConfigurationSet": &ses.ConfigurationSet{}, + "AWS::SES::ConfigurationSetEventDestination": &ses.ConfigurationSetEventDestination{}, + "AWS::SES::ReceiptFilter": &ses.ReceiptFilter{}, + "AWS::SES::ReceiptRule": &ses.ReceiptRule{}, + "AWS::SES::ReceiptRuleSet": &ses.ReceiptRuleSet{}, + "AWS::SES::Template": &ses.Template{}, + "AWS::SNS::Subscription": &sns.Subscription{}, + "AWS::SNS::Topic": &sns.Topic{}, + "AWS::SNS::TopicPolicy": &sns.TopicPolicy{}, + "AWS::SQS::Queue": &sqs.Queue{}, "AWS::SQS::QueuePolicy": &sqs.QueuePolicy{}, - "AWS::ECS::TaskDefinition": &ecs.TaskDefinition{}, - "AWS::AppStream::Stack": &appstream.Stack{}, - "AWS::Cloud9::EnvironmentEC2": &cloud9.EnvironmentEC2{}, - "AWS::KinesisAnalyticsV2::ApplicationOutput": &kinesisanalyticsv2.ApplicationOutput{}, - "AWS::WAFRegional::WebACL": &wafregional.WebACL{}, - "AWS::EC2::NetworkInterfacePermission": &ec2.NetworkInterfacePermission{}, - "AWS::ApiGateway::UsagePlan": &apigateway.UsagePlan{}, - "AWS::Kinesis::StreamConsumer": &kinesis.StreamConsumer{}, - "AWS::Amplify::Domain": &lify.Domain{}, - "AWS::IoT1Click::Project": &iot1click.Project{}, - "AWS::CloudFormation::Stack": &cloudformation.Stack{}, - "AWS::ApiGatewayV2::Api": &apigatewayv2.Api{}, - "AWS::IoT::Certificate": &iot.Certificate{}, - "AWS::Serverless::SimpleTable": &serverless.SimpleTable{}, - "AWS::Serverless::LayerVersion": &serverless.LayerVersion{}, - "AWS::Serverless::Function": &serverless.Function{}, + "AWS::SSM::Association": &ssm.Association{}, + "AWS::SSM::Document": &ssm.Document{}, + "AWS::SSM::MaintenanceWindow": &ssm.MaintenanceWindow{}, + "AWS::SSM::MaintenanceWindowTarget": &ssm.MaintenanceWindowTarget{}, + "AWS::SSM::MaintenanceWindowTask": &ssm.MaintenanceWindowTask{}, + "AWS::SSM::Parameter": &ssm.Parameter{}, + "AWS::SSM::PatchBaseline": &ssm.PatchBaseline{}, + "AWS::SSM::ResourceDataSync": &ssm.ResourceDataSync{}, + "AWS::SageMaker::CodeRepository": &sagemaker.CodeRepository{}, + "AWS::SageMaker::Endpoint": &sagemaker.Endpoint{}, + "AWS::SageMaker::EndpointConfig": &sagemaker.EndpointConfig{}, + "AWS::SageMaker::Model": &sagemaker.Model{}, + "AWS::SageMaker::NotebookInstance": &sagemaker.NotebookInstance{}, + "AWS::SageMaker::NotebookInstanceLifecycleConfig": &sagemaker.NotebookInstanceLifecycleConfig{}, + "AWS::SageMaker::Workteam": &sagemaker.Workteam{}, + "AWS::SecretsManager::ResourcePolicy": &secretsmanager.ResourcePolicy{}, + "AWS::SecretsManager::RotationSchedule": &secretsmanager.RotationSchedule{}, + "AWS::SecretsManager::Secret": &secretsmanager.Secret{}, + "AWS::SecretsManager::SecretTargetAttachment": &secretsmanager.SecretTargetAttachment{}, + "AWS::SecurityHub::Hub": &securityhub.Hub{}, "AWS::Serverless::Api": &serverless.Api{}, "AWS::Serverless::Application": &serverless.Application{}, + "AWS::Serverless::Function": &serverless.Function{}, + "AWS::Serverless::LayerVersion": &serverless.LayerVersion{}, + "AWS::Serverless::SimpleTable": &serverless.SimpleTable{}, + "AWS::ServiceCatalog::AcceptedPortfolioShare": &servicecatalog.AcceptedPortfolioShare{}, + "AWS::ServiceCatalog::CloudFormationProduct": &servicecatalog.CloudFormationProduct{}, + "AWS::ServiceCatalog::CloudFormationProvisionedProduct": &servicecatalog.CloudFormationProvisionedProduct{}, + "AWS::ServiceCatalog::LaunchNotificationConstraint": &servicecatalog.LaunchNotificationConstraint{}, + "AWS::ServiceCatalog::LaunchRoleConstraint": &servicecatalog.LaunchRoleConstraint{}, + "AWS::ServiceCatalog::LaunchTemplateConstraint": &servicecatalog.LaunchTemplateConstraint{}, + "AWS::ServiceCatalog::Portfolio": &servicecatalog.Portfolio{}, + "AWS::ServiceCatalog::PortfolioPrincipalAssociation": &servicecatalog.PortfolioPrincipalAssociation{}, + "AWS::ServiceCatalog::PortfolioProductAssociation": &servicecatalog.PortfolioProductAssociation{}, + "AWS::ServiceCatalog::PortfolioShare": &servicecatalog.PortfolioShare{}, + "AWS::ServiceCatalog::ResourceUpdateConstraint": &servicecatalog.ResourceUpdateConstraint{}, + "AWS::ServiceCatalog::StackSetConstraint": &servicecatalog.StackSetConstraint{}, + "AWS::ServiceCatalog::TagOption": &servicecatalog.TagOption{}, + "AWS::ServiceCatalog::TagOptionAssociation": &servicecatalog.TagOptionAssociation{}, + "AWS::ServiceDiscovery::HttpNamespace": &servicediscovery.HttpNamespace{}, + "AWS::ServiceDiscovery::Instance": &servicediscovery.Instance{}, + "AWS::ServiceDiscovery::PrivateDnsNamespace": &servicediscovery.PrivateDnsNamespace{}, + "AWS::ServiceDiscovery::PublicDnsNamespace": &servicediscovery.PublicDnsNamespace{}, + "AWS::ServiceDiscovery::Service": &servicediscovery.Service{}, + "AWS::StepFunctions::Activity": &stepfunctions.Activity{}, + "AWS::StepFunctions::StateMachine": &stepfunctions.StateMachine{}, + "AWS::Transfer::Server": &transfer.Server{}, + "AWS::Transfer::User": &transfer.User{}, + "AWS::WAF::ByteMatchSet": &waf.ByteMatchSet{}, + "AWS::WAF::IPSet": &waf.IPSet{}, + "AWS::WAF::Rule": &waf.Rule{}, + "AWS::WAF::SizeConstraintSet": &waf.SizeConstraintSet{}, + "AWS::WAF::SqlInjectionMatchSet": &waf.SqlInjectionMatchSet{}, + "AWS::WAF::WebACL": &waf.WebACL{}, + "AWS::WAF::XssMatchSet": &waf.XssMatchSet{}, + "AWS::WAFRegional::ByteMatchSet": &wafregional.ByteMatchSet{}, + "AWS::WAFRegional::GeoMatchSet": &wafregional.GeoMatchSet{}, + "AWS::WAFRegional::IPSet": &wafregional.IPSet{}, + "AWS::WAFRegional::RateBasedRule": &wafregional.RateBasedRule{}, + "AWS::WAFRegional::RegexPatternSet": &wafregional.RegexPatternSet{}, + "AWS::WAFRegional::Rule": &wafregional.Rule{}, + "AWS::WAFRegional::SizeConstraintSet": &wafregional.SizeConstraintSet{}, + "AWS::WAFRegional::SqlInjectionMatchSet": &wafregional.SqlInjectionMatchSet{}, + "AWS::WAFRegional::WebACL": &wafregional.WebACL{}, + "AWS::WAFRegional::WebACLAssociation": &wafregional.WebACLAssociation{}, + "AWS::WAFRegional::XssMatchSet": &wafregional.XssMatchSet{}, + "AWS::WorkSpaces::Workspace": &workspaces.Workspace{}, + "Alexa::ASK::Skill": &ask.Skill{}, } } -// GetAllAppStreamImageBuilderResources retrieves all appstream.ImageBuilder items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamImageBuilderResources() map[string]*appstream.ImageBuilder { - results := map[string]*appstream.ImageBuilder{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *appstream.ImageBuilder: - results[name] = resource - } - } - return results -} - -// GetAppStreamImageBuilderWithName retrieves all appstream.ImageBuilder items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamImageBuilderWithName(name string) (*appstream.ImageBuilder, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *appstream.ImageBuilder: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type appstream.ImageBuilder not found", name) -} - -// GetAllPinpointAPNSSandboxChannelResources retrieves all pinpoint.APNSSandboxChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSSandboxChannelResources() map[string]*pinpoint.APNSSandboxChannel { - results := map[string]*pinpoint.APNSSandboxChannel{} +// GetAllAmazonMQBrokerResources retrieves all amazonmq.Broker items from an AWS CloudFormation template +func (t *Template) GetAllAmazonMQBrokerResources() map[string]*amazonmq.Broker { + results := map[string]*amazonmq.Broker{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.APNSSandboxChannel: + case *amazonmq.Broker: results[name] = resource } } return results } -// GetPinpointAPNSSandboxChannelWithName retrieves all pinpoint.APNSSandboxChannel items from an AWS CloudFormation template +// GetAmazonMQBrokerWithName retrieves all amazonmq.Broker items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSSandboxChannelWithName(name string) (*pinpoint.APNSSandboxChannel, error) { +func (t *Template) GetAmazonMQBrokerWithName(name string) (*amazonmq.Broker, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.APNSSandboxChannel: + case *amazonmq.Broker: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSSandboxChannel not found", name) + return nil, fmt.Errorf("resource %q of type amazonmq.Broker not found", name) } -// GetAllFSxFileSystemResources retrieves all fsx.FileSystem items from an AWS CloudFormation template -func (t *Template) GetAllFSxFileSystemResources() map[string]*fsx.FileSystem { - results := map[string]*fsx.FileSystem{} +// GetAllAmazonMQConfigurationResources retrieves all amazonmq.Configuration items from an AWS CloudFormation template +func (t *Template) GetAllAmazonMQConfigurationResources() map[string]*amazonmq.Configuration { + results := map[string]*amazonmq.Configuration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *fsx.FileSystem: + case *amazonmq.Configuration: results[name] = resource } } return results } -// GetFSxFileSystemWithName retrieves all fsx.FileSystem items from an AWS CloudFormation template +// GetAmazonMQConfigurationWithName retrieves all amazonmq.Configuration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFSxFileSystemWithName(name string) (*fsx.FileSystem, error) { +func (t *Template) GetAmazonMQConfigurationWithName(name string) (*amazonmq.Configuration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *fsx.FileSystem: + case *amazonmq.Configuration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type fsx.FileSystem not found", name) + return nil, fmt.Errorf("resource %q of type amazonmq.Configuration not found", name) } -// GetAllElasticBeanstalkEnvironmentResources retrieves all elasticbeanstalk.Environment items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkEnvironmentResources() map[string]*elasticbeanstalk.Environment { - results := map[string]*elasticbeanstalk.Environment{} +// GetAllAmazonMQConfigurationAssociationResources retrieves all amazonmq.ConfigurationAssociation items from an AWS CloudFormation template +func (t *Template) GetAllAmazonMQConfigurationAssociationResources() map[string]*amazonmq.ConfigurationAssociation { + results := map[string]*amazonmq.ConfigurationAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticbeanstalk.Environment: + case *amazonmq.ConfigurationAssociation: results[name] = resource } } return results } -// GetElasticBeanstalkEnvironmentWithName retrieves all elasticbeanstalk.Environment items from an AWS CloudFormation template +// GetAmazonMQConfigurationAssociationWithName retrieves all amazonmq.ConfigurationAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkEnvironmentWithName(name string) (*elasticbeanstalk.Environment, error) { +func (t *Template) GetAmazonMQConfigurationAssociationWithName(name string) (*amazonmq.ConfigurationAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticbeanstalk.Environment: + case *amazonmq.ConfigurationAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.Environment not found", name) + return nil, fmt.Errorf("resource %q of type amazonmq.ConfigurationAssociation not found", name) } -// GetAllCloudFrontStreamingDistributionResources retrieves all cloudfront.StreamingDistribution items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontStreamingDistributionResources() map[string]*cloudfront.StreamingDistribution { - results := map[string]*cloudfront.StreamingDistribution{} +// GetAllAmplifyAppResources retrieves all amplify.App items from an AWS CloudFormation template +func (t *Template) GetAllAmplifyAppResources() map[string]*amplify.App { + results := map[string]*amplify.App{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudfront.StreamingDistribution: + case *amplify.App: results[name] = resource } } return results } -// GetCloudFrontStreamingDistributionWithName retrieves all cloudfront.StreamingDistribution items from an AWS CloudFormation template +// GetAmplifyAppWithName retrieves all amplify.App items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontStreamingDistributionWithName(name string) (*cloudfront.StreamingDistribution, error) { +func (t *Template) GetAmplifyAppWithName(name string) (*amplify.App, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudfront.StreamingDistribution: + case *amplify.App: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudfront.StreamingDistribution not found", name) + return nil, fmt.Errorf("resource %q of type amplify.App not found", name) } -// GetAllSESTemplateResources retrieves all ses.Template items from an AWS CloudFormation template -func (t *Template) GetAllSESTemplateResources() map[string]*ses.Template { - results := map[string]*ses.Template{} +// GetAllAmplifyBranchResources retrieves all amplify.Branch items from an AWS CloudFormation template +func (t *Template) GetAllAmplifyBranchResources() map[string]*amplify.Branch { + results := map[string]*amplify.Branch{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.Template: + case *amplify.Branch: results[name] = resource } } return results } -// GetSESTemplateWithName retrieves all ses.Template items from an AWS CloudFormation template +// GetAmplifyBranchWithName retrieves all amplify.Branch items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESTemplateWithName(name string) (*ses.Template, error) { +func (t *Template) GetAmplifyBranchWithName(name string) (*amplify.Branch, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.Template: + case *amplify.Branch: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.Template not found", name) + return nil, fmt.Errorf("resource %q of type amplify.Branch not found", name) } -// GetAllCloudTrailTrailResources retrieves all cloudtrail.Trail items from an AWS CloudFormation template -func (t *Template) GetAllCloudTrailTrailResources() map[string]*cloudtrail.Trail { - results := map[string]*cloudtrail.Trail{} +// GetAllAmplifyDomainResources retrieves all amplify.Domain items from an AWS CloudFormation template +func (t *Template) GetAllAmplifyDomainResources() map[string]*amplify.Domain { + results := map[string]*amplify.Domain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudtrail.Trail: + case *amplify.Domain: results[name] = resource } } return results } -// GetCloudTrailTrailWithName retrieves all cloudtrail.Trail items from an AWS CloudFormation template +// GetAmplifyDomainWithName retrieves all amplify.Domain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudTrailTrailWithName(name string) (*cloudtrail.Trail, error) { +func (t *Template) GetAmplifyDomainWithName(name string) (*amplify.Domain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudtrail.Trail: + case *amplify.Domain: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudtrail.Trail not found", name) + return nil, fmt.Errorf("resource %q of type amplify.Domain not found", name) } -// GetAllKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources retrieves all kinesisanalyticsv2.ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources() map[string]*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption { - results := map[string]*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption{} +// GetAllApiGatewayAccountResources retrieves all apigateway.Account items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayAccountResources() map[string]*apigateway.Account { + results := map[string]*apigateway.Account{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationCloudWatchLoggingOption: + case *apigateway.Account: results[name] = resource } } return results } -// GetKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName retrieves all kinesisanalyticsv2.ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template +// GetApiGatewayAccountWithName retrieves all apigateway.Account items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName(name string) (*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption, error) { +func (t *Template) GetApiGatewayAccountWithName(name string) (*apigateway.Account, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationCloudWatchLoggingOption: + case *apigateway.Account: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationCloudWatchLoggingOption not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Account not found", name) } -// GetAllElastiCacheSecurityGroupResources retrieves all elasticache.SecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheSecurityGroupResources() map[string]*elasticache.SecurityGroup { - results := map[string]*elasticache.SecurityGroup{} +// GetAllApiGatewayApiKeyResources retrieves all apigateway.ApiKey items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayApiKeyResources() map[string]*apigateway.ApiKey { + results := map[string]*apigateway.ApiKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticache.SecurityGroup: + case *apigateway.ApiKey: results[name] = resource } } return results } -// GetElastiCacheSecurityGroupWithName retrieves all elasticache.SecurityGroup items from an AWS CloudFormation template +// GetApiGatewayApiKeyWithName retrieves all apigateway.ApiKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheSecurityGroupWithName(name string) (*elasticache.SecurityGroup, error) { +func (t *Template) GetApiGatewayApiKeyWithName(name string) (*apigateway.ApiKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticache.SecurityGroup: + case *apigateway.ApiKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticache.SecurityGroup not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.ApiKey not found", name) } -// GetAllDAXSubnetGroupResources retrieves all dax.SubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllDAXSubnetGroupResources() map[string]*dax.SubnetGroup { - results := map[string]*dax.SubnetGroup{} +// GetAllApiGatewayAuthorizerResources retrieves all apigateway.Authorizer items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayAuthorizerResources() map[string]*apigateway.Authorizer { + results := map[string]*apigateway.Authorizer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dax.SubnetGroup: + case *apigateway.Authorizer: results[name] = resource } } return results } -// GetDAXSubnetGroupWithName retrieves all dax.SubnetGroup items from an AWS CloudFormation template +// GetApiGatewayAuthorizerWithName retrieves all apigateway.Authorizer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDAXSubnetGroupWithName(name string) (*dax.SubnetGroup, error) { +func (t *Template) GetApiGatewayAuthorizerWithName(name string) (*apigateway.Authorizer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dax.SubnetGroup: + case *apigateway.Authorizer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dax.SubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Authorizer not found", name) } -// GetAllPinpointADMChannelResources retrieves all pinpoint.ADMChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointADMChannelResources() map[string]*pinpoint.ADMChannel { - results := map[string]*pinpoint.ADMChannel{} +// GetAllApiGatewayBasePathMappingResources retrieves all apigateway.BasePathMapping items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayBasePathMappingResources() map[string]*apigateway.BasePathMapping { + results := map[string]*apigateway.BasePathMapping{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.ADMChannel: + case *apigateway.BasePathMapping: results[name] = resource } } return results } -// GetPinpointADMChannelWithName retrieves all pinpoint.ADMChannel items from an AWS CloudFormation template +// GetApiGatewayBasePathMappingWithName retrieves all apigateway.BasePathMapping items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointADMChannelWithName(name string) (*pinpoint.ADMChannel, error) { +func (t *Template) GetApiGatewayBasePathMappingWithName(name string) (*apigateway.BasePathMapping, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.ADMChannel: + case *apigateway.BasePathMapping: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.ADMChannel not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.BasePathMapping not found", name) } -// GetAllOpsWorksLayerResources retrieves all opsworks.Layer items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksLayerResources() map[string]*opsworks.Layer { - results := map[string]*opsworks.Layer{} +// GetAllApiGatewayClientCertificateResources retrieves all apigateway.ClientCertificate items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayClientCertificateResources() map[string]*apigateway.ClientCertificate { + results := map[string]*apigateway.ClientCertificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.Layer: + case *apigateway.ClientCertificate: results[name] = resource } } return results } -// GetOpsWorksLayerWithName retrieves all opsworks.Layer items from an AWS CloudFormation template +// GetApiGatewayClientCertificateWithName retrieves all apigateway.ClientCertificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksLayerWithName(name string) (*opsworks.Layer, error) { +func (t *Template) GetApiGatewayClientCertificateWithName(name string) (*apigateway.ClientCertificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.Layer: + case *apigateway.ClientCertificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.Layer not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.ClientCertificate not found", name) } -// GetAllApiGatewayStageResources retrieves all apigateway.Stage items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayStageResources() map[string]*apigateway.Stage { - results := map[string]*apigateway.Stage{} +// GetAllApiGatewayDeploymentResources retrieves all apigateway.Deployment items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayDeploymentResources() map[string]*apigateway.Deployment { + results := map[string]*apigateway.Deployment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Stage: + case *apigateway.Deployment: results[name] = resource } } return results } -// GetApiGatewayStageWithName retrieves all apigateway.Stage items from an AWS CloudFormation template +// GetApiGatewayDeploymentWithName retrieves all apigateway.Deployment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayStageWithName(name string) (*apigateway.Stage, error) { +func (t *Template) GetApiGatewayDeploymentWithName(name string) (*apigateway.Deployment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Stage: + case *apigateway.Deployment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Stage not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Deployment not found", name) } -// GetAllSESReceiptRuleResources retrieves all ses.ReceiptRule items from an AWS CloudFormation template -func (t *Template) GetAllSESReceiptRuleResources() map[string]*ses.ReceiptRule { - results := map[string]*ses.ReceiptRule{} +// GetAllApiGatewayDocumentationPartResources retrieves all apigateway.DocumentationPart items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayDocumentationPartResources() map[string]*apigateway.DocumentationPart { + results := map[string]*apigateway.DocumentationPart{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ReceiptRule: + case *apigateway.DocumentationPart: results[name] = resource } } return results } -// GetSESReceiptRuleWithName retrieves all ses.ReceiptRule items from an AWS CloudFormation template +// GetApiGatewayDocumentationPartWithName retrieves all apigateway.DocumentationPart items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESReceiptRuleWithName(name string) (*ses.ReceiptRule, error) { +func (t *Template) GetApiGatewayDocumentationPartWithName(name string) (*apigateway.DocumentationPart, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ReceiptRule: + case *apigateway.DocumentationPart: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ReceiptRule not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.DocumentationPart not found", name) } -// GetAllEC2VPCDHCPOptionsAssociationResources retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCDHCPOptionsAssociationResources() map[string]*ec2.VPCDHCPOptionsAssociation { - results := map[string]*ec2.VPCDHCPOptionsAssociation{} +// GetAllApiGatewayDocumentationVersionResources retrieves all apigateway.DocumentationVersion items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayDocumentationVersionResources() map[string]*apigateway.DocumentationVersion { + results := map[string]*apigateway.DocumentationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCDHCPOptionsAssociation: + case *apigateway.DocumentationVersion: results[name] = resource } } return results } -// GetEC2VPCDHCPOptionsAssociationWithName retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template +// GetApiGatewayDocumentationVersionWithName retrieves all apigateway.DocumentationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCDHCPOptionsAssociationWithName(name string) (*ec2.VPCDHCPOptionsAssociation, error) { +func (t *Template) GetApiGatewayDocumentationVersionWithName(name string) (*apigateway.DocumentationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCDHCPOptionsAssociation: + case *apigateway.DocumentationVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCDHCPOptionsAssociation not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.DocumentationVersion not found", name) } -// GetAllServiceDiscoveryPublicDnsNamespaceResources retrieves all servicediscovery.PublicDnsNamespace items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryPublicDnsNamespaceResources() map[string]*servicediscovery.PublicDnsNamespace { - results := map[string]*servicediscovery.PublicDnsNamespace{} +// GetAllApiGatewayDomainNameResources retrieves all apigateway.DomainName items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayDomainNameResources() map[string]*apigateway.DomainName { + results := map[string]*apigateway.DomainName{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.PublicDnsNamespace: + case *apigateway.DomainName: results[name] = resource } } return results } -// GetServiceDiscoveryPublicDnsNamespaceWithName retrieves all servicediscovery.PublicDnsNamespace items from an AWS CloudFormation template +// GetApiGatewayDomainNameWithName retrieves all apigateway.DomainName items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryPublicDnsNamespaceWithName(name string) (*servicediscovery.PublicDnsNamespace, error) { +func (t *Template) GetApiGatewayDomainNameWithName(name string) (*apigateway.DomainName, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.PublicDnsNamespace: + case *apigateway.DomainName: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.PublicDnsNamespace not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.DomainName not found", name) } -// GetAllElasticBeanstalkConfigurationTemplateResources retrieves all elasticbeanstalk.ConfigurationTemplate items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkConfigurationTemplateResources() map[string]*elasticbeanstalk.ConfigurationTemplate { - results := map[string]*elasticbeanstalk.ConfigurationTemplate{} +// GetAllApiGatewayGatewayResponseResources retrieves all apigateway.GatewayResponse items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayGatewayResponseResources() map[string]*apigateway.GatewayResponse { + results := map[string]*apigateway.GatewayResponse{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticbeanstalk.ConfigurationTemplate: + case *apigateway.GatewayResponse: results[name] = resource } } return results } -// GetElasticBeanstalkConfigurationTemplateWithName retrieves all elasticbeanstalk.ConfigurationTemplate items from an AWS CloudFormation template +// GetApiGatewayGatewayResponseWithName retrieves all apigateway.GatewayResponse items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkConfigurationTemplateWithName(name string) (*elasticbeanstalk.ConfigurationTemplate, error) { +func (t *Template) GetApiGatewayGatewayResponseWithName(name string) (*apigateway.GatewayResponse, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticbeanstalk.ConfigurationTemplate: + case *apigateway.GatewayResponse: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.ConfigurationTemplate not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.GatewayResponse not found", name) } -// GetAllAutoScalingPlansScalingPlanResources retrieves all autoscalingplans.ScalingPlan items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingPlansScalingPlanResources() map[string]*autoscalingplans.ScalingPlan { - results := map[string]*autoscalingplans.ScalingPlan{} +// GetAllApiGatewayMethodResources retrieves all apigateway.Method items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayMethodResources() map[string]*apigateway.Method { + results := map[string]*apigateway.Method{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscalingplans.ScalingPlan: + case *apigateway.Method: results[name] = resource } } return results } -// GetAutoScalingPlansScalingPlanWithName retrieves all autoscalingplans.ScalingPlan items from an AWS CloudFormation template +// GetApiGatewayMethodWithName retrieves all apigateway.Method items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingPlansScalingPlanWithName(name string) (*autoscalingplans.ScalingPlan, error) { +func (t *Template) GetApiGatewayMethodWithName(name string) (*apigateway.Method, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscalingplans.ScalingPlan: + case *apigateway.Method: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscalingplans.ScalingPlan not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Method not found", name) } -// GetAllApiGatewayAuthorizerResources retrieves all apigateway.Authorizer items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayAuthorizerResources() map[string]*apigateway.Authorizer { - results := map[string]*apigateway.Authorizer{} +// GetAllApiGatewayModelResources retrieves all apigateway.Model items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayModelResources() map[string]*apigateway.Model { + results := map[string]*apigateway.Model{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Authorizer: + case *apigateway.Model: results[name] = resource } } return results } -// GetApiGatewayAuthorizerWithName retrieves all apigateway.Authorizer items from an AWS CloudFormation template +// GetApiGatewayModelWithName retrieves all apigateway.Model items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayAuthorizerWithName(name string) (*apigateway.Authorizer, error) { +func (t *Template) GetApiGatewayModelWithName(name string) (*apigateway.Model, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Authorizer: + case *apigateway.Model: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Authorizer not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Model not found", name) } -// GetAllEC2TrafficMirrorFilterResources retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorFilterResources() map[string]*ec2.TrafficMirrorFilter { - results := map[string]*ec2.TrafficMirrorFilter{} +// GetAllApiGatewayRequestValidatorResources retrieves all apigateway.RequestValidator items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayRequestValidatorResources() map[string]*apigateway.RequestValidator { + results := map[string]*apigateway.RequestValidator{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilter: + case *apigateway.RequestValidator: results[name] = resource } } return results } -// GetEC2TrafficMirrorFilterWithName retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template +// GetApiGatewayRequestValidatorWithName retrieves all apigateway.RequestValidator items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorFilterWithName(name string) (*ec2.TrafficMirrorFilter, error) { +func (t *Template) GetApiGatewayRequestValidatorWithName(name string) (*apigateway.RequestValidator, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilter: + case *apigateway.RequestValidator: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilter not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.RequestValidator not found", name) } -// GetAllSecretsManagerSecretTargetAttachmentResources retrieves all secretsmanager.SecretTargetAttachment items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerSecretTargetAttachmentResources() map[string]*secretsmanager.SecretTargetAttachment { - results := map[string]*secretsmanager.SecretTargetAttachment{} +// GetAllApiGatewayResourceResources retrieves all apigateway.Resource items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayResourceResources() map[string]*apigateway.Resource { + results := map[string]*apigateway.Resource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.SecretTargetAttachment: + case *apigateway.Resource: results[name] = resource } } return results } -// GetSecretsManagerSecretTargetAttachmentWithName retrieves all secretsmanager.SecretTargetAttachment items from an AWS CloudFormation template +// GetApiGatewayResourceWithName retrieves all apigateway.Resource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerSecretTargetAttachmentWithName(name string) (*secretsmanager.SecretTargetAttachment, error) { +func (t *Template) GetApiGatewayResourceWithName(name string) (*apigateway.Resource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.SecretTargetAttachment: + case *apigateway.Resource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.SecretTargetAttachment not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Resource not found", name) } -// GetAllGreengrassFunctionDefinitionVersionResources retrieves all greengrass.FunctionDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassFunctionDefinitionVersionResources() map[string]*greengrass.FunctionDefinitionVersion { - results := map[string]*greengrass.FunctionDefinitionVersion{} +// GetAllApiGatewayRestApiResources retrieves all apigateway.RestApi items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayRestApiResources() map[string]*apigateway.RestApi { + results := map[string]*apigateway.RestApi{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.FunctionDefinitionVersion: + case *apigateway.RestApi: results[name] = resource } } return results } -// GetGreengrassFunctionDefinitionVersionWithName retrieves all greengrass.FunctionDefinitionVersion items from an AWS CloudFormation template +// GetApiGatewayRestApiWithName retrieves all apigateway.RestApi items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassFunctionDefinitionVersionWithName(name string) (*greengrass.FunctionDefinitionVersion, error) { +func (t *Template) GetApiGatewayRestApiWithName(name string) (*apigateway.RestApi, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.FunctionDefinitionVersion: + case *apigateway.RestApi: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.FunctionDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.RestApi not found", name) } -// GetAllServiceCatalogTagOptionAssociationResources retrieves all servicecatalog.TagOptionAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogTagOptionAssociationResources() map[string]*servicecatalog.TagOptionAssociation { - results := map[string]*servicecatalog.TagOptionAssociation{} +// GetAllApiGatewayStageResources retrieves all apigateway.Stage items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayStageResources() map[string]*apigateway.Stage { + results := map[string]*apigateway.Stage{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.TagOptionAssociation: + case *apigateway.Stage: results[name] = resource } } return results } -// GetServiceCatalogTagOptionAssociationWithName retrieves all servicecatalog.TagOptionAssociation items from an AWS CloudFormation template +// GetApiGatewayStageWithName retrieves all apigateway.Stage items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogTagOptionAssociationWithName(name string) (*servicecatalog.TagOptionAssociation, error) { +func (t *Template) GetApiGatewayStageWithName(name string) (*apigateway.Stage, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.TagOptionAssociation: + case *apigateway.Stage: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.TagOptionAssociation not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.Stage not found", name) } -// GetAllEventsEventBusPolicyResources retrieves all events.EventBusPolicy items from an AWS CloudFormation template -func (t *Template) GetAllEventsEventBusPolicyResources() map[string]*events.EventBusPolicy { - results := map[string]*events.EventBusPolicy{} +// GetAllApiGatewayUsagePlanResources retrieves all apigateway.UsagePlan items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayUsagePlanResources() map[string]*apigateway.UsagePlan { + results := map[string]*apigateway.UsagePlan{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *events.EventBusPolicy: + case *apigateway.UsagePlan: results[name] = resource } } return results } -// GetEventsEventBusPolicyWithName retrieves all events.EventBusPolicy items from an AWS CloudFormation template +// GetApiGatewayUsagePlanWithName retrieves all apigateway.UsagePlan items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsEventBusPolicyWithName(name string) (*events.EventBusPolicy, error) { +func (t *Template) GetApiGatewayUsagePlanWithName(name string) (*apigateway.UsagePlan, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *events.EventBusPolicy: + case *apigateway.UsagePlan: return resource, nil } } - return nil, fmt.Errorf("resource %q of type events.EventBusPolicy not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.UsagePlan not found", name) } -// GetAllSSMMaintenanceWindowTargetResources retrieves all ssm.MaintenanceWindowTarget items from an AWS CloudFormation template -func (t *Template) GetAllSSMMaintenanceWindowTargetResources() map[string]*ssm.MaintenanceWindowTarget { - results := map[string]*ssm.MaintenanceWindowTarget{} +// GetAllApiGatewayUsagePlanKeyResources retrieves all apigateway.UsagePlanKey items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayUsagePlanKeyResources() map[string]*apigateway.UsagePlanKey { + results := map[string]*apigateway.UsagePlanKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTarget: + case *apigateway.UsagePlanKey: results[name] = resource } } return results } -// GetSSMMaintenanceWindowTargetWithName retrieves all ssm.MaintenanceWindowTarget items from an AWS CloudFormation template +// GetApiGatewayUsagePlanKeyWithName retrieves all apigateway.UsagePlanKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMMaintenanceWindowTargetWithName(name string) (*ssm.MaintenanceWindowTarget, error) { +func (t *Template) GetApiGatewayUsagePlanKeyWithName(name string) (*apigateway.UsagePlanKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTarget: + case *apigateway.UsagePlanKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindowTarget not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.UsagePlanKey not found", name) } -// GetAllConfigDeliveryChannelResources retrieves all config.DeliveryChannel items from an AWS CloudFormation template -func (t *Template) GetAllConfigDeliveryChannelResources() map[string]*config.DeliveryChannel { - results := map[string]*config.DeliveryChannel{} +// GetAllApiGatewayVpcLinkResources retrieves all apigateway.VpcLink items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayVpcLinkResources() map[string]*apigateway.VpcLink { + results := map[string]*apigateway.VpcLink{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.DeliveryChannel: + case *apigateway.VpcLink: results[name] = resource } } return results } -// GetConfigDeliveryChannelWithName retrieves all config.DeliveryChannel items from an AWS CloudFormation template +// GetApiGatewayVpcLinkWithName retrieves all apigateway.VpcLink items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigDeliveryChannelWithName(name string) (*config.DeliveryChannel, error) { +func (t *Template) GetApiGatewayVpcLinkWithName(name string) (*apigateway.VpcLink, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.DeliveryChannel: + case *apigateway.VpcLink: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.DeliveryChannel not found", name) + return nil, fmt.Errorf("resource %q of type apigateway.VpcLink not found", name) } -// GetAllEC2NetworkAclResources retrieves all ec2.NetworkAcl items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkAclResources() map[string]*ec2.NetworkAcl { - results := map[string]*ec2.NetworkAcl{} +// GetAllApiGatewayV2ApiResources retrieves all apigatewayv2.Api items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2ApiResources() map[string]*apigatewayv2.Api { + results := map[string]*apigatewayv2.Api{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.NetworkAcl: + case *apigatewayv2.Api: results[name] = resource } } return results } -// GetEC2NetworkAclWithName retrieves all ec2.NetworkAcl items from an AWS CloudFormation template +// GetApiGatewayV2ApiWithName retrieves all apigatewayv2.Api items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkAclWithName(name string) (*ec2.NetworkAcl, error) { +func (t *Template) GetApiGatewayV2ApiWithName(name string) (*apigatewayv2.Api, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.NetworkAcl: + case *apigatewayv2.Api: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.NetworkAcl not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Api not found", name) } -// GetAllKinesisFirehoseDeliveryStreamResources retrieves all kinesisfirehose.DeliveryStream items from an AWS CloudFormation template -func (t *Template) GetAllKinesisFirehoseDeliveryStreamResources() map[string]*kinesisfirehose.DeliveryStream { - results := map[string]*kinesisfirehose.DeliveryStream{} +// GetAllApiGatewayV2ApiMappingResources retrieves all apigatewayv2.ApiMapping items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2ApiMappingResources() map[string]*apigatewayv2.ApiMapping { + results := map[string]*apigatewayv2.ApiMapping{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisfirehose.DeliveryStream: + case *apigatewayv2.ApiMapping: results[name] = resource } } return results } -// GetKinesisFirehoseDeliveryStreamWithName retrieves all kinesisfirehose.DeliveryStream items from an AWS CloudFormation template +// GetApiGatewayV2ApiMappingWithName retrieves all apigatewayv2.ApiMapping items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisFirehoseDeliveryStreamWithName(name string) (*kinesisfirehose.DeliveryStream, error) { +func (t *Template) GetApiGatewayV2ApiMappingWithName(name string) (*apigatewayv2.ApiMapping, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisfirehose.DeliveryStream: + case *apigatewayv2.ApiMapping: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisfirehose.DeliveryStream not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.ApiMapping not found", name) } -// GetAllStepFunctionsActivityResources retrieves all stepfunctions.Activity items from an AWS CloudFormation template -func (t *Template) GetAllStepFunctionsActivityResources() map[string]*stepfunctions.Activity { - results := map[string]*stepfunctions.Activity{} +// GetAllApiGatewayV2AuthorizerResources retrieves all apigatewayv2.Authorizer items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2AuthorizerResources() map[string]*apigatewayv2.Authorizer { + results := map[string]*apigatewayv2.Authorizer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *stepfunctions.Activity: + case *apigatewayv2.Authorizer: results[name] = resource } } return results } -// GetStepFunctionsActivityWithName retrieves all stepfunctions.Activity items from an AWS CloudFormation template +// GetApiGatewayV2AuthorizerWithName retrieves all apigatewayv2.Authorizer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetStepFunctionsActivityWithName(name string) (*stepfunctions.Activity, error) { +func (t *Template) GetApiGatewayV2AuthorizerWithName(name string) (*apigatewayv2.Authorizer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *stepfunctions.Activity: + case *apigatewayv2.Authorizer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type stepfunctions.Activity not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Authorizer not found", name) } -// GetAllElasticLoadBalancingLoadBalancerResources retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingLoadBalancerResources() map[string]*elasticloadbalancing.LoadBalancer { - results := map[string]*elasticloadbalancing.LoadBalancer{} +// GetAllApiGatewayV2DeploymentResources retrieves all apigatewayv2.Deployment items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2DeploymentResources() map[string]*apigatewayv2.Deployment { + results := map[string]*apigatewayv2.Deployment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticloadbalancing.LoadBalancer: + case *apigatewayv2.Deployment: results[name] = resource } } return results } -// GetElasticLoadBalancingLoadBalancerWithName retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template +// GetApiGatewayV2DeploymentWithName retrieves all apigatewayv2.Deployment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingLoadBalancerWithName(name string) (*elasticloadbalancing.LoadBalancer, error) { +func (t *Template) GetApiGatewayV2DeploymentWithName(name string) (*apigatewayv2.Deployment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticloadbalancing.LoadBalancer: + case *apigatewayv2.Deployment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticloadbalancing.LoadBalancer not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Deployment not found", name) } -// GetAllASKSkillResources retrieves all ask.Skill items from an AWS CloudFormation template -func (t *Template) GetAllASKSkillResources() map[string]*ask.Skill { - results := map[string]*ask.Skill{} +// GetAllApiGatewayV2DomainNameResources retrieves all apigatewayv2.DomainName items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2DomainNameResources() map[string]*apigatewayv2.DomainName { + results := map[string]*apigatewayv2.DomainName{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ask.Skill: + case *apigatewayv2.DomainName: results[name] = resource } } return results } -// GetASKSkillWithName retrieves all ask.Skill items from an AWS CloudFormation template +// GetApiGatewayV2DomainNameWithName retrieves all apigatewayv2.DomainName items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetASKSkillWithName(name string) (*ask.Skill, error) { +func (t *Template) GetApiGatewayV2DomainNameWithName(name string) (*apigatewayv2.DomainName, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ask.Skill: + case *apigatewayv2.DomainName: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ask.Skill not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.DomainName not found", name) } -// GetAllApiGatewayDocumentationPartResources retrieves all apigateway.DocumentationPart items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDocumentationPartResources() map[string]*apigateway.DocumentationPart { - results := map[string]*apigateway.DocumentationPart{} +// GetAllApiGatewayV2IntegrationResources retrieves all apigatewayv2.Integration items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2IntegrationResources() map[string]*apigatewayv2.Integration { + results := map[string]*apigatewayv2.Integration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.DocumentationPart: + case *apigatewayv2.Integration: results[name] = resource } } return results } -// GetApiGatewayDocumentationPartWithName retrieves all apigateway.DocumentationPart items from an AWS CloudFormation template +// GetApiGatewayV2IntegrationWithName retrieves all apigatewayv2.Integration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDocumentationPartWithName(name string) (*apigateway.DocumentationPart, error) { +func (t *Template) GetApiGatewayV2IntegrationWithName(name string) (*apigatewayv2.Integration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.DocumentationPart: + case *apigatewayv2.Integration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.DocumentationPart not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Integration not found", name) } -// GetAllEFSFileSystemResources retrieves all efs.FileSystem items from an AWS CloudFormation template -func (t *Template) GetAllEFSFileSystemResources() map[string]*efs.FileSystem { - results := map[string]*efs.FileSystem{} +// GetAllApiGatewayV2IntegrationResponseResources retrieves all apigatewayv2.IntegrationResponse items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2IntegrationResponseResources() map[string]*apigatewayv2.IntegrationResponse { + results := map[string]*apigatewayv2.IntegrationResponse{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *efs.FileSystem: + case *apigatewayv2.IntegrationResponse: results[name] = resource } } return results } -// GetEFSFileSystemWithName retrieves all efs.FileSystem items from an AWS CloudFormation template +// GetApiGatewayV2IntegrationResponseWithName retrieves all apigatewayv2.IntegrationResponse items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEFSFileSystemWithName(name string) (*efs.FileSystem, error) { +func (t *Template) GetApiGatewayV2IntegrationResponseWithName(name string) (*apigatewayv2.IntegrationResponse, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *efs.FileSystem: + case *apigatewayv2.IntegrationResponse: return resource, nil } } - return nil, fmt.Errorf("resource %q of type efs.FileSystem not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.IntegrationResponse not found", name) } -// GetAllWAFByteMatchSetResources retrieves all waf.ByteMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFByteMatchSetResources() map[string]*waf.ByteMatchSet { - results := map[string]*waf.ByteMatchSet{} +// GetAllApiGatewayV2ModelResources retrieves all apigatewayv2.Model items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2ModelResources() map[string]*apigatewayv2.Model { + results := map[string]*apigatewayv2.Model{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.ByteMatchSet: + case *apigatewayv2.Model: results[name] = resource } } return results } -// GetWAFByteMatchSetWithName retrieves all waf.ByteMatchSet items from an AWS CloudFormation template +// GetApiGatewayV2ModelWithName retrieves all apigatewayv2.Model items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFByteMatchSetWithName(name string) (*waf.ByteMatchSet, error) { +func (t *Template) GetApiGatewayV2ModelWithName(name string) (*apigatewayv2.Model, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.ByteMatchSet: + case *apigatewayv2.Model: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.ByteMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Model not found", name) } -// GetAllGuardDutyDetectorResources retrieves all guardduty.Detector items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyDetectorResources() map[string]*guardduty.Detector { - results := map[string]*guardduty.Detector{} +// GetAllApiGatewayV2RouteResources retrieves all apigatewayv2.Route items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2RouteResources() map[string]*apigatewayv2.Route { + results := map[string]*apigatewayv2.Route{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *guardduty.Detector: + case *apigatewayv2.Route: results[name] = resource } } return results } -// GetGuardDutyDetectorWithName retrieves all guardduty.Detector items from an AWS CloudFormation template +// GetApiGatewayV2RouteWithName retrieves all apigatewayv2.Route items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyDetectorWithName(name string) (*guardduty.Detector, error) { +func (t *Template) GetApiGatewayV2RouteWithName(name string) (*apigatewayv2.Route, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *guardduty.Detector: + case *apigatewayv2.Route: return resource, nil } } - return nil, fmt.Errorf("resource %q of type guardduty.Detector not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Route not found", name) } -// GetAllAppStreamDirectoryConfigResources retrieves all appstream.DirectoryConfig items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamDirectoryConfigResources() map[string]*appstream.DirectoryConfig { - results := map[string]*appstream.DirectoryConfig{} +// GetAllApiGatewayV2RouteResponseResources retrieves all apigatewayv2.RouteResponse items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2RouteResponseResources() map[string]*apigatewayv2.RouteResponse { + results := map[string]*apigatewayv2.RouteResponse{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.DirectoryConfig: + case *apigatewayv2.RouteResponse: results[name] = resource } } return results } -// GetAppStreamDirectoryConfigWithName retrieves all appstream.DirectoryConfig items from an AWS CloudFormation template +// GetApiGatewayV2RouteResponseWithName retrieves all apigatewayv2.RouteResponse items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamDirectoryConfigWithName(name string) (*appstream.DirectoryConfig, error) { +func (t *Template) GetApiGatewayV2RouteResponseWithName(name string) (*apigatewayv2.RouteResponse, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.DirectoryConfig: + case *apigatewayv2.RouteResponse: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.DirectoryConfig not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.RouteResponse not found", name) } -// GetAllEC2TransitGatewayRouteResources retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteResources() map[string]*ec2.TransitGatewayRoute { - results := map[string]*ec2.TransitGatewayRoute{} +// GetAllApiGatewayV2StageResources retrieves all apigatewayv2.Stage items from an AWS CloudFormation template +func (t *Template) GetAllApiGatewayV2StageResources() map[string]*apigatewayv2.Stage { + results := map[string]*apigatewayv2.Stage{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TransitGatewayRoute: + case *apigatewayv2.Stage: results[name] = resource } } return results } -// GetEC2TransitGatewayRouteWithName retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template +// GetApiGatewayV2StageWithName retrieves all apigatewayv2.Stage items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteWithName(name string) (*ec2.TransitGatewayRoute, error) { +func (t *Template) GetApiGatewayV2StageWithName(name string) (*apigatewayv2.Stage, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TransitGatewayRoute: + case *apigatewayv2.Stage: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRoute not found", name) + return nil, fmt.Errorf("resource %q of type apigatewayv2.Stage not found", name) } -// GetAllAppStreamStackUserAssociationResources retrieves all appstream.StackUserAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamStackUserAssociationResources() map[string]*appstream.StackUserAssociation { - results := map[string]*appstream.StackUserAssociation{} +// GetAllAppMeshMeshResources retrieves all appmesh.Mesh items from an AWS CloudFormation template +func (t *Template) GetAllAppMeshMeshResources() map[string]*appmesh.Mesh { + results := map[string]*appmesh.Mesh{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.StackUserAssociation: + case *appmesh.Mesh: results[name] = resource } } return results } -// GetAppStreamStackUserAssociationWithName retrieves all appstream.StackUserAssociation items from an AWS CloudFormation template +// GetAppMeshMeshWithName retrieves all appmesh.Mesh items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamStackUserAssociationWithName(name string) (*appstream.StackUserAssociation, error) { +func (t *Template) GetAppMeshMeshWithName(name string) (*appmesh.Mesh, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.StackUserAssociation: + case *appmesh.Mesh: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.StackUserAssociation not found", name) + return nil, fmt.Errorf("resource %q of type appmesh.Mesh not found", name) } -// GetAllDMSReplicationInstanceResources retrieves all dms.ReplicationInstance items from an AWS CloudFormation template -func (t *Template) GetAllDMSReplicationInstanceResources() map[string]*dms.ReplicationInstance { - results := map[string]*dms.ReplicationInstance{} +// GetAllAppMeshRouteResources retrieves all appmesh.Route items from an AWS CloudFormation template +func (t *Template) GetAllAppMeshRouteResources() map[string]*appmesh.Route { + results := map[string]*appmesh.Route{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dms.ReplicationInstance: + case *appmesh.Route: results[name] = resource } } return results } -// GetDMSReplicationInstanceWithName retrieves all dms.ReplicationInstance items from an AWS CloudFormation template +// GetAppMeshRouteWithName retrieves all appmesh.Route items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSReplicationInstanceWithName(name string) (*dms.ReplicationInstance, error) { +func (t *Template) GetAppMeshRouteWithName(name string) (*appmesh.Route, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dms.ReplicationInstance: + case *appmesh.Route: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dms.ReplicationInstance not found", name) + return nil, fmt.Errorf("resource %q of type appmesh.Route not found", name) } -// GetAllRDSDBParameterGroupResources retrieves all rds.DBParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBParameterGroupResources() map[string]*rds.DBParameterGroup { - results := map[string]*rds.DBParameterGroup{} +// GetAllAppMeshVirtualNodeResources retrieves all appmesh.VirtualNode items from an AWS CloudFormation template +func (t *Template) GetAllAppMeshVirtualNodeResources() map[string]*appmesh.VirtualNode { + results := map[string]*appmesh.VirtualNode{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBParameterGroup: + case *appmesh.VirtualNode: results[name] = resource } } return results } -// GetRDSDBParameterGroupWithName retrieves all rds.DBParameterGroup items from an AWS CloudFormation template +// GetAppMeshVirtualNodeWithName retrieves all appmesh.VirtualNode items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBParameterGroupWithName(name string) (*rds.DBParameterGroup, error) { +func (t *Template) GetAppMeshVirtualNodeWithName(name string) (*appmesh.VirtualNode, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBParameterGroup: + case *appmesh.VirtualNode: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type appmesh.VirtualNode not found", name) } -// GetAllEventsEventBusResources retrieves all events.EventBus items from an AWS CloudFormation template -func (t *Template) GetAllEventsEventBusResources() map[string]*events.EventBus { - results := map[string]*events.EventBus{} +// GetAllAppMeshVirtualRouterResources retrieves all appmesh.VirtualRouter items from an AWS CloudFormation template +func (t *Template) GetAllAppMeshVirtualRouterResources() map[string]*appmesh.VirtualRouter { + results := map[string]*appmesh.VirtualRouter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *events.EventBus: + case *appmesh.VirtualRouter: results[name] = resource } } return results } -// GetEventsEventBusWithName retrieves all events.EventBus items from an AWS CloudFormation template +// GetAppMeshVirtualRouterWithName retrieves all appmesh.VirtualRouter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsEventBusWithName(name string) (*events.EventBus, error) { +func (t *Template) GetAppMeshVirtualRouterWithName(name string) (*appmesh.VirtualRouter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *events.EventBus: + case *appmesh.VirtualRouter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type events.EventBus not found", name) + return nil, fmt.Errorf("resource %q of type appmesh.VirtualRouter not found", name) } -// GetAllServiceDiscoveryServiceResources retrieves all servicediscovery.Service items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryServiceResources() map[string]*servicediscovery.Service { - results := map[string]*servicediscovery.Service{} +// GetAllAppMeshVirtualServiceResources retrieves all appmesh.VirtualService items from an AWS CloudFormation template +func (t *Template) GetAllAppMeshVirtualServiceResources() map[string]*appmesh.VirtualService { + results := map[string]*appmesh.VirtualService{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.Service: + case *appmesh.VirtualService: results[name] = resource } } return results } -// GetServiceDiscoveryServiceWithName retrieves all servicediscovery.Service items from an AWS CloudFormation template +// GetAppMeshVirtualServiceWithName retrieves all appmesh.VirtualService items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryServiceWithName(name string) (*servicediscovery.Service, error) { +func (t *Template) GetAppMeshVirtualServiceWithName(name string) (*appmesh.VirtualService, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.Service: + case *appmesh.VirtualService: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.Service not found", name) + return nil, fmt.Errorf("resource %q of type appmesh.VirtualService not found", name) } -// GetAllEC2NetworkInterfaceResources retrieves all ec2.NetworkInterface items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInterfaceResources() map[string]*ec2.NetworkInterface { - results := map[string]*ec2.NetworkInterface{} +// GetAllAppStreamDirectoryConfigResources retrieves all appstream.DirectoryConfig items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamDirectoryConfigResources() map[string]*appstream.DirectoryConfig { + results := map[string]*appstream.DirectoryConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.NetworkInterface: + case *appstream.DirectoryConfig: results[name] = resource } } return results } -// GetEC2NetworkInterfaceWithName retrieves all ec2.NetworkInterface items from an AWS CloudFormation template +// GetAppStreamDirectoryConfigWithName retrieves all appstream.DirectoryConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInterfaceWithName(name string) (*ec2.NetworkInterface, error) { +func (t *Template) GetAppStreamDirectoryConfigWithName(name string) (*appstream.DirectoryConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.NetworkInterface: + case *appstream.DirectoryConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInterface not found", name) + return nil, fmt.Errorf("resource %q of type appstream.DirectoryConfig not found", name) } -// GetAllTransferUserResources retrieves all transfer.User items from an AWS CloudFormation template -func (t *Template) GetAllTransferUserResources() map[string]*transfer.User { - results := map[string]*transfer.User{} +// GetAllAppStreamFleetResources retrieves all appstream.Fleet items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamFleetResources() map[string]*appstream.Fleet { + results := map[string]*appstream.Fleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *transfer.User: + case *appstream.Fleet: results[name] = resource } } return results } -// GetTransferUserWithName retrieves all transfer.User items from an AWS CloudFormation template +// GetAppStreamFleetWithName retrieves all appstream.Fleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTransferUserWithName(name string) (*transfer.User, error) { +func (t *Template) GetAppStreamFleetWithName(name string) (*appstream.Fleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *transfer.User: + case *appstream.Fleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type transfer.User not found", name) + return nil, fmt.Errorf("resource %q of type appstream.Fleet not found", name) } -// GetAllConfigConfigRuleResources retrieves all config.ConfigRule items from an AWS CloudFormation template -func (t *Template) GetAllConfigConfigRuleResources() map[string]*config.ConfigRule { - results := map[string]*config.ConfigRule{} +// GetAllAppStreamImageBuilderResources retrieves all appstream.ImageBuilder items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamImageBuilderResources() map[string]*appstream.ImageBuilder { + results := map[string]*appstream.ImageBuilder{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.ConfigRule: + case *appstream.ImageBuilder: results[name] = resource } } return results } -// GetConfigConfigRuleWithName retrieves all config.ConfigRule items from an AWS CloudFormation template +// GetAppStreamImageBuilderWithName retrieves all appstream.ImageBuilder items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConfigRuleWithName(name string) (*config.ConfigRule, error) { +func (t *Template) GetAppStreamImageBuilderWithName(name string) (*appstream.ImageBuilder, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.ConfigRule: + case *appstream.ImageBuilder: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.ConfigRule not found", name) + return nil, fmt.Errorf("resource %q of type appstream.ImageBuilder not found", name) } -// GetAllApiGatewayV2StageResources retrieves all apigatewayv2.Stage items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2StageResources() map[string]*apigatewayv2.Stage { - results := map[string]*apigatewayv2.Stage{} +// GetAllAppStreamStackResources retrieves all appstream.Stack items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamStackResources() map[string]*appstream.Stack { + results := map[string]*appstream.Stack{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Stage: + case *appstream.Stack: results[name] = resource } } return results } -// GetApiGatewayV2StageWithName retrieves all apigatewayv2.Stage items from an AWS CloudFormation template +// GetAppStreamStackWithName retrieves all appstream.Stack items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2StageWithName(name string) (*apigatewayv2.Stage, error) { +func (t *Template) GetAppStreamStackWithName(name string) (*appstream.Stack, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Stage: + case *appstream.Stack: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Stage not found", name) + return nil, fmt.Errorf("resource %q of type appstream.Stack not found", name) } -// GetAllIoTTopicRuleResources retrieves all iot.TopicRule items from an AWS CloudFormation template -func (t *Template) GetAllIoTTopicRuleResources() map[string]*iot.TopicRule { - results := map[string]*iot.TopicRule{} +// GetAllAppStreamStackFleetAssociationResources retrieves all appstream.StackFleetAssociation items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamStackFleetAssociationResources() map[string]*appstream.StackFleetAssociation { + results := map[string]*appstream.StackFleetAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot.TopicRule: + case *appstream.StackFleetAssociation: results[name] = resource } } return results } -// GetIoTTopicRuleWithName retrieves all iot.TopicRule items from an AWS CloudFormation template +// GetAppStreamStackFleetAssociationWithName retrieves all appstream.StackFleetAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTTopicRuleWithName(name string) (*iot.TopicRule, error) { +func (t *Template) GetAppStreamStackFleetAssociationWithName(name string) (*appstream.StackFleetAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot.TopicRule: + case *appstream.StackFleetAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot.TopicRule not found", name) + return nil, fmt.Errorf("resource %q of type appstream.StackFleetAssociation not found", name) } -// GetAllEventsRuleResources retrieves all events.Rule items from an AWS CloudFormation template -func (t *Template) GetAllEventsRuleResources() map[string]*events.Rule { - results := map[string]*events.Rule{} +// GetAllAppStreamStackUserAssociationResources retrieves all appstream.StackUserAssociation items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamStackUserAssociationResources() map[string]*appstream.StackUserAssociation { + results := map[string]*appstream.StackUserAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *events.Rule: + case *appstream.StackUserAssociation: results[name] = resource } } return results } -// GetEventsRuleWithName retrieves all events.Rule items from an AWS CloudFormation template +// GetAppStreamStackUserAssociationWithName retrieves all appstream.StackUserAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsRuleWithName(name string) (*events.Rule, error) { +func (t *Template) GetAppStreamStackUserAssociationWithName(name string) (*appstream.StackUserAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *events.Rule: + case *appstream.StackUserAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type events.Rule not found", name) + return nil, fmt.Errorf("resource %q of type appstream.StackUserAssociation not found", name) } -// GetAllGreengrassCoreDefinitionVersionResources retrieves all greengrass.CoreDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassCoreDefinitionVersionResources() map[string]*greengrass.CoreDefinitionVersion { - results := map[string]*greengrass.CoreDefinitionVersion{} +// GetAllAppStreamUserResources retrieves all appstream.User items from an AWS CloudFormation template +func (t *Template) GetAllAppStreamUserResources() map[string]*appstream.User { + results := map[string]*appstream.User{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.CoreDefinitionVersion: + case *appstream.User: results[name] = resource } } return results } -// GetGreengrassCoreDefinitionVersionWithName retrieves all greengrass.CoreDefinitionVersion items from an AWS CloudFormation template +// GetAppStreamUserWithName retrieves all appstream.User items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassCoreDefinitionVersionWithName(name string) (*greengrass.CoreDefinitionVersion, error) { +func (t *Template) GetAppStreamUserWithName(name string) (*appstream.User, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.CoreDefinitionVersion: + case *appstream.User: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.CoreDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type appstream.User not found", name) } -// GetAllWAFRegionalGeoMatchSetResources retrieves all wafregional.GeoMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalGeoMatchSetResources() map[string]*wafregional.GeoMatchSet { - results := map[string]*wafregional.GeoMatchSet{} +// GetAllAppSyncApiKeyResources retrieves all appsync.ApiKey items from an AWS CloudFormation template +func (t *Template) GetAllAppSyncApiKeyResources() map[string]*appsync.ApiKey { + results := map[string]*appsync.ApiKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.GeoMatchSet: + case *appsync.ApiKey: results[name] = resource } } return results } -// GetWAFRegionalGeoMatchSetWithName retrieves all wafregional.GeoMatchSet items from an AWS CloudFormation template +// GetAppSyncApiKeyWithName retrieves all appsync.ApiKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalGeoMatchSetWithName(name string) (*wafregional.GeoMatchSet, error) { +func (t *Template) GetAppSyncApiKeyWithName(name string) (*appsync.ApiKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.GeoMatchSet: + case *appsync.ApiKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.GeoMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type appsync.ApiKey not found", name) } -// GetAllCertificateManagerCertificateResources retrieves all certificatemanager.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllCertificateManagerCertificateResources() map[string]*certificatemanager.Certificate { - results := map[string]*certificatemanager.Certificate{} +// GetAllAppSyncDataSourceResources retrieves all appsync.DataSource items from an AWS CloudFormation template +func (t *Template) GetAllAppSyncDataSourceResources() map[string]*appsync.DataSource { + results := map[string]*appsync.DataSource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *certificatemanager.Certificate: + case *appsync.DataSource: results[name] = resource } } return results } -// GetCertificateManagerCertificateWithName retrieves all certificatemanager.Certificate items from an AWS CloudFormation template +// GetAppSyncDataSourceWithName retrieves all appsync.DataSource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCertificateManagerCertificateWithName(name string) (*certificatemanager.Certificate, error) { +func (t *Template) GetAppSyncDataSourceWithName(name string) (*appsync.DataSource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *certificatemanager.Certificate: + case *appsync.DataSource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type certificatemanager.Certificate not found", name) + return nil, fmt.Errorf("resource %q of type appsync.DataSource not found", name) } -// GetAllStepFunctionsStateMachineResources retrieves all stepfunctions.StateMachine items from an AWS CloudFormation template -func (t *Template) GetAllStepFunctionsStateMachineResources() map[string]*stepfunctions.StateMachine { - results := map[string]*stepfunctions.StateMachine{} +// GetAllAppSyncFunctionConfigurationResources retrieves all appsync.FunctionConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllAppSyncFunctionConfigurationResources() map[string]*appsync.FunctionConfiguration { + results := map[string]*appsync.FunctionConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *stepfunctions.StateMachine: + case *appsync.FunctionConfiguration: results[name] = resource } } return results } -// GetStepFunctionsStateMachineWithName retrieves all stepfunctions.StateMachine items from an AWS CloudFormation template +// GetAppSyncFunctionConfigurationWithName retrieves all appsync.FunctionConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetStepFunctionsStateMachineWithName(name string) (*stepfunctions.StateMachine, error) { +func (t *Template) GetAppSyncFunctionConfigurationWithName(name string) (*appsync.FunctionConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *stepfunctions.StateMachine: + case *appsync.FunctionConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type stepfunctions.StateMachine not found", name) + return nil, fmt.Errorf("resource %q of type appsync.FunctionConfiguration not found", name) } -// GetAllEC2TransitGatewayAttachmentResources retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayAttachmentResources() map[string]*ec2.TransitGatewayAttachment { - results := map[string]*ec2.TransitGatewayAttachment{} +// GetAllAppSyncGraphQLApiResources retrieves all appsync.GraphQLApi items from an AWS CloudFormation template +func (t *Template) GetAllAppSyncGraphQLApiResources() map[string]*appsync.GraphQLApi { + results := map[string]*appsync.GraphQLApi{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TransitGatewayAttachment: + case *appsync.GraphQLApi: results[name] = resource } } return results } -// GetEC2TransitGatewayAttachmentWithName retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template +// GetAppSyncGraphQLApiWithName retrieves all appsync.GraphQLApi items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayAttachmentWithName(name string) (*ec2.TransitGatewayAttachment, error) { +func (t *Template) GetAppSyncGraphQLApiWithName(name string) (*appsync.GraphQLApi, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TransitGatewayAttachment: + case *appsync.GraphQLApi: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayAttachment not found", name) + return nil, fmt.Errorf("resource %q of type appsync.GraphQLApi not found", name) } -// GetAllEC2SubnetResources retrieves all ec2.Subnet items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetResources() map[string]*ec2.Subnet { - results := map[string]*ec2.Subnet{} +// GetAllAppSyncGraphQLSchemaResources retrieves all appsync.GraphQLSchema items from an AWS CloudFormation template +func (t *Template) GetAllAppSyncGraphQLSchemaResources() map[string]*appsync.GraphQLSchema { + results := map[string]*appsync.GraphQLSchema{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.Subnet: + case *appsync.GraphQLSchema: results[name] = resource } } return results } -// GetEC2SubnetWithName retrieves all ec2.Subnet items from an AWS CloudFormation template +// GetAppSyncGraphQLSchemaWithName retrieves all appsync.GraphQLSchema items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetWithName(name string) (*ec2.Subnet, error) { +func (t *Template) GetAppSyncGraphQLSchemaWithName(name string) (*appsync.GraphQLSchema, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.Subnet: + case *appsync.GraphQLSchema: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.Subnet not found", name) + return nil, fmt.Errorf("resource %q of type appsync.GraphQLSchema not found", name) } -// GetAllGlueDevEndpointResources retrieves all glue.DevEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllGlueDevEndpointResources() map[string]*glue.DevEndpoint { - results := map[string]*glue.DevEndpoint{} +// GetAllAppSyncResolverResources retrieves all appsync.Resolver items from an AWS CloudFormation template +func (t *Template) GetAllAppSyncResolverResources() map[string]*appsync.Resolver { + results := map[string]*appsync.Resolver{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.DevEndpoint: + case *appsync.Resolver: results[name] = resource } } return results } -// GetGlueDevEndpointWithName retrieves all glue.DevEndpoint items from an AWS CloudFormation template +// GetAppSyncResolverWithName retrieves all appsync.Resolver items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueDevEndpointWithName(name string) (*glue.DevEndpoint, error) { +func (t *Template) GetAppSyncResolverWithName(name string) (*appsync.Resolver, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.DevEndpoint: + case *appsync.Resolver: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.DevEndpoint not found", name) + return nil, fmt.Errorf("resource %q of type appsync.Resolver not found", name) } -// GetAllEC2ClientVpnRouteResources retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnRouteResources() map[string]*ec2.ClientVpnRoute { - results := map[string]*ec2.ClientVpnRoute{} +// GetAllApplicationAutoScalingScalableTargetResources retrieves all applicationautoscaling.ScalableTarget items from an AWS CloudFormation template +func (t *Template) GetAllApplicationAutoScalingScalableTargetResources() map[string]*applicationautoscaling.ScalableTarget { + results := map[string]*applicationautoscaling.ScalableTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.ClientVpnRoute: + case *applicationautoscaling.ScalableTarget: results[name] = resource } } return results } -// GetEC2ClientVpnRouteWithName retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template +// GetApplicationAutoScalingScalableTargetWithName retrieves all applicationautoscaling.ScalableTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnRouteWithName(name string) (*ec2.ClientVpnRoute, error) { +func (t *Template) GetApplicationAutoScalingScalableTargetWithName(name string) (*applicationautoscaling.ScalableTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.ClientVpnRoute: + case *applicationautoscaling.ScalableTarget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnRoute not found", name) + return nil, fmt.Errorf("resource %q of type applicationautoscaling.ScalableTarget not found", name) } -// GetAllApiGatewayAccountResources retrieves all apigateway.Account items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayAccountResources() map[string]*apigateway.Account { - results := map[string]*apigateway.Account{} +// GetAllApplicationAutoScalingScalingPolicyResources retrieves all applicationautoscaling.ScalingPolicy items from an AWS CloudFormation template +func (t *Template) GetAllApplicationAutoScalingScalingPolicyResources() map[string]*applicationautoscaling.ScalingPolicy { + results := map[string]*applicationautoscaling.ScalingPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Account: + case *applicationautoscaling.ScalingPolicy: results[name] = resource } } return results } -// GetApiGatewayAccountWithName retrieves all apigateway.Account items from an AWS CloudFormation template +// GetApplicationAutoScalingScalingPolicyWithName retrieves all applicationautoscaling.ScalingPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayAccountWithName(name string) (*apigateway.Account, error) { +func (t *Template) GetApplicationAutoScalingScalingPolicyWithName(name string) (*applicationautoscaling.ScalingPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Account: + case *applicationautoscaling.ScalingPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Account not found", name) + return nil, fmt.Errorf("resource %q of type applicationautoscaling.ScalingPolicy not found", name) } -// GetAllLambdaLayerVersionPermissionResources retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template -func (t *Template) GetAllLambdaLayerVersionPermissionResources() map[string]*lambda.LayerVersionPermission { - results := map[string]*lambda.LayerVersionPermission{} +// GetAllAthenaNamedQueryResources retrieves all athena.NamedQuery items from an AWS CloudFormation template +func (t *Template) GetAllAthenaNamedQueryResources() map[string]*athena.NamedQuery { + results := map[string]*athena.NamedQuery{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.LayerVersionPermission: + case *athena.NamedQuery: results[name] = resource } } return results } -// GetLambdaLayerVersionPermissionWithName retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template +// GetAthenaNamedQueryWithName retrieves all athena.NamedQuery items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaLayerVersionPermissionWithName(name string) (*lambda.LayerVersionPermission, error) { +func (t *Template) GetAthenaNamedQueryWithName(name string) (*athena.NamedQuery, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.LayerVersionPermission: + case *athena.NamedQuery: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.LayerVersionPermission not found", name) + return nil, fmt.Errorf("resource %q of type athena.NamedQuery not found", name) } -// GetAllSageMakerCodeRepositoryResources retrieves all sagemaker.CodeRepository items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerCodeRepositoryResources() map[string]*sagemaker.CodeRepository { - results := map[string]*sagemaker.CodeRepository{} +// GetAllAutoScalingAutoScalingGroupResources retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingAutoScalingGroupResources() map[string]*autoscaling.AutoScalingGroup { + results := map[string]*autoscaling.AutoScalingGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.CodeRepository: + case *autoscaling.AutoScalingGroup: results[name] = resource } } return results } -// GetSageMakerCodeRepositoryWithName retrieves all sagemaker.CodeRepository items from an AWS CloudFormation template +// GetAutoScalingAutoScalingGroupWithName retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerCodeRepositoryWithName(name string) (*sagemaker.CodeRepository, error) { +func (t *Template) GetAutoScalingAutoScalingGroupWithName(name string) (*autoscaling.AutoScalingGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.CodeRepository: + case *autoscaling.AutoScalingGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.CodeRepository not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.AutoScalingGroup not found", name) } -// GetAllTransferServerResources retrieves all transfer.Server items from an AWS CloudFormation template -func (t *Template) GetAllTransferServerResources() map[string]*transfer.Server { - results := map[string]*transfer.Server{} +// GetAllAutoScalingLaunchConfigurationResources retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingLaunchConfigurationResources() map[string]*autoscaling.LaunchConfiguration { + results := map[string]*autoscaling.LaunchConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *transfer.Server: + case *autoscaling.LaunchConfiguration: results[name] = resource } } return results } -// GetTransferServerWithName retrieves all transfer.Server items from an AWS CloudFormation template +// GetAutoScalingLaunchConfigurationWithName retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTransferServerWithName(name string) (*transfer.Server, error) { +func (t *Template) GetAutoScalingLaunchConfigurationWithName(name string) (*autoscaling.LaunchConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *transfer.Server: + case *autoscaling.LaunchConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type transfer.Server not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.LaunchConfiguration not found", name) } -// GetAllDMSReplicationTaskResources retrieves all dms.ReplicationTask items from an AWS CloudFormation template -func (t *Template) GetAllDMSReplicationTaskResources() map[string]*dms.ReplicationTask { - results := map[string]*dms.ReplicationTask{} +// GetAllAutoScalingLifecycleHookResources retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingLifecycleHookResources() map[string]*autoscaling.LifecycleHook { + results := map[string]*autoscaling.LifecycleHook{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dms.ReplicationTask: + case *autoscaling.LifecycleHook: results[name] = resource } } return results } -// GetDMSReplicationTaskWithName retrieves all dms.ReplicationTask items from an AWS CloudFormation template +// GetAutoScalingLifecycleHookWithName retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSReplicationTaskWithName(name string) (*dms.ReplicationTask, error) { +func (t *Template) GetAutoScalingLifecycleHookWithName(name string) (*autoscaling.LifecycleHook, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dms.ReplicationTask: + case *autoscaling.LifecycleHook: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dms.ReplicationTask not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.LifecycleHook not found", name) } -// GetAllGuardDutyThreatIntelSetResources retrieves all guardduty.ThreatIntelSet items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyThreatIntelSetResources() map[string]*guardduty.ThreatIntelSet { - results := map[string]*guardduty.ThreatIntelSet{} +// GetAllAutoScalingScalingPolicyResources retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingScalingPolicyResources() map[string]*autoscaling.ScalingPolicy { + results := map[string]*autoscaling.ScalingPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *guardduty.ThreatIntelSet: + case *autoscaling.ScalingPolicy: results[name] = resource } } return results } -// GetGuardDutyThreatIntelSetWithName retrieves all guardduty.ThreatIntelSet items from an AWS CloudFormation template +// GetAutoScalingScalingPolicyWithName retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyThreatIntelSetWithName(name string) (*guardduty.ThreatIntelSet, error) { +func (t *Template) GetAutoScalingScalingPolicyWithName(name string) (*autoscaling.ScalingPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *guardduty.ThreatIntelSet: + case *autoscaling.ScalingPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type guardduty.ThreatIntelSet not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.ScalingPolicy not found", name) } -// GetAllDMSEventSubscriptionResources retrieves all dms.EventSubscription items from an AWS CloudFormation template -func (t *Template) GetAllDMSEventSubscriptionResources() map[string]*dms.EventSubscription { - results := map[string]*dms.EventSubscription{} +// GetAllAutoScalingScheduledActionResources retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingScheduledActionResources() map[string]*autoscaling.ScheduledAction { + results := map[string]*autoscaling.ScheduledAction{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dms.EventSubscription: + case *autoscaling.ScheduledAction: results[name] = resource } } return results } -// GetDMSEventSubscriptionWithName retrieves all dms.EventSubscription items from an AWS CloudFormation template +// GetAutoScalingScheduledActionWithName retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSEventSubscriptionWithName(name string) (*dms.EventSubscription, error) { +func (t *Template) GetAutoScalingScheduledActionWithName(name string) (*autoscaling.ScheduledAction, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dms.EventSubscription: + case *autoscaling.ScheduledAction: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dms.EventSubscription not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.ScheduledAction not found", name) } -// GetAllAppStreamUserResources retrieves all appstream.User items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamUserResources() map[string]*appstream.User { - results := map[string]*appstream.User{} +// GetAllAutoScalingPlansScalingPlanResources retrieves all autoscalingplans.ScalingPlan items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingPlansScalingPlanResources() map[string]*autoscalingplans.ScalingPlan { + results := map[string]*autoscalingplans.ScalingPlan{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.User: + case *autoscalingplans.ScalingPlan: results[name] = resource } } return results } -// GetAppStreamUserWithName retrieves all appstream.User items from an AWS CloudFormation template +// GetAutoScalingPlansScalingPlanWithName retrieves all autoscalingplans.ScalingPlan items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamUserWithName(name string) (*appstream.User, error) { +func (t *Template) GetAutoScalingPlansScalingPlanWithName(name string) (*autoscalingplans.ScalingPlan, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.User: + case *autoscalingplans.ScalingPlan: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.User not found", name) + return nil, fmt.Errorf("resource %q of type autoscalingplans.ScalingPlan not found", name) } -// GetAllIoTThingsGraphFlowTemplateResources retrieves all iotthingsgraph.FlowTemplate items from an AWS CloudFormation template -func (t *Template) GetAllIoTThingsGraphFlowTemplateResources() map[string]*iotthingsgraph.FlowTemplate { - results := map[string]*iotthingsgraph.FlowTemplate{} +// GetAllBackupBackupPlanResources retrieves all backup.BackupPlan items from an AWS CloudFormation template +func (t *Template) GetAllBackupBackupPlanResources() map[string]*backup.BackupPlan { + results := map[string]*backup.BackupPlan{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotthingsgraph.FlowTemplate: + case *backup.BackupPlan: results[name] = resource } } return results } -// GetIoTThingsGraphFlowTemplateWithName retrieves all iotthingsgraph.FlowTemplate items from an AWS CloudFormation template +// GetBackupBackupPlanWithName retrieves all backup.BackupPlan items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTThingsGraphFlowTemplateWithName(name string) (*iotthingsgraph.FlowTemplate, error) { +func (t *Template) GetBackupBackupPlanWithName(name string) (*backup.BackupPlan, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotthingsgraph.FlowTemplate: + case *backup.BackupPlan: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotthingsgraph.FlowTemplate not found", name) + return nil, fmt.Errorf("resource %q of type backup.BackupPlan not found", name) } -// GetAllEC2TransitGatewayRouteTablePropagationResources retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteTablePropagationResources() map[string]*ec2.TransitGatewayRouteTablePropagation { - results := map[string]*ec2.TransitGatewayRouteTablePropagation{} +// GetAllBackupBackupSelectionResources retrieves all backup.BackupSelection items from an AWS CloudFormation template +func (t *Template) GetAllBackupBackupSelectionResources() map[string]*backup.BackupSelection { + results := map[string]*backup.BackupSelection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTablePropagation: + case *backup.BackupSelection: results[name] = resource } } return results } -// GetEC2TransitGatewayRouteTablePropagationWithName retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template +// GetBackupBackupSelectionWithName retrieves all backup.BackupSelection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteTablePropagationWithName(name string) (*ec2.TransitGatewayRouteTablePropagation, error) { +func (t *Template) GetBackupBackupSelectionWithName(name string) (*backup.BackupSelection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTablePropagation: + case *backup.BackupSelection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTablePropagation not found", name) + return nil, fmt.Errorf("resource %q of type backup.BackupSelection not found", name) } -// GetAllServiceCatalogCloudFormationProvisionedProductResources retrieves all servicecatalog.CloudFormationProvisionedProduct items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogCloudFormationProvisionedProductResources() map[string]*servicecatalog.CloudFormationProvisionedProduct { - results := map[string]*servicecatalog.CloudFormationProvisionedProduct{} +// GetAllBackupBackupVaultResources retrieves all backup.BackupVault items from an AWS CloudFormation template +func (t *Template) GetAllBackupBackupVaultResources() map[string]*backup.BackupVault { + results := map[string]*backup.BackupVault{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.CloudFormationProvisionedProduct: + case *backup.BackupVault: results[name] = resource } } return results } -// GetServiceCatalogCloudFormationProvisionedProductWithName retrieves all servicecatalog.CloudFormationProvisionedProduct items from an AWS CloudFormation template +// GetBackupBackupVaultWithName retrieves all backup.BackupVault items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogCloudFormationProvisionedProductWithName(name string) (*servicecatalog.CloudFormationProvisionedProduct, error) { +func (t *Template) GetBackupBackupVaultWithName(name string) (*backup.BackupVault, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.CloudFormationProvisionedProduct: + case *backup.BackupVault: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.CloudFormationProvisionedProduct not found", name) + return nil, fmt.Errorf("resource %q of type backup.BackupVault not found", name) } -// GetAllSNSSubscriptionResources retrieves all sns.Subscription items from an AWS CloudFormation template -func (t *Template) GetAllSNSSubscriptionResources() map[string]*sns.Subscription { - results := map[string]*sns.Subscription{} +// GetAllBatchComputeEnvironmentResources retrieves all batch.ComputeEnvironment items from an AWS CloudFormation template +func (t *Template) GetAllBatchComputeEnvironmentResources() map[string]*batch.ComputeEnvironment { + results := map[string]*batch.ComputeEnvironment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sns.Subscription: + case *batch.ComputeEnvironment: results[name] = resource } } return results } -// GetSNSSubscriptionWithName retrieves all sns.Subscription items from an AWS CloudFormation template +// GetBatchComputeEnvironmentWithName retrieves all batch.ComputeEnvironment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSNSSubscriptionWithName(name string) (*sns.Subscription, error) { +func (t *Template) GetBatchComputeEnvironmentWithName(name string) (*batch.ComputeEnvironment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sns.Subscription: + case *batch.ComputeEnvironment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sns.Subscription not found", name) + return nil, fmt.Errorf("resource %q of type batch.ComputeEnvironment not found", name) } -// GetAllPinpointEventStreamResources retrieves all pinpoint.EventStream items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEventStreamResources() map[string]*pinpoint.EventStream { - results := map[string]*pinpoint.EventStream{} +// GetAllBatchJobDefinitionResources retrieves all batch.JobDefinition items from an AWS CloudFormation template +func (t *Template) GetAllBatchJobDefinitionResources() map[string]*batch.JobDefinition { + results := map[string]*batch.JobDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.EventStream: + case *batch.JobDefinition: results[name] = resource } } return results } -// GetPinpointEventStreamWithName retrieves all pinpoint.EventStream items from an AWS CloudFormation template +// GetBatchJobDefinitionWithName retrieves all batch.JobDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEventStreamWithName(name string) (*pinpoint.EventStream, error) { +func (t *Template) GetBatchJobDefinitionWithName(name string) (*batch.JobDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.EventStream: + case *batch.JobDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.EventStream not found", name) + return nil, fmt.Errorf("resource %q of type batch.JobDefinition not found", name) } -// GetAllEMRClusterResources retrieves all emr.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllEMRClusterResources() map[string]*emr.Cluster { - results := map[string]*emr.Cluster{} +// GetAllBatchJobQueueResources retrieves all batch.JobQueue items from an AWS CloudFormation template +func (t *Template) GetAllBatchJobQueueResources() map[string]*batch.JobQueue { + results := map[string]*batch.JobQueue{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *emr.Cluster: + case *batch.JobQueue: results[name] = resource } } return results } -// GetEMRClusterWithName retrieves all emr.Cluster items from an AWS CloudFormation template +// GetBatchJobQueueWithName retrieves all batch.JobQueue items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRClusterWithName(name string) (*emr.Cluster, error) { +func (t *Template) GetBatchJobQueueWithName(name string) (*batch.JobQueue, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *emr.Cluster: + case *batch.JobQueue: return resource, nil } } - return nil, fmt.Errorf("resource %q of type emr.Cluster not found", name) + return nil, fmt.Errorf("resource %q of type batch.JobQueue not found", name) } -// GetAllRDSEventSubscriptionResources retrieves all rds.EventSubscription items from an AWS CloudFormation template -func (t *Template) GetAllRDSEventSubscriptionResources() map[string]*rds.EventSubscription { - results := map[string]*rds.EventSubscription{} +// GetAllBudgetsBudgetResources retrieves all budgets.Budget items from an AWS CloudFormation template +func (t *Template) GetAllBudgetsBudgetResources() map[string]*budgets.Budget { + results := map[string]*budgets.Budget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.EventSubscription: + case *budgets.Budget: results[name] = resource } } return results } -// GetRDSEventSubscriptionWithName retrieves all rds.EventSubscription items from an AWS CloudFormation template +// GetBudgetsBudgetWithName retrieves all budgets.Budget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSEventSubscriptionWithName(name string) (*rds.EventSubscription, error) { +func (t *Template) GetBudgetsBudgetWithName(name string) (*budgets.Budget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.EventSubscription: + case *budgets.Budget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.EventSubscription not found", name) + return nil, fmt.Errorf("resource %q of type budgets.Budget not found", name) } -// GetAllApiGatewayVpcLinkResources retrieves all apigateway.VpcLink items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayVpcLinkResources() map[string]*apigateway.VpcLink { - results := map[string]*apigateway.VpcLink{} +// GetAllCertificateManagerCertificateResources retrieves all certificatemanager.Certificate items from an AWS CloudFormation template +func (t *Template) GetAllCertificateManagerCertificateResources() map[string]*certificatemanager.Certificate { + results := map[string]*certificatemanager.Certificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.VpcLink: + case *certificatemanager.Certificate: results[name] = resource } } return results } -// GetApiGatewayVpcLinkWithName retrieves all apigateway.VpcLink items from an AWS CloudFormation template +// GetCertificateManagerCertificateWithName retrieves all certificatemanager.Certificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayVpcLinkWithName(name string) (*apigateway.VpcLink, error) { +func (t *Template) GetCertificateManagerCertificateWithName(name string) (*certificatemanager.Certificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.VpcLink: + case *certificatemanager.Certificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.VpcLink not found", name) + return nil, fmt.Errorf("resource %q of type certificatemanager.Certificate not found", name) } -// GetAllRoboMakerRobotResources retrieves all robomaker.Robot items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerRobotResources() map[string]*robomaker.Robot { - results := map[string]*robomaker.Robot{} +// GetAllCloud9EnvironmentEC2Resources retrieves all cloud9.EnvironmentEC2 items from an AWS CloudFormation template +func (t *Template) GetAllCloud9EnvironmentEC2Resources() map[string]*cloud9.EnvironmentEC2 { + results := map[string]*cloud9.EnvironmentEC2{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *robomaker.Robot: + case *cloud9.EnvironmentEC2: results[name] = resource } } return results } -// GetRoboMakerRobotWithName retrieves all robomaker.Robot items from an AWS CloudFormation template +// GetCloud9EnvironmentEC2WithName retrieves all cloud9.EnvironmentEC2 items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerRobotWithName(name string) (*robomaker.Robot, error) { +func (t *Template) GetCloud9EnvironmentEC2WithName(name string) (*cloud9.EnvironmentEC2, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *robomaker.Robot: + case *cloud9.EnvironmentEC2: return resource, nil } } - return nil, fmt.Errorf("resource %q of type robomaker.Robot not found", name) + return nil, fmt.Errorf("resource %q of type cloud9.EnvironmentEC2 not found", name) } -// GetAllEC2TrafficMirrorTargetResources retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorTargetResources() map[string]*ec2.TrafficMirrorTarget { - results := map[string]*ec2.TrafficMirrorTarget{} +// GetAllCloudFormationCustomResourceResources retrieves all cloudformation.CustomResource items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationCustomResourceResources() map[string]*cloudformation.CustomResource { + results := map[string]*cloudformation.CustomResource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TrafficMirrorTarget: + case *cloudformation.CustomResource: results[name] = resource } } return results } -// GetEC2TrafficMirrorTargetWithName retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template +// GetCloudFormationCustomResourceWithName retrieves all cloudformation.CustomResource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorTargetWithName(name string) (*ec2.TrafficMirrorTarget, error) { +func (t *Template) GetCloudFormationCustomResourceWithName(name string) (*cloudformation.CustomResource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TrafficMirrorTarget: + case *cloudformation.CustomResource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorTarget not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.CustomResource not found", name) } -// GetAllKinesisAnalyticsApplicationOutputResources retrieves all kinesisanalytics.ApplicationOutput items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsApplicationOutputResources() map[string]*kinesisanalytics.ApplicationOutput { - results := map[string]*kinesisanalytics.ApplicationOutput{} +// GetAllCloudFormationMacroResources retrieves all cloudformation.Macro items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationMacroResources() map[string]*cloudformation.Macro { + results := map[string]*cloudformation.Macro{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationOutput: + case *cloudformation.Macro: results[name] = resource } } return results } -// GetKinesisAnalyticsApplicationOutputWithName retrieves all kinesisanalytics.ApplicationOutput items from an AWS CloudFormation template +// GetCloudFormationMacroWithName retrieves all cloudformation.Macro items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsApplicationOutputWithName(name string) (*kinesisanalytics.ApplicationOutput, error) { +func (t *Template) GetCloudFormationMacroWithName(name string) (*cloudformation.Macro, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationOutput: + case *cloudformation.Macro: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalytics.ApplicationOutput not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.Macro not found", name) } -// GetAllEC2VolumeResources retrieves all ec2.Volume items from an AWS CloudFormation template -func (t *Template) GetAllEC2VolumeResources() map[string]*ec2.Volume { - results := map[string]*ec2.Volume{} +// GetAllCloudFormationStackResources retrieves all cloudformation.Stack items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationStackResources() map[string]*cloudformation.Stack { + results := map[string]*cloudformation.Stack{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.Volume: + case *cloudformation.Stack: results[name] = resource } } return results } -// GetEC2VolumeWithName retrieves all ec2.Volume items from an AWS CloudFormation template +// GetCloudFormationStackWithName retrieves all cloudformation.Stack items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VolumeWithName(name string) (*ec2.Volume, error) { +func (t *Template) GetCloudFormationStackWithName(name string) (*cloudformation.Stack, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.Volume: + case *cloudformation.Stack: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.Volume not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.Stack not found", name) } -// GetAllSecretsManagerResourcePolicyResources retrieves all secretsmanager.ResourcePolicy items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerResourcePolicyResources() map[string]*secretsmanager.ResourcePolicy { - results := map[string]*secretsmanager.ResourcePolicy{} +// GetAllCloudFormationWaitConditionResources retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationWaitConditionResources() map[string]*cloudformation.WaitCondition { + results := map[string]*cloudformation.WaitCondition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.ResourcePolicy: + case *cloudformation.WaitCondition: results[name] = resource } } return results } -// GetSecretsManagerResourcePolicyWithName retrieves all secretsmanager.ResourcePolicy items from an AWS CloudFormation template +// GetCloudFormationWaitConditionWithName retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerResourcePolicyWithName(name string) (*secretsmanager.ResourcePolicy, error) { +func (t *Template) GetCloudFormationWaitConditionWithName(name string) (*cloudformation.WaitCondition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.ResourcePolicy: + case *cloudformation.WaitCondition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.ResourcePolicy not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.WaitCondition not found", name) } -// GetAllCodePipelineCustomActionTypeResources retrieves all codepipeline.CustomActionType items from an AWS CloudFormation template -func (t *Template) GetAllCodePipelineCustomActionTypeResources() map[string]*codepipeline.CustomActionType { - results := map[string]*codepipeline.CustomActionType{} +// GetAllCloudFormationWaitConditionHandleResources retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationWaitConditionHandleResources() map[string]*cloudformation.WaitConditionHandle { + results := map[string]*cloudformation.WaitConditionHandle{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codepipeline.CustomActionType: + case *cloudformation.WaitConditionHandle: results[name] = resource } } return results } -// GetCodePipelineCustomActionTypeWithName retrieves all codepipeline.CustomActionType items from an AWS CloudFormation template +// GetCloudFormationWaitConditionHandleWithName retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodePipelineCustomActionTypeWithName(name string) (*codepipeline.CustomActionType, error) { +func (t *Template) GetCloudFormationWaitConditionHandleWithName(name string) (*cloudformation.WaitConditionHandle, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codepipeline.CustomActionType: + case *cloudformation.WaitConditionHandle: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codepipeline.CustomActionType not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.WaitConditionHandle not found", name) } -// GetAllApiGatewayRestApiResources retrieves all apigateway.RestApi items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayRestApiResources() map[string]*apigateway.RestApi { - results := map[string]*apigateway.RestApi{} +// GetAllCloudFrontCloudFrontOriginAccessIdentityResources retrieves all cloudfront.CloudFrontOriginAccessIdentity items from an AWS CloudFormation template +func (t *Template) GetAllCloudFrontCloudFrontOriginAccessIdentityResources() map[string]*cloudfront.CloudFrontOriginAccessIdentity { + results := map[string]*cloudfront.CloudFrontOriginAccessIdentity{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.RestApi: + case *cloudfront.CloudFrontOriginAccessIdentity: results[name] = resource } } return results } -// GetApiGatewayRestApiWithName retrieves all apigateway.RestApi items from an AWS CloudFormation template +// GetCloudFrontCloudFrontOriginAccessIdentityWithName retrieves all cloudfront.CloudFrontOriginAccessIdentity items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayRestApiWithName(name string) (*apigateway.RestApi, error) { +func (t *Template) GetCloudFrontCloudFrontOriginAccessIdentityWithName(name string) (*cloudfront.CloudFrontOriginAccessIdentity, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.RestApi: + case *cloudfront.CloudFrontOriginAccessIdentity: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.RestApi not found", name) + return nil, fmt.Errorf("resource %q of type cloudfront.CloudFrontOriginAccessIdentity not found", name) } -// GetAllApplicationAutoScalingScalingPolicyResources retrieves all applicationautoscaling.ScalingPolicy items from an AWS CloudFormation template -func (t *Template) GetAllApplicationAutoScalingScalingPolicyResources() map[string]*applicationautoscaling.ScalingPolicy { - results := map[string]*applicationautoscaling.ScalingPolicy{} +// GetAllCloudFrontDistributionResources retrieves all cloudfront.Distribution items from an AWS CloudFormation template +func (t *Template) GetAllCloudFrontDistributionResources() map[string]*cloudfront.Distribution { + results := map[string]*cloudfront.Distribution{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *applicationautoscaling.ScalingPolicy: + case *cloudfront.Distribution: results[name] = resource } } return results } -// GetApplicationAutoScalingScalingPolicyWithName retrieves all applicationautoscaling.ScalingPolicy items from an AWS CloudFormation template +// GetCloudFrontDistributionWithName retrieves all cloudfront.Distribution items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApplicationAutoScalingScalingPolicyWithName(name string) (*applicationautoscaling.ScalingPolicy, error) { +func (t *Template) GetCloudFrontDistributionWithName(name string) (*cloudfront.Distribution, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *applicationautoscaling.ScalingPolicy: + case *cloudfront.Distribution: return resource, nil } } - return nil, fmt.Errorf("resource %q of type applicationautoscaling.ScalingPolicy not found", name) + return nil, fmt.Errorf("resource %q of type cloudfront.Distribution not found", name) } -// GetAllApiGatewayV2ModelResources retrieves all apigatewayv2.Model items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ModelResources() map[string]*apigatewayv2.Model { - results := map[string]*apigatewayv2.Model{} +// GetAllCloudFrontStreamingDistributionResources retrieves all cloudfront.StreamingDistribution items from an AWS CloudFormation template +func (t *Template) GetAllCloudFrontStreamingDistributionResources() map[string]*cloudfront.StreamingDistribution { + results := map[string]*cloudfront.StreamingDistribution{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Model: + case *cloudfront.StreamingDistribution: results[name] = resource } } return results } -// GetApiGatewayV2ModelWithName retrieves all apigatewayv2.Model items from an AWS CloudFormation template +// GetCloudFrontStreamingDistributionWithName retrieves all cloudfront.StreamingDistribution items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ModelWithName(name string) (*apigatewayv2.Model, error) { +func (t *Template) GetCloudFrontStreamingDistributionWithName(name string) (*cloudfront.StreamingDistribution, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Model: + case *cloudfront.StreamingDistribution: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Model not found", name) + return nil, fmt.Errorf("resource %q of type cloudfront.StreamingDistribution not found", name) } -// GetAllEC2VPCPeeringConnectionResources retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCPeeringConnectionResources() map[string]*ec2.VPCPeeringConnection { - results := map[string]*ec2.VPCPeeringConnection{} +// GetAllCloudTrailTrailResources retrieves all cloudtrail.Trail items from an AWS CloudFormation template +func (t *Template) GetAllCloudTrailTrailResources() map[string]*cloudtrail.Trail { + results := map[string]*cloudtrail.Trail{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCPeeringConnection: + case *cloudtrail.Trail: results[name] = resource } } return results } -// GetEC2VPCPeeringConnectionWithName retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template +// GetCloudTrailTrailWithName retrieves all cloudtrail.Trail items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCPeeringConnectionWithName(name string) (*ec2.VPCPeeringConnection, error) { +func (t *Template) GetCloudTrailTrailWithName(name string) (*cloudtrail.Trail, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCPeeringConnection: + case *cloudtrail.Trail: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCPeeringConnection not found", name) + return nil, fmt.Errorf("resource %q of type cloudtrail.Trail not found", name) } -// GetAllEC2CustomerGatewayResources retrieves all ec2.CustomerGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2CustomerGatewayResources() map[string]*ec2.CustomerGateway { - results := map[string]*ec2.CustomerGateway{} +// GetAllCloudWatchAlarmResources retrieves all cloudwatch.Alarm items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchAlarmResources() map[string]*cloudwatch.Alarm { + results := map[string]*cloudwatch.Alarm{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.CustomerGateway: + case *cloudwatch.Alarm: results[name] = resource } } return results } -// GetEC2CustomerGatewayWithName retrieves all ec2.CustomerGateway items from an AWS CloudFormation template +// GetCloudWatchAlarmWithName retrieves all cloudwatch.Alarm items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2CustomerGatewayWithName(name string) (*ec2.CustomerGateway, error) { +func (t *Template) GetCloudWatchAlarmWithName(name string) (*cloudwatch.Alarm, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.CustomerGateway: + case *cloudwatch.Alarm: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.CustomerGateway not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.Alarm not found", name) } -// GetAllServiceDiscoveryPrivateDnsNamespaceResources retrieves all servicediscovery.PrivateDnsNamespace items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryPrivateDnsNamespaceResources() map[string]*servicediscovery.PrivateDnsNamespace { - results := map[string]*servicediscovery.PrivateDnsNamespace{} +// GetAllCloudWatchAnomalyDetectorResources retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchAnomalyDetectorResources() map[string]*cloudwatch.AnomalyDetector { + results := map[string]*cloudwatch.AnomalyDetector{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.PrivateDnsNamespace: + case *cloudwatch.AnomalyDetector: results[name] = resource } } return results } -// GetServiceDiscoveryPrivateDnsNamespaceWithName retrieves all servicediscovery.PrivateDnsNamespace items from an AWS CloudFormation template +// GetCloudWatchAnomalyDetectorWithName retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryPrivateDnsNamespaceWithName(name string) (*servicediscovery.PrivateDnsNamespace, error) { +func (t *Template) GetCloudWatchAnomalyDetectorWithName(name string) (*cloudwatch.AnomalyDetector, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.PrivateDnsNamespace: + case *cloudwatch.AnomalyDetector: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.PrivateDnsNamespace not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.AnomalyDetector not found", name) } -// GetAllGameLiftAliasResources retrieves all gamelift.Alias items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftAliasResources() map[string]*gamelift.Alias { - results := map[string]*gamelift.Alias{} +// GetAllCloudWatchDashboardResources retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchDashboardResources() map[string]*cloudwatch.Dashboard { + results := map[string]*cloudwatch.Dashboard{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *gamelift.Alias: + case *cloudwatch.Dashboard: results[name] = resource } } return results } -// GetGameLiftAliasWithName retrieves all gamelift.Alias items from an AWS CloudFormation template +// GetCloudWatchDashboardWithName retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftAliasWithName(name string) (*gamelift.Alias, error) { +func (t *Template) GetCloudWatchDashboardWithName(name string) (*cloudwatch.Dashboard, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *gamelift.Alias: + case *cloudwatch.Dashboard: return resource, nil } } - return nil, fmt.Errorf("resource %q of type gamelift.Alias not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.Dashboard not found", name) } -// GetAllGluePartitionResources retrieves all glue.Partition items from an AWS CloudFormation template -func (t *Template) GetAllGluePartitionResources() map[string]*glue.Partition { - results := map[string]*glue.Partition{} +// GetAllCodeBuildProjectResources retrieves all codebuild.Project items from an AWS CloudFormation template +func (t *Template) GetAllCodeBuildProjectResources() map[string]*codebuild.Project { + results := map[string]*codebuild.Project{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Partition: + case *codebuild.Project: results[name] = resource } } return results } -// GetGluePartitionWithName retrieves all glue.Partition items from an AWS CloudFormation template +// GetCodeBuildProjectWithName retrieves all codebuild.Project items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGluePartitionWithName(name string) (*glue.Partition, error) { +func (t *Template) GetCodeBuildProjectWithName(name string) (*codebuild.Project, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Partition: + case *codebuild.Project: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Partition not found", name) + return nil, fmt.Errorf("resource %q of type codebuild.Project not found", name) } -// GetAllCloudFormationMacroResources retrieves all cloudformation.Macro items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationMacroResources() map[string]*cloudformation.Macro { - results := map[string]*cloudformation.Macro{} +// GetAllCodeBuildSourceCredentialResources retrieves all codebuild.SourceCredential items from an AWS CloudFormation template +func (t *Template) GetAllCodeBuildSourceCredentialResources() map[string]*codebuild.SourceCredential { + results := map[string]*codebuild.SourceCredential{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudformation.Macro: + case *codebuild.SourceCredential: results[name] = resource } } return results } -// GetCloudFormationMacroWithName retrieves all cloudformation.Macro items from an AWS CloudFormation template +// GetCodeBuildSourceCredentialWithName retrieves all codebuild.SourceCredential items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationMacroWithName(name string) (*cloudformation.Macro, error) { +func (t *Template) GetCodeBuildSourceCredentialWithName(name string) (*codebuild.SourceCredential, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudformation.Macro: + case *codebuild.SourceCredential: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudformation.Macro not found", name) + return nil, fmt.Errorf("resource %q of type codebuild.SourceCredential not found", name) } -// GetAllEC2TransitGatewayRouteTableAssociationResources retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteTableAssociationResources() map[string]*ec2.TransitGatewayRouteTableAssociation { - results := map[string]*ec2.TransitGatewayRouteTableAssociation{} +// GetAllCodeCommitRepositoryResources retrieves all codecommit.Repository items from an AWS CloudFormation template +func (t *Template) GetAllCodeCommitRepositoryResources() map[string]*codecommit.Repository { + results := map[string]*codecommit.Repository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTableAssociation: + case *codecommit.Repository: results[name] = resource } } return results } -// GetEC2TransitGatewayRouteTableAssociationWithName retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template +// GetCodeCommitRepositoryWithName retrieves all codecommit.Repository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteTableAssociationWithName(name string) (*ec2.TransitGatewayRouteTableAssociation, error) { +func (t *Template) GetCodeCommitRepositoryWithName(name string) (*codecommit.Repository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTableAssociation: + case *codecommit.Repository: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTableAssociation not found", name) + return nil, fmt.Errorf("resource %q of type codecommit.Repository not found", name) } -// GetAllInspectorAssessmentTargetResources retrieves all inspector.AssessmentTarget items from an AWS CloudFormation template -func (t *Template) GetAllInspectorAssessmentTargetResources() map[string]*inspector.AssessmentTarget { - results := map[string]*inspector.AssessmentTarget{} +// GetAllCodeDeployApplicationResources retrieves all codedeploy.Application items from an AWS CloudFormation template +func (t *Template) GetAllCodeDeployApplicationResources() map[string]*codedeploy.Application { + results := map[string]*codedeploy.Application{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *inspector.AssessmentTarget: + case *codedeploy.Application: results[name] = resource } } return results } -// GetInspectorAssessmentTargetWithName retrieves all inspector.AssessmentTarget items from an AWS CloudFormation template +// GetCodeDeployApplicationWithName retrieves all codedeploy.Application items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetInspectorAssessmentTargetWithName(name string) (*inspector.AssessmentTarget, error) { +func (t *Template) GetCodeDeployApplicationWithName(name string) (*codedeploy.Application, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *inspector.AssessmentTarget: + case *codedeploy.Application: return resource, nil } } - return nil, fmt.Errorf("resource %q of type inspector.AssessmentTarget not found", name) + return nil, fmt.Errorf("resource %q of type codedeploy.Application not found", name) } -// GetAllEC2VPCEndpointServiceResources retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointServiceResources() map[string]*ec2.VPCEndpointService { - results := map[string]*ec2.VPCEndpointService{} +// GetAllCodeDeployDeploymentConfigResources retrieves all codedeploy.DeploymentConfig items from an AWS CloudFormation template +func (t *Template) GetAllCodeDeployDeploymentConfigResources() map[string]*codedeploy.DeploymentConfig { + results := map[string]*codedeploy.DeploymentConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCEndpointService: + case *codedeploy.DeploymentConfig: results[name] = resource } } return results } -// GetEC2VPCEndpointServiceWithName retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template +// GetCodeDeployDeploymentConfigWithName retrieves all codedeploy.DeploymentConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointServiceWithName(name string) (*ec2.VPCEndpointService, error) { +func (t *Template) GetCodeDeployDeploymentConfigWithName(name string) (*codedeploy.DeploymentConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCEndpointService: + case *codedeploy.DeploymentConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointService not found", name) + return nil, fmt.Errorf("resource %q of type codedeploy.DeploymentConfig not found", name) } -// GetAllEC2VPCEndpointResources retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointResources() map[string]*ec2.VPCEndpoint { - results := map[string]*ec2.VPCEndpoint{} +// GetAllCodeDeployDeploymentGroupResources retrieves all codedeploy.DeploymentGroup items from an AWS CloudFormation template +func (t *Template) GetAllCodeDeployDeploymentGroupResources() map[string]*codedeploy.DeploymentGroup { + results := map[string]*codedeploy.DeploymentGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCEndpoint: + case *codedeploy.DeploymentGroup: results[name] = resource } } return results } -// GetEC2VPCEndpointWithName retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template +// GetCodeDeployDeploymentGroupWithName retrieves all codedeploy.DeploymentGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointWithName(name string) (*ec2.VPCEndpoint, error) { +func (t *Template) GetCodeDeployDeploymentGroupWithName(name string) (*codedeploy.DeploymentGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCEndpoint: + case *codedeploy.DeploymentGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpoint not found", name) + return nil, fmt.Errorf("resource %q of type codedeploy.DeploymentGroup not found", name) } -// GetAllElasticLoadBalancingV2TargetGroupResources retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2TargetGroupResources() map[string]*elasticloadbalancingv2.TargetGroup { - results := map[string]*elasticloadbalancingv2.TargetGroup{} +// GetAllCodePipelineCustomActionTypeResources retrieves all codepipeline.CustomActionType items from an AWS CloudFormation template +func (t *Template) GetAllCodePipelineCustomActionTypeResources() map[string]*codepipeline.CustomActionType { + results := map[string]*codepipeline.CustomActionType{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticloadbalancingv2.TargetGroup: + case *codepipeline.CustomActionType: results[name] = resource } } return results } -// GetElasticLoadBalancingV2TargetGroupWithName retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template +// GetCodePipelineCustomActionTypeWithName retrieves all codepipeline.CustomActionType items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2TargetGroupWithName(name string) (*elasticloadbalancingv2.TargetGroup, error) { +func (t *Template) GetCodePipelineCustomActionTypeWithName(name string) (*codepipeline.CustomActionType, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticloadbalancingv2.TargetGroup: + case *codepipeline.CustomActionType: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.TargetGroup not found", name) + return nil, fmt.Errorf("resource %q of type codepipeline.CustomActionType not found", name) } -// GetAllEC2VPCCidrBlockResources retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCCidrBlockResources() map[string]*ec2.VPCCidrBlock { - results := map[string]*ec2.VPCCidrBlock{} +// GetAllCodePipelinePipelineResources retrieves all codepipeline.Pipeline items from an AWS CloudFormation template +func (t *Template) GetAllCodePipelinePipelineResources() map[string]*codepipeline.Pipeline { + results := map[string]*codepipeline.Pipeline{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCCidrBlock: + case *codepipeline.Pipeline: results[name] = resource } } return results } -// GetEC2VPCCidrBlockWithName retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template +// GetCodePipelinePipelineWithName retrieves all codepipeline.Pipeline items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCCidrBlockWithName(name string) (*ec2.VPCCidrBlock, error) { +func (t *Template) GetCodePipelinePipelineWithName(name string) (*codepipeline.Pipeline, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCCidrBlock: + case *codepipeline.Pipeline: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCCidrBlock not found", name) + return nil, fmt.Errorf("resource %q of type codepipeline.Pipeline not found", name) } -// GetAllEC2DHCPOptionsResources retrieves all ec2.DHCPOptions items from an AWS CloudFormation template -func (t *Template) GetAllEC2DHCPOptionsResources() map[string]*ec2.DHCPOptions { - results := map[string]*ec2.DHCPOptions{} +// GetAllCodePipelineWebhookResources retrieves all codepipeline.Webhook items from an AWS CloudFormation template +func (t *Template) GetAllCodePipelineWebhookResources() map[string]*codepipeline.Webhook { + results := map[string]*codepipeline.Webhook{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.DHCPOptions: + case *codepipeline.Webhook: results[name] = resource } } return results } -// GetEC2DHCPOptionsWithName retrieves all ec2.DHCPOptions items from an AWS CloudFormation template +// GetCodePipelineWebhookWithName retrieves all codepipeline.Webhook items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2DHCPOptionsWithName(name string) (*ec2.DHCPOptions, error) { +func (t *Template) GetCodePipelineWebhookWithName(name string) (*codepipeline.Webhook, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.DHCPOptions: + case *codepipeline.Webhook: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.DHCPOptions not found", name) + return nil, fmt.Errorf("resource %q of type codepipeline.Webhook not found", name) } -// GetAllEC2EgressOnlyInternetGatewayResources retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2EgressOnlyInternetGatewayResources() map[string]*ec2.EgressOnlyInternetGateway { - results := map[string]*ec2.EgressOnlyInternetGateway{} +// GetAllCodeStarGitHubRepositoryResources retrieves all codestar.GitHubRepository items from an AWS CloudFormation template +func (t *Template) GetAllCodeStarGitHubRepositoryResources() map[string]*codestar.GitHubRepository { + results := map[string]*codestar.GitHubRepository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.EgressOnlyInternetGateway: + case *codestar.GitHubRepository: results[name] = resource } } return results } -// GetEC2EgressOnlyInternetGatewayWithName retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template +// GetCodeStarGitHubRepositoryWithName retrieves all codestar.GitHubRepository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EgressOnlyInternetGatewayWithName(name string) (*ec2.EgressOnlyInternetGateway, error) { +func (t *Template) GetCodeStarGitHubRepositoryWithName(name string) (*codestar.GitHubRepository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.EgressOnlyInternetGateway: + case *codestar.GitHubRepository: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.EgressOnlyInternetGateway not found", name) + return nil, fmt.Errorf("resource %q of type codestar.GitHubRepository not found", name) } -// GetAllAppSyncDataSourceResources retrieves all appsync.DataSource items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncDataSourceResources() map[string]*appsync.DataSource { - results := map[string]*appsync.DataSource{} +// GetAllCognitoIdentityPoolResources retrieves all cognito.IdentityPool items from an AWS CloudFormation template +func (t *Template) GetAllCognitoIdentityPoolResources() map[string]*cognito.IdentityPool { + results := map[string]*cognito.IdentityPool{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.DataSource: + case *cognito.IdentityPool: results[name] = resource } } return results } -// GetAppSyncDataSourceWithName retrieves all appsync.DataSource items from an AWS CloudFormation template +// GetCognitoIdentityPoolWithName retrieves all cognito.IdentityPool items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncDataSourceWithName(name string) (*appsync.DataSource, error) { +func (t *Template) GetCognitoIdentityPoolWithName(name string) (*cognito.IdentityPool, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.DataSource: + case *cognito.IdentityPool: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.DataSource not found", name) + return nil, fmt.Errorf("resource %q of type cognito.IdentityPool not found", name) } -// GetAllDMSCertificateResources retrieves all dms.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllDMSCertificateResources() map[string]*dms.Certificate { - results := map[string]*dms.Certificate{} +// GetAllCognitoIdentityPoolRoleAttachmentResources retrieves all cognito.IdentityPoolRoleAttachment items from an AWS CloudFormation template +func (t *Template) GetAllCognitoIdentityPoolRoleAttachmentResources() map[string]*cognito.IdentityPoolRoleAttachment { + results := map[string]*cognito.IdentityPoolRoleAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dms.Certificate: + case *cognito.IdentityPoolRoleAttachment: results[name] = resource } } return results } -// GetDMSCertificateWithName retrieves all dms.Certificate items from an AWS CloudFormation template +// GetCognitoIdentityPoolRoleAttachmentWithName retrieves all cognito.IdentityPoolRoleAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSCertificateWithName(name string) (*dms.Certificate, error) { +func (t *Template) GetCognitoIdentityPoolRoleAttachmentWithName(name string) (*cognito.IdentityPoolRoleAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dms.Certificate: + case *cognito.IdentityPoolRoleAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dms.Certificate not found", name) + return nil, fmt.Errorf("resource %q of type cognito.IdentityPoolRoleAttachment not found", name) } -// GetAllEC2ClientVpnTargetNetworkAssociationResources retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnTargetNetworkAssociationResources() map[string]*ec2.ClientVpnTargetNetworkAssociation { - results := map[string]*ec2.ClientVpnTargetNetworkAssociation{} +// GetAllCognitoUserPoolResources retrieves all cognito.UserPool items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolResources() map[string]*cognito.UserPool { + results := map[string]*cognito.UserPool{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.ClientVpnTargetNetworkAssociation: + case *cognito.UserPool: results[name] = resource } } return results } -// GetEC2ClientVpnTargetNetworkAssociationWithName retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template +// GetCognitoUserPoolWithName retrieves all cognito.UserPool items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnTargetNetworkAssociationWithName(name string) (*ec2.ClientVpnTargetNetworkAssociation, error) { +func (t *Template) GetCognitoUserPoolWithName(name string) (*cognito.UserPool, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.ClientVpnTargetNetworkAssociation: + case *cognito.UserPool: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnTargetNetworkAssociation not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPool not found", name) } -// GetAllLambdaLayerVersionResources retrieves all lambda.LayerVersion items from an AWS CloudFormation template -func (t *Template) GetAllLambdaLayerVersionResources() map[string]*lambda.LayerVersion { - results := map[string]*lambda.LayerVersion{} +// GetAllCognitoUserPoolClientResources retrieves all cognito.UserPoolClient items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolClientResources() map[string]*cognito.UserPoolClient { + results := map[string]*cognito.UserPoolClient{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.LayerVersion: + case *cognito.UserPoolClient: results[name] = resource } } return results } -// GetLambdaLayerVersionWithName retrieves all lambda.LayerVersion items from an AWS CloudFormation template +// GetCognitoUserPoolClientWithName retrieves all cognito.UserPoolClient items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaLayerVersionWithName(name string) (*lambda.LayerVersion, error) { +func (t *Template) GetCognitoUserPoolClientWithName(name string) (*cognito.UserPoolClient, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.LayerVersion: + case *cognito.UserPoolClient: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.LayerVersion not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolClient not found", name) } -// GetAllElasticLoadBalancingV2ListenerResources retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2ListenerResources() map[string]*elasticloadbalancingv2.Listener { - results := map[string]*elasticloadbalancingv2.Listener{} +// GetAllCognitoUserPoolDomainResources retrieves all cognito.UserPoolDomain items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolDomainResources() map[string]*cognito.UserPoolDomain { + results := map[string]*cognito.UserPoolDomain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticloadbalancingv2.Listener: + case *cognito.UserPoolDomain: results[name] = resource } } return results } -// GetElasticLoadBalancingV2ListenerWithName retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template +// GetCognitoUserPoolDomainWithName retrieves all cognito.UserPoolDomain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2ListenerWithName(name string) (*elasticloadbalancingv2.Listener, error) { +func (t *Template) GetCognitoUserPoolDomainWithName(name string) (*cognito.UserPoolDomain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticloadbalancingv2.Listener: + case *cognito.UserPoolDomain: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.Listener not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolDomain not found", name) } -// GetAllEC2VPCEndpointServicePermissionsResources retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointServicePermissionsResources() map[string]*ec2.VPCEndpointServicePermissions { - results := map[string]*ec2.VPCEndpointServicePermissions{} +// GetAllCognitoUserPoolGroupResources retrieves all cognito.UserPoolGroup items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolGroupResources() map[string]*cognito.UserPoolGroup { + results := map[string]*cognito.UserPoolGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCEndpointServicePermissions: + case *cognito.UserPoolGroup: results[name] = resource } } return results } -// GetEC2VPCEndpointServicePermissionsWithName retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template +// GetCognitoUserPoolGroupWithName retrieves all cognito.UserPoolGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointServicePermissionsWithName(name string) (*ec2.VPCEndpointServicePermissions, error) { +func (t *Template) GetCognitoUserPoolGroupWithName(name string) (*cognito.UserPoolGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCEndpointServicePermissions: + case *cognito.UserPoolGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointServicePermissions not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolGroup not found", name) } -// GetAllSESConfigurationSetResources retrieves all ses.ConfigurationSet items from an AWS CloudFormation template -func (t *Template) GetAllSESConfigurationSetResources() map[string]*ses.ConfigurationSet { - results := map[string]*ses.ConfigurationSet{} +// GetAllCognitoUserPoolIdentityProviderResources retrieves all cognito.UserPoolIdentityProvider items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolIdentityProviderResources() map[string]*cognito.UserPoolIdentityProvider { + results := map[string]*cognito.UserPoolIdentityProvider{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ConfigurationSet: + case *cognito.UserPoolIdentityProvider: results[name] = resource } } return results } -// GetSESConfigurationSetWithName retrieves all ses.ConfigurationSet items from an AWS CloudFormation template +// GetCognitoUserPoolIdentityProviderWithName retrieves all cognito.UserPoolIdentityProvider items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESConfigurationSetWithName(name string) (*ses.ConfigurationSet, error) { +func (t *Template) GetCognitoUserPoolIdentityProviderWithName(name string) (*cognito.UserPoolIdentityProvider, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ConfigurationSet: + case *cognito.UserPoolIdentityProvider: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ConfigurationSet not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolIdentityProvider not found", name) } -// GetAllEC2NetworkInterfaceAttachmentResources retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInterfaceAttachmentResources() map[string]*ec2.NetworkInterfaceAttachment { - results := map[string]*ec2.NetworkInterfaceAttachment{} +// GetAllCognitoUserPoolResourceServerResources retrieves all cognito.UserPoolResourceServer items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolResourceServerResources() map[string]*cognito.UserPoolResourceServer { + results := map[string]*cognito.UserPoolResourceServer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.NetworkInterfaceAttachment: + case *cognito.UserPoolResourceServer: results[name] = resource } } return results } -// GetEC2NetworkInterfaceAttachmentWithName retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template +// GetCognitoUserPoolResourceServerWithName retrieves all cognito.UserPoolResourceServer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInterfaceAttachmentWithName(name string) (*ec2.NetworkInterfaceAttachment, error) { +func (t *Template) GetCognitoUserPoolResourceServerWithName(name string) (*cognito.UserPoolResourceServer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.NetworkInterfaceAttachment: + case *cognito.UserPoolResourceServer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfaceAttachment not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolResourceServer not found", name) } -// GetAllLakeFormationResourceResources retrieves all lakeformation.Resource items from an AWS CloudFormation template -func (t *Template) GetAllLakeFormationResourceResources() map[string]*lakeformation.Resource { - results := map[string]*lakeformation.Resource{} +// GetAllCognitoUserPoolRiskConfigurationAttachmentResources retrieves all cognito.UserPoolRiskConfigurationAttachment items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolRiskConfigurationAttachmentResources() map[string]*cognito.UserPoolRiskConfigurationAttachment { + results := map[string]*cognito.UserPoolRiskConfigurationAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lakeformation.Resource: + case *cognito.UserPoolRiskConfigurationAttachment: results[name] = resource } } return results } -// GetLakeFormationResourceWithName retrieves all lakeformation.Resource items from an AWS CloudFormation template +// GetCognitoUserPoolRiskConfigurationAttachmentWithName retrieves all cognito.UserPoolRiskConfigurationAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLakeFormationResourceWithName(name string) (*lakeformation.Resource, error) { +func (t *Template) GetCognitoUserPoolRiskConfigurationAttachmentWithName(name string) (*cognito.UserPoolRiskConfigurationAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lakeformation.Resource: + case *cognito.UserPoolRiskConfigurationAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lakeformation.Resource not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolRiskConfigurationAttachment not found", name) } -// GetAllServiceDiscoveryInstanceResources retrieves all servicediscovery.Instance items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryInstanceResources() map[string]*servicediscovery.Instance { - results := map[string]*servicediscovery.Instance{} +// GetAllCognitoUserPoolUICustomizationAttachmentResources retrieves all cognito.UserPoolUICustomizationAttachment items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolUICustomizationAttachmentResources() map[string]*cognito.UserPoolUICustomizationAttachment { + results := map[string]*cognito.UserPoolUICustomizationAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.Instance: + case *cognito.UserPoolUICustomizationAttachment: results[name] = resource } } return results } -// GetServiceDiscoveryInstanceWithName retrieves all servicediscovery.Instance items from an AWS CloudFormation template +// GetCognitoUserPoolUICustomizationAttachmentWithName retrieves all cognito.UserPoolUICustomizationAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryInstanceWithName(name string) (*servicediscovery.Instance, error) { +func (t *Template) GetCognitoUserPoolUICustomizationAttachmentWithName(name string) (*cognito.UserPoolUICustomizationAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.Instance: + case *cognito.UserPoolUICustomizationAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.Instance not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolUICustomizationAttachment not found", name) } -// GetAllAutoScalingScalingPolicyResources retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingScalingPolicyResources() map[string]*autoscaling.ScalingPolicy { - results := map[string]*autoscaling.ScalingPolicy{} +// GetAllCognitoUserPoolUserResources retrieves all cognito.UserPoolUser items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolUserResources() map[string]*cognito.UserPoolUser { + results := map[string]*cognito.UserPoolUser{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.ScalingPolicy: + case *cognito.UserPoolUser: results[name] = resource } } return results } -// GetAutoScalingScalingPolicyWithName retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template +// GetCognitoUserPoolUserWithName retrieves all cognito.UserPoolUser items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingScalingPolicyWithName(name string) (*autoscaling.ScalingPolicy, error) { +func (t *Template) GetCognitoUserPoolUserWithName(name string) (*cognito.UserPoolUser, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.ScalingPolicy: + case *cognito.UserPoolUser: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.ScalingPolicy not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolUser not found", name) } -// GetAllGlueClassifierResources retrieves all glue.Classifier items from an AWS CloudFormation template -func (t *Template) GetAllGlueClassifierResources() map[string]*glue.Classifier { - results := map[string]*glue.Classifier{} +// GetAllCognitoUserPoolUserToGroupAttachmentResources retrieves all cognito.UserPoolUserToGroupAttachment items from an AWS CloudFormation template +func (t *Template) GetAllCognitoUserPoolUserToGroupAttachmentResources() map[string]*cognito.UserPoolUserToGroupAttachment { + results := map[string]*cognito.UserPoolUserToGroupAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Classifier: + case *cognito.UserPoolUserToGroupAttachment: results[name] = resource } } return results } -// GetGlueClassifierWithName retrieves all glue.Classifier items from an AWS CloudFormation template +// GetCognitoUserPoolUserToGroupAttachmentWithName retrieves all cognito.UserPoolUserToGroupAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueClassifierWithName(name string) (*glue.Classifier, error) { +func (t *Template) GetCognitoUserPoolUserToGroupAttachmentWithName(name string) (*cognito.UserPoolUserToGroupAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Classifier: + case *cognito.UserPoolUserToGroupAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Classifier not found", name) + return nil, fmt.Errorf("resource %q of type cognito.UserPoolUserToGroupAttachment not found", name) } -// GetAllServiceCatalogPortfolioResources retrieves all servicecatalog.Portfolio items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioResources() map[string]*servicecatalog.Portfolio { - results := map[string]*servicecatalog.Portfolio{} +// GetAllConfigAggregationAuthorizationResources retrieves all config.AggregationAuthorization items from an AWS CloudFormation template +func (t *Template) GetAllConfigAggregationAuthorizationResources() map[string]*config.AggregationAuthorization { + results := map[string]*config.AggregationAuthorization{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.Portfolio: + case *config.AggregationAuthorization: results[name] = resource } } return results } -// GetServiceCatalogPortfolioWithName retrieves all servicecatalog.Portfolio items from an AWS CloudFormation template +// GetConfigAggregationAuthorizationWithName retrieves all config.AggregationAuthorization items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioWithName(name string) (*servicecatalog.Portfolio, error) { +func (t *Template) GetConfigAggregationAuthorizationWithName(name string) (*config.AggregationAuthorization, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.Portfolio: + case *config.AggregationAuthorization: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.Portfolio not found", name) + return nil, fmt.Errorf("resource %q of type config.AggregationAuthorization not found", name) } -// GetAllGuardDutyMemberResources retrieves all guardduty.Member items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyMemberResources() map[string]*guardduty.Member { - results := map[string]*guardduty.Member{} +// GetAllConfigConfigRuleResources retrieves all config.ConfigRule items from an AWS CloudFormation template +func (t *Template) GetAllConfigConfigRuleResources() map[string]*config.ConfigRule { + results := map[string]*config.ConfigRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *guardduty.Member: + case *config.ConfigRule: results[name] = resource } } return results } -// GetGuardDutyMemberWithName retrieves all guardduty.Member items from an AWS CloudFormation template +// GetConfigConfigRuleWithName retrieves all config.ConfigRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyMemberWithName(name string) (*guardduty.Member, error) { +func (t *Template) GetConfigConfigRuleWithName(name string) (*config.ConfigRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *guardduty.Member: + case *config.ConfigRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type guardduty.Member not found", name) + return nil, fmt.Errorf("resource %q of type config.ConfigRule not found", name) } -// GetAllEC2VolumeAttachmentResources retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2VolumeAttachmentResources() map[string]*ec2.VolumeAttachment { - results := map[string]*ec2.VolumeAttachment{} +// GetAllConfigConfigurationAggregatorResources retrieves all config.ConfigurationAggregator items from an AWS CloudFormation template +func (t *Template) GetAllConfigConfigurationAggregatorResources() map[string]*config.ConfigurationAggregator { + results := map[string]*config.ConfigurationAggregator{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VolumeAttachment: + case *config.ConfigurationAggregator: results[name] = resource } } return results } -// GetEC2VolumeAttachmentWithName retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template +// GetConfigConfigurationAggregatorWithName retrieves all config.ConfigurationAggregator items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VolumeAttachmentWithName(name string) (*ec2.VolumeAttachment, error) { +func (t *Template) GetConfigConfigurationAggregatorWithName(name string) (*config.ConfigurationAggregator, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VolumeAttachment: + case *config.ConfigurationAggregator: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VolumeAttachment not found", name) + return nil, fmt.Errorf("resource %q of type config.ConfigurationAggregator not found", name) } -// GetAllEC2TrafficMirrorSessionResources retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorSessionResources() map[string]*ec2.TrafficMirrorSession { - results := map[string]*ec2.TrafficMirrorSession{} +// GetAllConfigConfigurationRecorderResources retrieves all config.ConfigurationRecorder items from an AWS CloudFormation template +func (t *Template) GetAllConfigConfigurationRecorderResources() map[string]*config.ConfigurationRecorder { + results := map[string]*config.ConfigurationRecorder{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TrafficMirrorSession: + case *config.ConfigurationRecorder: results[name] = resource } } return results } -// GetEC2TrafficMirrorSessionWithName retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template +// GetConfigConfigurationRecorderWithName retrieves all config.ConfigurationRecorder items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorSessionWithName(name string) (*ec2.TrafficMirrorSession, error) { +func (t *Template) GetConfigConfigurationRecorderWithName(name string) (*config.ConfigurationRecorder, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TrafficMirrorSession: + case *config.ConfigurationRecorder: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorSession not found", name) + return nil, fmt.Errorf("resource %q of type config.ConfigurationRecorder not found", name) } -// GetAllIAMGroupResources retrieves all iam.Group items from an AWS CloudFormation template -func (t *Template) GetAllIAMGroupResources() map[string]*iam.Group { - results := map[string]*iam.Group{} +// GetAllConfigDeliveryChannelResources retrieves all config.DeliveryChannel items from an AWS CloudFormation template +func (t *Template) GetAllConfigDeliveryChannelResources() map[string]*config.DeliveryChannel { + results := map[string]*config.DeliveryChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.Group: + case *config.DeliveryChannel: results[name] = resource } } return results } -// GetIAMGroupWithName retrieves all iam.Group items from an AWS CloudFormation template +// GetConfigDeliveryChannelWithName retrieves all config.DeliveryChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMGroupWithName(name string) (*iam.Group, error) { +func (t *Template) GetConfigDeliveryChannelWithName(name string) (*config.DeliveryChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.Group: + case *config.DeliveryChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.Group not found", name) + return nil, fmt.Errorf("resource %q of type config.DeliveryChannel not found", name) } -// GetAllCodeBuildProjectResources retrieves all codebuild.Project items from an AWS CloudFormation template -func (t *Template) GetAllCodeBuildProjectResources() map[string]*codebuild.Project { - results := map[string]*codebuild.Project{} +// GetAllConfigOrganizationConfigRuleResources retrieves all config.OrganizationConfigRule items from an AWS CloudFormation template +func (t *Template) GetAllConfigOrganizationConfigRuleResources() map[string]*config.OrganizationConfigRule { + results := map[string]*config.OrganizationConfigRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codebuild.Project: + case *config.OrganizationConfigRule: results[name] = resource } } return results } -// GetCodeBuildProjectWithName retrieves all codebuild.Project items from an AWS CloudFormation template +// GetConfigOrganizationConfigRuleWithName retrieves all config.OrganizationConfigRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeBuildProjectWithName(name string) (*codebuild.Project, error) { +func (t *Template) GetConfigOrganizationConfigRuleWithName(name string) (*config.OrganizationConfigRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codebuild.Project: + case *config.OrganizationConfigRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codebuild.Project not found", name) + return nil, fmt.Errorf("resource %q of type config.OrganizationConfigRule not found", name) } -// GetAllWAFXssMatchSetResources retrieves all waf.XssMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFXssMatchSetResources() map[string]*waf.XssMatchSet { - results := map[string]*waf.XssMatchSet{} +// GetAllConfigRemediationConfigurationResources retrieves all config.RemediationConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllConfigRemediationConfigurationResources() map[string]*config.RemediationConfiguration { + results := map[string]*config.RemediationConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.XssMatchSet: + case *config.RemediationConfiguration: results[name] = resource } } return results } -// GetWAFXssMatchSetWithName retrieves all waf.XssMatchSet items from an AWS CloudFormation template +// GetConfigRemediationConfigurationWithName retrieves all config.RemediationConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFXssMatchSetWithName(name string) (*waf.XssMatchSet, error) { +func (t *Template) GetConfigRemediationConfigurationWithName(name string) (*config.RemediationConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.XssMatchSet: + case *config.RemediationConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.XssMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type config.RemediationConfiguration not found", name) } -// GetAllQLDBLedgerResources retrieves all qldb.Ledger items from an AWS CloudFormation template -func (t *Template) GetAllQLDBLedgerResources() map[string]*qldb.Ledger { - results := map[string]*qldb.Ledger{} +// GetAllDAXClusterResources retrieves all dax.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllDAXClusterResources() map[string]*dax.Cluster { + results := map[string]*dax.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *qldb.Ledger: + case *dax.Cluster: results[name] = resource } } return results } -// GetQLDBLedgerWithName retrieves all qldb.Ledger items from an AWS CloudFormation template +// GetDAXClusterWithName retrieves all dax.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQLDBLedgerWithName(name string) (*qldb.Ledger, error) { +func (t *Template) GetDAXClusterWithName(name string) (*dax.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *qldb.Ledger: + case *dax.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type qldb.Ledger not found", name) + return nil, fmt.Errorf("resource %q of type dax.Cluster not found", name) } -// GetAllIAMUserToGroupAdditionResources retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template -func (t *Template) GetAllIAMUserToGroupAdditionResources() map[string]*iam.UserToGroupAddition { - results := map[string]*iam.UserToGroupAddition{} +// GetAllDAXParameterGroupResources retrieves all dax.ParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllDAXParameterGroupResources() map[string]*dax.ParameterGroup { + results := map[string]*dax.ParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.UserToGroupAddition: + case *dax.ParameterGroup: results[name] = resource } } return results } -// GetIAMUserToGroupAdditionWithName retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template +// GetDAXParameterGroupWithName retrieves all dax.ParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMUserToGroupAdditionWithName(name string) (*iam.UserToGroupAddition, error) { +func (t *Template) GetDAXParameterGroupWithName(name string) (*dax.ParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.UserToGroupAddition: + case *dax.ParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.UserToGroupAddition not found", name) + return nil, fmt.Errorf("resource %q of type dax.ParameterGroup not found", name) } -// GetAllRedshiftClusterSecurityGroupIngressResources retrieves all redshift.ClusterSecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterSecurityGroupIngressResources() map[string]*redshift.ClusterSecurityGroupIngress { - results := map[string]*redshift.ClusterSecurityGroupIngress{} +// GetAllDAXSubnetGroupResources retrieves all dax.SubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllDAXSubnetGroupResources() map[string]*dax.SubnetGroup { + results := map[string]*dax.SubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroupIngress: + case *dax.SubnetGroup: results[name] = resource } } return results } -// GetRedshiftClusterSecurityGroupIngressWithName retrieves all redshift.ClusterSecurityGroupIngress items from an AWS CloudFormation template +// GetDAXSubnetGroupWithName retrieves all dax.SubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterSecurityGroupIngressWithName(name string) (*redshift.ClusterSecurityGroupIngress, error) { +func (t *Template) GetDAXSubnetGroupWithName(name string) (*dax.SubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroupIngress: + case *dax.SubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type redshift.ClusterSecurityGroupIngress not found", name) + return nil, fmt.Errorf("resource %q of type dax.SubnetGroup not found", name) } -// GetAllPinpointEmailConfigurationSetEventDestinationResources retrieves all pinpointemail.ConfigurationSetEventDestination items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailConfigurationSetEventDestinationResources() map[string]*pinpointemail.ConfigurationSetEventDestination { - results := map[string]*pinpointemail.ConfigurationSetEventDestination{} +// GetAllDLMLifecyclePolicyResources retrieves all dlm.LifecyclePolicy items from an AWS CloudFormation template +func (t *Template) GetAllDLMLifecyclePolicyResources() map[string]*dlm.LifecyclePolicy { + results := map[string]*dlm.LifecyclePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSetEventDestination: + case *dlm.LifecyclePolicy: results[name] = resource } } return results } -// GetPinpointEmailConfigurationSetEventDestinationWithName retrieves all pinpointemail.ConfigurationSetEventDestination items from an AWS CloudFormation template +// GetDLMLifecyclePolicyWithName retrieves all dlm.LifecyclePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailConfigurationSetEventDestinationWithName(name string) (*pinpointemail.ConfigurationSetEventDestination, error) { +func (t *Template) GetDLMLifecyclePolicyWithName(name string) (*dlm.LifecyclePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSetEventDestination: + case *dlm.LifecyclePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpointemail.ConfigurationSetEventDestination not found", name) + return nil, fmt.Errorf("resource %q of type dlm.LifecyclePolicy not found", name) } -// GetAllOpsWorksInstanceResources retrieves all opsworks.Instance items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksInstanceResources() map[string]*opsworks.Instance { - results := map[string]*opsworks.Instance{} +// GetAllDMSCertificateResources retrieves all dms.Certificate items from an AWS CloudFormation template +func (t *Template) GetAllDMSCertificateResources() map[string]*dms.Certificate { + results := map[string]*dms.Certificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.Instance: + case *dms.Certificate: results[name] = resource } } return results } -// GetOpsWorksInstanceWithName retrieves all opsworks.Instance items from an AWS CloudFormation template +// GetDMSCertificateWithName retrieves all dms.Certificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksInstanceWithName(name string) (*opsworks.Instance, error) { +func (t *Template) GetDMSCertificateWithName(name string) (*dms.Certificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.Instance: + case *dms.Certificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.Instance not found", name) + return nil, fmt.Errorf("resource %q of type dms.Certificate not found", name) } -// GetAllECSServiceResources retrieves all ecs.Service items from an AWS CloudFormation template -func (t *Template) GetAllECSServiceResources() map[string]*ecs.Service { - results := map[string]*ecs.Service{} +// GetAllDMSEndpointResources retrieves all dms.Endpoint items from an AWS CloudFormation template +func (t *Template) GetAllDMSEndpointResources() map[string]*dms.Endpoint { + results := map[string]*dms.Endpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ecs.Service: + case *dms.Endpoint: results[name] = resource } } return results } -// GetECSServiceWithName retrieves all ecs.Service items from an AWS CloudFormation template +// GetDMSEndpointWithName retrieves all dms.Endpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSServiceWithName(name string) (*ecs.Service, error) { +func (t *Template) GetDMSEndpointWithName(name string) (*dms.Endpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ecs.Service: + case *dms.Endpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ecs.Service not found", name) + return nil, fmt.Errorf("resource %q of type dms.Endpoint not found", name) } -// GetAllWAFSqlInjectionMatchSetResources retrieves all waf.SqlInjectionMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFSqlInjectionMatchSetResources() map[string]*waf.SqlInjectionMatchSet { - results := map[string]*waf.SqlInjectionMatchSet{} +// GetAllDMSEventSubscriptionResources retrieves all dms.EventSubscription items from an AWS CloudFormation template +func (t *Template) GetAllDMSEventSubscriptionResources() map[string]*dms.EventSubscription { + results := map[string]*dms.EventSubscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.SqlInjectionMatchSet: + case *dms.EventSubscription: results[name] = resource } } return results } -// GetWAFSqlInjectionMatchSetWithName retrieves all waf.SqlInjectionMatchSet items from an AWS CloudFormation template +// GetDMSEventSubscriptionWithName retrieves all dms.EventSubscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFSqlInjectionMatchSetWithName(name string) (*waf.SqlInjectionMatchSet, error) { +func (t *Template) GetDMSEventSubscriptionWithName(name string) (*dms.EventSubscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.SqlInjectionMatchSet: + case *dms.EventSubscription: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.SqlInjectionMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type dms.EventSubscription not found", name) } -// GetAllEKSClusterResources retrieves all eks.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllEKSClusterResources() map[string]*eks.Cluster { - results := map[string]*eks.Cluster{} +// GetAllDMSReplicationInstanceResources retrieves all dms.ReplicationInstance items from an AWS CloudFormation template +func (t *Template) GetAllDMSReplicationInstanceResources() map[string]*dms.ReplicationInstance { + results := map[string]*dms.ReplicationInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *eks.Cluster: + case *dms.ReplicationInstance: results[name] = resource } } return results } -// GetEKSClusterWithName retrieves all eks.Cluster items from an AWS CloudFormation template +// GetDMSReplicationInstanceWithName retrieves all dms.ReplicationInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEKSClusterWithName(name string) (*eks.Cluster, error) { +func (t *Template) GetDMSReplicationInstanceWithName(name string) (*dms.ReplicationInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *eks.Cluster: + case *dms.ReplicationInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type eks.Cluster not found", name) + return nil, fmt.Errorf("resource %q of type dms.ReplicationInstance not found", name) } -// GetAllGuardDutyMasterResources retrieves all guardduty.Master items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyMasterResources() map[string]*guardduty.Master { - results := map[string]*guardduty.Master{} +// GetAllDMSReplicationSubnetGroupResources retrieves all dms.ReplicationSubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllDMSReplicationSubnetGroupResources() map[string]*dms.ReplicationSubnetGroup { + results := map[string]*dms.ReplicationSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *guardduty.Master: + case *dms.ReplicationSubnetGroup: results[name] = resource } } return results } -// GetGuardDutyMasterWithName retrieves all guardduty.Master items from an AWS CloudFormation template +// GetDMSReplicationSubnetGroupWithName retrieves all dms.ReplicationSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyMasterWithName(name string) (*guardduty.Master, error) { +func (t *Template) GetDMSReplicationSubnetGroupWithName(name string) (*dms.ReplicationSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *guardduty.Master: + case *dms.ReplicationSubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type guardduty.Master not found", name) + return nil, fmt.Errorf("resource %q of type dms.ReplicationSubnetGroup not found", name) } -// GetAllElastiCacheReplicationGroupResources retrieves all elasticache.ReplicationGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheReplicationGroupResources() map[string]*elasticache.ReplicationGroup { - results := map[string]*elasticache.ReplicationGroup{} +// GetAllDMSReplicationTaskResources retrieves all dms.ReplicationTask items from an AWS CloudFormation template +func (t *Template) GetAllDMSReplicationTaskResources() map[string]*dms.ReplicationTask { + results := map[string]*dms.ReplicationTask{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticache.ReplicationGroup: + case *dms.ReplicationTask: results[name] = resource } } return results } -// GetElastiCacheReplicationGroupWithName retrieves all elasticache.ReplicationGroup items from an AWS CloudFormation template +// GetDMSReplicationTaskWithName retrieves all dms.ReplicationTask items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheReplicationGroupWithName(name string) (*elasticache.ReplicationGroup, error) { +func (t *Template) GetDMSReplicationTaskWithName(name string) (*dms.ReplicationTask, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticache.ReplicationGroup: + case *dms.ReplicationTask: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticache.ReplicationGroup not found", name) + return nil, fmt.Errorf("resource %q of type dms.ReplicationTask not found", name) } -// GetAllAppMeshRouteResources retrieves all appmesh.Route items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshRouteResources() map[string]*appmesh.Route { - results := map[string]*appmesh.Route{} +// GetAllDataPipelinePipelineResources retrieves all datapipeline.Pipeline items from an AWS CloudFormation template +func (t *Template) GetAllDataPipelinePipelineResources() map[string]*datapipeline.Pipeline { + results := map[string]*datapipeline.Pipeline{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.Route: + case *datapipeline.Pipeline: results[name] = resource } } return results } -// GetAppMeshRouteWithName retrieves all appmesh.Route items from an AWS CloudFormation template +// GetDataPipelinePipelineWithName retrieves all datapipeline.Pipeline items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshRouteWithName(name string) (*appmesh.Route, error) { +func (t *Template) GetDataPipelinePipelineWithName(name string) (*datapipeline.Pipeline, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.Route: + case *datapipeline.Pipeline: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.Route not found", name) + return nil, fmt.Errorf("resource %q of type datapipeline.Pipeline not found", name) } -// GetAllApiGatewayDomainNameResources retrieves all apigateway.DomainName items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDomainNameResources() map[string]*apigateway.DomainName { - results := map[string]*apigateway.DomainName{} +// GetAllDirectoryServiceMicrosoftADResources retrieves all directoryservice.MicrosoftAD items from an AWS CloudFormation template +func (t *Template) GetAllDirectoryServiceMicrosoftADResources() map[string]*directoryservice.MicrosoftAD { + results := map[string]*directoryservice.MicrosoftAD{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.DomainName: + case *directoryservice.MicrosoftAD: results[name] = resource } } return results } -// GetApiGatewayDomainNameWithName retrieves all apigateway.DomainName items from an AWS CloudFormation template +// GetDirectoryServiceMicrosoftADWithName retrieves all directoryservice.MicrosoftAD items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDomainNameWithName(name string) (*apigateway.DomainName, error) { +func (t *Template) GetDirectoryServiceMicrosoftADWithName(name string) (*directoryservice.MicrosoftAD, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.DomainName: + case *directoryservice.MicrosoftAD: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.DomainName not found", name) + return nil, fmt.Errorf("resource %q of type directoryservice.MicrosoftAD not found", name) } -// GetAllLogsMetricFilterResources retrieves all logs.MetricFilter items from an AWS CloudFormation template -func (t *Template) GetAllLogsMetricFilterResources() map[string]*logs.MetricFilter { - results := map[string]*logs.MetricFilter{} +// GetAllDirectoryServiceSimpleADResources retrieves all directoryservice.SimpleAD items from an AWS CloudFormation template +func (t *Template) GetAllDirectoryServiceSimpleADResources() map[string]*directoryservice.SimpleAD { + results := map[string]*directoryservice.SimpleAD{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *logs.MetricFilter: + case *directoryservice.SimpleAD: results[name] = resource } } return results } -// GetLogsMetricFilterWithName retrieves all logs.MetricFilter items from an AWS CloudFormation template +// GetDirectoryServiceSimpleADWithName retrieves all directoryservice.SimpleAD items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsMetricFilterWithName(name string) (*logs.MetricFilter, error) { +func (t *Template) GetDirectoryServiceSimpleADWithName(name string) (*directoryservice.SimpleAD, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *logs.MetricFilter: + case *directoryservice.SimpleAD: return resource, nil } } - return nil, fmt.Errorf("resource %q of type logs.MetricFilter not found", name) + return nil, fmt.Errorf("resource %q of type directoryservice.SimpleAD not found", name) } -// GetAllGreengrassConnectorDefinitionResources retrieves all greengrass.ConnectorDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassConnectorDefinitionResources() map[string]*greengrass.ConnectorDefinition { - results := map[string]*greengrass.ConnectorDefinition{} +// GetAllDocDBDBClusterResources retrieves all docdb.DBCluster items from an AWS CloudFormation template +func (t *Template) GetAllDocDBDBClusterResources() map[string]*docdb.DBCluster { + results := map[string]*docdb.DBCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.ConnectorDefinition: + case *docdb.DBCluster: results[name] = resource } } return results } -// GetGreengrassConnectorDefinitionWithName retrieves all greengrass.ConnectorDefinition items from an AWS CloudFormation template +// GetDocDBDBClusterWithName retrieves all docdb.DBCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassConnectorDefinitionWithName(name string) (*greengrass.ConnectorDefinition, error) { +func (t *Template) GetDocDBDBClusterWithName(name string) (*docdb.DBCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.ConnectorDefinition: + case *docdb.DBCluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.ConnectorDefinition not found", name) + return nil, fmt.Errorf("resource %q of type docdb.DBCluster not found", name) } -// GetAllCognitoUserPoolUserResources retrieves all cognito.UserPoolUser items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolUserResources() map[string]*cognito.UserPoolUser { - results := map[string]*cognito.UserPoolUser{} +// GetAllDocDBDBClusterParameterGroupResources retrieves all docdb.DBClusterParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllDocDBDBClusterParameterGroupResources() map[string]*docdb.DBClusterParameterGroup { + results := map[string]*docdb.DBClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolUser: + case *docdb.DBClusterParameterGroup: results[name] = resource } } return results } -// GetCognitoUserPoolUserWithName retrieves all cognito.UserPoolUser items from an AWS CloudFormation template +// GetDocDBDBClusterParameterGroupWithName retrieves all docdb.DBClusterParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolUserWithName(name string) (*cognito.UserPoolUser, error) { +func (t *Template) GetDocDBDBClusterParameterGroupWithName(name string) (*docdb.DBClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolUser: + case *docdb.DBClusterParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolUser not found", name) + return nil, fmt.Errorf("resource %q of type docdb.DBClusterParameterGroup not found", name) } -// GetAllAutoScalingAutoScalingGroupResources retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingAutoScalingGroupResources() map[string]*autoscaling.AutoScalingGroup { - results := map[string]*autoscaling.AutoScalingGroup{} +// GetAllDocDBDBInstanceResources retrieves all docdb.DBInstance items from an AWS CloudFormation template +func (t *Template) GetAllDocDBDBInstanceResources() map[string]*docdb.DBInstance { + results := map[string]*docdb.DBInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.AutoScalingGroup: + case *docdb.DBInstance: results[name] = resource } } return results } -// GetAutoScalingAutoScalingGroupWithName retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template +// GetDocDBDBInstanceWithName retrieves all docdb.DBInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingAutoScalingGroupWithName(name string) (*autoscaling.AutoScalingGroup, error) { +func (t *Template) GetDocDBDBInstanceWithName(name string) (*docdb.DBInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.AutoScalingGroup: + case *docdb.DBInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.AutoScalingGroup not found", name) + return nil, fmt.Errorf("resource %q of type docdb.DBInstance not found", name) } -// GetAllDAXParameterGroupResources retrieves all dax.ParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllDAXParameterGroupResources() map[string]*dax.ParameterGroup { - results := map[string]*dax.ParameterGroup{} +// GetAllDocDBDBSubnetGroupResources retrieves all docdb.DBSubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllDocDBDBSubnetGroupResources() map[string]*docdb.DBSubnetGroup { + results := map[string]*docdb.DBSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dax.ParameterGroup: + case *docdb.DBSubnetGroup: results[name] = resource } } return results } -// GetDAXParameterGroupWithName retrieves all dax.ParameterGroup items from an AWS CloudFormation template +// GetDocDBDBSubnetGroupWithName retrieves all docdb.DBSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDAXParameterGroupWithName(name string) (*dax.ParameterGroup, error) { +func (t *Template) GetDocDBDBSubnetGroupWithName(name string) (*docdb.DBSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dax.ParameterGroup: + case *docdb.DBSubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dax.ParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type docdb.DBSubnetGroup not found", name) } -// GetAllGreengrassSubscriptionDefinitionVersionResources retrieves all greengrass.SubscriptionDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassSubscriptionDefinitionVersionResources() map[string]*greengrass.SubscriptionDefinitionVersion { - results := map[string]*greengrass.SubscriptionDefinitionVersion{} +// GetAllDynamoDBTableResources retrieves all dynamodb.Table items from an AWS CloudFormation template +func (t *Template) GetAllDynamoDBTableResources() map[string]*dynamodb.Table { + results := map[string]*dynamodb.Table{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinitionVersion: + case *dynamodb.Table: results[name] = resource } } return results } -// GetGreengrassSubscriptionDefinitionVersionWithName retrieves all greengrass.SubscriptionDefinitionVersion items from an AWS CloudFormation template +// GetDynamoDBTableWithName retrieves all dynamodb.Table items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassSubscriptionDefinitionVersionWithName(name string) (*greengrass.SubscriptionDefinitionVersion, error) { +func (t *Template) GetDynamoDBTableWithName(name string) (*dynamodb.Table, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinitionVersion: + case *dynamodb.Table: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.SubscriptionDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type dynamodb.Table not found", name) } -// GetAllEC2ClientVpnAuthorizationRuleResources retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnAuthorizationRuleResources() map[string]*ec2.ClientVpnAuthorizationRule { - results := map[string]*ec2.ClientVpnAuthorizationRule{} +// GetAllEC2CapacityReservationResources retrieves all ec2.CapacityReservation items from an AWS CloudFormation template +func (t *Template) GetAllEC2CapacityReservationResources() map[string]*ec2.CapacityReservation { + results := map[string]*ec2.CapacityReservation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.ClientVpnAuthorizationRule: + case *ec2.CapacityReservation: results[name] = resource } } return results } -// GetEC2ClientVpnAuthorizationRuleWithName retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template +// GetEC2CapacityReservationWithName retrieves all ec2.CapacityReservation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnAuthorizationRuleWithName(name string) (*ec2.ClientVpnAuthorizationRule, error) { +func (t *Template) GetEC2CapacityReservationWithName(name string) (*ec2.CapacityReservation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.ClientVpnAuthorizationRule: + case *ec2.CapacityReservation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnAuthorizationRule not found", name) + return nil, fmt.Errorf("resource %q of type ec2.CapacityReservation not found", name) } -// GetAllSESReceiptRuleSetResources retrieves all ses.ReceiptRuleSet items from an AWS CloudFormation template -func (t *Template) GetAllSESReceiptRuleSetResources() map[string]*ses.ReceiptRuleSet { - results := map[string]*ses.ReceiptRuleSet{} +// GetAllEC2ClientVpnAuthorizationRuleResources retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnAuthorizationRuleResources() map[string]*ec2.ClientVpnAuthorizationRule { + results := map[string]*ec2.ClientVpnAuthorizationRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ReceiptRuleSet: + case *ec2.ClientVpnAuthorizationRule: results[name] = resource } } return results } -// GetSESReceiptRuleSetWithName retrieves all ses.ReceiptRuleSet items from an AWS CloudFormation template +// GetEC2ClientVpnAuthorizationRuleWithName retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESReceiptRuleSetWithName(name string) (*ses.ReceiptRuleSet, error) { +func (t *Template) GetEC2ClientVpnAuthorizationRuleWithName(name string) (*ec2.ClientVpnAuthorizationRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ReceiptRuleSet: + case *ec2.ClientVpnAuthorizationRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ReceiptRuleSet not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnAuthorizationRule not found", name) } -// GetAllGlueWorkflowResources retrieves all glue.Workflow items from an AWS CloudFormation template -func (t *Template) GetAllGlueWorkflowResources() map[string]*glue.Workflow { - results := map[string]*glue.Workflow{} +// GetAllEC2ClientVpnEndpointResources retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnEndpointResources() map[string]*ec2.ClientVpnEndpoint { + results := map[string]*ec2.ClientVpnEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Workflow: + case *ec2.ClientVpnEndpoint: results[name] = resource } } return results } -// GetGlueWorkflowWithName retrieves all glue.Workflow items from an AWS CloudFormation template +// GetEC2ClientVpnEndpointWithName retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueWorkflowWithName(name string) (*glue.Workflow, error) { +func (t *Template) GetEC2ClientVpnEndpointWithName(name string) (*ec2.ClientVpnEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Workflow: + case *ec2.ClientVpnEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Workflow not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnEndpoint not found", name) } -// GetAllDocDBDBInstanceResources retrieves all docdb.DBInstance items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBInstanceResources() map[string]*docdb.DBInstance { - results := map[string]*docdb.DBInstance{} +// GetAllEC2ClientVpnRouteResources retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnRouteResources() map[string]*ec2.ClientVpnRoute { + results := map[string]*ec2.ClientVpnRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *docdb.DBInstance: + case *ec2.ClientVpnRoute: results[name] = resource } } return results } -// GetDocDBDBInstanceWithName retrieves all docdb.DBInstance items from an AWS CloudFormation template +// GetEC2ClientVpnRouteWithName retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBInstanceWithName(name string) (*docdb.DBInstance, error) { +func (t *Template) GetEC2ClientVpnRouteWithName(name string) (*ec2.ClientVpnRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *docdb.DBInstance: + case *ec2.ClientVpnRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type docdb.DBInstance not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnRoute not found", name) } -// GetAllCognitoUserPoolClientResources retrieves all cognito.UserPoolClient items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolClientResources() map[string]*cognito.UserPoolClient { - results := map[string]*cognito.UserPoolClient{} +// GetAllEC2ClientVpnTargetNetworkAssociationResources retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnTargetNetworkAssociationResources() map[string]*ec2.ClientVpnTargetNetworkAssociation { + results := map[string]*ec2.ClientVpnTargetNetworkAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolClient: + case *ec2.ClientVpnTargetNetworkAssociation: results[name] = resource } } return results } -// GetCognitoUserPoolClientWithName retrieves all cognito.UserPoolClient items from an AWS CloudFormation template +// GetEC2ClientVpnTargetNetworkAssociationWithName retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolClientWithName(name string) (*cognito.UserPoolClient, error) { +func (t *Template) GetEC2ClientVpnTargetNetworkAssociationWithName(name string) (*ec2.ClientVpnTargetNetworkAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolClient: + case *ec2.ClientVpnTargetNetworkAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolClient not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnTargetNetworkAssociation not found", name) } -// GetAllCodeCommitRepositoryResources retrieves all codecommit.Repository items from an AWS CloudFormation template -func (t *Template) GetAllCodeCommitRepositoryResources() map[string]*codecommit.Repository { - results := map[string]*codecommit.Repository{} +// GetAllEC2CustomerGatewayResources retrieves all ec2.CustomerGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2CustomerGatewayResources() map[string]*ec2.CustomerGateway { + results := map[string]*ec2.CustomerGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codecommit.Repository: + case *ec2.CustomerGateway: results[name] = resource } } return results } -// GetCodeCommitRepositoryWithName retrieves all codecommit.Repository items from an AWS CloudFormation template +// GetEC2CustomerGatewayWithName retrieves all ec2.CustomerGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeCommitRepositoryWithName(name string) (*codecommit.Repository, error) { +func (t *Template) GetEC2CustomerGatewayWithName(name string) (*ec2.CustomerGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codecommit.Repository: + case *ec2.CustomerGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codecommit.Repository not found", name) + return nil, fmt.Errorf("resource %q of type ec2.CustomerGateway not found", name) } -// GetAllConfigConfigurationAggregatorResources retrieves all config.ConfigurationAggregator items from an AWS CloudFormation template -func (t *Template) GetAllConfigConfigurationAggregatorResources() map[string]*config.ConfigurationAggregator { - results := map[string]*config.ConfigurationAggregator{} +// GetAllEC2DHCPOptionsResources retrieves all ec2.DHCPOptions items from an AWS CloudFormation template +func (t *Template) GetAllEC2DHCPOptionsResources() map[string]*ec2.DHCPOptions { + results := map[string]*ec2.DHCPOptions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.ConfigurationAggregator: + case *ec2.DHCPOptions: results[name] = resource } } return results } -// GetConfigConfigurationAggregatorWithName retrieves all config.ConfigurationAggregator items from an AWS CloudFormation template +// GetEC2DHCPOptionsWithName retrieves all ec2.DHCPOptions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConfigurationAggregatorWithName(name string) (*config.ConfigurationAggregator, error) { +func (t *Template) GetEC2DHCPOptionsWithName(name string) (*ec2.DHCPOptions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.ConfigurationAggregator: + case *ec2.DHCPOptions: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.ConfigurationAggregator not found", name) + return nil, fmt.Errorf("resource %q of type ec2.DHCPOptions not found", name) } -// GetAllDocDBDBClusterResources retrieves all docdb.DBCluster items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBClusterResources() map[string]*docdb.DBCluster { - results := map[string]*docdb.DBCluster{} +// GetAllEC2EC2FleetResources retrieves all ec2.EC2Fleet items from an AWS CloudFormation template +func (t *Template) GetAllEC2EC2FleetResources() map[string]*ec2.EC2Fleet { + results := map[string]*ec2.EC2Fleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *docdb.DBCluster: + case *ec2.EC2Fleet: results[name] = resource } } return results } -// GetDocDBDBClusterWithName retrieves all docdb.DBCluster items from an AWS CloudFormation template +// GetEC2EC2FleetWithName retrieves all ec2.EC2Fleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBClusterWithName(name string) (*docdb.DBCluster, error) { +func (t *Template) GetEC2EC2FleetWithName(name string) (*ec2.EC2Fleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *docdb.DBCluster: + case *ec2.EC2Fleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type docdb.DBCluster not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EC2Fleet not found", name) } -// GetAllElastiCacheSubnetGroupResources retrieves all elasticache.SubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheSubnetGroupResources() map[string]*elasticache.SubnetGroup { - results := map[string]*elasticache.SubnetGroup{} +// GetAllEC2EIPResources retrieves all ec2.EIP items from an AWS CloudFormation template +func (t *Template) GetAllEC2EIPResources() map[string]*ec2.EIP { + results := map[string]*ec2.EIP{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticache.SubnetGroup: + case *ec2.EIP: results[name] = resource } } return results } -// GetElastiCacheSubnetGroupWithName retrieves all elasticache.SubnetGroup items from an AWS CloudFormation template +// GetEC2EIPWithName retrieves all ec2.EIP items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheSubnetGroupWithName(name string) (*elasticache.SubnetGroup, error) { +func (t *Template) GetEC2EIPWithName(name string) (*ec2.EIP, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticache.SubnetGroup: + case *ec2.EIP: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticache.SubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EIP not found", name) } -// GetAllSageMakerEndpointResources retrieves all sagemaker.Endpoint items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerEndpointResources() map[string]*sagemaker.Endpoint { - results := map[string]*sagemaker.Endpoint{} +// GetAllEC2EIPAssociationResources retrieves all ec2.EIPAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2EIPAssociationResources() map[string]*ec2.EIPAssociation { + results := map[string]*ec2.EIPAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Endpoint: + case *ec2.EIPAssociation: results[name] = resource } } return results } -// GetSageMakerEndpointWithName retrieves all sagemaker.Endpoint items from an AWS CloudFormation template +// GetEC2EIPAssociationWithName retrieves all ec2.EIPAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerEndpointWithName(name string) (*sagemaker.Endpoint, error) { +func (t *Template) GetEC2EIPAssociationWithName(name string) (*ec2.EIPAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Endpoint: + case *ec2.EIPAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Endpoint not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EIPAssociation not found", name) } -// GetAllMediaLiveInputResources retrieves all medialive.Input items from an AWS CloudFormation template -func (t *Template) GetAllMediaLiveInputResources() map[string]*medialive.Input { - results := map[string]*medialive.Input{} +// GetAllEC2EgressOnlyInternetGatewayResources retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2EgressOnlyInternetGatewayResources() map[string]*ec2.EgressOnlyInternetGateway { + results := map[string]*ec2.EgressOnlyInternetGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *medialive.Input: + case *ec2.EgressOnlyInternetGateway: results[name] = resource } } return results } -// GetMediaLiveInputWithName retrieves all medialive.Input items from an AWS CloudFormation template +// GetEC2EgressOnlyInternetGatewayWithName retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaLiveInputWithName(name string) (*medialive.Input, error) { +func (t *Template) GetEC2EgressOnlyInternetGatewayWithName(name string) (*ec2.EgressOnlyInternetGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *medialive.Input: + case *ec2.EgressOnlyInternetGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type medialive.Input not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EgressOnlyInternetGateway not found", name) } -// GetAllEC2NatGatewayResources retrieves all ec2.NatGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2NatGatewayResources() map[string]*ec2.NatGateway { - results := map[string]*ec2.NatGateway{} +// GetAllEC2FlowLogResources retrieves all ec2.FlowLog items from an AWS CloudFormation template +func (t *Template) GetAllEC2FlowLogResources() map[string]*ec2.FlowLog { + results := map[string]*ec2.FlowLog{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.NatGateway: + case *ec2.FlowLog: results[name] = resource } } return results } -// GetEC2NatGatewayWithName retrieves all ec2.NatGateway items from an AWS CloudFormation template +// GetEC2FlowLogWithName retrieves all ec2.FlowLog items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NatGatewayWithName(name string) (*ec2.NatGateway, error) { +func (t *Template) GetEC2FlowLogWithName(name string) (*ec2.FlowLog, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.NatGateway: + case *ec2.FlowLog: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.NatGateway not found", name) + return nil, fmt.Errorf("resource %q of type ec2.FlowLog not found", name) } // GetAllEC2HostResources retrieves all ec2.Host items from an AWS CloudFormation template @@ -4055,6004 +4031,6004 @@ func (t *Template) GetEC2HostWithName(name string) (*ec2.Host, error) { return nil, fmt.Errorf("resource %q of type ec2.Host not found", name) } -// GetAllKinesisAnalyticsApplicationResources retrieves all kinesisanalytics.Application items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsApplicationResources() map[string]*kinesisanalytics.Application { - results := map[string]*kinesisanalytics.Application{} +// GetAllEC2InstanceResources retrieves all ec2.Instance items from an AWS CloudFormation template +func (t *Template) GetAllEC2InstanceResources() map[string]*ec2.Instance { + results := map[string]*ec2.Instance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalytics.Application: + case *ec2.Instance: results[name] = resource } } return results } -// GetKinesisAnalyticsApplicationWithName retrieves all kinesisanalytics.Application items from an AWS CloudFormation template +// GetEC2InstanceWithName retrieves all ec2.Instance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsApplicationWithName(name string) (*kinesisanalytics.Application, error) { +func (t *Template) GetEC2InstanceWithName(name string) (*ec2.Instance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalytics.Application: + case *ec2.Instance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalytics.Application not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Instance not found", name) } -// GetAllSSMAssociationResources retrieves all ssm.Association items from an AWS CloudFormation template -func (t *Template) GetAllSSMAssociationResources() map[string]*ssm.Association { - results := map[string]*ssm.Association{} +// GetAllEC2InternetGatewayResources retrieves all ec2.InternetGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2InternetGatewayResources() map[string]*ec2.InternetGateway { + results := map[string]*ec2.InternetGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.Association: + case *ec2.InternetGateway: results[name] = resource } } return results } -// GetSSMAssociationWithName retrieves all ssm.Association items from an AWS CloudFormation template +// GetEC2InternetGatewayWithName retrieves all ec2.InternetGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMAssociationWithName(name string) (*ssm.Association, error) { +func (t *Template) GetEC2InternetGatewayWithName(name string) (*ec2.InternetGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.Association: + case *ec2.InternetGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.Association not found", name) + return nil, fmt.Errorf("resource %q of type ec2.InternetGateway not found", name) } -// GetAllElasticLoadBalancingV2LoadBalancerResources retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2LoadBalancerResources() map[string]*elasticloadbalancingv2.LoadBalancer { - results := map[string]*elasticloadbalancingv2.LoadBalancer{} +// GetAllEC2LaunchTemplateResources retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template +func (t *Template) GetAllEC2LaunchTemplateResources() map[string]*ec2.LaunchTemplate { + results := map[string]*ec2.LaunchTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticloadbalancingv2.LoadBalancer: + case *ec2.LaunchTemplate: results[name] = resource } } return results } -// GetElasticLoadBalancingV2LoadBalancerWithName retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template +// GetEC2LaunchTemplateWithName retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2LoadBalancerWithName(name string) (*elasticloadbalancingv2.LoadBalancer, error) { +func (t *Template) GetEC2LaunchTemplateWithName(name string) (*ec2.LaunchTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticloadbalancingv2.LoadBalancer: + case *ec2.LaunchTemplate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.LoadBalancer not found", name) + return nil, fmt.Errorf("resource %q of type ec2.LaunchTemplate not found", name) } -// GetAllS3BucketPolicyResources retrieves all s3.BucketPolicy items from an AWS CloudFormation template -func (t *Template) GetAllS3BucketPolicyResources() map[string]*s3.BucketPolicy { - results := map[string]*s3.BucketPolicy{} +// GetAllEC2NatGatewayResources retrieves all ec2.NatGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2NatGatewayResources() map[string]*ec2.NatGateway { + results := map[string]*ec2.NatGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *s3.BucketPolicy: + case *ec2.NatGateway: results[name] = resource } } return results } -// GetS3BucketPolicyWithName retrieves all s3.BucketPolicy items from an AWS CloudFormation template +// GetEC2NatGatewayWithName retrieves all ec2.NatGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3BucketPolicyWithName(name string) (*s3.BucketPolicy, error) { +func (t *Template) GetEC2NatGatewayWithName(name string) (*ec2.NatGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *s3.BucketPolicy: + case *ec2.NatGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type s3.BucketPolicy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NatGateway not found", name) } -// GetAllPinpointEmailConfigurationSetResources retrieves all pinpointemail.ConfigurationSet items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailConfigurationSetResources() map[string]*pinpointemail.ConfigurationSet { - results := map[string]*pinpointemail.ConfigurationSet{} +// GetAllEC2NetworkAclResources retrieves all ec2.NetworkAcl items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkAclResources() map[string]*ec2.NetworkAcl { + results := map[string]*ec2.NetworkAcl{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSet: + case *ec2.NetworkAcl: results[name] = resource } } return results } -// GetPinpointEmailConfigurationSetWithName retrieves all pinpointemail.ConfigurationSet items from an AWS CloudFormation template +// GetEC2NetworkAclWithName retrieves all ec2.NetworkAcl items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailConfigurationSetWithName(name string) (*pinpointemail.ConfigurationSet, error) { +func (t *Template) GetEC2NetworkAclWithName(name string) (*ec2.NetworkAcl, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSet: + case *ec2.NetworkAcl: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpointemail.ConfigurationSet not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkAcl not found", name) } -// GetAllApiGatewayV2ApiMappingResources retrieves all apigatewayv2.ApiMapping items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ApiMappingResources() map[string]*apigatewayv2.ApiMapping { - results := map[string]*apigatewayv2.ApiMapping{} +// GetAllEC2NetworkAclEntryResources retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkAclEntryResources() map[string]*ec2.NetworkAclEntry { + results := map[string]*ec2.NetworkAclEntry{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.ApiMapping: + case *ec2.NetworkAclEntry: results[name] = resource } } return results } -// GetApiGatewayV2ApiMappingWithName retrieves all apigatewayv2.ApiMapping items from an AWS CloudFormation template +// GetEC2NetworkAclEntryWithName retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ApiMappingWithName(name string) (*apigatewayv2.ApiMapping, error) { +func (t *Template) GetEC2NetworkAclEntryWithName(name string) (*ec2.NetworkAclEntry, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.ApiMapping: + case *ec2.NetworkAclEntry: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.ApiMapping not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkAclEntry not found", name) } -// GetAllKinesisAnalyticsApplicationReferenceDataSourceResources retrieves all kinesisanalytics.ApplicationReferenceDataSource items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsApplicationReferenceDataSourceResources() map[string]*kinesisanalytics.ApplicationReferenceDataSource { - results := map[string]*kinesisanalytics.ApplicationReferenceDataSource{} +// GetAllEC2NetworkInterfaceResources retrieves all ec2.NetworkInterface items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInterfaceResources() map[string]*ec2.NetworkInterface { + results := map[string]*ec2.NetworkInterface{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationReferenceDataSource: + case *ec2.NetworkInterface: results[name] = resource } } return results } -// GetKinesisAnalyticsApplicationReferenceDataSourceWithName retrieves all kinesisanalytics.ApplicationReferenceDataSource items from an AWS CloudFormation template +// GetEC2NetworkInterfaceWithName retrieves all ec2.NetworkInterface items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsApplicationReferenceDataSourceWithName(name string) (*kinesisanalytics.ApplicationReferenceDataSource, error) { +func (t *Template) GetEC2NetworkInterfaceWithName(name string) (*ec2.NetworkInterface, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationReferenceDataSource: + case *ec2.NetworkInterface: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalytics.ApplicationReferenceDataSource not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInterface not found", name) } -// GetAllApiGatewayRequestValidatorResources retrieves all apigateway.RequestValidator items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayRequestValidatorResources() map[string]*apigateway.RequestValidator { - results := map[string]*apigateway.RequestValidator{} +// GetAllEC2NetworkInterfaceAttachmentResources retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInterfaceAttachmentResources() map[string]*ec2.NetworkInterfaceAttachment { + results := map[string]*ec2.NetworkInterfaceAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.RequestValidator: + case *ec2.NetworkInterfaceAttachment: results[name] = resource } } return results } -// GetApiGatewayRequestValidatorWithName retrieves all apigateway.RequestValidator items from an AWS CloudFormation template +// GetEC2NetworkInterfaceAttachmentWithName retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayRequestValidatorWithName(name string) (*apigateway.RequestValidator, error) { +func (t *Template) GetEC2NetworkInterfaceAttachmentWithName(name string) (*ec2.NetworkInterfaceAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.RequestValidator: + case *ec2.NetworkInterfaceAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.RequestValidator not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfaceAttachment not found", name) } -// GetAllEC2NetworkAclEntryResources retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkAclEntryResources() map[string]*ec2.NetworkAclEntry { - results := map[string]*ec2.NetworkAclEntry{} +// GetAllEC2NetworkInterfacePermissionResources retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInterfacePermissionResources() map[string]*ec2.NetworkInterfacePermission { + results := map[string]*ec2.NetworkInterfacePermission{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.NetworkAclEntry: + case *ec2.NetworkInterfacePermission: results[name] = resource } } return results } -// GetEC2NetworkAclEntryWithName retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template +// GetEC2NetworkInterfacePermissionWithName retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkAclEntryWithName(name string) (*ec2.NetworkAclEntry, error) { +func (t *Template) GetEC2NetworkInterfacePermissionWithName(name string) (*ec2.NetworkInterfacePermission, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.NetworkAclEntry: + case *ec2.NetworkInterfacePermission: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.NetworkAclEntry not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfacePermission not found", name) } -// GetAllEC2InternetGatewayResources retrieves all ec2.InternetGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2InternetGatewayResources() map[string]*ec2.InternetGateway { - results := map[string]*ec2.InternetGateway{} +// GetAllEC2PlacementGroupResources retrieves all ec2.PlacementGroup items from an AWS CloudFormation template +func (t *Template) GetAllEC2PlacementGroupResources() map[string]*ec2.PlacementGroup { + results := map[string]*ec2.PlacementGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.InternetGateway: + case *ec2.PlacementGroup: results[name] = resource } } return results } -// GetEC2InternetGatewayWithName retrieves all ec2.InternetGateway items from an AWS CloudFormation template +// GetEC2PlacementGroupWithName retrieves all ec2.PlacementGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2InternetGatewayWithName(name string) (*ec2.InternetGateway, error) { +func (t *Template) GetEC2PlacementGroupWithName(name string) (*ec2.PlacementGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.InternetGateway: + case *ec2.PlacementGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.InternetGateway not found", name) + return nil, fmt.Errorf("resource %q of type ec2.PlacementGroup not found", name) } -// GetAllPinpointCampaignResources retrieves all pinpoint.Campaign items from an AWS CloudFormation template -func (t *Template) GetAllPinpointCampaignResources() map[string]*pinpoint.Campaign { - results := map[string]*pinpoint.Campaign{} +// GetAllEC2RouteResources retrieves all ec2.Route items from an AWS CloudFormation template +func (t *Template) GetAllEC2RouteResources() map[string]*ec2.Route { + results := map[string]*ec2.Route{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.Campaign: + case *ec2.Route: results[name] = resource } } return results } -// GetPinpointCampaignWithName retrieves all pinpoint.Campaign items from an AWS CloudFormation template +// GetEC2RouteWithName retrieves all ec2.Route items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointCampaignWithName(name string) (*pinpoint.Campaign, error) { +func (t *Template) GetEC2RouteWithName(name string) (*ec2.Route, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.Campaign: + case *ec2.Route: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.Campaign not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Route not found", name) } -// GetAllDocDBDBClusterParameterGroupResources retrieves all docdb.DBClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBClusterParameterGroupResources() map[string]*docdb.DBClusterParameterGroup { - results := map[string]*docdb.DBClusterParameterGroup{} +// GetAllEC2RouteTableResources retrieves all ec2.RouteTable items from an AWS CloudFormation template +func (t *Template) GetAllEC2RouteTableResources() map[string]*ec2.RouteTable { + results := map[string]*ec2.RouteTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *docdb.DBClusterParameterGroup: + case *ec2.RouteTable: results[name] = resource } } return results } -// GetDocDBDBClusterParameterGroupWithName retrieves all docdb.DBClusterParameterGroup items from an AWS CloudFormation template +// GetEC2RouteTableWithName retrieves all ec2.RouteTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBClusterParameterGroupWithName(name string) (*docdb.DBClusterParameterGroup, error) { +func (t *Template) GetEC2RouteTableWithName(name string) (*ec2.RouteTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *docdb.DBClusterParameterGroup: + case *ec2.RouteTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type docdb.DBClusterParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.RouteTable not found", name) } -// GetAllGlueTriggerResources retrieves all glue.Trigger items from an AWS CloudFormation template -func (t *Template) GetAllGlueTriggerResources() map[string]*glue.Trigger { - results := map[string]*glue.Trigger{} +// GetAllEC2SecurityGroupResources retrieves all ec2.SecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupResources() map[string]*ec2.SecurityGroup { + results := map[string]*ec2.SecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Trigger: + case *ec2.SecurityGroup: results[name] = resource } } return results } -// GetGlueTriggerWithName retrieves all glue.Trigger items from an AWS CloudFormation template +// GetEC2SecurityGroupWithName retrieves all ec2.SecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueTriggerWithName(name string) (*glue.Trigger, error) { +func (t *Template) GetEC2SecurityGroupWithName(name string) (*ec2.SecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Trigger: + case *ec2.SecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Trigger not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroup not found", name) } -// GetAllCognitoUserPoolRiskConfigurationAttachmentResources retrieves all cognito.UserPoolRiskConfigurationAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolRiskConfigurationAttachmentResources() map[string]*cognito.UserPoolRiskConfigurationAttachment { - results := map[string]*cognito.UserPoolRiskConfigurationAttachment{} +// GetAllEC2SecurityGroupEgressResources retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupEgressResources() map[string]*ec2.SecurityGroupEgress { + results := map[string]*ec2.SecurityGroupEgress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolRiskConfigurationAttachment: + case *ec2.SecurityGroupEgress: results[name] = resource } } return results } -// GetCognitoUserPoolRiskConfigurationAttachmentWithName retrieves all cognito.UserPoolRiskConfigurationAttachment items from an AWS CloudFormation template +// GetEC2SecurityGroupEgressWithName retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolRiskConfigurationAttachmentWithName(name string) (*cognito.UserPoolRiskConfigurationAttachment, error) { +func (t *Template) GetEC2SecurityGroupEgressWithName(name string) (*ec2.SecurityGroupEgress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolRiskConfigurationAttachment: + case *ec2.SecurityGroupEgress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolRiskConfigurationAttachment not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupEgress not found", name) } -// GetAllSNSTopicResources retrieves all sns.Topic items from an AWS CloudFormation template -func (t *Template) GetAllSNSTopicResources() map[string]*sns.Topic { - results := map[string]*sns.Topic{} +// GetAllEC2SecurityGroupIngressResources retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupIngressResources() map[string]*ec2.SecurityGroupIngress { + results := map[string]*ec2.SecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sns.Topic: + case *ec2.SecurityGroupIngress: results[name] = resource } } return results } -// GetSNSTopicWithName retrieves all sns.Topic items from an AWS CloudFormation template +// GetEC2SecurityGroupIngressWithName retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSNSTopicWithName(name string) (*sns.Topic, error) { +func (t *Template) GetEC2SecurityGroupIngressWithName(name string) (*ec2.SecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sns.Topic: + case *ec2.SecurityGroupIngress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sns.Topic not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupIngress not found", name) } -// GetAllEC2SecurityGroupEgressResources retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template -func (t *Template) GetAllEC2SecurityGroupEgressResources() map[string]*ec2.SecurityGroupEgress { - results := map[string]*ec2.SecurityGroupEgress{} +// GetAllEC2SpotFleetResources retrieves all ec2.SpotFleet items from an AWS CloudFormation template +func (t *Template) GetAllEC2SpotFleetResources() map[string]*ec2.SpotFleet { + results := map[string]*ec2.SpotFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SecurityGroupEgress: + case *ec2.SpotFleet: results[name] = resource } } return results } -// GetEC2SecurityGroupEgressWithName retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template +// GetEC2SpotFleetWithName retrieves all ec2.SpotFleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SecurityGroupEgressWithName(name string) (*ec2.SecurityGroupEgress, error) { +func (t *Template) GetEC2SpotFleetWithName(name string) (*ec2.SpotFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SecurityGroupEgress: + case *ec2.SpotFleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupEgress not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SpotFleet not found", name) } -// GetAllLambdaVersionResources retrieves all lambda.Version items from an AWS CloudFormation template -func (t *Template) GetAllLambdaVersionResources() map[string]*lambda.Version { - results := map[string]*lambda.Version{} +// GetAllEC2SubnetResources retrieves all ec2.Subnet items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetResources() map[string]*ec2.Subnet { + results := map[string]*ec2.Subnet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.Version: + case *ec2.Subnet: results[name] = resource } } return results } -// GetLambdaVersionWithName retrieves all lambda.Version items from an AWS CloudFormation template +// GetEC2SubnetWithName retrieves all ec2.Subnet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaVersionWithName(name string) (*lambda.Version, error) { +func (t *Template) GetEC2SubnetWithName(name string) (*ec2.Subnet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.Version: + case *ec2.Subnet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.Version not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Subnet not found", name) } -// GetAllOpsWorksVolumeResources retrieves all opsworks.Volume items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksVolumeResources() map[string]*opsworks.Volume { - results := map[string]*opsworks.Volume{} +// GetAllEC2SubnetCidrBlockResources retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetCidrBlockResources() map[string]*ec2.SubnetCidrBlock { + results := map[string]*ec2.SubnetCidrBlock{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.Volume: + case *ec2.SubnetCidrBlock: results[name] = resource } } return results } -// GetOpsWorksVolumeWithName retrieves all opsworks.Volume items from an AWS CloudFormation template +// GetEC2SubnetCidrBlockWithName retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksVolumeWithName(name string) (*opsworks.Volume, error) { +func (t *Template) GetEC2SubnetCidrBlockWithName(name string) (*ec2.SubnetCidrBlock, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.Volume: + case *ec2.SubnetCidrBlock: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.Volume not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SubnetCidrBlock not found", name) } -// GetAllConfigRemediationConfigurationResources retrieves all config.RemediationConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllConfigRemediationConfigurationResources() map[string]*config.RemediationConfiguration { - results := map[string]*config.RemediationConfiguration{} +// GetAllEC2SubnetNetworkAclAssociationResources retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetNetworkAclAssociationResources() map[string]*ec2.SubnetNetworkAclAssociation { + results := map[string]*ec2.SubnetNetworkAclAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.RemediationConfiguration: + case *ec2.SubnetNetworkAclAssociation: results[name] = resource } } return results } -// GetConfigRemediationConfigurationWithName retrieves all config.RemediationConfiguration items from an AWS CloudFormation template +// GetEC2SubnetNetworkAclAssociationWithName retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigRemediationConfigurationWithName(name string) (*config.RemediationConfiguration, error) { +func (t *Template) GetEC2SubnetNetworkAclAssociationWithName(name string) (*ec2.SubnetNetworkAclAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.RemediationConfiguration: + case *ec2.SubnetNetworkAclAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.RemediationConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SubnetNetworkAclAssociation not found", name) } -// GetAllServiceCatalogAcceptedPortfolioShareResources retrieves all servicecatalog.AcceptedPortfolioShare items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogAcceptedPortfolioShareResources() map[string]*servicecatalog.AcceptedPortfolioShare { - results := map[string]*servicecatalog.AcceptedPortfolioShare{} +// GetAllEC2SubnetRouteTableAssociationResources retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetRouteTableAssociationResources() map[string]*ec2.SubnetRouteTableAssociation { + results := map[string]*ec2.SubnetRouteTableAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.AcceptedPortfolioShare: + case *ec2.SubnetRouteTableAssociation: results[name] = resource } } return results } -// GetServiceCatalogAcceptedPortfolioShareWithName retrieves all servicecatalog.AcceptedPortfolioShare items from an AWS CloudFormation template +// GetEC2SubnetRouteTableAssociationWithName retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogAcceptedPortfolioShareWithName(name string) (*servicecatalog.AcceptedPortfolioShare, error) { +func (t *Template) GetEC2SubnetRouteTableAssociationWithName(name string) (*ec2.SubnetRouteTableAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.AcceptedPortfolioShare: + case *ec2.SubnetRouteTableAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.AcceptedPortfolioShare not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SubnetRouteTableAssociation not found", name) } -// GetAllEC2VPNGatewayResources retrieves all ec2.VPNGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNGatewayResources() map[string]*ec2.VPNGateway { - results := map[string]*ec2.VPNGateway{} +// GetAllEC2TrafficMirrorFilterResources retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorFilterResources() map[string]*ec2.TrafficMirrorFilter { + results := map[string]*ec2.TrafficMirrorFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPNGateway: + case *ec2.TrafficMirrorFilter: results[name] = resource } } return results } -// GetEC2VPNGatewayWithName retrieves all ec2.VPNGateway items from an AWS CloudFormation template +// GetEC2TrafficMirrorFilterWithName retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNGatewayWithName(name string) (*ec2.VPNGateway, error) { +func (t *Template) GetEC2TrafficMirrorFilterWithName(name string) (*ec2.TrafficMirrorFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPNGateway: + case *ec2.TrafficMirrorFilter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPNGateway not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilter not found", name) } -// GetAllNeptuneDBParameterGroupResources retrieves all neptune.DBParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBParameterGroupResources() map[string]*neptune.DBParameterGroup { - results := map[string]*neptune.DBParameterGroup{} +// GetAllEC2TrafficMirrorFilterRuleResources retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorFilterRuleResources() map[string]*ec2.TrafficMirrorFilterRule { + results := map[string]*ec2.TrafficMirrorFilterRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *neptune.DBParameterGroup: + case *ec2.TrafficMirrorFilterRule: results[name] = resource } } return results } -// GetNeptuneDBParameterGroupWithName retrieves all neptune.DBParameterGroup items from an AWS CloudFormation template +// GetEC2TrafficMirrorFilterRuleWithName retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBParameterGroupWithName(name string) (*neptune.DBParameterGroup, error) { +func (t *Template) GetEC2TrafficMirrorFilterRuleWithName(name string) (*ec2.TrafficMirrorFilterRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *neptune.DBParameterGroup: + case *ec2.TrafficMirrorFilterRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type neptune.DBParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilterRule not found", name) } -// GetAllElastiCacheParameterGroupResources retrieves all elasticache.ParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheParameterGroupResources() map[string]*elasticache.ParameterGroup { - results := map[string]*elasticache.ParameterGroup{} +// GetAllEC2TrafficMirrorSessionResources retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorSessionResources() map[string]*ec2.TrafficMirrorSession { + results := map[string]*ec2.TrafficMirrorSession{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticache.ParameterGroup: + case *ec2.TrafficMirrorSession: results[name] = resource } } return results } -// GetElastiCacheParameterGroupWithName retrieves all elasticache.ParameterGroup items from an AWS CloudFormation template +// GetEC2TrafficMirrorSessionWithName retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheParameterGroupWithName(name string) (*elasticache.ParameterGroup, error) { +func (t *Template) GetEC2TrafficMirrorSessionWithName(name string) (*ec2.TrafficMirrorSession, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticache.ParameterGroup: + case *ec2.TrafficMirrorSession: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticache.ParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorSession not found", name) } -// GetAllRoboMakerRobotApplicationVersionResources retrieves all robomaker.RobotApplicationVersion items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerRobotApplicationVersionResources() map[string]*robomaker.RobotApplicationVersion { - results := map[string]*robomaker.RobotApplicationVersion{} +// GetAllEC2TrafficMirrorTargetResources retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorTargetResources() map[string]*ec2.TrafficMirrorTarget { + results := map[string]*ec2.TrafficMirrorTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *robomaker.RobotApplicationVersion: + case *ec2.TrafficMirrorTarget: results[name] = resource } } return results } -// GetRoboMakerRobotApplicationVersionWithName retrieves all robomaker.RobotApplicationVersion items from an AWS CloudFormation template +// GetEC2TrafficMirrorTargetWithName retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerRobotApplicationVersionWithName(name string) (*robomaker.RobotApplicationVersion, error) { +func (t *Template) GetEC2TrafficMirrorTargetWithName(name string) (*ec2.TrafficMirrorTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *robomaker.RobotApplicationVersion: + case *ec2.TrafficMirrorTarget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type robomaker.RobotApplicationVersion not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorTarget not found", name) } -// GetAllGlueJobResources retrieves all glue.Job items from an AWS CloudFormation template -func (t *Template) GetAllGlueJobResources() map[string]*glue.Job { - results := map[string]*glue.Job{} +// GetAllEC2TransitGatewayResources retrieves all ec2.TransitGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayResources() map[string]*ec2.TransitGateway { + results := map[string]*ec2.TransitGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Job: + case *ec2.TransitGateway: results[name] = resource } } return results } -// GetGlueJobWithName retrieves all glue.Job items from an AWS CloudFormation template +// GetEC2TransitGatewayWithName retrieves all ec2.TransitGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueJobWithName(name string) (*glue.Job, error) { +func (t *Template) GetEC2TransitGatewayWithName(name string) (*ec2.TransitGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Job: + case *ec2.TransitGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Job not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGateway not found", name) } -// GetAllGlueCrawlerResources retrieves all glue.Crawler items from an AWS CloudFormation template -func (t *Template) GetAllGlueCrawlerResources() map[string]*glue.Crawler { - results := map[string]*glue.Crawler{} +// GetAllEC2TransitGatewayAttachmentResources retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayAttachmentResources() map[string]*ec2.TransitGatewayAttachment { + results := map[string]*ec2.TransitGatewayAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Crawler: + case *ec2.TransitGatewayAttachment: results[name] = resource } } return results } -// GetGlueCrawlerWithName retrieves all glue.Crawler items from an AWS CloudFormation template +// GetEC2TransitGatewayAttachmentWithName retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueCrawlerWithName(name string) (*glue.Crawler, error) { +func (t *Template) GetEC2TransitGatewayAttachmentWithName(name string) (*ec2.TransitGatewayAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Crawler: + case *ec2.TransitGatewayAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Crawler not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayAttachment not found", name) } -// GetAllRoboMakerFleetResources retrieves all robomaker.Fleet items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerFleetResources() map[string]*robomaker.Fleet { - results := map[string]*robomaker.Fleet{} +// GetAllEC2TransitGatewayRouteResources retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteResources() map[string]*ec2.TransitGatewayRoute { + results := map[string]*ec2.TransitGatewayRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *robomaker.Fleet: + case *ec2.TransitGatewayRoute: results[name] = resource } } return results } -// GetRoboMakerFleetWithName retrieves all robomaker.Fleet items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteWithName retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerFleetWithName(name string) (*robomaker.Fleet, error) { +func (t *Template) GetEC2TransitGatewayRouteWithName(name string) (*ec2.TransitGatewayRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *robomaker.Fleet: + case *ec2.TransitGatewayRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type robomaker.Fleet not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRoute not found", name) } -// GetAllEC2SubnetRouteTableAssociationResources retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetRouteTableAssociationResources() map[string]*ec2.SubnetRouteTableAssociation { - results := map[string]*ec2.SubnetRouteTableAssociation{} +// GetAllEC2TransitGatewayRouteTableResources retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteTableResources() map[string]*ec2.TransitGatewayRouteTable { + results := map[string]*ec2.TransitGatewayRouteTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SubnetRouteTableAssociation: + case *ec2.TransitGatewayRouteTable: results[name] = resource } } return results } -// GetEC2SubnetRouteTableAssociationWithName retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteTableWithName retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetRouteTableAssociationWithName(name string) (*ec2.SubnetRouteTableAssociation, error) { +func (t *Template) GetEC2TransitGatewayRouteTableWithName(name string) (*ec2.TransitGatewayRouteTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SubnetRouteTableAssociation: + case *ec2.TransitGatewayRouteTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SubnetRouteTableAssociation not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTable not found", name) } -// GetAllLakeFormationDataLakeSettingsResources retrieves all lakeformation.DataLakeSettings items from an AWS CloudFormation template -func (t *Template) GetAllLakeFormationDataLakeSettingsResources() map[string]*lakeformation.DataLakeSettings { - results := map[string]*lakeformation.DataLakeSettings{} +// GetAllEC2TransitGatewayRouteTableAssociationResources retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteTableAssociationResources() map[string]*ec2.TransitGatewayRouteTableAssociation { + results := map[string]*ec2.TransitGatewayRouteTableAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lakeformation.DataLakeSettings: + case *ec2.TransitGatewayRouteTableAssociation: results[name] = resource } } return results } -// GetLakeFormationDataLakeSettingsWithName retrieves all lakeformation.DataLakeSettings items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteTableAssociationWithName retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLakeFormationDataLakeSettingsWithName(name string) (*lakeformation.DataLakeSettings, error) { +func (t *Template) GetEC2TransitGatewayRouteTableAssociationWithName(name string) (*ec2.TransitGatewayRouteTableAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lakeformation.DataLakeSettings: + case *ec2.TransitGatewayRouteTableAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lakeformation.DataLakeSettings not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTableAssociation not found", name) } -// GetAllElasticLoadBalancingV2ListenerCertificateResources retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2ListenerCertificateResources() map[string]*elasticloadbalancingv2.ListenerCertificate { - results := map[string]*elasticloadbalancingv2.ListenerCertificate{} +// GetAllEC2TransitGatewayRouteTablePropagationResources retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteTablePropagationResources() map[string]*ec2.TransitGatewayRouteTablePropagation { + results := map[string]*ec2.TransitGatewayRouteTablePropagation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerCertificate: + case *ec2.TransitGatewayRouteTablePropagation: results[name] = resource } } return results } -// GetElasticLoadBalancingV2ListenerCertificateWithName retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteTablePropagationWithName retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2ListenerCertificateWithName(name string) (*elasticloadbalancingv2.ListenerCertificate, error) { +func (t *Template) GetEC2TransitGatewayRouteTablePropagationWithName(name string) (*ec2.TransitGatewayRouteTablePropagation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerCertificate: + case *ec2.TransitGatewayRouteTablePropagation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerCertificate not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTablePropagation not found", name) } -// GetAllGlueSecurityConfigurationResources retrieves all glue.SecurityConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllGlueSecurityConfigurationResources() map[string]*glue.SecurityConfiguration { - results := map[string]*glue.SecurityConfiguration{} +// GetAllEC2VPCResources retrieves all ec2.VPC items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCResources() map[string]*ec2.VPC { + results := map[string]*ec2.VPC{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.SecurityConfiguration: + case *ec2.VPC: results[name] = resource } } return results } -// GetGlueSecurityConfigurationWithName retrieves all glue.SecurityConfiguration items from an AWS CloudFormation template +// GetEC2VPCWithName retrieves all ec2.VPC items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueSecurityConfigurationWithName(name string) (*glue.SecurityConfiguration, error) { +func (t *Template) GetEC2VPCWithName(name string) (*ec2.VPC, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.SecurityConfiguration: + case *ec2.VPC: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.SecurityConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPC not found", name) } -// GetAllCognitoUserPoolGroupResources retrieves all cognito.UserPoolGroup items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolGroupResources() map[string]*cognito.UserPoolGroup { - results := map[string]*cognito.UserPoolGroup{} +// GetAllEC2VPCCidrBlockResources retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCCidrBlockResources() map[string]*ec2.VPCCidrBlock { + results := map[string]*ec2.VPCCidrBlock{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolGroup: + case *ec2.VPCCidrBlock: results[name] = resource } } return results } -// GetCognitoUserPoolGroupWithName retrieves all cognito.UserPoolGroup items from an AWS CloudFormation template +// GetEC2VPCCidrBlockWithName retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolGroupWithName(name string) (*cognito.UserPoolGroup, error) { +func (t *Template) GetEC2VPCCidrBlockWithName(name string) (*ec2.VPCCidrBlock, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolGroup: + case *ec2.VPCCidrBlock: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCCidrBlock not found", name) } -// GetAllIoTAnalyticsChannelResources retrieves all iotanalytics.Channel items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsChannelResources() map[string]*iotanalytics.Channel { - results := map[string]*iotanalytics.Channel{} +// GetAllEC2VPCDHCPOptionsAssociationResources retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCDHCPOptionsAssociationResources() map[string]*ec2.VPCDHCPOptionsAssociation { + results := map[string]*ec2.VPCDHCPOptionsAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotanalytics.Channel: + case *ec2.VPCDHCPOptionsAssociation: results[name] = resource } } return results } -// GetIoTAnalyticsChannelWithName retrieves all iotanalytics.Channel items from an AWS CloudFormation template +// GetEC2VPCDHCPOptionsAssociationWithName retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsChannelWithName(name string) (*iotanalytics.Channel, error) { +func (t *Template) GetEC2VPCDHCPOptionsAssociationWithName(name string) (*ec2.VPCDHCPOptionsAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotanalytics.Channel: + case *ec2.VPCDHCPOptionsAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotanalytics.Channel not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCDHCPOptionsAssociation not found", name) } -// GetAllGreengrassGroupResources retrieves all greengrass.Group items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassGroupResources() map[string]*greengrass.Group { - results := map[string]*greengrass.Group{} +// GetAllEC2VPCEndpointResources retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointResources() map[string]*ec2.VPCEndpoint { + results := map[string]*ec2.VPCEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.Group: + case *ec2.VPCEndpoint: results[name] = resource } } return results } -// GetGreengrassGroupWithName retrieves all greengrass.Group items from an AWS CloudFormation template +// GetEC2VPCEndpointWithName retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassGroupWithName(name string) (*greengrass.Group, error) { +func (t *Template) GetEC2VPCEndpointWithName(name string) (*ec2.VPCEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.Group: + case *ec2.VPCEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.Group not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpoint not found", name) } -// GetAllMediaLiveInputSecurityGroupResources retrieves all medialive.InputSecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllMediaLiveInputSecurityGroupResources() map[string]*medialive.InputSecurityGroup { - results := map[string]*medialive.InputSecurityGroup{} +// GetAllEC2VPCEndpointConnectionNotificationResources retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointConnectionNotificationResources() map[string]*ec2.VPCEndpointConnectionNotification { + results := map[string]*ec2.VPCEndpointConnectionNotification{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *medialive.InputSecurityGroup: + case *ec2.VPCEndpointConnectionNotification: results[name] = resource } } return results } -// GetMediaLiveInputSecurityGroupWithName retrieves all medialive.InputSecurityGroup items from an AWS CloudFormation template +// GetEC2VPCEndpointConnectionNotificationWithName retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaLiveInputSecurityGroupWithName(name string) (*medialive.InputSecurityGroup, error) { +func (t *Template) GetEC2VPCEndpointConnectionNotificationWithName(name string) (*ec2.VPCEndpointConnectionNotification, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *medialive.InputSecurityGroup: + case *ec2.VPCEndpointConnectionNotification: return resource, nil } } - return nil, fmt.Errorf("resource %q of type medialive.InputSecurityGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointConnectionNotification not found", name) } -// GetAllWAFWebACLResources retrieves all waf.WebACL items from an AWS CloudFormation template -func (t *Template) GetAllWAFWebACLResources() map[string]*waf.WebACL { - results := map[string]*waf.WebACL{} +// GetAllEC2VPCEndpointServiceResources retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointServiceResources() map[string]*ec2.VPCEndpointService { + results := map[string]*ec2.VPCEndpointService{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.WebACL: + case *ec2.VPCEndpointService: results[name] = resource } } return results } -// GetWAFWebACLWithName retrieves all waf.WebACL items from an AWS CloudFormation template +// GetEC2VPCEndpointServiceWithName retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFWebACLWithName(name string) (*waf.WebACL, error) { +func (t *Template) GetEC2VPCEndpointServiceWithName(name string) (*ec2.VPCEndpointService, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.WebACL: + case *ec2.VPCEndpointService: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.WebACL not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointService not found", name) } -// GetAllRoute53RecordSetGroupResources retrieves all route53.RecordSetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecordSetGroupResources() map[string]*route53.RecordSetGroup { - results := map[string]*route53.RecordSetGroup{} +// GetAllEC2VPCEndpointServicePermissionsResources retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointServicePermissionsResources() map[string]*ec2.VPCEndpointServicePermissions { + results := map[string]*ec2.VPCEndpointServicePermissions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53.RecordSetGroup: + case *ec2.VPCEndpointServicePermissions: results[name] = resource } } return results } -// GetRoute53RecordSetGroupWithName retrieves all route53.RecordSetGroup items from an AWS CloudFormation template +// GetEC2VPCEndpointServicePermissionsWithName retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecordSetGroupWithName(name string) (*route53.RecordSetGroup, error) { +func (t *Template) GetEC2VPCEndpointServicePermissionsWithName(name string) (*ec2.VPCEndpointServicePermissions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53.RecordSetGroup: + case *ec2.VPCEndpointServicePermissions: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53.RecordSetGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointServicePermissions not found", name) } -// GetAllApiGatewayMethodResources retrieves all apigateway.Method items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayMethodResources() map[string]*apigateway.Method { - results := map[string]*apigateway.Method{} +// GetAllEC2VPCGatewayAttachmentResources retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCGatewayAttachmentResources() map[string]*ec2.VPCGatewayAttachment { + results := map[string]*ec2.VPCGatewayAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Method: + case *ec2.VPCGatewayAttachment: results[name] = resource } } return results } -// GetApiGatewayMethodWithName retrieves all apigateway.Method items from an AWS CloudFormation template +// GetEC2VPCGatewayAttachmentWithName retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayMethodWithName(name string) (*apigateway.Method, error) { +func (t *Template) GetEC2VPCGatewayAttachmentWithName(name string) (*ec2.VPCGatewayAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Method: + case *ec2.VPCGatewayAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Method not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCGatewayAttachment not found", name) } -// GetAllWAFIPSetResources retrieves all waf.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFIPSetResources() map[string]*waf.IPSet { - results := map[string]*waf.IPSet{} +// GetAllEC2VPCPeeringConnectionResources retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCPeeringConnectionResources() map[string]*ec2.VPCPeeringConnection { + results := map[string]*ec2.VPCPeeringConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.IPSet: + case *ec2.VPCPeeringConnection: results[name] = resource } } return results } -// GetWAFIPSetWithName retrieves all waf.IPSet items from an AWS CloudFormation template +// GetEC2VPCPeeringConnectionWithName retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFIPSetWithName(name string) (*waf.IPSet, error) { +func (t *Template) GetEC2VPCPeeringConnectionWithName(name string) (*ec2.VPCPeeringConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.IPSet: + case *ec2.VPCPeeringConnection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.IPSet not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCPeeringConnection not found", name) } -// GetAllAppSyncGraphQLApiResources retrieves all appsync.GraphQLApi items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncGraphQLApiResources() map[string]*appsync.GraphQLApi { - results := map[string]*appsync.GraphQLApi{} +// GetAllEC2VPNConnectionResources retrieves all ec2.VPNConnection items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNConnectionResources() map[string]*ec2.VPNConnection { + results := map[string]*ec2.VPNConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.GraphQLApi: + case *ec2.VPNConnection: results[name] = resource } } return results } -// GetAppSyncGraphQLApiWithName retrieves all appsync.GraphQLApi items from an AWS CloudFormation template +// GetEC2VPNConnectionWithName retrieves all ec2.VPNConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncGraphQLApiWithName(name string) (*appsync.GraphQLApi, error) { +func (t *Template) GetEC2VPNConnectionWithName(name string) (*ec2.VPNConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.GraphQLApi: + case *ec2.VPNConnection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.GraphQLApi not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNConnection not found", name) } -// GetAllCloudFrontDistributionResources retrieves all cloudfront.Distribution items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontDistributionResources() map[string]*cloudfront.Distribution { - results := map[string]*cloudfront.Distribution{} +// GetAllEC2VPNConnectionRouteResources retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNConnectionRouteResources() map[string]*ec2.VPNConnectionRoute { + results := map[string]*ec2.VPNConnectionRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudfront.Distribution: + case *ec2.VPNConnectionRoute: results[name] = resource } } return results } -// GetCloudFrontDistributionWithName retrieves all cloudfront.Distribution items from an AWS CloudFormation template +// GetEC2VPNConnectionRouteWithName retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontDistributionWithName(name string) (*cloudfront.Distribution, error) { +func (t *Template) GetEC2VPNConnectionRouteWithName(name string) (*ec2.VPNConnectionRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudfront.Distribution: + case *ec2.VPNConnectionRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudfront.Distribution not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNConnectionRoute not found", name) } -// GetAllCognitoUserPoolResources retrieves all cognito.UserPool items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolResources() map[string]*cognito.UserPool { - results := map[string]*cognito.UserPool{} +// GetAllEC2VPNGatewayResources retrieves all ec2.VPNGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNGatewayResources() map[string]*ec2.VPNGateway { + results := map[string]*ec2.VPNGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPool: + case *ec2.VPNGateway: results[name] = resource } } return results } -// GetCognitoUserPoolWithName retrieves all cognito.UserPool items from an AWS CloudFormation template +// GetEC2VPNGatewayWithName retrieves all ec2.VPNGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolWithName(name string) (*cognito.UserPool, error) { +func (t *Template) GetEC2VPNGatewayWithName(name string) (*ec2.VPNGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPool: + case *ec2.VPNGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPool not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNGateway not found", name) } -// GetAllPinpointEmailDedicatedIpPoolResources retrieves all pinpointemail.DedicatedIpPool items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailDedicatedIpPoolResources() map[string]*pinpointemail.DedicatedIpPool { - results := map[string]*pinpointemail.DedicatedIpPool{} +// GetAllEC2VPNGatewayRoutePropagationResources retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNGatewayRoutePropagationResources() map[string]*ec2.VPNGatewayRoutePropagation { + results := map[string]*ec2.VPNGatewayRoutePropagation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpointemail.DedicatedIpPool: + case *ec2.VPNGatewayRoutePropagation: results[name] = resource } } return results } -// GetPinpointEmailDedicatedIpPoolWithName retrieves all pinpointemail.DedicatedIpPool items from an AWS CloudFormation template +// GetEC2VPNGatewayRoutePropagationWithName retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailDedicatedIpPoolWithName(name string) (*pinpointemail.DedicatedIpPool, error) { +func (t *Template) GetEC2VPNGatewayRoutePropagationWithName(name string) (*ec2.VPNGatewayRoutePropagation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpointemail.DedicatedIpPool: + case *ec2.VPNGatewayRoutePropagation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpointemail.DedicatedIpPool not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNGatewayRoutePropagation not found", name) } -// GetAllRDSOptionGroupResources retrieves all rds.OptionGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSOptionGroupResources() map[string]*rds.OptionGroup { - results := map[string]*rds.OptionGroup{} +// GetAllEC2VolumeResources retrieves all ec2.Volume items from an AWS CloudFormation template +func (t *Template) GetAllEC2VolumeResources() map[string]*ec2.Volume { + results := map[string]*ec2.Volume{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.OptionGroup: + case *ec2.Volume: results[name] = resource } } return results } -// GetRDSOptionGroupWithName retrieves all rds.OptionGroup items from an AWS CloudFormation template +// GetEC2VolumeWithName retrieves all ec2.Volume items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSOptionGroupWithName(name string) (*rds.OptionGroup, error) { +func (t *Template) GetEC2VolumeWithName(name string) (*ec2.Volume, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.OptionGroup: + case *ec2.Volume: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.OptionGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Volume not found", name) } -// GetAllInspectorAssessmentTemplateResources retrieves all inspector.AssessmentTemplate items from an AWS CloudFormation template -func (t *Template) GetAllInspectorAssessmentTemplateResources() map[string]*inspector.AssessmentTemplate { - results := map[string]*inspector.AssessmentTemplate{} +// GetAllEC2VolumeAttachmentResources retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2VolumeAttachmentResources() map[string]*ec2.VolumeAttachment { + results := map[string]*ec2.VolumeAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *inspector.AssessmentTemplate: + case *ec2.VolumeAttachment: results[name] = resource } } return results } -// GetInspectorAssessmentTemplateWithName retrieves all inspector.AssessmentTemplate items from an AWS CloudFormation template +// GetEC2VolumeAttachmentWithName retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetInspectorAssessmentTemplateWithName(name string) (*inspector.AssessmentTemplate, error) { +func (t *Template) GetEC2VolumeAttachmentWithName(name string) (*ec2.VolumeAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *inspector.AssessmentTemplate: + case *ec2.VolumeAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type inspector.AssessmentTemplate not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VolumeAttachment not found", name) } -// GetAllWAFRegionalSqlInjectionMatchSetResources retrieves all wafregional.SqlInjectionMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalSqlInjectionMatchSetResources() map[string]*wafregional.SqlInjectionMatchSet { - results := map[string]*wafregional.SqlInjectionMatchSet{} +// GetAllECRRepositoryResources retrieves all ecr.Repository items from an AWS CloudFormation template +func (t *Template) GetAllECRRepositoryResources() map[string]*ecr.Repository { + results := map[string]*ecr.Repository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.SqlInjectionMatchSet: + case *ecr.Repository: results[name] = resource } } return results } -// GetWAFRegionalSqlInjectionMatchSetWithName retrieves all wafregional.SqlInjectionMatchSet items from an AWS CloudFormation template +// GetECRRepositoryWithName retrieves all ecr.Repository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalSqlInjectionMatchSetWithName(name string) (*wafregional.SqlInjectionMatchSet, error) { +func (t *Template) GetECRRepositoryWithName(name string) (*ecr.Repository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.SqlInjectionMatchSet: + case *ecr.Repository: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.SqlInjectionMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type ecr.Repository not found", name) } -// GetAllEC2EC2FleetResources retrieves all ec2.EC2Fleet items from an AWS CloudFormation template -func (t *Template) GetAllEC2EC2FleetResources() map[string]*ec2.EC2Fleet { - results := map[string]*ec2.EC2Fleet{} +// GetAllECSClusterResources retrieves all ecs.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllECSClusterResources() map[string]*ecs.Cluster { + results := map[string]*ecs.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.EC2Fleet: + case *ecs.Cluster: results[name] = resource } } return results } -// GetEC2EC2FleetWithName retrieves all ec2.EC2Fleet items from an AWS CloudFormation template +// GetECSClusterWithName retrieves all ecs.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EC2FleetWithName(name string) (*ec2.EC2Fleet, error) { +func (t *Template) GetECSClusterWithName(name string) (*ecs.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.EC2Fleet: + case *ecs.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.EC2Fleet not found", name) + return nil, fmt.Errorf("resource %q of type ecs.Cluster not found", name) } -// GetAllWorkSpacesWorkspaceResources retrieves all workspaces.Workspace items from an AWS CloudFormation template -func (t *Template) GetAllWorkSpacesWorkspaceResources() map[string]*workspaces.Workspace { - results := map[string]*workspaces.Workspace{} +// GetAllECSServiceResources retrieves all ecs.Service items from an AWS CloudFormation template +func (t *Template) GetAllECSServiceResources() map[string]*ecs.Service { + results := map[string]*ecs.Service{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *workspaces.Workspace: + case *ecs.Service: results[name] = resource } } return results } -// GetWorkSpacesWorkspaceWithName retrieves all workspaces.Workspace items from an AWS CloudFormation template +// GetECSServiceWithName retrieves all ecs.Service items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWorkSpacesWorkspaceWithName(name string) (*workspaces.Workspace, error) { +func (t *Template) GetECSServiceWithName(name string) (*ecs.Service, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *workspaces.Workspace: + case *ecs.Service: return resource, nil } } - return nil, fmt.Errorf("resource %q of type workspaces.Workspace not found", name) + return nil, fmt.Errorf("resource %q of type ecs.Service not found", name) } -// GetAllRoboMakerSimulationApplicationVersionResources retrieves all robomaker.SimulationApplicationVersion items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerSimulationApplicationVersionResources() map[string]*robomaker.SimulationApplicationVersion { - results := map[string]*robomaker.SimulationApplicationVersion{} +// GetAllECSTaskDefinitionResources retrieves all ecs.TaskDefinition items from an AWS CloudFormation template +func (t *Template) GetAllECSTaskDefinitionResources() map[string]*ecs.TaskDefinition { + results := map[string]*ecs.TaskDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *robomaker.SimulationApplicationVersion: + case *ecs.TaskDefinition: results[name] = resource } } return results } -// GetRoboMakerSimulationApplicationVersionWithName retrieves all robomaker.SimulationApplicationVersion items from an AWS CloudFormation template +// GetECSTaskDefinitionWithName retrieves all ecs.TaskDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerSimulationApplicationVersionWithName(name string) (*robomaker.SimulationApplicationVersion, error) { +func (t *Template) GetECSTaskDefinitionWithName(name string) (*ecs.TaskDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *robomaker.SimulationApplicationVersion: + case *ecs.TaskDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type robomaker.SimulationApplicationVersion not found", name) + return nil, fmt.Errorf("resource %q of type ecs.TaskDefinition not found", name) } -// GetAllApiGatewayV2DomainNameResources retrieves all apigatewayv2.DomainName items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2DomainNameResources() map[string]*apigatewayv2.DomainName { - results := map[string]*apigatewayv2.DomainName{} +// GetAllEFSFileSystemResources retrieves all efs.FileSystem items from an AWS CloudFormation template +func (t *Template) GetAllEFSFileSystemResources() map[string]*efs.FileSystem { + results := map[string]*efs.FileSystem{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.DomainName: + case *efs.FileSystem: results[name] = resource } } return results } -// GetApiGatewayV2DomainNameWithName retrieves all apigatewayv2.DomainName items from an AWS CloudFormation template +// GetEFSFileSystemWithName retrieves all efs.FileSystem items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2DomainNameWithName(name string) (*apigatewayv2.DomainName, error) { +func (t *Template) GetEFSFileSystemWithName(name string) (*efs.FileSystem, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.DomainName: + case *efs.FileSystem: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.DomainName not found", name) + return nil, fmt.Errorf("resource %q of type efs.FileSystem not found", name) } -// GetAllNeptuneDBClusterParameterGroupResources retrieves all neptune.DBClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBClusterParameterGroupResources() map[string]*neptune.DBClusterParameterGroup { - results := map[string]*neptune.DBClusterParameterGroup{} +// GetAllEFSMountTargetResources retrieves all efs.MountTarget items from an AWS CloudFormation template +func (t *Template) GetAllEFSMountTargetResources() map[string]*efs.MountTarget { + results := map[string]*efs.MountTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *neptune.DBClusterParameterGroup: + case *efs.MountTarget: results[name] = resource } } return results } -// GetNeptuneDBClusterParameterGroupWithName retrieves all neptune.DBClusterParameterGroup items from an AWS CloudFormation template +// GetEFSMountTargetWithName retrieves all efs.MountTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBClusterParameterGroupWithName(name string) (*neptune.DBClusterParameterGroup, error) { +func (t *Template) GetEFSMountTargetWithName(name string) (*efs.MountTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *neptune.DBClusterParameterGroup: + case *efs.MountTarget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type neptune.DBClusterParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type efs.MountTarget not found", name) } -// GetAllApiGatewayBasePathMappingResources retrieves all apigateway.BasePathMapping items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayBasePathMappingResources() map[string]*apigateway.BasePathMapping { - results := map[string]*apigateway.BasePathMapping{} +// GetAllEKSClusterResources retrieves all eks.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllEKSClusterResources() map[string]*eks.Cluster { + results := map[string]*eks.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.BasePathMapping: + case *eks.Cluster: results[name] = resource } } return results } -// GetApiGatewayBasePathMappingWithName retrieves all apigateway.BasePathMapping items from an AWS CloudFormation template +// GetEKSClusterWithName retrieves all eks.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayBasePathMappingWithName(name string) (*apigateway.BasePathMapping, error) { +func (t *Template) GetEKSClusterWithName(name string) (*eks.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.BasePathMapping: + case *eks.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.BasePathMapping not found", name) + return nil, fmt.Errorf("resource %q of type eks.Cluster not found", name) } -// GetAllServiceCatalogResourceUpdateConstraintResources retrieves all servicecatalog.ResourceUpdateConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogResourceUpdateConstraintResources() map[string]*servicecatalog.ResourceUpdateConstraint { - results := map[string]*servicecatalog.ResourceUpdateConstraint{} +// GetAllEMRClusterResources retrieves all emr.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllEMRClusterResources() map[string]*emr.Cluster { + results := map[string]*emr.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.ResourceUpdateConstraint: + case *emr.Cluster: results[name] = resource } } return results } -// GetServiceCatalogResourceUpdateConstraintWithName retrieves all servicecatalog.ResourceUpdateConstraint items from an AWS CloudFormation template +// GetEMRClusterWithName retrieves all emr.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogResourceUpdateConstraintWithName(name string) (*servicecatalog.ResourceUpdateConstraint, error) { +func (t *Template) GetEMRClusterWithName(name string) (*emr.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.ResourceUpdateConstraint: + case *emr.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.ResourceUpdateConstraint not found", name) + return nil, fmt.Errorf("resource %q of type emr.Cluster not found", name) } -// GetAllIAMServiceLinkedRoleResources retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template -func (t *Template) GetAllIAMServiceLinkedRoleResources() map[string]*iam.ServiceLinkedRole { - results := map[string]*iam.ServiceLinkedRole{} +// GetAllEMRInstanceFleetConfigResources retrieves all emr.InstanceFleetConfig items from an AWS CloudFormation template +func (t *Template) GetAllEMRInstanceFleetConfigResources() map[string]*emr.InstanceFleetConfig { + results := map[string]*emr.InstanceFleetConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.ServiceLinkedRole: + case *emr.InstanceFleetConfig: results[name] = resource } } return results } -// GetIAMServiceLinkedRoleWithName retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template +// GetEMRInstanceFleetConfigWithName retrieves all emr.InstanceFleetConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMServiceLinkedRoleWithName(name string) (*iam.ServiceLinkedRole, error) { +func (t *Template) GetEMRInstanceFleetConfigWithName(name string) (*emr.InstanceFleetConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.ServiceLinkedRole: + case *emr.InstanceFleetConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.ServiceLinkedRole not found", name) + return nil, fmt.Errorf("resource %q of type emr.InstanceFleetConfig not found", name) } -// GetAllSageMakerEndpointConfigResources retrieves all sagemaker.EndpointConfig items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerEndpointConfigResources() map[string]*sagemaker.EndpointConfig { - results := map[string]*sagemaker.EndpointConfig{} +// GetAllEMRInstanceGroupConfigResources retrieves all emr.InstanceGroupConfig items from an AWS CloudFormation template +func (t *Template) GetAllEMRInstanceGroupConfigResources() map[string]*emr.InstanceGroupConfig { + results := map[string]*emr.InstanceGroupConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.EndpointConfig: + case *emr.InstanceGroupConfig: results[name] = resource } } return results } -// GetSageMakerEndpointConfigWithName retrieves all sagemaker.EndpointConfig items from an AWS CloudFormation template +// GetEMRInstanceGroupConfigWithName retrieves all emr.InstanceGroupConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerEndpointConfigWithName(name string) (*sagemaker.EndpointConfig, error) { +func (t *Template) GetEMRInstanceGroupConfigWithName(name string) (*emr.InstanceGroupConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.EndpointConfig: + case *emr.InstanceGroupConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.EndpointConfig not found", name) + return nil, fmt.Errorf("resource %q of type emr.InstanceGroupConfig not found", name) } -// GetAllOpsWorksElasticLoadBalancerAttachmentResources retrieves all opsworks.ElasticLoadBalancerAttachment items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksElasticLoadBalancerAttachmentResources() map[string]*opsworks.ElasticLoadBalancerAttachment { - results := map[string]*opsworks.ElasticLoadBalancerAttachment{} +// GetAllEMRSecurityConfigurationResources retrieves all emr.SecurityConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllEMRSecurityConfigurationResources() map[string]*emr.SecurityConfiguration { + results := map[string]*emr.SecurityConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.ElasticLoadBalancerAttachment: + case *emr.SecurityConfiguration: results[name] = resource } } return results } -// GetOpsWorksElasticLoadBalancerAttachmentWithName retrieves all opsworks.ElasticLoadBalancerAttachment items from an AWS CloudFormation template +// GetEMRSecurityConfigurationWithName retrieves all emr.SecurityConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksElasticLoadBalancerAttachmentWithName(name string) (*opsworks.ElasticLoadBalancerAttachment, error) { +func (t *Template) GetEMRSecurityConfigurationWithName(name string) (*emr.SecurityConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.ElasticLoadBalancerAttachment: + case *emr.SecurityConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.ElasticLoadBalancerAttachment not found", name) + return nil, fmt.Errorf("resource %q of type emr.SecurityConfiguration not found", name) } -// GetAllEC2EIPAssociationResources retrieves all ec2.EIPAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2EIPAssociationResources() map[string]*ec2.EIPAssociation { - results := map[string]*ec2.EIPAssociation{} +// GetAllEMRStepResources retrieves all emr.Step items from an AWS CloudFormation template +func (t *Template) GetAllEMRStepResources() map[string]*emr.Step { + results := map[string]*emr.Step{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.EIPAssociation: + case *emr.Step: results[name] = resource } } return results } -// GetEC2EIPAssociationWithName retrieves all ec2.EIPAssociation items from an AWS CloudFormation template +// GetEMRStepWithName retrieves all emr.Step items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EIPAssociationWithName(name string) (*ec2.EIPAssociation, error) { +func (t *Template) GetEMRStepWithName(name string) (*emr.Step, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.EIPAssociation: + case *emr.Step: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.EIPAssociation not found", name) + return nil, fmt.Errorf("resource %q of type emr.Step not found", name) } -// GetAllCognitoUserPoolIdentityProviderResources retrieves all cognito.UserPoolIdentityProvider items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolIdentityProviderResources() map[string]*cognito.UserPoolIdentityProvider { - results := map[string]*cognito.UserPoolIdentityProvider{} +// GetAllElastiCacheCacheClusterResources retrieves all elasticache.CacheCluster items from an AWS CloudFormation template +func (t *Template) GetAllElastiCacheCacheClusterResources() map[string]*elasticache.CacheCluster { + results := map[string]*elasticache.CacheCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolIdentityProvider: + case *elasticache.CacheCluster: results[name] = resource } } return results } -// GetCognitoUserPoolIdentityProviderWithName retrieves all cognito.UserPoolIdentityProvider items from an AWS CloudFormation template +// GetElastiCacheCacheClusterWithName retrieves all elasticache.CacheCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolIdentityProviderWithName(name string) (*cognito.UserPoolIdentityProvider, error) { +func (t *Template) GetElastiCacheCacheClusterWithName(name string) (*elasticache.CacheCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolIdentityProvider: + case *elasticache.CacheCluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolIdentityProvider not found", name) + return nil, fmt.Errorf("resource %q of type elasticache.CacheCluster not found", name) } -// GetAllLambdaPermissionResources retrieves all lambda.Permission items from an AWS CloudFormation template -func (t *Template) GetAllLambdaPermissionResources() map[string]*lambda.Permission { - results := map[string]*lambda.Permission{} +// GetAllElastiCacheParameterGroupResources retrieves all elasticache.ParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllElastiCacheParameterGroupResources() map[string]*elasticache.ParameterGroup { + results := map[string]*elasticache.ParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.Permission: + case *elasticache.ParameterGroup: results[name] = resource } } return results } -// GetLambdaPermissionWithName retrieves all lambda.Permission items from an AWS CloudFormation template +// GetElastiCacheParameterGroupWithName retrieves all elasticache.ParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaPermissionWithName(name string) (*lambda.Permission, error) { +func (t *Template) GetElastiCacheParameterGroupWithName(name string) (*elasticache.ParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.Permission: + case *elasticache.ParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.Permission not found", name) + return nil, fmt.Errorf("resource %q of type elasticache.ParameterGroup not found", name) } -// GetAllAppMeshMeshResources retrieves all appmesh.Mesh items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshMeshResources() map[string]*appmesh.Mesh { - results := map[string]*appmesh.Mesh{} +// GetAllElastiCacheReplicationGroupResources retrieves all elasticache.ReplicationGroup items from an AWS CloudFormation template +func (t *Template) GetAllElastiCacheReplicationGroupResources() map[string]*elasticache.ReplicationGroup { + results := map[string]*elasticache.ReplicationGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.Mesh: + case *elasticache.ReplicationGroup: results[name] = resource } } return results } -// GetAppMeshMeshWithName retrieves all appmesh.Mesh items from an AWS CloudFormation template +// GetElastiCacheReplicationGroupWithName retrieves all elasticache.ReplicationGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshMeshWithName(name string) (*appmesh.Mesh, error) { +func (t *Template) GetElastiCacheReplicationGroupWithName(name string) (*elasticache.ReplicationGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.Mesh: + case *elasticache.ReplicationGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.Mesh not found", name) + return nil, fmt.Errorf("resource %q of type elasticache.ReplicationGroup not found", name) } -// GetAllGuardDutyIPSetResources retrieves all guardduty.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyIPSetResources() map[string]*guardduty.IPSet { - results := map[string]*guardduty.IPSet{} +// GetAllElastiCacheSecurityGroupResources retrieves all elasticache.SecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllElastiCacheSecurityGroupResources() map[string]*elasticache.SecurityGroup { + results := map[string]*elasticache.SecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *guardduty.IPSet: + case *elasticache.SecurityGroup: results[name] = resource } } return results } -// GetGuardDutyIPSetWithName retrieves all guardduty.IPSet items from an AWS CloudFormation template +// GetElastiCacheSecurityGroupWithName retrieves all elasticache.SecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyIPSetWithName(name string) (*guardduty.IPSet, error) { +func (t *Template) GetElastiCacheSecurityGroupWithName(name string) (*elasticache.SecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *guardduty.IPSet: + case *elasticache.SecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type guardduty.IPSet not found", name) + return nil, fmt.Errorf("resource %q of type elasticache.SecurityGroup not found", name) } -// GetAllEC2EIPResources retrieves all ec2.EIP items from an AWS CloudFormation template -func (t *Template) GetAllEC2EIPResources() map[string]*ec2.EIP { - results := map[string]*ec2.EIP{} +// GetAllElastiCacheSecurityGroupIngressResources retrieves all elasticache.SecurityGroupIngress items from an AWS CloudFormation template +func (t *Template) GetAllElastiCacheSecurityGroupIngressResources() map[string]*elasticache.SecurityGroupIngress { + results := map[string]*elasticache.SecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.EIP: + case *elasticache.SecurityGroupIngress: results[name] = resource } } return results } -// GetEC2EIPWithName retrieves all ec2.EIP items from an AWS CloudFormation template +// GetElastiCacheSecurityGroupIngressWithName retrieves all elasticache.SecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EIPWithName(name string) (*ec2.EIP, error) { +func (t *Template) GetElastiCacheSecurityGroupIngressWithName(name string) (*elasticache.SecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.EIP: + case *elasticache.SecurityGroupIngress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.EIP not found", name) + return nil, fmt.Errorf("resource %q of type elasticache.SecurityGroupIngress not found", name) } -// GetAllLambdaAliasResources retrieves all lambda.Alias items from an AWS CloudFormation template -func (t *Template) GetAllLambdaAliasResources() map[string]*lambda.Alias { - results := map[string]*lambda.Alias{} +// GetAllElastiCacheSubnetGroupResources retrieves all elasticache.SubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllElastiCacheSubnetGroupResources() map[string]*elasticache.SubnetGroup { + results := map[string]*elasticache.SubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.Alias: + case *elasticache.SubnetGroup: results[name] = resource } } return results } -// GetLambdaAliasWithName retrieves all lambda.Alias items from an AWS CloudFormation template +// GetElastiCacheSubnetGroupWithName retrieves all elasticache.SubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaAliasWithName(name string) (*lambda.Alias, error) { +func (t *Template) GetElastiCacheSubnetGroupWithName(name string) (*elasticache.SubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.Alias: + case *elasticache.SubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.Alias not found", name) + return nil, fmt.Errorf("resource %q of type elasticache.SubnetGroup not found", name) } -// GetAllGreengrassLoggerDefinitionVersionResources retrieves all greengrass.LoggerDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassLoggerDefinitionVersionResources() map[string]*greengrass.LoggerDefinitionVersion { - results := map[string]*greengrass.LoggerDefinitionVersion{} +// GetAllElasticBeanstalkApplicationResources retrieves all elasticbeanstalk.Application items from an AWS CloudFormation template +func (t *Template) GetAllElasticBeanstalkApplicationResources() map[string]*elasticbeanstalk.Application { + results := map[string]*elasticbeanstalk.Application{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.LoggerDefinitionVersion: + case *elasticbeanstalk.Application: results[name] = resource } } return results } -// GetGreengrassLoggerDefinitionVersionWithName retrieves all greengrass.LoggerDefinitionVersion items from an AWS CloudFormation template +// GetElasticBeanstalkApplicationWithName retrieves all elasticbeanstalk.Application items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassLoggerDefinitionVersionWithName(name string) (*greengrass.LoggerDefinitionVersion, error) { +func (t *Template) GetElasticBeanstalkApplicationWithName(name string) (*elasticbeanstalk.Application, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.LoggerDefinitionVersion: + case *elasticbeanstalk.Application: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.LoggerDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type elasticbeanstalk.Application not found", name) } -// GetAllEC2VPNConnectionResources retrieves all ec2.VPNConnection items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNConnectionResources() map[string]*ec2.VPNConnection { - results := map[string]*ec2.VPNConnection{} +// GetAllElasticBeanstalkApplicationVersionResources retrieves all elasticbeanstalk.ApplicationVersion items from an AWS CloudFormation template +func (t *Template) GetAllElasticBeanstalkApplicationVersionResources() map[string]*elasticbeanstalk.ApplicationVersion { + results := map[string]*elasticbeanstalk.ApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPNConnection: + case *elasticbeanstalk.ApplicationVersion: results[name] = resource } } return results } -// GetEC2VPNConnectionWithName retrieves all ec2.VPNConnection items from an AWS CloudFormation template +// GetElasticBeanstalkApplicationVersionWithName retrieves all elasticbeanstalk.ApplicationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNConnectionWithName(name string) (*ec2.VPNConnection, error) { +func (t *Template) GetElasticBeanstalkApplicationVersionWithName(name string) (*elasticbeanstalk.ApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPNConnection: + case *elasticbeanstalk.ApplicationVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPNConnection not found", name) + return nil, fmt.Errorf("resource %q of type elasticbeanstalk.ApplicationVersion not found", name) } -// GetAllApiGatewayDocumentationVersionResources retrieves all apigateway.DocumentationVersion items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDocumentationVersionResources() map[string]*apigateway.DocumentationVersion { - results := map[string]*apigateway.DocumentationVersion{} +// GetAllElasticBeanstalkConfigurationTemplateResources retrieves all elasticbeanstalk.ConfigurationTemplate items from an AWS CloudFormation template +func (t *Template) GetAllElasticBeanstalkConfigurationTemplateResources() map[string]*elasticbeanstalk.ConfigurationTemplate { + results := map[string]*elasticbeanstalk.ConfigurationTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.DocumentationVersion: + case *elasticbeanstalk.ConfigurationTemplate: results[name] = resource } } return results } -// GetApiGatewayDocumentationVersionWithName retrieves all apigateway.DocumentationVersion items from an AWS CloudFormation template +// GetElasticBeanstalkConfigurationTemplateWithName retrieves all elasticbeanstalk.ConfigurationTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDocumentationVersionWithName(name string) (*apigateway.DocumentationVersion, error) { +func (t *Template) GetElasticBeanstalkConfigurationTemplateWithName(name string) (*elasticbeanstalk.ConfigurationTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.DocumentationVersion: + case *elasticbeanstalk.ConfigurationTemplate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.DocumentationVersion not found", name) + return nil, fmt.Errorf("resource %q of type elasticbeanstalk.ConfigurationTemplate not found", name) } -// GetAllSSMMaintenanceWindowTaskResources retrieves all ssm.MaintenanceWindowTask items from an AWS CloudFormation template -func (t *Template) GetAllSSMMaintenanceWindowTaskResources() map[string]*ssm.MaintenanceWindowTask { - results := map[string]*ssm.MaintenanceWindowTask{} +// GetAllElasticBeanstalkEnvironmentResources retrieves all elasticbeanstalk.Environment items from an AWS CloudFormation template +func (t *Template) GetAllElasticBeanstalkEnvironmentResources() map[string]*elasticbeanstalk.Environment { + results := map[string]*elasticbeanstalk.Environment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTask: + case *elasticbeanstalk.Environment: results[name] = resource } } return results } -// GetSSMMaintenanceWindowTaskWithName retrieves all ssm.MaintenanceWindowTask items from an AWS CloudFormation template +// GetElasticBeanstalkEnvironmentWithName retrieves all elasticbeanstalk.Environment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMMaintenanceWindowTaskWithName(name string) (*ssm.MaintenanceWindowTask, error) { +func (t *Template) GetElasticBeanstalkEnvironmentWithName(name string) (*elasticbeanstalk.Environment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTask: + case *elasticbeanstalk.Environment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindowTask not found", name) + return nil, fmt.Errorf("resource %q of type elasticbeanstalk.Environment not found", name) } -// GetAllEC2FlowLogResources retrieves all ec2.FlowLog items from an AWS CloudFormation template -func (t *Template) GetAllEC2FlowLogResources() map[string]*ec2.FlowLog { - results := map[string]*ec2.FlowLog{} +// GetAllElasticLoadBalancingLoadBalancerResources retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingLoadBalancerResources() map[string]*elasticloadbalancing.LoadBalancer { + results := map[string]*elasticloadbalancing.LoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.FlowLog: + case *elasticloadbalancing.LoadBalancer: results[name] = resource } } return results } -// GetEC2FlowLogWithName retrieves all ec2.FlowLog items from an AWS CloudFormation template +// GetElasticLoadBalancingLoadBalancerWithName retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2FlowLogWithName(name string) (*ec2.FlowLog, error) { +func (t *Template) GetElasticLoadBalancingLoadBalancerWithName(name string) (*elasticloadbalancing.LoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.FlowLog: + case *elasticloadbalancing.LoadBalancer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.FlowLog not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancing.LoadBalancer not found", name) } -// GetAllIAMAccessKeyResources retrieves all iam.AccessKey items from an AWS CloudFormation template -func (t *Template) GetAllIAMAccessKeyResources() map[string]*iam.AccessKey { - results := map[string]*iam.AccessKey{} +// GetAllElasticLoadBalancingV2ListenerResources retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2ListenerResources() map[string]*elasticloadbalancingv2.Listener { + results := map[string]*elasticloadbalancingv2.Listener{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.AccessKey: + case *elasticloadbalancingv2.Listener: results[name] = resource } } return results } -// GetIAMAccessKeyWithName retrieves all iam.AccessKey items from an AWS CloudFormation template +// GetElasticLoadBalancingV2ListenerWithName retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMAccessKeyWithName(name string) (*iam.AccessKey, error) { +func (t *Template) GetElasticLoadBalancingV2ListenerWithName(name string) (*elasticloadbalancingv2.Listener, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.AccessKey: + case *elasticloadbalancingv2.Listener: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.AccessKey not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.Listener not found", name) } -// GetAllElasticLoadBalancingV2ListenerRuleResources retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2ListenerRuleResources() map[string]*elasticloadbalancingv2.ListenerRule { - results := map[string]*elasticloadbalancingv2.ListenerRule{} +// GetAllElasticLoadBalancingV2ListenerCertificateResources retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2ListenerCertificateResources() map[string]*elasticloadbalancingv2.ListenerCertificate { + results := map[string]*elasticloadbalancingv2.ListenerCertificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerRule: + case *elasticloadbalancingv2.ListenerCertificate: results[name] = resource } } return results } -// GetElasticLoadBalancingV2ListenerRuleWithName retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template +// GetElasticLoadBalancingV2ListenerCertificateWithName retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2ListenerRuleWithName(name string) (*elasticloadbalancingv2.ListenerRule, error) { +func (t *Template) GetElasticLoadBalancingV2ListenerCertificateWithName(name string) (*elasticloadbalancingv2.ListenerCertificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerRule: + case *elasticloadbalancingv2.ListenerCertificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerRule not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerCertificate not found", name) } -// GetAllRAMResourceShareResources retrieves all ram.ResourceShare items from an AWS CloudFormation template -func (t *Template) GetAllRAMResourceShareResources() map[string]*ram.ResourceShare { - results := map[string]*ram.ResourceShare{} +// GetAllElasticLoadBalancingV2ListenerRuleResources retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2ListenerRuleResources() map[string]*elasticloadbalancingv2.ListenerRule { + results := map[string]*elasticloadbalancingv2.ListenerRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ram.ResourceShare: + case *elasticloadbalancingv2.ListenerRule: results[name] = resource } } return results } -// GetRAMResourceShareWithName retrieves all ram.ResourceShare items from an AWS CloudFormation template +// GetElasticLoadBalancingV2ListenerRuleWithName retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRAMResourceShareWithName(name string) (*ram.ResourceShare, error) { +func (t *Template) GetElasticLoadBalancingV2ListenerRuleWithName(name string) (*elasticloadbalancingv2.ListenerRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ram.ResourceShare: + case *elasticloadbalancingv2.ListenerRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ram.ResourceShare not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerRule not found", name) } -// GetAllServiceCatalogStackSetConstraintResources retrieves all servicecatalog.StackSetConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogStackSetConstraintResources() map[string]*servicecatalog.StackSetConstraint { - results := map[string]*servicecatalog.StackSetConstraint{} +// GetAllElasticLoadBalancingV2LoadBalancerResources retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2LoadBalancerResources() map[string]*elasticloadbalancingv2.LoadBalancer { + results := map[string]*elasticloadbalancingv2.LoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.StackSetConstraint: + case *elasticloadbalancingv2.LoadBalancer: results[name] = resource } } return results } -// GetServiceCatalogStackSetConstraintWithName retrieves all servicecatalog.StackSetConstraint items from an AWS CloudFormation template +// GetElasticLoadBalancingV2LoadBalancerWithName retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogStackSetConstraintWithName(name string) (*servicecatalog.StackSetConstraint, error) { +func (t *Template) GetElasticLoadBalancingV2LoadBalancerWithName(name string) (*elasticloadbalancingv2.LoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.StackSetConstraint: + case *elasticloadbalancingv2.LoadBalancer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.StackSetConstraint not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.LoadBalancer not found", name) } -// GetAllEC2SecurityGroupIngressResources retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllEC2SecurityGroupIngressResources() map[string]*ec2.SecurityGroupIngress { - results := map[string]*ec2.SecurityGroupIngress{} +// GetAllElasticLoadBalancingV2TargetGroupResources retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2TargetGroupResources() map[string]*elasticloadbalancingv2.TargetGroup { + results := map[string]*elasticloadbalancingv2.TargetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SecurityGroupIngress: + case *elasticloadbalancingv2.TargetGroup: results[name] = resource } } return results } -// GetEC2SecurityGroupIngressWithName retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template +// GetElasticLoadBalancingV2TargetGroupWithName retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SecurityGroupIngressWithName(name string) (*ec2.SecurityGroupIngress, error) { +func (t *Template) GetElasticLoadBalancingV2TargetGroupWithName(name string) (*elasticloadbalancingv2.TargetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SecurityGroupIngress: + case *elasticloadbalancingv2.TargetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupIngress not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.TargetGroup not found", name) } -// GetAllGreengrassResourceDefinitionVersionResources retrieves all greengrass.ResourceDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassResourceDefinitionVersionResources() map[string]*greengrass.ResourceDefinitionVersion { - results := map[string]*greengrass.ResourceDefinitionVersion{} +// GetAllElasticsearchDomainResources retrieves all elasticsearch.Domain items from an AWS CloudFormation template +func (t *Template) GetAllElasticsearchDomainResources() map[string]*elasticsearch.Domain { + results := map[string]*elasticsearch.Domain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.ResourceDefinitionVersion: + case *elasticsearch.Domain: results[name] = resource } } return results } -// GetGreengrassResourceDefinitionVersionWithName retrieves all greengrass.ResourceDefinitionVersion items from an AWS CloudFormation template +// GetElasticsearchDomainWithName retrieves all elasticsearch.Domain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassResourceDefinitionVersionWithName(name string) (*greengrass.ResourceDefinitionVersion, error) { +func (t *Template) GetElasticsearchDomainWithName(name string) (*elasticsearch.Domain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.ResourceDefinitionVersion: + case *elasticsearch.Domain: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.ResourceDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type elasticsearch.Domain not found", name) } -// GetAllMSKClusterResources retrieves all msk.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllMSKClusterResources() map[string]*msk.Cluster { - results := map[string]*msk.Cluster{} +// GetAllEventsEventBusResources retrieves all events.EventBus items from an AWS CloudFormation template +func (t *Template) GetAllEventsEventBusResources() map[string]*events.EventBus { + results := map[string]*events.EventBus{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *msk.Cluster: + case *events.EventBus: results[name] = resource } } return results } -// GetMSKClusterWithName retrieves all msk.Cluster items from an AWS CloudFormation template +// GetEventsEventBusWithName retrieves all events.EventBus items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMSKClusterWithName(name string) (*msk.Cluster, error) { +func (t *Template) GetEventsEventBusWithName(name string) (*events.EventBus, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *msk.Cluster: + case *events.EventBus: return resource, nil } } - return nil, fmt.Errorf("resource %q of type msk.Cluster not found", name) + return nil, fmt.Errorf("resource %q of type events.EventBus not found", name) } -// GetAllEC2VPCGatewayAttachmentResources retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCGatewayAttachmentResources() map[string]*ec2.VPCGatewayAttachment { - results := map[string]*ec2.VPCGatewayAttachment{} +// GetAllEventsEventBusPolicyResources retrieves all events.EventBusPolicy items from an AWS CloudFormation template +func (t *Template) GetAllEventsEventBusPolicyResources() map[string]*events.EventBusPolicy { + results := map[string]*events.EventBusPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCGatewayAttachment: + case *events.EventBusPolicy: results[name] = resource } } return results } -// GetEC2VPCGatewayAttachmentWithName retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template +// GetEventsEventBusPolicyWithName retrieves all events.EventBusPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCGatewayAttachmentWithName(name string) (*ec2.VPCGatewayAttachment, error) { +func (t *Template) GetEventsEventBusPolicyWithName(name string) (*events.EventBusPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCGatewayAttachment: + case *events.EventBusPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCGatewayAttachment not found", name) + return nil, fmt.Errorf("resource %q of type events.EventBusPolicy not found", name) } -// GetAllEC2RouteResources retrieves all ec2.Route items from an AWS CloudFormation template -func (t *Template) GetAllEC2RouteResources() map[string]*ec2.Route { - results := map[string]*ec2.Route{} +// GetAllEventsRuleResources retrieves all events.Rule items from an AWS CloudFormation template +func (t *Template) GetAllEventsRuleResources() map[string]*events.Rule { + results := map[string]*events.Rule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.Route: + case *events.Rule: results[name] = resource } } return results } -// GetEC2RouteWithName retrieves all ec2.Route items from an AWS CloudFormation template +// GetEventsRuleWithName retrieves all events.Rule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2RouteWithName(name string) (*ec2.Route, error) { +func (t *Template) GetEventsRuleWithName(name string) (*events.Rule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.Route: + case *events.Rule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.Route not found", name) + return nil, fmt.Errorf("resource %q of type events.Rule not found", name) } -// GetAllLambdaFunctionResources retrieves all lambda.Function items from an AWS CloudFormation template -func (t *Template) GetAllLambdaFunctionResources() map[string]*lambda.Function { - results := map[string]*lambda.Function{} +// GetAllFSxFileSystemResources retrieves all fsx.FileSystem items from an AWS CloudFormation template +func (t *Template) GetAllFSxFileSystemResources() map[string]*fsx.FileSystem { + results := map[string]*fsx.FileSystem{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.Function: + case *fsx.FileSystem: results[name] = resource } } return results } -// GetLambdaFunctionWithName retrieves all lambda.Function items from an AWS CloudFormation template +// GetFSxFileSystemWithName retrieves all fsx.FileSystem items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaFunctionWithName(name string) (*lambda.Function, error) { +func (t *Template) GetFSxFileSystemWithName(name string) (*fsx.FileSystem, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.Function: + case *fsx.FileSystem: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.Function not found", name) + return nil, fmt.Errorf("resource %q of type fsx.FileSystem not found", name) } -// GetAllElasticBeanstalkApplicationVersionResources retrieves all elasticbeanstalk.ApplicationVersion items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkApplicationVersionResources() map[string]*elasticbeanstalk.ApplicationVersion { - results := map[string]*elasticbeanstalk.ApplicationVersion{} +// GetAllGameLiftAliasResources retrieves all gamelift.Alias items from an AWS CloudFormation template +func (t *Template) GetAllGameLiftAliasResources() map[string]*gamelift.Alias { + results := map[string]*gamelift.Alias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticbeanstalk.ApplicationVersion: + case *gamelift.Alias: results[name] = resource } } return results } -// GetElasticBeanstalkApplicationVersionWithName retrieves all elasticbeanstalk.ApplicationVersion items from an AWS CloudFormation template +// GetGameLiftAliasWithName retrieves all gamelift.Alias items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkApplicationVersionWithName(name string) (*elasticbeanstalk.ApplicationVersion, error) { +func (t *Template) GetGameLiftAliasWithName(name string) (*gamelift.Alias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticbeanstalk.ApplicationVersion: + case *gamelift.Alias: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.ApplicationVersion not found", name) + return nil, fmt.Errorf("resource %q of type gamelift.Alias not found", name) } -// GetAllRoute53ResolverResolverEndpointResources retrieves all route53resolver.ResolverEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverEndpointResources() map[string]*route53resolver.ResolverEndpoint { - results := map[string]*route53resolver.ResolverEndpoint{} +// GetAllGameLiftBuildResources retrieves all gamelift.Build items from an AWS CloudFormation template +func (t *Template) GetAllGameLiftBuildResources() map[string]*gamelift.Build { + results := map[string]*gamelift.Build{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53resolver.ResolverEndpoint: + case *gamelift.Build: results[name] = resource } } return results } -// GetRoute53ResolverResolverEndpointWithName retrieves all route53resolver.ResolverEndpoint items from an AWS CloudFormation template +// GetGameLiftBuildWithName retrieves all gamelift.Build items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverEndpointWithName(name string) (*route53resolver.ResolverEndpoint, error) { +func (t *Template) GetGameLiftBuildWithName(name string) (*gamelift.Build, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53resolver.ResolverEndpoint: + case *gamelift.Build: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverEndpoint not found", name) + return nil, fmt.Errorf("resource %q of type gamelift.Build not found", name) } -// GetAllOpsWorksAppResources retrieves all opsworks.App items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksAppResources() map[string]*opsworks.App { - results := map[string]*opsworks.App{} +// GetAllGameLiftFleetResources retrieves all gamelift.Fleet items from an AWS CloudFormation template +func (t *Template) GetAllGameLiftFleetResources() map[string]*gamelift.Fleet { + results := map[string]*gamelift.Fleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.App: + case *gamelift.Fleet: results[name] = resource } } return results } -// GetOpsWorksAppWithName retrieves all opsworks.App items from an AWS CloudFormation template +// GetGameLiftFleetWithName retrieves all gamelift.Fleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksAppWithName(name string) (*opsworks.App, error) { +func (t *Template) GetGameLiftFleetWithName(name string) (*gamelift.Fleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.App: + case *gamelift.Fleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.App not found", name) + return nil, fmt.Errorf("resource %q of type gamelift.Fleet not found", name) } -// GetAllCloudFrontCloudFrontOriginAccessIdentityResources retrieves all cloudfront.CloudFrontOriginAccessIdentity items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontCloudFrontOriginAccessIdentityResources() map[string]*cloudfront.CloudFrontOriginAccessIdentity { - results := map[string]*cloudfront.CloudFrontOriginAccessIdentity{} +// GetAllGlueClassifierResources retrieves all glue.Classifier items from an AWS CloudFormation template +func (t *Template) GetAllGlueClassifierResources() map[string]*glue.Classifier { + results := map[string]*glue.Classifier{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudfront.CloudFrontOriginAccessIdentity: + case *glue.Classifier: results[name] = resource } } return results } -// GetCloudFrontCloudFrontOriginAccessIdentityWithName retrieves all cloudfront.CloudFrontOriginAccessIdentity items from an AWS CloudFormation template +// GetGlueClassifierWithName retrieves all glue.Classifier items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontCloudFrontOriginAccessIdentityWithName(name string) (*cloudfront.CloudFrontOriginAccessIdentity, error) { +func (t *Template) GetGlueClassifierWithName(name string) (*glue.Classifier, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudfront.CloudFrontOriginAccessIdentity: + case *glue.Classifier: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudfront.CloudFrontOriginAccessIdentity not found", name) + return nil, fmt.Errorf("resource %q of type glue.Classifier not found", name) } -// GetAllPinpointBaiduChannelResources retrieves all pinpoint.BaiduChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointBaiduChannelResources() map[string]*pinpoint.BaiduChannel { - results := map[string]*pinpoint.BaiduChannel{} +// GetAllGlueConnectionResources retrieves all glue.Connection items from an AWS CloudFormation template +func (t *Template) GetAllGlueConnectionResources() map[string]*glue.Connection { + results := map[string]*glue.Connection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.BaiduChannel: + case *glue.Connection: results[name] = resource } } return results } -// GetPinpointBaiduChannelWithName retrieves all pinpoint.BaiduChannel items from an AWS CloudFormation template +// GetGlueConnectionWithName retrieves all glue.Connection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointBaiduChannelWithName(name string) (*pinpoint.BaiduChannel, error) { +func (t *Template) GetGlueConnectionWithName(name string) (*glue.Connection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.BaiduChannel: + case *glue.Connection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.BaiduChannel not found", name) + return nil, fmt.Errorf("resource %q of type glue.Connection not found", name) } -// GetAllRedshiftClusterSubnetGroupResources retrieves all redshift.ClusterSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterSubnetGroupResources() map[string]*redshift.ClusterSubnetGroup { - results := map[string]*redshift.ClusterSubnetGroup{} +// GetAllGlueCrawlerResources retrieves all glue.Crawler items from an AWS CloudFormation template +func (t *Template) GetAllGlueCrawlerResources() map[string]*glue.Crawler { + results := map[string]*glue.Crawler{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *redshift.ClusterSubnetGroup: + case *glue.Crawler: results[name] = resource } } return results } -// GetRedshiftClusterSubnetGroupWithName retrieves all redshift.ClusterSubnetGroup items from an AWS CloudFormation template +// GetGlueCrawlerWithName retrieves all glue.Crawler items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterSubnetGroupWithName(name string) (*redshift.ClusterSubnetGroup, error) { +func (t *Template) GetGlueCrawlerWithName(name string) (*glue.Crawler, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *redshift.ClusterSubnetGroup: + case *glue.Crawler: return resource, nil } } - return nil, fmt.Errorf("resource %q of type redshift.ClusterSubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type glue.Crawler not found", name) } -// GetAllApiGatewayUsagePlanKeyResources retrieves all apigateway.UsagePlanKey items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayUsagePlanKeyResources() map[string]*apigateway.UsagePlanKey { - results := map[string]*apigateway.UsagePlanKey{} +// GetAllGlueDataCatalogEncryptionSettingsResources retrieves all glue.DataCatalogEncryptionSettings items from an AWS CloudFormation template +func (t *Template) GetAllGlueDataCatalogEncryptionSettingsResources() map[string]*glue.DataCatalogEncryptionSettings { + results := map[string]*glue.DataCatalogEncryptionSettings{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.UsagePlanKey: + case *glue.DataCatalogEncryptionSettings: results[name] = resource } } return results } -// GetApiGatewayUsagePlanKeyWithName retrieves all apigateway.UsagePlanKey items from an AWS CloudFormation template +// GetGlueDataCatalogEncryptionSettingsWithName retrieves all glue.DataCatalogEncryptionSettings items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayUsagePlanKeyWithName(name string) (*apigateway.UsagePlanKey, error) { +func (t *Template) GetGlueDataCatalogEncryptionSettingsWithName(name string) (*glue.DataCatalogEncryptionSettings, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.UsagePlanKey: + case *glue.DataCatalogEncryptionSettings: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.UsagePlanKey not found", name) + return nil, fmt.Errorf("resource %q of type glue.DataCatalogEncryptionSettings not found", name) } -// GetAllGreengrassCoreDefinitionResources retrieves all greengrass.CoreDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassCoreDefinitionResources() map[string]*greengrass.CoreDefinition { - results := map[string]*greengrass.CoreDefinition{} +// GetAllGlueDatabaseResources retrieves all glue.Database items from an AWS CloudFormation template +func (t *Template) GetAllGlueDatabaseResources() map[string]*glue.Database { + results := map[string]*glue.Database{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.CoreDefinition: + case *glue.Database: results[name] = resource } } return results } -// GetGreengrassCoreDefinitionWithName retrieves all greengrass.CoreDefinition items from an AWS CloudFormation template +// GetGlueDatabaseWithName retrieves all glue.Database items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassCoreDefinitionWithName(name string) (*greengrass.CoreDefinition, error) { +func (t *Template) GetGlueDatabaseWithName(name string) (*glue.Database, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.CoreDefinition: + case *glue.Database: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.CoreDefinition not found", name) + return nil, fmt.Errorf("resource %q of type glue.Database not found", name) } -// GetAllSESConfigurationSetEventDestinationResources retrieves all ses.ConfigurationSetEventDestination items from an AWS CloudFormation template -func (t *Template) GetAllSESConfigurationSetEventDestinationResources() map[string]*ses.ConfigurationSetEventDestination { - results := map[string]*ses.ConfigurationSetEventDestination{} +// GetAllGlueDevEndpointResources retrieves all glue.DevEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllGlueDevEndpointResources() map[string]*glue.DevEndpoint { + results := map[string]*glue.DevEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ConfigurationSetEventDestination: + case *glue.DevEndpoint: results[name] = resource } } return results } -// GetSESConfigurationSetEventDestinationWithName retrieves all ses.ConfigurationSetEventDestination items from an AWS CloudFormation template +// GetGlueDevEndpointWithName retrieves all glue.DevEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESConfigurationSetEventDestinationWithName(name string) (*ses.ConfigurationSetEventDestination, error) { +func (t *Template) GetGlueDevEndpointWithName(name string) (*glue.DevEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ConfigurationSetEventDestination: + case *glue.DevEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ConfigurationSetEventDestination not found", name) + return nil, fmt.Errorf("resource %q of type glue.DevEndpoint not found", name) } -// GetAllRoute53HealthCheckResources retrieves all route53.HealthCheck items from an AWS CloudFormation template -func (t *Template) GetAllRoute53HealthCheckResources() map[string]*route53.HealthCheck { - results := map[string]*route53.HealthCheck{} +// GetAllGlueJobResources retrieves all glue.Job items from an AWS CloudFormation template +func (t *Template) GetAllGlueJobResources() map[string]*glue.Job { + results := map[string]*glue.Job{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53.HealthCheck: + case *glue.Job: results[name] = resource } } return results } -// GetRoute53HealthCheckWithName retrieves all route53.HealthCheck items from an AWS CloudFormation template +// GetGlueJobWithName retrieves all glue.Job items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53HealthCheckWithName(name string) (*route53.HealthCheck, error) { +func (t *Template) GetGlueJobWithName(name string) (*glue.Job, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53.HealthCheck: + case *glue.Job: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53.HealthCheck not found", name) + return nil, fmt.Errorf("resource %q of type glue.Job not found", name) } -// GetAllApiGatewayResourceResources retrieves all apigateway.Resource items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayResourceResources() map[string]*apigateway.Resource { - results := map[string]*apigateway.Resource{} +// GetAllGlueMLTransformResources retrieves all glue.MLTransform items from an AWS CloudFormation template +func (t *Template) GetAllGlueMLTransformResources() map[string]*glue.MLTransform { + results := map[string]*glue.MLTransform{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Resource: + case *glue.MLTransform: results[name] = resource } } return results } -// GetApiGatewayResourceWithName retrieves all apigateway.Resource items from an AWS CloudFormation template +// GetGlueMLTransformWithName retrieves all glue.MLTransform items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayResourceWithName(name string) (*apigateway.Resource, error) { +func (t *Template) GetGlueMLTransformWithName(name string) (*glue.MLTransform, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Resource: + case *glue.MLTransform: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Resource not found", name) + return nil, fmt.Errorf("resource %q of type glue.MLTransform not found", name) } -// GetAllPinpointSegmentResources retrieves all pinpoint.Segment items from an AWS CloudFormation template -func (t *Template) GetAllPinpointSegmentResources() map[string]*pinpoint.Segment { - results := map[string]*pinpoint.Segment{} +// GetAllGluePartitionResources retrieves all glue.Partition items from an AWS CloudFormation template +func (t *Template) GetAllGluePartitionResources() map[string]*glue.Partition { + results := map[string]*glue.Partition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.Segment: + case *glue.Partition: results[name] = resource } } return results } -// GetPinpointSegmentWithName retrieves all pinpoint.Segment items from an AWS CloudFormation template +// GetGluePartitionWithName retrieves all glue.Partition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointSegmentWithName(name string) (*pinpoint.Segment, error) { +func (t *Template) GetGluePartitionWithName(name string) (*glue.Partition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.Segment: + case *glue.Partition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.Segment not found", name) + return nil, fmt.Errorf("resource %q of type glue.Partition not found", name) } -// GetAllPinpointEmailChannelResources retrieves all pinpoint.EmailChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailChannelResources() map[string]*pinpoint.EmailChannel { - results := map[string]*pinpoint.EmailChannel{} +// GetAllGlueSecurityConfigurationResources retrieves all glue.SecurityConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllGlueSecurityConfigurationResources() map[string]*glue.SecurityConfiguration { + results := map[string]*glue.SecurityConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.EmailChannel: + case *glue.SecurityConfiguration: results[name] = resource } } return results } -// GetPinpointEmailChannelWithName retrieves all pinpoint.EmailChannel items from an AWS CloudFormation template +// GetGlueSecurityConfigurationWithName retrieves all glue.SecurityConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailChannelWithName(name string) (*pinpoint.EmailChannel, error) { +func (t *Template) GetGlueSecurityConfigurationWithName(name string) (*glue.SecurityConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.EmailChannel: + case *glue.SecurityConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.EmailChannel not found", name) + return nil, fmt.Errorf("resource %q of type glue.SecurityConfiguration not found", name) } -// GetAllSQSQueueResources retrieves all sqs.Queue items from an AWS CloudFormation template -func (t *Template) GetAllSQSQueueResources() map[string]*sqs.Queue { - results := map[string]*sqs.Queue{} +// GetAllGlueTableResources retrieves all glue.Table items from an AWS CloudFormation template +func (t *Template) GetAllGlueTableResources() map[string]*glue.Table { + results := map[string]*glue.Table{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sqs.Queue: + case *glue.Table: results[name] = resource } } return results } -// GetSQSQueueWithName retrieves all sqs.Queue items from an AWS CloudFormation template +// GetGlueTableWithName retrieves all glue.Table items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSQSQueueWithName(name string) (*sqs.Queue, error) { +func (t *Template) GetGlueTableWithName(name string) (*glue.Table, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sqs.Queue: + case *glue.Table: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sqs.Queue not found", name) + return nil, fmt.Errorf("resource %q of type glue.Table not found", name) } -// GetAllGuardDutyFilterResources retrieves all guardduty.Filter items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyFilterResources() map[string]*guardduty.Filter { - results := map[string]*guardduty.Filter{} +// GetAllGlueTriggerResources retrieves all glue.Trigger items from an AWS CloudFormation template +func (t *Template) GetAllGlueTriggerResources() map[string]*glue.Trigger { + results := map[string]*glue.Trigger{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *guardduty.Filter: + case *glue.Trigger: results[name] = resource } } return results } -// GetGuardDutyFilterWithName retrieves all guardduty.Filter items from an AWS CloudFormation template +// GetGlueTriggerWithName retrieves all glue.Trigger items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyFilterWithName(name string) (*guardduty.Filter, error) { +func (t *Template) GetGlueTriggerWithName(name string) (*glue.Trigger, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *guardduty.Filter: + case *glue.Trigger: return resource, nil } } - return nil, fmt.Errorf("resource %q of type guardduty.Filter not found", name) + return nil, fmt.Errorf("resource %q of type glue.Trigger not found", name) } -// GetAllLambdaEventSourceMappingResources retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template -func (t *Template) GetAllLambdaEventSourceMappingResources() map[string]*lambda.EventSourceMapping { - results := map[string]*lambda.EventSourceMapping{} +// GetAllGlueWorkflowResources retrieves all glue.Workflow items from an AWS CloudFormation template +func (t *Template) GetAllGlueWorkflowResources() map[string]*glue.Workflow { + results := map[string]*glue.Workflow{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lambda.EventSourceMapping: + case *glue.Workflow: results[name] = resource } } return results } -// GetLambdaEventSourceMappingWithName retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template +// GetGlueWorkflowWithName retrieves all glue.Workflow items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaEventSourceMappingWithName(name string) (*lambda.EventSourceMapping, error) { +func (t *Template) GetGlueWorkflowWithName(name string) (*glue.Workflow, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lambda.EventSourceMapping: + case *glue.Workflow: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lambda.EventSourceMapping not found", name) + return nil, fmt.Errorf("resource %q of type glue.Workflow not found", name) } -// GetAllEC2PlacementGroupResources retrieves all ec2.PlacementGroup items from an AWS CloudFormation template -func (t *Template) GetAllEC2PlacementGroupResources() map[string]*ec2.PlacementGroup { - results := map[string]*ec2.PlacementGroup{} +// GetAllGreengrassConnectorDefinitionResources retrieves all greengrass.ConnectorDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassConnectorDefinitionResources() map[string]*greengrass.ConnectorDefinition { + results := map[string]*greengrass.ConnectorDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.PlacementGroup: + case *greengrass.ConnectorDefinition: results[name] = resource } } return results } -// GetEC2PlacementGroupWithName retrieves all ec2.PlacementGroup items from an AWS CloudFormation template +// GetGreengrassConnectorDefinitionWithName retrieves all greengrass.ConnectorDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2PlacementGroupWithName(name string) (*ec2.PlacementGroup, error) { +func (t *Template) GetGreengrassConnectorDefinitionWithName(name string) (*greengrass.ConnectorDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.PlacementGroup: + case *greengrass.ConnectorDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.PlacementGroup not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.ConnectorDefinition not found", name) } -// GetAllEC2TrafficMirrorFilterRuleResources retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorFilterRuleResources() map[string]*ec2.TrafficMirrorFilterRule { - results := map[string]*ec2.TrafficMirrorFilterRule{} +// GetAllGreengrassConnectorDefinitionVersionResources retrieves all greengrass.ConnectorDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassConnectorDefinitionVersionResources() map[string]*greengrass.ConnectorDefinitionVersion { + results := map[string]*greengrass.ConnectorDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilterRule: + case *greengrass.ConnectorDefinitionVersion: results[name] = resource } } return results } -// GetEC2TrafficMirrorFilterRuleWithName retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template +// GetGreengrassConnectorDefinitionVersionWithName retrieves all greengrass.ConnectorDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorFilterRuleWithName(name string) (*ec2.TrafficMirrorFilterRule, error) { +func (t *Template) GetGreengrassConnectorDefinitionVersionWithName(name string) (*greengrass.ConnectorDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilterRule: + case *greengrass.ConnectorDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilterRule not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.ConnectorDefinitionVersion not found", name) } -// GetAllApiGatewayModelResources retrieves all apigateway.Model items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayModelResources() map[string]*apigateway.Model { - results := map[string]*apigateway.Model{} +// GetAllGreengrassCoreDefinitionResources retrieves all greengrass.CoreDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassCoreDefinitionResources() map[string]*greengrass.CoreDefinition { + results := map[string]*greengrass.CoreDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Model: + case *greengrass.CoreDefinition: results[name] = resource } } return results } -// GetApiGatewayModelWithName retrieves all apigateway.Model items from an AWS CloudFormation template +// GetGreengrassCoreDefinitionWithName retrieves all greengrass.CoreDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayModelWithName(name string) (*apigateway.Model, error) { +func (t *Template) GetGreengrassCoreDefinitionWithName(name string) (*greengrass.CoreDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Model: + case *greengrass.CoreDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Model not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.CoreDefinition not found", name) } -// GetAllWAFRegionalRegexPatternSetResources retrieves all wafregional.RegexPatternSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalRegexPatternSetResources() map[string]*wafregional.RegexPatternSet { - results := map[string]*wafregional.RegexPatternSet{} +// GetAllGreengrassCoreDefinitionVersionResources retrieves all greengrass.CoreDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassCoreDefinitionVersionResources() map[string]*greengrass.CoreDefinitionVersion { + results := map[string]*greengrass.CoreDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.RegexPatternSet: + case *greengrass.CoreDefinitionVersion: results[name] = resource } } return results } -// GetWAFRegionalRegexPatternSetWithName retrieves all wafregional.RegexPatternSet items from an AWS CloudFormation template +// GetGreengrassCoreDefinitionVersionWithName retrieves all greengrass.CoreDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalRegexPatternSetWithName(name string) (*wafregional.RegexPatternSet, error) { +func (t *Template) GetGreengrassCoreDefinitionVersionWithName(name string) (*greengrass.CoreDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.RegexPatternSet: + case *greengrass.CoreDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.RegexPatternSet not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.CoreDefinitionVersion not found", name) } -// GetAllAutoScalingLifecycleHookResources retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingLifecycleHookResources() map[string]*autoscaling.LifecycleHook { - results := map[string]*autoscaling.LifecycleHook{} +// GetAllGreengrassDeviceDefinitionResources retrieves all greengrass.DeviceDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassDeviceDefinitionResources() map[string]*greengrass.DeviceDefinition { + results := map[string]*greengrass.DeviceDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.LifecycleHook: + case *greengrass.DeviceDefinition: results[name] = resource } } return results } -// GetAutoScalingLifecycleHookWithName retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template +// GetGreengrassDeviceDefinitionWithName retrieves all greengrass.DeviceDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingLifecycleHookWithName(name string) (*autoscaling.LifecycleHook, error) { +func (t *Template) GetGreengrassDeviceDefinitionWithName(name string) (*greengrass.DeviceDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.LifecycleHook: + case *greengrass.DeviceDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.LifecycleHook not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.DeviceDefinition not found", name) } -// GetAllApiGatewayV2IntegrationResponseResources retrieves all apigatewayv2.IntegrationResponse items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2IntegrationResponseResources() map[string]*apigatewayv2.IntegrationResponse { - results := map[string]*apigatewayv2.IntegrationResponse{} +// GetAllGreengrassDeviceDefinitionVersionResources retrieves all greengrass.DeviceDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassDeviceDefinitionVersionResources() map[string]*greengrass.DeviceDefinitionVersion { + results := map[string]*greengrass.DeviceDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.IntegrationResponse: + case *greengrass.DeviceDefinitionVersion: results[name] = resource } } return results } -// GetApiGatewayV2IntegrationResponseWithName retrieves all apigatewayv2.IntegrationResponse items from an AWS CloudFormation template +// GetGreengrassDeviceDefinitionVersionWithName retrieves all greengrass.DeviceDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2IntegrationResponseWithName(name string) (*apigatewayv2.IntegrationResponse, error) { +func (t *Template) GetGreengrassDeviceDefinitionVersionWithName(name string) (*greengrass.DeviceDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.IntegrationResponse: + case *greengrass.DeviceDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.IntegrationResponse not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.DeviceDefinitionVersion not found", name) } -// GetAllEC2CapacityReservationResources retrieves all ec2.CapacityReservation items from an AWS CloudFormation template -func (t *Template) GetAllEC2CapacityReservationResources() map[string]*ec2.CapacityReservation { - results := map[string]*ec2.CapacityReservation{} +// GetAllGreengrassFunctionDefinitionResources retrieves all greengrass.FunctionDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassFunctionDefinitionResources() map[string]*greengrass.FunctionDefinition { + results := map[string]*greengrass.FunctionDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.CapacityReservation: + case *greengrass.FunctionDefinition: results[name] = resource } } return results } -// GetEC2CapacityReservationWithName retrieves all ec2.CapacityReservation items from an AWS CloudFormation template +// GetGreengrassFunctionDefinitionWithName retrieves all greengrass.FunctionDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2CapacityReservationWithName(name string) (*ec2.CapacityReservation, error) { +func (t *Template) GetGreengrassFunctionDefinitionWithName(name string) (*greengrass.FunctionDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.CapacityReservation: + case *greengrass.FunctionDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.CapacityReservation not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.FunctionDefinition not found", name) } -// GetAllAppSyncResolverResources retrieves all appsync.Resolver items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncResolverResources() map[string]*appsync.Resolver { - results := map[string]*appsync.Resolver{} +// GetAllGreengrassFunctionDefinitionVersionResources retrieves all greengrass.FunctionDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassFunctionDefinitionVersionResources() map[string]*greengrass.FunctionDefinitionVersion { + results := map[string]*greengrass.FunctionDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.Resolver: + case *greengrass.FunctionDefinitionVersion: results[name] = resource } } return results } -// GetAppSyncResolverWithName retrieves all appsync.Resolver items from an AWS CloudFormation template +// GetGreengrassFunctionDefinitionVersionWithName retrieves all greengrass.FunctionDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncResolverWithName(name string) (*appsync.Resolver, error) { +func (t *Template) GetGreengrassFunctionDefinitionVersionWithName(name string) (*greengrass.FunctionDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.Resolver: + case *greengrass.FunctionDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.Resolver not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.FunctionDefinitionVersion not found", name) } -// GetAllAmazonMQConfigurationResources retrieves all amazonmq.Configuration items from an AWS CloudFormation template -func (t *Template) GetAllAmazonMQConfigurationResources() map[string]*amazonmq.Configuration { - results := map[string]*amazonmq.Configuration{} +// GetAllGreengrassGroupResources retrieves all greengrass.Group items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassGroupResources() map[string]*greengrass.Group { + results := map[string]*greengrass.Group{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amazonmq.Configuration: + case *greengrass.Group: results[name] = resource } } return results } -// GetAmazonMQConfigurationWithName retrieves all amazonmq.Configuration items from an AWS CloudFormation template +// GetGreengrassGroupWithName retrieves all greengrass.Group items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmazonMQConfigurationWithName(name string) (*amazonmq.Configuration, error) { +func (t *Template) GetGreengrassGroupWithName(name string) (*greengrass.Group, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amazonmq.Configuration: + case *greengrass.Group: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amazonmq.Configuration not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.Group not found", name) } -// GetAllGameLiftBuildResources retrieves all gamelift.Build items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftBuildResources() map[string]*gamelift.Build { - results := map[string]*gamelift.Build{} +// GetAllGreengrassGroupVersionResources retrieves all greengrass.GroupVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassGroupVersionResources() map[string]*greengrass.GroupVersion { + results := map[string]*greengrass.GroupVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *gamelift.Build: + case *greengrass.GroupVersion: results[name] = resource } } return results } -// GetGameLiftBuildWithName retrieves all gamelift.Build items from an AWS CloudFormation template +// GetGreengrassGroupVersionWithName retrieves all greengrass.GroupVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftBuildWithName(name string) (*gamelift.Build, error) { +func (t *Template) GetGreengrassGroupVersionWithName(name string) (*greengrass.GroupVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *gamelift.Build: + case *greengrass.GroupVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type gamelift.Build not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.GroupVersion not found", name) } -// GetAllSecurityHubHubResources retrieves all securityhub.Hub items from an AWS CloudFormation template -func (t *Template) GetAllSecurityHubHubResources() map[string]*securityhub.Hub { - results := map[string]*securityhub.Hub{} +// GetAllGreengrassLoggerDefinitionResources retrieves all greengrass.LoggerDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassLoggerDefinitionResources() map[string]*greengrass.LoggerDefinition { + results := map[string]*greengrass.LoggerDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *securityhub.Hub: + case *greengrass.LoggerDefinition: results[name] = resource } } return results } -// GetSecurityHubHubWithName retrieves all securityhub.Hub items from an AWS CloudFormation template +// GetGreengrassLoggerDefinitionWithName retrieves all greengrass.LoggerDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecurityHubHubWithName(name string) (*securityhub.Hub, error) { +func (t *Template) GetGreengrassLoggerDefinitionWithName(name string) (*greengrass.LoggerDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *securityhub.Hub: + case *greengrass.LoggerDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type securityhub.Hub not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.LoggerDefinition not found", name) } -// GetAllDLMLifecyclePolicyResources retrieves all dlm.LifecyclePolicy items from an AWS CloudFormation template -func (t *Template) GetAllDLMLifecyclePolicyResources() map[string]*dlm.LifecyclePolicy { - results := map[string]*dlm.LifecyclePolicy{} +// GetAllGreengrassLoggerDefinitionVersionResources retrieves all greengrass.LoggerDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassLoggerDefinitionVersionResources() map[string]*greengrass.LoggerDefinitionVersion { + results := map[string]*greengrass.LoggerDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dlm.LifecyclePolicy: + case *greengrass.LoggerDefinitionVersion: results[name] = resource } } return results } -// GetDLMLifecyclePolicyWithName retrieves all dlm.LifecyclePolicy items from an AWS CloudFormation template +// GetGreengrassLoggerDefinitionVersionWithName retrieves all greengrass.LoggerDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDLMLifecyclePolicyWithName(name string) (*dlm.LifecyclePolicy, error) { +func (t *Template) GetGreengrassLoggerDefinitionVersionWithName(name string) (*greengrass.LoggerDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dlm.LifecyclePolicy: + case *greengrass.LoggerDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dlm.LifecyclePolicy not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.LoggerDefinitionVersion not found", name) } -// GetAllGreengrassFunctionDefinitionResources retrieves all greengrass.FunctionDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassFunctionDefinitionResources() map[string]*greengrass.FunctionDefinition { - results := map[string]*greengrass.FunctionDefinition{} +// GetAllGreengrassResourceDefinitionResources retrieves all greengrass.ResourceDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassResourceDefinitionResources() map[string]*greengrass.ResourceDefinition { + results := map[string]*greengrass.ResourceDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.FunctionDefinition: + case *greengrass.ResourceDefinition: results[name] = resource } } return results } -// GetGreengrassFunctionDefinitionWithName retrieves all greengrass.FunctionDefinition items from an AWS CloudFormation template +// GetGreengrassResourceDefinitionWithName retrieves all greengrass.ResourceDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassFunctionDefinitionWithName(name string) (*greengrass.FunctionDefinition, error) { +func (t *Template) GetGreengrassResourceDefinitionWithName(name string) (*greengrass.ResourceDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.FunctionDefinition: + case *greengrass.ResourceDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.FunctionDefinition not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.ResourceDefinition not found", name) } -// GetAllEC2TransitGatewayResources retrieves all ec2.TransitGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayResources() map[string]*ec2.TransitGateway { - results := map[string]*ec2.TransitGateway{} +// GetAllGreengrassResourceDefinitionVersionResources retrieves all greengrass.ResourceDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassResourceDefinitionVersionResources() map[string]*greengrass.ResourceDefinitionVersion { + results := map[string]*greengrass.ResourceDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TransitGateway: + case *greengrass.ResourceDefinitionVersion: results[name] = resource } } return results } -// GetEC2TransitGatewayWithName retrieves all ec2.TransitGateway items from an AWS CloudFormation template +// GetGreengrassResourceDefinitionVersionWithName retrieves all greengrass.ResourceDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayWithName(name string) (*ec2.TransitGateway, error) { +func (t *Template) GetGreengrassResourceDefinitionVersionWithName(name string) (*greengrass.ResourceDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TransitGateway: + case *greengrass.ResourceDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TransitGateway not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.ResourceDefinitionVersion not found", name) } -// GetAllCodeDeployDeploymentConfigResources retrieves all codedeploy.DeploymentConfig items from an AWS CloudFormation template -func (t *Template) GetAllCodeDeployDeploymentConfigResources() map[string]*codedeploy.DeploymentConfig { - results := map[string]*codedeploy.DeploymentConfig{} +// GetAllGreengrassSubscriptionDefinitionResources retrieves all greengrass.SubscriptionDefinition items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassSubscriptionDefinitionResources() map[string]*greengrass.SubscriptionDefinition { + results := map[string]*greengrass.SubscriptionDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codedeploy.DeploymentConfig: + case *greengrass.SubscriptionDefinition: results[name] = resource } } return results } -// GetCodeDeployDeploymentConfigWithName retrieves all codedeploy.DeploymentConfig items from an AWS CloudFormation template +// GetGreengrassSubscriptionDefinitionWithName retrieves all greengrass.SubscriptionDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeDeployDeploymentConfigWithName(name string) (*codedeploy.DeploymentConfig, error) { +func (t *Template) GetGreengrassSubscriptionDefinitionWithName(name string) (*greengrass.SubscriptionDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codedeploy.DeploymentConfig: + case *greengrass.SubscriptionDefinition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codedeploy.DeploymentConfig not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.SubscriptionDefinition not found", name) } -// GetAllWAFRegionalRuleResources retrieves all wafregional.Rule items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalRuleResources() map[string]*wafregional.Rule { - results := map[string]*wafregional.Rule{} +// GetAllGreengrassSubscriptionDefinitionVersionResources retrieves all greengrass.SubscriptionDefinitionVersion items from an AWS CloudFormation template +func (t *Template) GetAllGreengrassSubscriptionDefinitionVersionResources() map[string]*greengrass.SubscriptionDefinitionVersion { + results := map[string]*greengrass.SubscriptionDefinitionVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.Rule: + case *greengrass.SubscriptionDefinitionVersion: results[name] = resource } } return results } -// GetWAFRegionalRuleWithName retrieves all wafregional.Rule items from an AWS CloudFormation template +// GetGreengrassSubscriptionDefinitionVersionWithName retrieves all greengrass.SubscriptionDefinitionVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalRuleWithName(name string) (*wafregional.Rule, error) { +func (t *Template) GetGreengrassSubscriptionDefinitionVersionWithName(name string) (*greengrass.SubscriptionDefinitionVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.Rule: + case *greengrass.SubscriptionDefinitionVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.Rule not found", name) + return nil, fmt.Errorf("resource %q of type greengrass.SubscriptionDefinitionVersion not found", name) } -// GetAllIAMPolicyResources retrieves all iam.Policy items from an AWS CloudFormation template -func (t *Template) GetAllIAMPolicyResources() map[string]*iam.Policy { - results := map[string]*iam.Policy{} +// GetAllGuardDutyDetectorResources retrieves all guardduty.Detector items from an AWS CloudFormation template +func (t *Template) GetAllGuardDutyDetectorResources() map[string]*guardduty.Detector { + results := map[string]*guardduty.Detector{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.Policy: + case *guardduty.Detector: results[name] = resource } } return results } -// GetIAMPolicyWithName retrieves all iam.Policy items from an AWS CloudFormation template +// GetGuardDutyDetectorWithName retrieves all guardduty.Detector items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMPolicyWithName(name string) (*iam.Policy, error) { +func (t *Template) GetGuardDutyDetectorWithName(name string) (*guardduty.Detector, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.Policy: + case *guardduty.Detector: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.Policy not found", name) + return nil, fmt.Errorf("resource %q of type guardduty.Detector not found", name) } -// GetAllServiceCatalogPortfolioProductAssociationResources retrieves all servicecatalog.PortfolioProductAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioProductAssociationResources() map[string]*servicecatalog.PortfolioProductAssociation { - results := map[string]*servicecatalog.PortfolioProductAssociation{} +// GetAllGuardDutyFilterResources retrieves all guardduty.Filter items from an AWS CloudFormation template +func (t *Template) GetAllGuardDutyFilterResources() map[string]*guardduty.Filter { + results := map[string]*guardduty.Filter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.PortfolioProductAssociation: + case *guardduty.Filter: results[name] = resource } } return results } -// GetServiceCatalogPortfolioProductAssociationWithName retrieves all servicecatalog.PortfolioProductAssociation items from an AWS CloudFormation template +// GetGuardDutyFilterWithName retrieves all guardduty.Filter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioProductAssociationWithName(name string) (*servicecatalog.PortfolioProductAssociation, error) { +func (t *Template) GetGuardDutyFilterWithName(name string) (*guardduty.Filter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.PortfolioProductAssociation: + case *guardduty.Filter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioProductAssociation not found", name) + return nil, fmt.Errorf("resource %q of type guardduty.Filter not found", name) } -// GetAllIoT1ClickPlacementResources retrieves all iot1click.Placement items from an AWS CloudFormation template -func (t *Template) GetAllIoT1ClickPlacementResources() map[string]*iot1click.Placement { - results := map[string]*iot1click.Placement{} +// GetAllGuardDutyIPSetResources retrieves all guardduty.IPSet items from an AWS CloudFormation template +func (t *Template) GetAllGuardDutyIPSetResources() map[string]*guardduty.IPSet { + results := map[string]*guardduty.IPSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot1click.Placement: + case *guardduty.IPSet: results[name] = resource } } return results } -// GetIoT1ClickPlacementWithName retrieves all iot1click.Placement items from an AWS CloudFormation template +// GetGuardDutyIPSetWithName retrieves all guardduty.IPSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoT1ClickPlacementWithName(name string) (*iot1click.Placement, error) { +func (t *Template) GetGuardDutyIPSetWithName(name string) (*guardduty.IPSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot1click.Placement: + case *guardduty.IPSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot1click.Placement not found", name) + return nil, fmt.Errorf("resource %q of type guardduty.IPSet not found", name) } -// GetAllIoTAnalyticsDatastoreResources retrieves all iotanalytics.Datastore items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsDatastoreResources() map[string]*iotanalytics.Datastore { - results := map[string]*iotanalytics.Datastore{} +// GetAllGuardDutyMasterResources retrieves all guardduty.Master items from an AWS CloudFormation template +func (t *Template) GetAllGuardDutyMasterResources() map[string]*guardduty.Master { + results := map[string]*guardduty.Master{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotanalytics.Datastore: + case *guardduty.Master: results[name] = resource } } return results } -// GetIoTAnalyticsDatastoreWithName retrieves all iotanalytics.Datastore items from an AWS CloudFormation template +// GetGuardDutyMasterWithName retrieves all guardduty.Master items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsDatastoreWithName(name string) (*iotanalytics.Datastore, error) { +func (t *Template) GetGuardDutyMasterWithName(name string) (*guardduty.Master, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotanalytics.Datastore: + case *guardduty.Master: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotanalytics.Datastore not found", name) + return nil, fmt.Errorf("resource %q of type guardduty.Master not found", name) } -// GetAllServiceDiscoveryHttpNamespaceResources retrieves all servicediscovery.HttpNamespace items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryHttpNamespaceResources() map[string]*servicediscovery.HttpNamespace { - results := map[string]*servicediscovery.HttpNamespace{} +// GetAllGuardDutyMemberResources retrieves all guardduty.Member items from an AWS CloudFormation template +func (t *Template) GetAllGuardDutyMemberResources() map[string]*guardduty.Member { + results := map[string]*guardduty.Member{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.HttpNamespace: + case *guardduty.Member: results[name] = resource } } return results } -// GetServiceDiscoveryHttpNamespaceWithName retrieves all servicediscovery.HttpNamespace items from an AWS CloudFormation template +// GetGuardDutyMemberWithName retrieves all guardduty.Member items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryHttpNamespaceWithName(name string) (*servicediscovery.HttpNamespace, error) { +func (t *Template) GetGuardDutyMemberWithName(name string) (*guardduty.Member, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.HttpNamespace: + case *guardduty.Member: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.HttpNamespace not found", name) + return nil, fmt.Errorf("resource %q of type guardduty.Member not found", name) } -// GetAllLogsLogGroupResources retrieves all logs.LogGroup items from an AWS CloudFormation template -func (t *Template) GetAllLogsLogGroupResources() map[string]*logs.LogGroup { - results := map[string]*logs.LogGroup{} +// GetAllGuardDutyThreatIntelSetResources retrieves all guardduty.ThreatIntelSet items from an AWS CloudFormation template +func (t *Template) GetAllGuardDutyThreatIntelSetResources() map[string]*guardduty.ThreatIntelSet { + results := map[string]*guardduty.ThreatIntelSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *logs.LogGroup: + case *guardduty.ThreatIntelSet: results[name] = resource } } return results } -// GetLogsLogGroupWithName retrieves all logs.LogGroup items from an AWS CloudFormation template +// GetGuardDutyThreatIntelSetWithName retrieves all guardduty.ThreatIntelSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsLogGroupWithName(name string) (*logs.LogGroup, error) { +func (t *Template) GetGuardDutyThreatIntelSetWithName(name string) (*guardduty.ThreatIntelSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *logs.LogGroup: + case *guardduty.ThreatIntelSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type logs.LogGroup not found", name) + return nil, fmt.Errorf("resource %q of type guardduty.ThreatIntelSet not found", name) } -// GetAllEC2RouteTableResources retrieves all ec2.RouteTable items from an AWS CloudFormation template -func (t *Template) GetAllEC2RouteTableResources() map[string]*ec2.RouteTable { - results := map[string]*ec2.RouteTable{} +// GetAllIAMAccessKeyResources retrieves all iam.AccessKey items from an AWS CloudFormation template +func (t *Template) GetAllIAMAccessKeyResources() map[string]*iam.AccessKey { + results := map[string]*iam.AccessKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.RouteTable: + case *iam.AccessKey: results[name] = resource } } return results } -// GetEC2RouteTableWithName retrieves all ec2.RouteTable items from an AWS CloudFormation template +// GetIAMAccessKeyWithName retrieves all iam.AccessKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2RouteTableWithName(name string) (*ec2.RouteTable, error) { +func (t *Template) GetIAMAccessKeyWithName(name string) (*iam.AccessKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.RouteTable: + case *iam.AccessKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.RouteTable not found", name) + return nil, fmt.Errorf("resource %q of type iam.AccessKey not found", name) } -// GetAllApiGatewayV2RouteResources retrieves all apigatewayv2.Route items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2RouteResources() map[string]*apigatewayv2.Route { - results := map[string]*apigatewayv2.Route{} +// GetAllIAMGroupResources retrieves all iam.Group items from an AWS CloudFormation template +func (t *Template) GetAllIAMGroupResources() map[string]*iam.Group { + results := map[string]*iam.Group{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Route: + case *iam.Group: results[name] = resource } } return results } -// GetApiGatewayV2RouteWithName retrieves all apigatewayv2.Route items from an AWS CloudFormation template +// GetIAMGroupWithName retrieves all iam.Group items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2RouteWithName(name string) (*apigatewayv2.Route, error) { +func (t *Template) GetIAMGroupWithName(name string) (*iam.Group, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Route: + case *iam.Group: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Route not found", name) + return nil, fmt.Errorf("resource %q of type iam.Group not found", name) } -// GetAllEC2VPNConnectionRouteResources retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNConnectionRouteResources() map[string]*ec2.VPNConnectionRoute { - results := map[string]*ec2.VPNConnectionRoute{} +// GetAllIAMInstanceProfileResources retrieves all iam.InstanceProfile items from an AWS CloudFormation template +func (t *Template) GetAllIAMInstanceProfileResources() map[string]*iam.InstanceProfile { + results := map[string]*iam.InstanceProfile{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPNConnectionRoute: + case *iam.InstanceProfile: results[name] = resource } } return results } -// GetEC2VPNConnectionRouteWithName retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template +// GetIAMInstanceProfileWithName retrieves all iam.InstanceProfile items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNConnectionRouteWithName(name string) (*ec2.VPNConnectionRoute, error) { +func (t *Template) GetIAMInstanceProfileWithName(name string) (*iam.InstanceProfile, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPNConnectionRoute: + case *iam.InstanceProfile: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPNConnectionRoute not found", name) + return nil, fmt.Errorf("resource %q of type iam.InstanceProfile not found", name) } -// GetAllOpsWorksStackResources retrieves all opsworks.Stack items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksStackResources() map[string]*opsworks.Stack { - results := map[string]*opsworks.Stack{} +// GetAllIAMManagedPolicyResources retrieves all iam.ManagedPolicy items from an AWS CloudFormation template +func (t *Template) GetAllIAMManagedPolicyResources() map[string]*iam.ManagedPolicy { + results := map[string]*iam.ManagedPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.Stack: + case *iam.ManagedPolicy: results[name] = resource } } return results } -// GetOpsWorksStackWithName retrieves all opsworks.Stack items from an AWS CloudFormation template +// GetIAMManagedPolicyWithName retrieves all iam.ManagedPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksStackWithName(name string) (*opsworks.Stack, error) { +func (t *Template) GetIAMManagedPolicyWithName(name string) (*iam.ManagedPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.Stack: + case *iam.ManagedPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.Stack not found", name) + return nil, fmt.Errorf("resource %q of type iam.ManagedPolicy not found", name) } -// GetAllDirectoryServiceMicrosoftADResources retrieves all directoryservice.MicrosoftAD items from an AWS CloudFormation template -func (t *Template) GetAllDirectoryServiceMicrosoftADResources() map[string]*directoryservice.MicrosoftAD { - results := map[string]*directoryservice.MicrosoftAD{} +// GetAllIAMPolicyResources retrieves all iam.Policy items from an AWS CloudFormation template +func (t *Template) GetAllIAMPolicyResources() map[string]*iam.Policy { + results := map[string]*iam.Policy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *directoryservice.MicrosoftAD: + case *iam.Policy: results[name] = resource } } return results } -// GetDirectoryServiceMicrosoftADWithName retrieves all directoryservice.MicrosoftAD items from an AWS CloudFormation template +// GetIAMPolicyWithName retrieves all iam.Policy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDirectoryServiceMicrosoftADWithName(name string) (*directoryservice.MicrosoftAD, error) { +func (t *Template) GetIAMPolicyWithName(name string) (*iam.Policy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *directoryservice.MicrosoftAD: + case *iam.Policy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type directoryservice.MicrosoftAD not found", name) + return nil, fmt.Errorf("resource %q of type iam.Policy not found", name) } -// GetAllDataPipelinePipelineResources retrieves all datapipeline.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllDataPipelinePipelineResources() map[string]*datapipeline.Pipeline { - results := map[string]*datapipeline.Pipeline{} +// GetAllIAMRoleResources retrieves all iam.Role items from an AWS CloudFormation template +func (t *Template) GetAllIAMRoleResources() map[string]*iam.Role { + results := map[string]*iam.Role{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *datapipeline.Pipeline: + case *iam.Role: results[name] = resource } } return results } -// GetDataPipelinePipelineWithName retrieves all datapipeline.Pipeline items from an AWS CloudFormation template +// GetIAMRoleWithName retrieves all iam.Role items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataPipelinePipelineWithName(name string) (*datapipeline.Pipeline, error) { +func (t *Template) GetIAMRoleWithName(name string) (*iam.Role, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *datapipeline.Pipeline: + case *iam.Role: return resource, nil } } - return nil, fmt.Errorf("resource %q of type datapipeline.Pipeline not found", name) + return nil, fmt.Errorf("resource %q of type iam.Role not found", name) } -// GetAllBatchJobDefinitionResources retrieves all batch.JobDefinition items from an AWS CloudFormation template -func (t *Template) GetAllBatchJobDefinitionResources() map[string]*batch.JobDefinition { - results := map[string]*batch.JobDefinition{} +// GetAllIAMServiceLinkedRoleResources retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template +func (t *Template) GetAllIAMServiceLinkedRoleResources() map[string]*iam.ServiceLinkedRole { + results := map[string]*iam.ServiceLinkedRole{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.JobDefinition: + case *iam.ServiceLinkedRole: results[name] = resource } } return results } -// GetBatchJobDefinitionWithName retrieves all batch.JobDefinition items from an AWS CloudFormation template +// GetIAMServiceLinkedRoleWithName retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchJobDefinitionWithName(name string) (*batch.JobDefinition, error) { +func (t *Template) GetIAMServiceLinkedRoleWithName(name string) (*iam.ServiceLinkedRole, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.JobDefinition: + case *iam.ServiceLinkedRole: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.JobDefinition not found", name) + return nil, fmt.Errorf("resource %q of type iam.ServiceLinkedRole not found", name) } -// GetAllGreengrassResourceDefinitionResources retrieves all greengrass.ResourceDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassResourceDefinitionResources() map[string]*greengrass.ResourceDefinition { - results := map[string]*greengrass.ResourceDefinition{} +// GetAllIAMUserResources retrieves all iam.User items from an AWS CloudFormation template +func (t *Template) GetAllIAMUserResources() map[string]*iam.User { + results := map[string]*iam.User{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.ResourceDefinition: + case *iam.User: results[name] = resource } } return results } -// GetGreengrassResourceDefinitionWithName retrieves all greengrass.ResourceDefinition items from an AWS CloudFormation template +// GetIAMUserWithName retrieves all iam.User items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassResourceDefinitionWithName(name string) (*greengrass.ResourceDefinition, error) { +func (t *Template) GetIAMUserWithName(name string) (*iam.User, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.ResourceDefinition: + case *iam.User: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.ResourceDefinition not found", name) + return nil, fmt.Errorf("resource %q of type iam.User not found", name) } -// GetAllIAMRoleResources retrieves all iam.Role items from an AWS CloudFormation template -func (t *Template) GetAllIAMRoleResources() map[string]*iam.Role { - results := map[string]*iam.Role{} +// GetAllIAMUserToGroupAdditionResources retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template +func (t *Template) GetAllIAMUserToGroupAdditionResources() map[string]*iam.UserToGroupAddition { + results := map[string]*iam.UserToGroupAddition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.Role: + case *iam.UserToGroupAddition: results[name] = resource } } return results } -// GetIAMRoleWithName retrieves all iam.Role items from an AWS CloudFormation template +// GetIAMUserToGroupAdditionWithName retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMRoleWithName(name string) (*iam.Role, error) { +func (t *Template) GetIAMUserToGroupAdditionWithName(name string) (*iam.UserToGroupAddition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.Role: + case *iam.UserToGroupAddition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.Role not found", name) + return nil, fmt.Errorf("resource %q of type iam.UserToGroupAddition not found", name) } -// GetAllServiceCatalogLaunchTemplateConstraintResources retrieves all servicecatalog.LaunchTemplateConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogLaunchTemplateConstraintResources() map[string]*servicecatalog.LaunchTemplateConstraint { - results := map[string]*servicecatalog.LaunchTemplateConstraint{} +// GetAllInspectorAssessmentTargetResources retrieves all inspector.AssessmentTarget items from an AWS CloudFormation template +func (t *Template) GetAllInspectorAssessmentTargetResources() map[string]*inspector.AssessmentTarget { + results := map[string]*inspector.AssessmentTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.LaunchTemplateConstraint: + case *inspector.AssessmentTarget: results[name] = resource } } return results } -// GetServiceCatalogLaunchTemplateConstraintWithName retrieves all servicecatalog.LaunchTemplateConstraint items from an AWS CloudFormation template +// GetInspectorAssessmentTargetWithName retrieves all inspector.AssessmentTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogLaunchTemplateConstraintWithName(name string) (*servicecatalog.LaunchTemplateConstraint, error) { +func (t *Template) GetInspectorAssessmentTargetWithName(name string) (*inspector.AssessmentTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.LaunchTemplateConstraint: + case *inspector.AssessmentTarget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchTemplateConstraint not found", name) + return nil, fmt.Errorf("resource %q of type inspector.AssessmentTarget not found", name) } -// GetAllBatchComputeEnvironmentResources retrieves all batch.ComputeEnvironment items from an AWS CloudFormation template -func (t *Template) GetAllBatchComputeEnvironmentResources() map[string]*batch.ComputeEnvironment { - results := map[string]*batch.ComputeEnvironment{} +// GetAllInspectorAssessmentTemplateResources retrieves all inspector.AssessmentTemplate items from an AWS CloudFormation template +func (t *Template) GetAllInspectorAssessmentTemplateResources() map[string]*inspector.AssessmentTemplate { + results := map[string]*inspector.AssessmentTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.ComputeEnvironment: + case *inspector.AssessmentTemplate: results[name] = resource } } return results } -// GetBatchComputeEnvironmentWithName retrieves all batch.ComputeEnvironment items from an AWS CloudFormation template +// GetInspectorAssessmentTemplateWithName retrieves all inspector.AssessmentTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchComputeEnvironmentWithName(name string) (*batch.ComputeEnvironment, error) { +func (t *Template) GetInspectorAssessmentTemplateWithName(name string) (*inspector.AssessmentTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.ComputeEnvironment: + case *inspector.AssessmentTemplate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.ComputeEnvironment not found", name) + return nil, fmt.Errorf("resource %q of type inspector.AssessmentTemplate not found", name) } -// GetAllDMSEndpointResources retrieves all dms.Endpoint items from an AWS CloudFormation template -func (t *Template) GetAllDMSEndpointResources() map[string]*dms.Endpoint { - results := map[string]*dms.Endpoint{} +// GetAllInspectorResourceGroupResources retrieves all inspector.ResourceGroup items from an AWS CloudFormation template +func (t *Template) GetAllInspectorResourceGroupResources() map[string]*inspector.ResourceGroup { + results := map[string]*inspector.ResourceGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dms.Endpoint: + case *inspector.ResourceGroup: results[name] = resource } } return results } -// GetDMSEndpointWithName retrieves all dms.Endpoint items from an AWS CloudFormation template +// GetInspectorResourceGroupWithName retrieves all inspector.ResourceGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSEndpointWithName(name string) (*dms.Endpoint, error) { +func (t *Template) GetInspectorResourceGroupWithName(name string) (*inspector.ResourceGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dms.Endpoint: + case *inspector.ResourceGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dms.Endpoint not found", name) + return nil, fmt.Errorf("resource %q of type inspector.ResourceGroup not found", name) } -// GetAllGlueDataCatalogEncryptionSettingsResources retrieves all glue.DataCatalogEncryptionSettings items from an AWS CloudFormation template -func (t *Template) GetAllGlueDataCatalogEncryptionSettingsResources() map[string]*glue.DataCatalogEncryptionSettings { - results := map[string]*glue.DataCatalogEncryptionSettings{} +// GetAllIoT1ClickDeviceResources retrieves all iot1click.Device items from an AWS CloudFormation template +func (t *Template) GetAllIoT1ClickDeviceResources() map[string]*iot1click.Device { + results := map[string]*iot1click.Device{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.DataCatalogEncryptionSettings: + case *iot1click.Device: results[name] = resource } } return results } -// GetGlueDataCatalogEncryptionSettingsWithName retrieves all glue.DataCatalogEncryptionSettings items from an AWS CloudFormation template +// GetIoT1ClickDeviceWithName retrieves all iot1click.Device items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueDataCatalogEncryptionSettingsWithName(name string) (*glue.DataCatalogEncryptionSettings, error) { +func (t *Template) GetIoT1ClickDeviceWithName(name string) (*iot1click.Device, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.DataCatalogEncryptionSettings: + case *iot1click.Device: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.DataCatalogEncryptionSettings not found", name) + return nil, fmt.Errorf("resource %q of type iot1click.Device not found", name) } -// GetAllAppMeshVirtualRouterResources retrieves all appmesh.VirtualRouter items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualRouterResources() map[string]*appmesh.VirtualRouter { - results := map[string]*appmesh.VirtualRouter{} +// GetAllIoT1ClickPlacementResources retrieves all iot1click.Placement items from an AWS CloudFormation template +func (t *Template) GetAllIoT1ClickPlacementResources() map[string]*iot1click.Placement { + results := map[string]*iot1click.Placement{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualRouter: + case *iot1click.Placement: results[name] = resource } } return results } -// GetAppMeshVirtualRouterWithName retrieves all appmesh.VirtualRouter items from an AWS CloudFormation template +// GetIoT1ClickPlacementWithName retrieves all iot1click.Placement items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualRouterWithName(name string) (*appmesh.VirtualRouter, error) { +func (t *Template) GetIoT1ClickPlacementWithName(name string) (*iot1click.Placement, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualRouter: + case *iot1click.Placement: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualRouter not found", name) + return nil, fmt.Errorf("resource %q of type iot1click.Placement not found", name) } -// GetAllAmplifyAppResources retrieves all amplify.App items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyAppResources() map[string]*amplify.App { - results := map[string]*amplify.App{} +// GetAllIoT1ClickProjectResources retrieves all iot1click.Project items from an AWS CloudFormation template +func (t *Template) GetAllIoT1ClickProjectResources() map[string]*iot1click.Project { + results := map[string]*iot1click.Project{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplify.App: + case *iot1click.Project: results[name] = resource } } return results } -// GetAmplifyAppWithName retrieves all amplify.App items from an AWS CloudFormation template +// GetIoT1ClickProjectWithName retrieves all iot1click.Project items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyAppWithName(name string) (*amplify.App, error) { +func (t *Template) GetIoT1ClickProjectWithName(name string) (*iot1click.Project, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplify.App: + case *iot1click.Project: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplify.App not found", name) + return nil, fmt.Errorf("resource %q of type iot1click.Project not found", name) } -// GetAllNeptuneDBSubnetGroupResources retrieves all neptune.DBSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBSubnetGroupResources() map[string]*neptune.DBSubnetGroup { - results := map[string]*neptune.DBSubnetGroup{} +// GetAllIoTCertificateResources retrieves all iot.Certificate items from an AWS CloudFormation template +func (t *Template) GetAllIoTCertificateResources() map[string]*iot.Certificate { + results := map[string]*iot.Certificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *neptune.DBSubnetGroup: + case *iot.Certificate: results[name] = resource } } return results } -// GetNeptuneDBSubnetGroupWithName retrieves all neptune.DBSubnetGroup items from an AWS CloudFormation template +// GetIoTCertificateWithName retrieves all iot.Certificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBSubnetGroupWithName(name string) (*neptune.DBSubnetGroup, error) { +func (t *Template) GetIoTCertificateWithName(name string) (*iot.Certificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *neptune.DBSubnetGroup: + case *iot.Certificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type neptune.DBSubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type iot.Certificate not found", name) } -// GetAllCloudFormationWaitConditionResources retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationWaitConditionResources() map[string]*cloudformation.WaitCondition { - results := map[string]*cloudformation.WaitCondition{} +// GetAllIoTPolicyResources retrieves all iot.Policy items from an AWS CloudFormation template +func (t *Template) GetAllIoTPolicyResources() map[string]*iot.Policy { + results := map[string]*iot.Policy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudformation.WaitCondition: + case *iot.Policy: results[name] = resource } } return results } -// GetCloudFormationWaitConditionWithName retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template +// GetIoTPolicyWithName retrieves all iot.Policy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationWaitConditionWithName(name string) (*cloudformation.WaitCondition, error) { +func (t *Template) GetIoTPolicyWithName(name string) (*iot.Policy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudformation.WaitCondition: + case *iot.Policy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudformation.WaitCondition not found", name) + return nil, fmt.Errorf("resource %q of type iot.Policy not found", name) } -// GetAllApplicationAutoScalingScalableTargetResources retrieves all applicationautoscaling.ScalableTarget items from an AWS CloudFormation template -func (t *Template) GetAllApplicationAutoScalingScalableTargetResources() map[string]*applicationautoscaling.ScalableTarget { - results := map[string]*applicationautoscaling.ScalableTarget{} +// GetAllIoTPolicyPrincipalAttachmentResources retrieves all iot.PolicyPrincipalAttachment items from an AWS CloudFormation template +func (t *Template) GetAllIoTPolicyPrincipalAttachmentResources() map[string]*iot.PolicyPrincipalAttachment { + results := map[string]*iot.PolicyPrincipalAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *applicationautoscaling.ScalableTarget: + case *iot.PolicyPrincipalAttachment: results[name] = resource } } return results } -// GetApplicationAutoScalingScalableTargetWithName retrieves all applicationautoscaling.ScalableTarget items from an AWS CloudFormation template +// GetIoTPolicyPrincipalAttachmentWithName retrieves all iot.PolicyPrincipalAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApplicationAutoScalingScalableTargetWithName(name string) (*applicationautoscaling.ScalableTarget, error) { +func (t *Template) GetIoTPolicyPrincipalAttachmentWithName(name string) (*iot.PolicyPrincipalAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *applicationautoscaling.ScalableTarget: + case *iot.PolicyPrincipalAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type applicationautoscaling.ScalableTarget not found", name) + return nil, fmt.Errorf("resource %q of type iot.PolicyPrincipalAttachment not found", name) } -// GetAllRedshiftClusterResources retrieves all redshift.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterResources() map[string]*redshift.Cluster { - results := map[string]*redshift.Cluster{} +// GetAllIoTThingResources retrieves all iot.Thing items from an AWS CloudFormation template +func (t *Template) GetAllIoTThingResources() map[string]*iot.Thing { + results := map[string]*iot.Thing{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *redshift.Cluster: + case *iot.Thing: results[name] = resource } } return results } -// GetRedshiftClusterWithName retrieves all redshift.Cluster items from an AWS CloudFormation template +// GetIoTThingWithName retrieves all iot.Thing items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterWithName(name string) (*redshift.Cluster, error) { +func (t *Template) GetIoTThingWithName(name string) (*iot.Thing, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *redshift.Cluster: + case *iot.Thing: return resource, nil } } - return nil, fmt.Errorf("resource %q of type redshift.Cluster not found", name) + return nil, fmt.Errorf("resource %q of type iot.Thing not found", name) } -// GetAllApiGatewayV2IntegrationResources retrieves all apigatewayv2.Integration items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2IntegrationResources() map[string]*apigatewayv2.Integration { - results := map[string]*apigatewayv2.Integration{} +// GetAllIoTThingPrincipalAttachmentResources retrieves all iot.ThingPrincipalAttachment items from an AWS CloudFormation template +func (t *Template) GetAllIoTThingPrincipalAttachmentResources() map[string]*iot.ThingPrincipalAttachment { + results := map[string]*iot.ThingPrincipalAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Integration: + case *iot.ThingPrincipalAttachment: results[name] = resource } } return results } -// GetApiGatewayV2IntegrationWithName retrieves all apigatewayv2.Integration items from an AWS CloudFormation template +// GetIoTThingPrincipalAttachmentWithName retrieves all iot.ThingPrincipalAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2IntegrationWithName(name string) (*apigatewayv2.Integration, error) { +func (t *Template) GetIoTThingPrincipalAttachmentWithName(name string) (*iot.ThingPrincipalAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Integration: + case *iot.ThingPrincipalAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Integration not found", name) + return nil, fmt.Errorf("resource %q of type iot.ThingPrincipalAttachment not found", name) } -// GetAllAppSyncFunctionConfigurationResources retrieves all appsync.FunctionConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncFunctionConfigurationResources() map[string]*appsync.FunctionConfiguration { - results := map[string]*appsync.FunctionConfiguration{} +// GetAllIoTTopicRuleResources retrieves all iot.TopicRule items from an AWS CloudFormation template +func (t *Template) GetAllIoTTopicRuleResources() map[string]*iot.TopicRule { + results := map[string]*iot.TopicRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.FunctionConfiguration: + case *iot.TopicRule: results[name] = resource } } return results } -// GetAppSyncFunctionConfigurationWithName retrieves all appsync.FunctionConfiguration items from an AWS CloudFormation template +// GetIoTTopicRuleWithName retrieves all iot.TopicRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncFunctionConfigurationWithName(name string) (*appsync.FunctionConfiguration, error) { +func (t *Template) GetIoTTopicRuleWithName(name string) (*iot.TopicRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.FunctionConfiguration: + case *iot.TopicRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.FunctionConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type iot.TopicRule not found", name) } -// GetAllCognitoUserPoolUICustomizationAttachmentResources retrieves all cognito.UserPoolUICustomizationAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolUICustomizationAttachmentResources() map[string]*cognito.UserPoolUICustomizationAttachment { - results := map[string]*cognito.UserPoolUICustomizationAttachment{} +// GetAllIoTAnalyticsChannelResources retrieves all iotanalytics.Channel items from an AWS CloudFormation template +func (t *Template) GetAllIoTAnalyticsChannelResources() map[string]*iotanalytics.Channel { + results := map[string]*iotanalytics.Channel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolUICustomizationAttachment: + case *iotanalytics.Channel: results[name] = resource } } return results } -// GetCognitoUserPoolUICustomizationAttachmentWithName retrieves all cognito.UserPoolUICustomizationAttachment items from an AWS CloudFormation template +// GetIoTAnalyticsChannelWithName retrieves all iotanalytics.Channel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolUICustomizationAttachmentWithName(name string) (*cognito.UserPoolUICustomizationAttachment, error) { +func (t *Template) GetIoTAnalyticsChannelWithName(name string) (*iotanalytics.Channel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolUICustomizationAttachment: + case *iotanalytics.Channel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolUICustomizationAttachment not found", name) + return nil, fmt.Errorf("resource %q of type iotanalytics.Channel not found", name) } -// GetAllDynamoDBTableResources retrieves all dynamodb.Table items from an AWS CloudFormation template -func (t *Template) GetAllDynamoDBTableResources() map[string]*dynamodb.Table { - results := map[string]*dynamodb.Table{} +// GetAllIoTAnalyticsDatasetResources retrieves all iotanalytics.Dataset items from an AWS CloudFormation template +func (t *Template) GetAllIoTAnalyticsDatasetResources() map[string]*iotanalytics.Dataset { + results := map[string]*iotanalytics.Dataset{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dynamodb.Table: + case *iotanalytics.Dataset: results[name] = resource } } return results } -// GetDynamoDBTableWithName retrieves all dynamodb.Table items from an AWS CloudFormation template +// GetIoTAnalyticsDatasetWithName retrieves all iotanalytics.Dataset items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDynamoDBTableWithName(name string) (*dynamodb.Table, error) { +func (t *Template) GetIoTAnalyticsDatasetWithName(name string) (*iotanalytics.Dataset, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dynamodb.Table: + case *iotanalytics.Dataset: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dynamodb.Table not found", name) + return nil, fmt.Errorf("resource %q of type iotanalytics.Dataset not found", name) } -// GetAllBackupBackupPlanResources retrieves all backup.BackupPlan items from an AWS CloudFormation template -func (t *Template) GetAllBackupBackupPlanResources() map[string]*backup.BackupPlan { - results := map[string]*backup.BackupPlan{} +// GetAllIoTAnalyticsDatastoreResources retrieves all iotanalytics.Datastore items from an AWS CloudFormation template +func (t *Template) GetAllIoTAnalyticsDatastoreResources() map[string]*iotanalytics.Datastore { + results := map[string]*iotanalytics.Datastore{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.BackupPlan: + case *iotanalytics.Datastore: results[name] = resource } } return results } -// GetBackupBackupPlanWithName retrieves all backup.BackupPlan items from an AWS CloudFormation template +// GetIoTAnalyticsDatastoreWithName retrieves all iotanalytics.Datastore items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupBackupPlanWithName(name string) (*backup.BackupPlan, error) { +func (t *Template) GetIoTAnalyticsDatastoreWithName(name string) (*iotanalytics.Datastore, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.BackupPlan: + case *iotanalytics.Datastore: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.BackupPlan not found", name) + return nil, fmt.Errorf("resource %q of type iotanalytics.Datastore not found", name) } -// GetAllGreengrassDeviceDefinitionResources retrieves all greengrass.DeviceDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassDeviceDefinitionResources() map[string]*greengrass.DeviceDefinition { - results := map[string]*greengrass.DeviceDefinition{} +// GetAllIoTAnalyticsPipelineResources retrieves all iotanalytics.Pipeline items from an AWS CloudFormation template +func (t *Template) GetAllIoTAnalyticsPipelineResources() map[string]*iotanalytics.Pipeline { + results := map[string]*iotanalytics.Pipeline{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.DeviceDefinition: + case *iotanalytics.Pipeline: results[name] = resource } } return results } -// GetGreengrassDeviceDefinitionWithName retrieves all greengrass.DeviceDefinition items from an AWS CloudFormation template +// GetIoTAnalyticsPipelineWithName retrieves all iotanalytics.Pipeline items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassDeviceDefinitionWithName(name string) (*greengrass.DeviceDefinition, error) { +func (t *Template) GetIoTAnalyticsPipelineWithName(name string) (*iotanalytics.Pipeline, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.DeviceDefinition: + case *iotanalytics.Pipeline: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.DeviceDefinition not found", name) + return nil, fmt.Errorf("resource %q of type iotanalytics.Pipeline not found", name) } -// GetAllCodePipelinePipelineResources retrieves all codepipeline.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllCodePipelinePipelineResources() map[string]*codepipeline.Pipeline { - results := map[string]*codepipeline.Pipeline{} +// GetAllIoTEventsDetectorModelResources retrieves all iotevents.DetectorModel items from an AWS CloudFormation template +func (t *Template) GetAllIoTEventsDetectorModelResources() map[string]*iotevents.DetectorModel { + results := map[string]*iotevents.DetectorModel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codepipeline.Pipeline: + case *iotevents.DetectorModel: results[name] = resource } } return results } -// GetCodePipelinePipelineWithName retrieves all codepipeline.Pipeline items from an AWS CloudFormation template +// GetIoTEventsDetectorModelWithName retrieves all iotevents.DetectorModel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodePipelinePipelineWithName(name string) (*codepipeline.Pipeline, error) { +func (t *Template) GetIoTEventsDetectorModelWithName(name string) (*iotevents.DetectorModel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codepipeline.Pipeline: + case *iotevents.DetectorModel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codepipeline.Pipeline not found", name) + return nil, fmt.Errorf("resource %q of type iotevents.DetectorModel not found", name) } -// GetAllEC2SpotFleetResources retrieves all ec2.SpotFleet items from an AWS CloudFormation template -func (t *Template) GetAllEC2SpotFleetResources() map[string]*ec2.SpotFleet { - results := map[string]*ec2.SpotFleet{} +// GetAllIoTEventsInputResources retrieves all iotevents.Input items from an AWS CloudFormation template +func (t *Template) GetAllIoTEventsInputResources() map[string]*iotevents.Input { + results := map[string]*iotevents.Input{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SpotFleet: + case *iotevents.Input: results[name] = resource } } return results } -// GetEC2SpotFleetWithName retrieves all ec2.SpotFleet items from an AWS CloudFormation template +// GetIoTEventsInputWithName retrieves all iotevents.Input items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SpotFleetWithName(name string) (*ec2.SpotFleet, error) { +func (t *Template) GetIoTEventsInputWithName(name string) (*iotevents.Input, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SpotFleet: + case *iotevents.Input: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SpotFleet not found", name) + return nil, fmt.Errorf("resource %q of type iotevents.Input not found", name) } -// GetAllIoTAnalyticsDatasetResources retrieves all iotanalytics.Dataset items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsDatasetResources() map[string]*iotanalytics.Dataset { - results := map[string]*iotanalytics.Dataset{} +// GetAllIoTThingsGraphFlowTemplateResources retrieves all iotthingsgraph.FlowTemplate items from an AWS CloudFormation template +func (t *Template) GetAllIoTThingsGraphFlowTemplateResources() map[string]*iotthingsgraph.FlowTemplate { + results := map[string]*iotthingsgraph.FlowTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotanalytics.Dataset: + case *iotthingsgraph.FlowTemplate: results[name] = resource } } return results } -// GetIoTAnalyticsDatasetWithName retrieves all iotanalytics.Dataset items from an AWS CloudFormation template +// GetIoTThingsGraphFlowTemplateWithName retrieves all iotthingsgraph.FlowTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsDatasetWithName(name string) (*iotanalytics.Dataset, error) { +func (t *Template) GetIoTThingsGraphFlowTemplateWithName(name string) (*iotthingsgraph.FlowTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotanalytics.Dataset: + case *iotthingsgraph.FlowTemplate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotanalytics.Dataset not found", name) + return nil, fmt.Errorf("resource %q of type iotthingsgraph.FlowTemplate not found", name) } -// GetAllGreengrassLoggerDefinitionResources retrieves all greengrass.LoggerDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassLoggerDefinitionResources() map[string]*greengrass.LoggerDefinition { - results := map[string]*greengrass.LoggerDefinition{} +// GetAllKMSAliasResources retrieves all kms.Alias items from an AWS CloudFormation template +func (t *Template) GetAllKMSAliasResources() map[string]*kms.Alias { + results := map[string]*kms.Alias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.LoggerDefinition: + case *kms.Alias: results[name] = resource } } return results } -// GetGreengrassLoggerDefinitionWithName retrieves all greengrass.LoggerDefinition items from an AWS CloudFormation template +// GetKMSAliasWithName retrieves all kms.Alias items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassLoggerDefinitionWithName(name string) (*greengrass.LoggerDefinition, error) { +func (t *Template) GetKMSAliasWithName(name string) (*kms.Alias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.LoggerDefinition: + case *kms.Alias: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.LoggerDefinition not found", name) + return nil, fmt.Errorf("resource %q of type kms.Alias not found", name) } -// GetAllAppSyncGraphQLSchemaResources retrieves all appsync.GraphQLSchema items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncGraphQLSchemaResources() map[string]*appsync.GraphQLSchema { - results := map[string]*appsync.GraphQLSchema{} +// GetAllKMSKeyResources retrieves all kms.Key items from an AWS CloudFormation template +func (t *Template) GetAllKMSKeyResources() map[string]*kms.Key { + results := map[string]*kms.Key{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.GraphQLSchema: + case *kms.Key: results[name] = resource } } return results } -// GetAppSyncGraphQLSchemaWithName retrieves all appsync.GraphQLSchema items from an AWS CloudFormation template +// GetKMSKeyWithName retrieves all kms.Key items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncGraphQLSchemaWithName(name string) (*appsync.GraphQLSchema, error) { +func (t *Template) GetKMSKeyWithName(name string) (*kms.Key, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.GraphQLSchema: + case *kms.Key: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.GraphQLSchema not found", name) + return nil, fmt.Errorf("resource %q of type kms.Key not found", name) } -// GetAllS3BucketResources retrieves all s3.Bucket items from an AWS CloudFormation template -func (t *Template) GetAllS3BucketResources() map[string]*s3.Bucket { - results := map[string]*s3.Bucket{} +// GetAllKinesisStreamResources retrieves all kinesis.Stream items from an AWS CloudFormation template +func (t *Template) GetAllKinesisStreamResources() map[string]*kinesis.Stream { + results := map[string]*kinesis.Stream{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *s3.Bucket: + case *kinesis.Stream: results[name] = resource } } return results } -// GetS3BucketWithName retrieves all s3.Bucket items from an AWS CloudFormation template +// GetKinesisStreamWithName retrieves all kinesis.Stream items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3BucketWithName(name string) (*s3.Bucket, error) { +func (t *Template) GetKinesisStreamWithName(name string) (*kinesis.Stream, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *s3.Bucket: + case *kinesis.Stream: return resource, nil } } - return nil, fmt.Errorf("resource %q of type s3.Bucket not found", name) + return nil, fmt.Errorf("resource %q of type kinesis.Stream not found", name) } -// GetAllCognitoUserPoolDomainResources retrieves all cognito.UserPoolDomain items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolDomainResources() map[string]*cognito.UserPoolDomain { - results := map[string]*cognito.UserPoolDomain{} +// GetAllKinesisStreamConsumerResources retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template +func (t *Template) GetAllKinesisStreamConsumerResources() map[string]*kinesis.StreamConsumer { + results := map[string]*kinesis.StreamConsumer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolDomain: + case *kinesis.StreamConsumer: results[name] = resource } } return results } -// GetCognitoUserPoolDomainWithName retrieves all cognito.UserPoolDomain items from an AWS CloudFormation template +// GetKinesisStreamConsumerWithName retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolDomainWithName(name string) (*cognito.UserPoolDomain, error) { +func (t *Template) GetKinesisStreamConsumerWithName(name string) (*kinesis.StreamConsumer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolDomain: + case *kinesis.StreamConsumer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolDomain not found", name) + return nil, fmt.Errorf("resource %q of type kinesis.StreamConsumer not found", name) } -// GetAllKMSKeyResources retrieves all kms.Key items from an AWS CloudFormation template -func (t *Template) GetAllKMSKeyResources() map[string]*kms.Key { - results := map[string]*kms.Key{} +// GetAllKinesisAnalyticsApplicationResources retrieves all kinesisanalytics.Application items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsApplicationResources() map[string]*kinesisanalytics.Application { + results := map[string]*kinesisanalytics.Application{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kms.Key: + case *kinesisanalytics.Application: results[name] = resource } } return results } -// GetKMSKeyWithName retrieves all kms.Key items from an AWS CloudFormation template +// GetKinesisAnalyticsApplicationWithName retrieves all kinesisanalytics.Application items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKMSKeyWithName(name string) (*kms.Key, error) { +func (t *Template) GetKinesisAnalyticsApplicationWithName(name string) (*kinesisanalytics.Application, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kms.Key: + case *kinesisanalytics.Application: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kms.Key not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalytics.Application not found", name) } -// GetAllDMSReplicationSubnetGroupResources retrieves all dms.ReplicationSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllDMSReplicationSubnetGroupResources() map[string]*dms.ReplicationSubnetGroup { - results := map[string]*dms.ReplicationSubnetGroup{} +// GetAllKinesisAnalyticsApplicationOutputResources retrieves all kinesisanalytics.ApplicationOutput items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsApplicationOutputResources() map[string]*kinesisanalytics.ApplicationOutput { + results := map[string]*kinesisanalytics.ApplicationOutput{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dms.ReplicationSubnetGroup: + case *kinesisanalytics.ApplicationOutput: results[name] = resource } } return results } -// GetDMSReplicationSubnetGroupWithName retrieves all dms.ReplicationSubnetGroup items from an AWS CloudFormation template +// GetKinesisAnalyticsApplicationOutputWithName retrieves all kinesisanalytics.ApplicationOutput items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSReplicationSubnetGroupWithName(name string) (*dms.ReplicationSubnetGroup, error) { +func (t *Template) GetKinesisAnalyticsApplicationOutputWithName(name string) (*kinesisanalytics.ApplicationOutput, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dms.ReplicationSubnetGroup: + case *kinesisanalytics.ApplicationOutput: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dms.ReplicationSubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalytics.ApplicationOutput not found", name) } -// GetAllConfigConfigurationRecorderResources retrieves all config.ConfigurationRecorder items from an AWS CloudFormation template -func (t *Template) GetAllConfigConfigurationRecorderResources() map[string]*config.ConfigurationRecorder { - results := map[string]*config.ConfigurationRecorder{} +// GetAllKinesisAnalyticsApplicationReferenceDataSourceResources retrieves all kinesisanalytics.ApplicationReferenceDataSource items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsApplicationReferenceDataSourceResources() map[string]*kinesisanalytics.ApplicationReferenceDataSource { + results := map[string]*kinesisanalytics.ApplicationReferenceDataSource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.ConfigurationRecorder: + case *kinesisanalytics.ApplicationReferenceDataSource: results[name] = resource } } return results } -// GetConfigConfigurationRecorderWithName retrieves all config.ConfigurationRecorder items from an AWS CloudFormation template +// GetKinesisAnalyticsApplicationReferenceDataSourceWithName retrieves all kinesisanalytics.ApplicationReferenceDataSource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConfigurationRecorderWithName(name string) (*config.ConfigurationRecorder, error) { +func (t *Template) GetKinesisAnalyticsApplicationReferenceDataSourceWithName(name string) (*kinesisanalytics.ApplicationReferenceDataSource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.ConfigurationRecorder: + case *kinesisanalytics.ApplicationReferenceDataSource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.ConfigurationRecorder not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalytics.ApplicationReferenceDataSource not found", name) } -// GetAllSSMDocumentResources retrieves all ssm.Document items from an AWS CloudFormation template -func (t *Template) GetAllSSMDocumentResources() map[string]*ssm.Document { - results := map[string]*ssm.Document{} +// GetAllKinesisAnalyticsV2ApplicationResources retrieves all kinesisanalyticsv2.Application items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsV2ApplicationResources() map[string]*kinesisanalyticsv2.Application { + results := map[string]*kinesisanalyticsv2.Application{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.Document: + case *kinesisanalyticsv2.Application: results[name] = resource } } return results } -// GetSSMDocumentWithName retrieves all ssm.Document items from an AWS CloudFormation template +// GetKinesisAnalyticsV2ApplicationWithName retrieves all kinesisanalyticsv2.Application items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMDocumentWithName(name string) (*ssm.Document, error) { +func (t *Template) GetKinesisAnalyticsV2ApplicationWithName(name string) (*kinesisanalyticsv2.Application, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.Document: + case *kinesisanalyticsv2.Application: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.Document not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.Application not found", name) } -// GetAllEC2VPCEndpointConnectionNotificationResources retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointConnectionNotificationResources() map[string]*ec2.VPCEndpointConnectionNotification { - results := map[string]*ec2.VPCEndpointConnectionNotification{} +// GetAllKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources retrieves all kinesisanalyticsv2.ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources() map[string]*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption { + results := map[string]*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPCEndpointConnectionNotification: + case *kinesisanalyticsv2.ApplicationCloudWatchLoggingOption: results[name] = resource } } return results } -// GetEC2VPCEndpointConnectionNotificationWithName retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template +// GetKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName retrieves all kinesisanalyticsv2.ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointConnectionNotificationWithName(name string) (*ec2.VPCEndpointConnectionNotification, error) { +func (t *Template) GetKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName(name string) (*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPCEndpointConnectionNotification: + case *kinesisanalyticsv2.ApplicationCloudWatchLoggingOption: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointConnectionNotification not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationCloudWatchLoggingOption not found", name) } -// GetAllWAFRuleResources retrieves all waf.Rule items from an AWS CloudFormation template -func (t *Template) GetAllWAFRuleResources() map[string]*waf.Rule { - results := map[string]*waf.Rule{} +// GetAllKinesisAnalyticsV2ApplicationOutputResources retrieves all kinesisanalyticsv2.ApplicationOutput items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsV2ApplicationOutputResources() map[string]*kinesisanalyticsv2.ApplicationOutput { + results := map[string]*kinesisanalyticsv2.ApplicationOutput{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.Rule: + case *kinesisanalyticsv2.ApplicationOutput: results[name] = resource } } return results } -// GetWAFRuleWithName retrieves all waf.Rule items from an AWS CloudFormation template +// GetKinesisAnalyticsV2ApplicationOutputWithName retrieves all kinesisanalyticsv2.ApplicationOutput items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRuleWithName(name string) (*waf.Rule, error) { +func (t *Template) GetKinesisAnalyticsV2ApplicationOutputWithName(name string) (*kinesisanalyticsv2.ApplicationOutput, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.Rule: + case *kinesisanalyticsv2.ApplicationOutput: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.Rule not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationOutput not found", name) } -// GetAllCloudWatchAlarmResources retrieves all cloudwatch.Alarm items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchAlarmResources() map[string]*cloudwatch.Alarm { - results := map[string]*cloudwatch.Alarm{} +// GetAllKinesisAnalyticsV2ApplicationReferenceDataSourceResources retrieves all kinesisanalyticsv2.ApplicationReferenceDataSource items from an AWS CloudFormation template +func (t *Template) GetAllKinesisAnalyticsV2ApplicationReferenceDataSourceResources() map[string]*kinesisanalyticsv2.ApplicationReferenceDataSource { + results := map[string]*kinesisanalyticsv2.ApplicationReferenceDataSource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudwatch.Alarm: + case *kinesisanalyticsv2.ApplicationReferenceDataSource: results[name] = resource } } return results } -// GetCloudWatchAlarmWithName retrieves all cloudwatch.Alarm items from an AWS CloudFormation template +// GetKinesisAnalyticsV2ApplicationReferenceDataSourceWithName retrieves all kinesisanalyticsv2.ApplicationReferenceDataSource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchAlarmWithName(name string) (*cloudwatch.Alarm, error) { +func (t *Template) GetKinesisAnalyticsV2ApplicationReferenceDataSourceWithName(name string) (*kinesisanalyticsv2.ApplicationReferenceDataSource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudwatch.Alarm: + case *kinesisanalyticsv2.ApplicationReferenceDataSource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudwatch.Alarm not found", name) + return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationReferenceDataSource not found", name) } -// GetAllCloudWatchDashboardResources retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchDashboardResources() map[string]*cloudwatch.Dashboard { - results := map[string]*cloudwatch.Dashboard{} +// GetAllKinesisFirehoseDeliveryStreamResources retrieves all kinesisfirehose.DeliveryStream items from an AWS CloudFormation template +func (t *Template) GetAllKinesisFirehoseDeliveryStreamResources() map[string]*kinesisfirehose.DeliveryStream { + results := map[string]*kinesisfirehose.DeliveryStream{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudwatch.Dashboard: + case *kinesisfirehose.DeliveryStream: results[name] = resource } } return results } -// GetCloudWatchDashboardWithName retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template +// GetKinesisFirehoseDeliveryStreamWithName retrieves all kinesisfirehose.DeliveryStream items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchDashboardWithName(name string) (*cloudwatch.Dashboard, error) { +func (t *Template) GetKinesisFirehoseDeliveryStreamWithName(name string) (*kinesisfirehose.DeliveryStream, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudwatch.Dashboard: + case *kinesisfirehose.DeliveryStream: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudwatch.Dashboard not found", name) + return nil, fmt.Errorf("resource %q of type kinesisfirehose.DeliveryStream not found", name) } -// GetAllCodeBuildSourceCredentialResources retrieves all codebuild.SourceCredential items from an AWS CloudFormation template -func (t *Template) GetAllCodeBuildSourceCredentialResources() map[string]*codebuild.SourceCredential { - results := map[string]*codebuild.SourceCredential{} +// GetAllLakeFormationDataLakeSettingsResources retrieves all lakeformation.DataLakeSettings items from an AWS CloudFormation template +func (t *Template) GetAllLakeFormationDataLakeSettingsResources() map[string]*lakeformation.DataLakeSettings { + results := map[string]*lakeformation.DataLakeSettings{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codebuild.SourceCredential: + case *lakeformation.DataLakeSettings: results[name] = resource } } return results } -// GetCodeBuildSourceCredentialWithName retrieves all codebuild.SourceCredential items from an AWS CloudFormation template +// GetLakeFormationDataLakeSettingsWithName retrieves all lakeformation.DataLakeSettings items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeBuildSourceCredentialWithName(name string) (*codebuild.SourceCredential, error) { +func (t *Template) GetLakeFormationDataLakeSettingsWithName(name string) (*lakeformation.DataLakeSettings, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codebuild.SourceCredential: + case *lakeformation.DataLakeSettings: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codebuild.SourceCredential not found", name) + return nil, fmt.Errorf("resource %q of type lakeformation.DataLakeSettings not found", name) } -// GetAllCodePipelineWebhookResources retrieves all codepipeline.Webhook items from an AWS CloudFormation template -func (t *Template) GetAllCodePipelineWebhookResources() map[string]*codepipeline.Webhook { - results := map[string]*codepipeline.Webhook{} +// GetAllLakeFormationPermissionsResources retrieves all lakeformation.Permissions items from an AWS CloudFormation template +func (t *Template) GetAllLakeFormationPermissionsResources() map[string]*lakeformation.Permissions { + results := map[string]*lakeformation.Permissions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codepipeline.Webhook: + case *lakeformation.Permissions: results[name] = resource } } return results } -// GetCodePipelineWebhookWithName retrieves all codepipeline.Webhook items from an AWS CloudFormation template +// GetLakeFormationPermissionsWithName retrieves all lakeformation.Permissions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodePipelineWebhookWithName(name string) (*codepipeline.Webhook, error) { +func (t *Template) GetLakeFormationPermissionsWithName(name string) (*lakeformation.Permissions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codepipeline.Webhook: + case *lakeformation.Permissions: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codepipeline.Webhook not found", name) + return nil, fmt.Errorf("resource %q of type lakeformation.Permissions not found", name) } -// GetAllEC2VPNGatewayRoutePropagationResources retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNGatewayRoutePropagationResources() map[string]*ec2.VPNGatewayRoutePropagation { - results := map[string]*ec2.VPNGatewayRoutePropagation{} +// GetAllLakeFormationResourceResources retrieves all lakeformation.Resource items from an AWS CloudFormation template +func (t *Template) GetAllLakeFormationResourceResources() map[string]*lakeformation.Resource { + results := map[string]*lakeformation.Resource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPNGatewayRoutePropagation: + case *lakeformation.Resource: results[name] = resource } } return results } -// GetEC2VPNGatewayRoutePropagationWithName retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template +// GetLakeFormationResourceWithName retrieves all lakeformation.Resource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNGatewayRoutePropagationWithName(name string) (*ec2.VPNGatewayRoutePropagation, error) { +func (t *Template) GetLakeFormationResourceWithName(name string) (*lakeformation.Resource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPNGatewayRoutePropagation: + case *lakeformation.Resource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPNGatewayRoutePropagation not found", name) + return nil, fmt.Errorf("resource %q of type lakeformation.Resource not found", name) } -// GetAllECSClusterResources retrieves all ecs.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllECSClusterResources() map[string]*ecs.Cluster { - results := map[string]*ecs.Cluster{} +// GetAllLambdaAliasResources retrieves all lambda.Alias items from an AWS CloudFormation template +func (t *Template) GetAllLambdaAliasResources() map[string]*lambda.Alias { + results := map[string]*lambda.Alias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ecs.Cluster: + case *lambda.Alias: results[name] = resource } } return results } -// GetECSClusterWithName retrieves all ecs.Cluster items from an AWS CloudFormation template +// GetLambdaAliasWithName retrieves all lambda.Alias items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSClusterWithName(name string) (*ecs.Cluster, error) { +func (t *Template) GetLambdaAliasWithName(name string) (*lambda.Alias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ecs.Cluster: + case *lambda.Alias: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ecs.Cluster not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Alias not found", name) } -// GetAllServiceCatalogTagOptionResources retrieves all servicecatalog.TagOption items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogTagOptionResources() map[string]*servicecatalog.TagOption { - results := map[string]*servicecatalog.TagOption{} +// GetAllLambdaEventSourceMappingResources retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template +func (t *Template) GetAllLambdaEventSourceMappingResources() map[string]*lambda.EventSourceMapping { + results := map[string]*lambda.EventSourceMapping{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.TagOption: + case *lambda.EventSourceMapping: results[name] = resource } } return results } -// GetServiceCatalogTagOptionWithName retrieves all servicecatalog.TagOption items from an AWS CloudFormation template +// GetLambdaEventSourceMappingWithName retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogTagOptionWithName(name string) (*servicecatalog.TagOption, error) { +func (t *Template) GetLambdaEventSourceMappingWithName(name string) (*lambda.EventSourceMapping, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.TagOption: + case *lambda.EventSourceMapping: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.TagOption not found", name) + return nil, fmt.Errorf("resource %q of type lambda.EventSourceMapping not found", name) } -// GetAllSSMPatchBaselineResources retrieves all ssm.PatchBaseline items from an AWS CloudFormation template -func (t *Template) GetAllSSMPatchBaselineResources() map[string]*ssm.PatchBaseline { - results := map[string]*ssm.PatchBaseline{} +// GetAllLambdaFunctionResources retrieves all lambda.Function items from an AWS CloudFormation template +func (t *Template) GetAllLambdaFunctionResources() map[string]*lambda.Function { + results := map[string]*lambda.Function{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.PatchBaseline: + case *lambda.Function: results[name] = resource } } return results } -// GetSSMPatchBaselineWithName retrieves all ssm.PatchBaseline items from an AWS CloudFormation template +// GetLambdaFunctionWithName retrieves all lambda.Function items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMPatchBaselineWithName(name string) (*ssm.PatchBaseline, error) { +func (t *Template) GetLambdaFunctionWithName(name string) (*lambda.Function, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.PatchBaseline: + case *lambda.Function: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.PatchBaseline not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Function not found", name) } -// GetAllApiGatewayGatewayResponseResources retrieves all apigateway.GatewayResponse items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayGatewayResponseResources() map[string]*apigateway.GatewayResponse { - results := map[string]*apigateway.GatewayResponse{} +// GetAllLambdaLayerVersionResources retrieves all lambda.LayerVersion items from an AWS CloudFormation template +func (t *Template) GetAllLambdaLayerVersionResources() map[string]*lambda.LayerVersion { + results := map[string]*lambda.LayerVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.GatewayResponse: + case *lambda.LayerVersion: results[name] = resource } } return results } -// GetApiGatewayGatewayResponseWithName retrieves all apigateway.GatewayResponse items from an AWS CloudFormation template +// GetLambdaLayerVersionWithName retrieves all lambda.LayerVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayGatewayResponseWithName(name string) (*apigateway.GatewayResponse, error) { +func (t *Template) GetLambdaLayerVersionWithName(name string) (*lambda.LayerVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.GatewayResponse: + case *lambda.LayerVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.GatewayResponse not found", name) + return nil, fmt.Errorf("resource %q of type lambda.LayerVersion not found", name) } -// GetAllPinpointAPNSChannelResources retrieves all pinpoint.APNSChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSChannelResources() map[string]*pinpoint.APNSChannel { - results := map[string]*pinpoint.APNSChannel{} +// GetAllLambdaLayerVersionPermissionResources retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template +func (t *Template) GetAllLambdaLayerVersionPermissionResources() map[string]*lambda.LayerVersionPermission { + results := map[string]*lambda.LayerVersionPermission{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.APNSChannel: + case *lambda.LayerVersionPermission: results[name] = resource } } return results } -// GetPinpointAPNSChannelWithName retrieves all pinpoint.APNSChannel items from an AWS CloudFormation template +// GetLambdaLayerVersionPermissionWithName retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSChannelWithName(name string) (*pinpoint.APNSChannel, error) { +func (t *Template) GetLambdaLayerVersionPermissionWithName(name string) (*lambda.LayerVersionPermission, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.APNSChannel: + case *lambda.LayerVersionPermission: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSChannel not found", name) + return nil, fmt.Errorf("resource %q of type lambda.LayerVersionPermission not found", name) } -// GetAllBatchJobQueueResources retrieves all batch.JobQueue items from an AWS CloudFormation template -func (t *Template) GetAllBatchJobQueueResources() map[string]*batch.JobQueue { - results := map[string]*batch.JobQueue{} +// GetAllLambdaPermissionResources retrieves all lambda.Permission items from an AWS CloudFormation template +func (t *Template) GetAllLambdaPermissionResources() map[string]*lambda.Permission { + results := map[string]*lambda.Permission{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.JobQueue: + case *lambda.Permission: results[name] = resource } } return results } -// GetBatchJobQueueWithName retrieves all batch.JobQueue items from an AWS CloudFormation template +// GetLambdaPermissionWithName retrieves all lambda.Permission items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchJobQueueWithName(name string) (*batch.JobQueue, error) { +func (t *Template) GetLambdaPermissionWithName(name string) (*lambda.Permission, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.JobQueue: + case *lambda.Permission: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.JobQueue not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Permission not found", name) } -// GetAllBackupBackupVaultResources retrieves all backup.BackupVault items from an AWS CloudFormation template -func (t *Template) GetAllBackupBackupVaultResources() map[string]*backup.BackupVault { - results := map[string]*backup.BackupVault{} +// GetAllLambdaVersionResources retrieves all lambda.Version items from an AWS CloudFormation template +func (t *Template) GetAllLambdaVersionResources() map[string]*lambda.Version { + results := map[string]*lambda.Version{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.BackupVault: + case *lambda.Version: results[name] = resource } } return results } -// GetBackupBackupVaultWithName retrieves all backup.BackupVault items from an AWS CloudFormation template +// GetLambdaVersionWithName retrieves all lambda.Version items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupBackupVaultWithName(name string) (*backup.BackupVault, error) { +func (t *Template) GetLambdaVersionWithName(name string) (*lambda.Version, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.BackupVault: + case *lambda.Version: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.BackupVault not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Version not found", name) } -// GetAllRoute53ResolverResolverRuleAssociationResources retrieves all route53resolver.ResolverRuleAssociation items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverRuleAssociationResources() map[string]*route53resolver.ResolverRuleAssociation { - results := map[string]*route53resolver.ResolverRuleAssociation{} +// GetAllLogsDestinationResources retrieves all logs.Destination items from an AWS CloudFormation template +func (t *Template) GetAllLogsDestinationResources() map[string]*logs.Destination { + results := map[string]*logs.Destination{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53resolver.ResolverRuleAssociation: + case *logs.Destination: results[name] = resource } } return results } -// GetRoute53ResolverResolverRuleAssociationWithName retrieves all route53resolver.ResolverRuleAssociation items from an AWS CloudFormation template +// GetLogsDestinationWithName retrieves all logs.Destination items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverRuleAssociationWithName(name string) (*route53resolver.ResolverRuleAssociation, error) { +func (t *Template) GetLogsDestinationWithName(name string) (*logs.Destination, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53resolver.ResolverRuleAssociation: + case *logs.Destination: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverRuleAssociation not found", name) + return nil, fmt.Errorf("resource %q of type logs.Destination not found", name) } -// GetAllRDSDBSubnetGroupResources retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBSubnetGroupResources() map[string]*rds.DBSubnetGroup { - results := map[string]*rds.DBSubnetGroup{} +// GetAllLogsLogGroupResources retrieves all logs.LogGroup items from an AWS CloudFormation template +func (t *Template) GetAllLogsLogGroupResources() map[string]*logs.LogGroup { + results := map[string]*logs.LogGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBSubnetGroup: + case *logs.LogGroup: results[name] = resource } } return results } -// GetRDSDBSubnetGroupWithName retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template +// GetLogsLogGroupWithName retrieves all logs.LogGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBSubnetGroupWithName(name string) (*rds.DBSubnetGroup, error) { +func (t *Template) GetLogsLogGroupWithName(name string) (*logs.LogGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBSubnetGroup: + case *logs.LogGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBSubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type logs.LogGroup not found", name) } -// GetAllSecretsManagerRotationScheduleResources retrieves all secretsmanager.RotationSchedule items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerRotationScheduleResources() map[string]*secretsmanager.RotationSchedule { - results := map[string]*secretsmanager.RotationSchedule{} +// GetAllLogsLogStreamResources retrieves all logs.LogStream items from an AWS CloudFormation template +func (t *Template) GetAllLogsLogStreamResources() map[string]*logs.LogStream { + results := map[string]*logs.LogStream{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.RotationSchedule: + case *logs.LogStream: results[name] = resource } } return results } -// GetSecretsManagerRotationScheduleWithName retrieves all secretsmanager.RotationSchedule items from an AWS CloudFormation template +// GetLogsLogStreamWithName retrieves all logs.LogStream items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerRotationScheduleWithName(name string) (*secretsmanager.RotationSchedule, error) { +func (t *Template) GetLogsLogStreamWithName(name string) (*logs.LogStream, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.RotationSchedule: + case *logs.LogStream: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.RotationSchedule not found", name) + return nil, fmt.Errorf("resource %q of type logs.LogStream not found", name) } -// GetAllEMRSecurityConfigurationResources retrieves all emr.SecurityConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllEMRSecurityConfigurationResources() map[string]*emr.SecurityConfiguration { - results := map[string]*emr.SecurityConfiguration{} +// GetAllLogsMetricFilterResources retrieves all logs.MetricFilter items from an AWS CloudFormation template +func (t *Template) GetAllLogsMetricFilterResources() map[string]*logs.MetricFilter { + results := map[string]*logs.MetricFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *emr.SecurityConfiguration: + case *logs.MetricFilter: results[name] = resource } } return results } -// GetEMRSecurityConfigurationWithName retrieves all emr.SecurityConfiguration items from an AWS CloudFormation template +// GetLogsMetricFilterWithName retrieves all logs.MetricFilter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRSecurityConfigurationWithName(name string) (*emr.SecurityConfiguration, error) { +func (t *Template) GetLogsMetricFilterWithName(name string) (*logs.MetricFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *emr.SecurityConfiguration: + case *logs.MetricFilter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type emr.SecurityConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type logs.MetricFilter not found", name) } -// GetAllElasticBeanstalkApplicationResources retrieves all elasticbeanstalk.Application items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkApplicationResources() map[string]*elasticbeanstalk.Application { - results := map[string]*elasticbeanstalk.Application{} +// GetAllLogsSubscriptionFilterResources retrieves all logs.SubscriptionFilter items from an AWS CloudFormation template +func (t *Template) GetAllLogsSubscriptionFilterResources() map[string]*logs.SubscriptionFilter { + results := map[string]*logs.SubscriptionFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticbeanstalk.Application: + case *logs.SubscriptionFilter: results[name] = resource } } return results } -// GetElasticBeanstalkApplicationWithName retrieves all elasticbeanstalk.Application items from an AWS CloudFormation template +// GetLogsSubscriptionFilterWithName retrieves all logs.SubscriptionFilter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkApplicationWithName(name string) (*elasticbeanstalk.Application, error) { +func (t *Template) GetLogsSubscriptionFilterWithName(name string) (*logs.SubscriptionFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticbeanstalk.Application: + case *logs.SubscriptionFilter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.Application not found", name) + return nil, fmt.Errorf("resource %q of type logs.SubscriptionFilter not found", name) } -// GetAllCloudFormationWaitConditionHandleResources retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationWaitConditionHandleResources() map[string]*cloudformation.WaitConditionHandle { - results := map[string]*cloudformation.WaitConditionHandle{} +// GetAllMSKClusterResources retrieves all msk.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllMSKClusterResources() map[string]*msk.Cluster { + results := map[string]*msk.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudformation.WaitConditionHandle: + case *msk.Cluster: results[name] = resource } } return results } -// GetCloudFormationWaitConditionHandleWithName retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template +// GetMSKClusterWithName retrieves all msk.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationWaitConditionHandleWithName(name string) (*cloudformation.WaitConditionHandle, error) { +func (t *Template) GetMSKClusterWithName(name string) (*msk.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudformation.WaitConditionHandle: + case *msk.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudformation.WaitConditionHandle not found", name) + return nil, fmt.Errorf("resource %q of type msk.Cluster not found", name) } -// GetAllApiGatewayDeploymentResources retrieves all apigateway.Deployment items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDeploymentResources() map[string]*apigateway.Deployment { - results := map[string]*apigateway.Deployment{} +// GetAllManagedBlockchainMemberResources retrieves all managedblockchain.Member items from an AWS CloudFormation template +func (t *Template) GetAllManagedBlockchainMemberResources() map[string]*managedblockchain.Member { + results := map[string]*managedblockchain.Member{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Deployment: + case *managedblockchain.Member: results[name] = resource } } return results } -// GetApiGatewayDeploymentWithName retrieves all apigateway.Deployment items from an AWS CloudFormation template +// GetManagedBlockchainMemberWithName retrieves all managedblockchain.Member items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDeploymentWithName(name string) (*apigateway.Deployment, error) { +func (t *Template) GetManagedBlockchainMemberWithName(name string) (*managedblockchain.Member, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Deployment: + case *managedblockchain.Member: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Deployment not found", name) + return nil, fmt.Errorf("resource %q of type managedblockchain.Member not found", name) } -// GetAllGameLiftFleetResources retrieves all gamelift.Fleet items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftFleetResources() map[string]*gamelift.Fleet { - results := map[string]*gamelift.Fleet{} +// GetAllManagedBlockchainNodeResources retrieves all managedblockchain.Node items from an AWS CloudFormation template +func (t *Template) GetAllManagedBlockchainNodeResources() map[string]*managedblockchain.Node { + results := map[string]*managedblockchain.Node{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *gamelift.Fleet: + case *managedblockchain.Node: results[name] = resource } } return results } -// GetGameLiftFleetWithName retrieves all gamelift.Fleet items from an AWS CloudFormation template +// GetManagedBlockchainNodeWithName retrieves all managedblockchain.Node items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftFleetWithName(name string) (*gamelift.Fleet, error) { +func (t *Template) GetManagedBlockchainNodeWithName(name string) (*managedblockchain.Node, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *gamelift.Fleet: + case *managedblockchain.Node: return resource, nil } } - return nil, fmt.Errorf("resource %q of type gamelift.Fleet not found", name) + return nil, fmt.Errorf("resource %q of type managedblockchain.Node not found", name) } -// GetAllAppMeshVirtualNodeResources retrieves all appmesh.VirtualNode items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualNodeResources() map[string]*appmesh.VirtualNode { - results := map[string]*appmesh.VirtualNode{} +// GetAllMediaLiveChannelResources retrieves all medialive.Channel items from an AWS CloudFormation template +func (t *Template) GetAllMediaLiveChannelResources() map[string]*medialive.Channel { + results := map[string]*medialive.Channel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualNode: + case *medialive.Channel: results[name] = resource } } return results } -// GetAppMeshVirtualNodeWithName retrieves all appmesh.VirtualNode items from an AWS CloudFormation template +// GetMediaLiveChannelWithName retrieves all medialive.Channel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualNodeWithName(name string) (*appmesh.VirtualNode, error) { +func (t *Template) GetMediaLiveChannelWithName(name string) (*medialive.Channel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualNode: + case *medialive.Channel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualNode not found", name) + return nil, fmt.Errorf("resource %q of type medialive.Channel not found", name) } -// GetAllInspectorResourceGroupResources retrieves all inspector.ResourceGroup items from an AWS CloudFormation template -func (t *Template) GetAllInspectorResourceGroupResources() map[string]*inspector.ResourceGroup { - results := map[string]*inspector.ResourceGroup{} +// GetAllMediaLiveInputResources retrieves all medialive.Input items from an AWS CloudFormation template +func (t *Template) GetAllMediaLiveInputResources() map[string]*medialive.Input { + results := map[string]*medialive.Input{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *inspector.ResourceGroup: + case *medialive.Input: results[name] = resource } } return results } -// GetInspectorResourceGroupWithName retrieves all inspector.ResourceGroup items from an AWS CloudFormation template +// GetMediaLiveInputWithName retrieves all medialive.Input items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetInspectorResourceGroupWithName(name string) (*inspector.ResourceGroup, error) { +func (t *Template) GetMediaLiveInputWithName(name string) (*medialive.Input, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *inspector.ResourceGroup: + case *medialive.Input: return resource, nil } } - return nil, fmt.Errorf("resource %q of type inspector.ResourceGroup not found", name) + return nil, fmt.Errorf("resource %q of type medialive.Input not found", name) } -// GetAllIoTAnalyticsPipelineResources retrieves all iotanalytics.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsPipelineResources() map[string]*iotanalytics.Pipeline { - results := map[string]*iotanalytics.Pipeline{} +// GetAllMediaLiveInputSecurityGroupResources retrieves all medialive.InputSecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllMediaLiveInputSecurityGroupResources() map[string]*medialive.InputSecurityGroup { + results := map[string]*medialive.InputSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotanalytics.Pipeline: + case *medialive.InputSecurityGroup: results[name] = resource } } return results } -// GetIoTAnalyticsPipelineWithName retrieves all iotanalytics.Pipeline items from an AWS CloudFormation template +// GetMediaLiveInputSecurityGroupWithName retrieves all medialive.InputSecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsPipelineWithName(name string) (*iotanalytics.Pipeline, error) { +func (t *Template) GetMediaLiveInputSecurityGroupWithName(name string) (*medialive.InputSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotanalytics.Pipeline: + case *medialive.InputSecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotanalytics.Pipeline not found", name) + return nil, fmt.Errorf("resource %q of type medialive.InputSecurityGroup not found", name) } -// GetAllWAFRegionalRateBasedRuleResources retrieves all wafregional.RateBasedRule items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalRateBasedRuleResources() map[string]*wafregional.RateBasedRule { - results := map[string]*wafregional.RateBasedRule{} +// GetAllMediaStoreContainerResources retrieves all mediastore.Container items from an AWS CloudFormation template +func (t *Template) GetAllMediaStoreContainerResources() map[string]*mediastore.Container { + results := map[string]*mediastore.Container{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.RateBasedRule: + case *mediastore.Container: results[name] = resource } } return results } -// GetWAFRegionalRateBasedRuleWithName retrieves all wafregional.RateBasedRule items from an AWS CloudFormation template +// GetMediaStoreContainerWithName retrieves all mediastore.Container items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalRateBasedRuleWithName(name string) (*wafregional.RateBasedRule, error) { +func (t *Template) GetMediaStoreContainerWithName(name string) (*mediastore.Container, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.RateBasedRule: + case *mediastore.Container: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.RateBasedRule not found", name) + return nil, fmt.Errorf("resource %q of type mediastore.Container not found", name) } -// GetAllAutoScalingLaunchConfigurationResources retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingLaunchConfigurationResources() map[string]*autoscaling.LaunchConfiguration { - results := map[string]*autoscaling.LaunchConfiguration{} +// GetAllNeptuneDBClusterResources retrieves all neptune.DBCluster items from an AWS CloudFormation template +func (t *Template) GetAllNeptuneDBClusterResources() map[string]*neptune.DBCluster { + results := map[string]*neptune.DBCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.LaunchConfiguration: + case *neptune.DBCluster: results[name] = resource } } return results } -// GetAutoScalingLaunchConfigurationWithName retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template +// GetNeptuneDBClusterWithName retrieves all neptune.DBCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingLaunchConfigurationWithName(name string) (*autoscaling.LaunchConfiguration, error) { +func (t *Template) GetNeptuneDBClusterWithName(name string) (*neptune.DBCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.LaunchConfiguration: + case *neptune.DBCluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.LaunchConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type neptune.DBCluster not found", name) } -// GetAllEMRStepResources retrieves all emr.Step items from an AWS CloudFormation template -func (t *Template) GetAllEMRStepResources() map[string]*emr.Step { - results := map[string]*emr.Step{} +// GetAllNeptuneDBClusterParameterGroupResources retrieves all neptune.DBClusterParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllNeptuneDBClusterParameterGroupResources() map[string]*neptune.DBClusterParameterGroup { + results := map[string]*neptune.DBClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *emr.Step: + case *neptune.DBClusterParameterGroup: results[name] = resource } } return results } -// GetEMRStepWithName retrieves all emr.Step items from an AWS CloudFormation template +// GetNeptuneDBClusterParameterGroupWithName retrieves all neptune.DBClusterParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRStepWithName(name string) (*emr.Step, error) { +func (t *Template) GetNeptuneDBClusterParameterGroupWithName(name string) (*neptune.DBClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *emr.Step: + case *neptune.DBClusterParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type emr.Step not found", name) + return nil, fmt.Errorf("resource %q of type neptune.DBClusterParameterGroup not found", name) } -// GetAllServiceCatalogPortfolioPrincipalAssociationResources retrieves all servicecatalog.PortfolioPrincipalAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioPrincipalAssociationResources() map[string]*servicecatalog.PortfolioPrincipalAssociation { - results := map[string]*servicecatalog.PortfolioPrincipalAssociation{} +// GetAllNeptuneDBInstanceResources retrieves all neptune.DBInstance items from an AWS CloudFormation template +func (t *Template) GetAllNeptuneDBInstanceResources() map[string]*neptune.DBInstance { + results := map[string]*neptune.DBInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.PortfolioPrincipalAssociation: + case *neptune.DBInstance: results[name] = resource } } return results } -// GetServiceCatalogPortfolioPrincipalAssociationWithName retrieves all servicecatalog.PortfolioPrincipalAssociation items from an AWS CloudFormation template +// GetNeptuneDBInstanceWithName retrieves all neptune.DBInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioPrincipalAssociationWithName(name string) (*servicecatalog.PortfolioPrincipalAssociation, error) { +func (t *Template) GetNeptuneDBInstanceWithName(name string) (*neptune.DBInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.PortfolioPrincipalAssociation: + case *neptune.DBInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioPrincipalAssociation not found", name) + return nil, fmt.Errorf("resource %q of type neptune.DBInstance not found", name) } -// GetAllEC2SecurityGroupResources retrieves all ec2.SecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllEC2SecurityGroupResources() map[string]*ec2.SecurityGroup { - results := map[string]*ec2.SecurityGroup{} +// GetAllNeptuneDBParameterGroupResources retrieves all neptune.DBParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllNeptuneDBParameterGroupResources() map[string]*neptune.DBParameterGroup { + results := map[string]*neptune.DBParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SecurityGroup: + case *neptune.DBParameterGroup: results[name] = resource } } return results } -// GetEC2SecurityGroupWithName retrieves all ec2.SecurityGroup items from an AWS CloudFormation template +// GetNeptuneDBParameterGroupWithName retrieves all neptune.DBParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SecurityGroupWithName(name string) (*ec2.SecurityGroup, error) { +func (t *Template) GetNeptuneDBParameterGroupWithName(name string) (*neptune.DBParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SecurityGroup: + case *neptune.DBParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SecurityGroup not found", name) + return nil, fmt.Errorf("resource %q of type neptune.DBParameterGroup not found", name) } -// GetAllCloudWatchAnomalyDetectorResources retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchAnomalyDetectorResources() map[string]*cloudwatch.AnomalyDetector { - results := map[string]*cloudwatch.AnomalyDetector{} +// GetAllNeptuneDBSubnetGroupResources retrieves all neptune.DBSubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllNeptuneDBSubnetGroupResources() map[string]*neptune.DBSubnetGroup { + results := map[string]*neptune.DBSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudwatch.AnomalyDetector: + case *neptune.DBSubnetGroup: results[name] = resource } } return results } -// GetCloudWatchAnomalyDetectorWithName retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template +// GetNeptuneDBSubnetGroupWithName retrieves all neptune.DBSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchAnomalyDetectorWithName(name string) (*cloudwatch.AnomalyDetector, error) { +func (t *Template) GetNeptuneDBSubnetGroupWithName(name string) (*neptune.DBSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudwatch.AnomalyDetector: + case *neptune.DBSubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudwatch.AnomalyDetector not found", name) + return nil, fmt.Errorf("resource %q of type neptune.DBSubnetGroup not found", name) } -// GetAllApiGatewayV2DeploymentResources retrieves all apigatewayv2.Deployment items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2DeploymentResources() map[string]*apigatewayv2.Deployment { - results := map[string]*apigatewayv2.Deployment{} +// GetAllOpsWorksAppResources retrieves all opsworks.App items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksAppResources() map[string]*opsworks.App { + results := map[string]*opsworks.App{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Deployment: + case *opsworks.App: results[name] = resource } } return results } -// GetApiGatewayV2DeploymentWithName retrieves all apigatewayv2.Deployment items from an AWS CloudFormation template +// GetOpsWorksAppWithName retrieves all opsworks.App items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2DeploymentWithName(name string) (*apigatewayv2.Deployment, error) { +func (t *Template) GetOpsWorksAppWithName(name string) (*opsworks.App, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Deployment: + case *opsworks.App: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Deployment not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.App not found", name) } -// GetAllAutoScalingScheduledActionResources retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingScheduledActionResources() map[string]*autoscaling.ScheduledAction { - results := map[string]*autoscaling.ScheduledAction{} +// GetAllOpsWorksElasticLoadBalancerAttachmentResources retrieves all opsworks.ElasticLoadBalancerAttachment items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksElasticLoadBalancerAttachmentResources() map[string]*opsworks.ElasticLoadBalancerAttachment { + results := map[string]*opsworks.ElasticLoadBalancerAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.ScheduledAction: + case *opsworks.ElasticLoadBalancerAttachment: results[name] = resource } } return results } -// GetAutoScalingScheduledActionWithName retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template +// GetOpsWorksElasticLoadBalancerAttachmentWithName retrieves all opsworks.ElasticLoadBalancerAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingScheduledActionWithName(name string) (*autoscaling.ScheduledAction, error) { +func (t *Template) GetOpsWorksElasticLoadBalancerAttachmentWithName(name string) (*opsworks.ElasticLoadBalancerAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.ScheduledAction: + case *opsworks.ElasticLoadBalancerAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.ScheduledAction not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.ElasticLoadBalancerAttachment not found", name) } -// GetAllAppSyncApiKeyResources retrieves all appsync.ApiKey items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncApiKeyResources() map[string]*appsync.ApiKey { - results := map[string]*appsync.ApiKey{} +// GetAllOpsWorksInstanceResources retrieves all opsworks.Instance items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksInstanceResources() map[string]*opsworks.Instance { + results := map[string]*opsworks.Instance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.ApiKey: + case *opsworks.Instance: results[name] = resource } } return results } -// GetAppSyncApiKeyWithName retrieves all appsync.ApiKey items from an AWS CloudFormation template +// GetOpsWorksInstanceWithName retrieves all opsworks.Instance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncApiKeyWithName(name string) (*appsync.ApiKey, error) { +func (t *Template) GetOpsWorksInstanceWithName(name string) (*opsworks.Instance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.ApiKey: + case *opsworks.Instance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.ApiKey not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.Instance not found", name) } -// GetAllOpsWorksCMServerResources retrieves all opsworkscm.Server items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksCMServerResources() map[string]*opsworkscm.Server { - results := map[string]*opsworkscm.Server{} +// GetAllOpsWorksLayerResources retrieves all opsworks.Layer items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksLayerResources() map[string]*opsworks.Layer { + results := map[string]*opsworks.Layer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworkscm.Server: + case *opsworks.Layer: results[name] = resource } } return results } -// GetOpsWorksCMServerWithName retrieves all opsworkscm.Server items from an AWS CloudFormation template +// GetOpsWorksLayerWithName retrieves all opsworks.Layer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksCMServerWithName(name string) (*opsworkscm.Server, error) { +func (t *Template) GetOpsWorksLayerWithName(name string) (*opsworks.Layer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworkscm.Server: + case *opsworks.Layer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworkscm.Server not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.Layer not found", name) } -// GetAllRoute53ResolverResolverRuleResources retrieves all route53resolver.ResolverRule items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverRuleResources() map[string]*route53resolver.ResolverRule { - results := map[string]*route53resolver.ResolverRule{} +// GetAllOpsWorksStackResources retrieves all opsworks.Stack items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksStackResources() map[string]*opsworks.Stack { + results := map[string]*opsworks.Stack{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53resolver.ResolverRule: + case *opsworks.Stack: results[name] = resource } } return results } -// GetRoute53ResolverResolverRuleWithName retrieves all route53resolver.ResolverRule items from an AWS CloudFormation template +// GetOpsWorksStackWithName retrieves all opsworks.Stack items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverRuleWithName(name string) (*route53resolver.ResolverRule, error) { +func (t *Template) GetOpsWorksStackWithName(name string) (*opsworks.Stack, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53resolver.ResolverRule: + case *opsworks.Stack: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverRule not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.Stack not found", name) } -// GetAllSecretsManagerSecretResources retrieves all secretsmanager.Secret items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerSecretResources() map[string]*secretsmanager.Secret { - results := map[string]*secretsmanager.Secret{} +// GetAllOpsWorksUserProfileResources retrieves all opsworks.UserProfile items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksUserProfileResources() map[string]*opsworks.UserProfile { + results := map[string]*opsworks.UserProfile{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.Secret: + case *opsworks.UserProfile: results[name] = resource } } return results } -// GetSecretsManagerSecretWithName retrieves all secretsmanager.Secret items from an AWS CloudFormation template +// GetOpsWorksUserProfileWithName retrieves all opsworks.UserProfile items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerSecretWithName(name string) (*secretsmanager.Secret, error) { +func (t *Template) GetOpsWorksUserProfileWithName(name string) (*opsworks.UserProfile, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.Secret: + case *opsworks.UserProfile: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.Secret not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.UserProfile not found", name) } -// GetAllIoTPolicyPrincipalAttachmentResources retrieves all iot.PolicyPrincipalAttachment items from an AWS CloudFormation template -func (t *Template) GetAllIoTPolicyPrincipalAttachmentResources() map[string]*iot.PolicyPrincipalAttachment { - results := map[string]*iot.PolicyPrincipalAttachment{} +// GetAllOpsWorksVolumeResources retrieves all opsworks.Volume items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksVolumeResources() map[string]*opsworks.Volume { + results := map[string]*opsworks.Volume{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot.PolicyPrincipalAttachment: + case *opsworks.Volume: results[name] = resource } } return results } -// GetIoTPolicyPrincipalAttachmentWithName retrieves all iot.PolicyPrincipalAttachment items from an AWS CloudFormation template +// GetOpsWorksVolumeWithName retrieves all opsworks.Volume items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTPolicyPrincipalAttachmentWithName(name string) (*iot.PolicyPrincipalAttachment, error) { +func (t *Template) GetOpsWorksVolumeWithName(name string) (*opsworks.Volume, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot.PolicyPrincipalAttachment: + case *opsworks.Volume: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot.PolicyPrincipalAttachment not found", name) + return nil, fmt.Errorf("resource %q of type opsworks.Volume not found", name) } -// GetAllLakeFormationPermissionsResources retrieves all lakeformation.Permissions items from an AWS CloudFormation template -func (t *Template) GetAllLakeFormationPermissionsResources() map[string]*lakeformation.Permissions { - results := map[string]*lakeformation.Permissions{} +// GetAllOpsWorksCMServerResources retrieves all opsworkscm.Server items from an AWS CloudFormation template +func (t *Template) GetAllOpsWorksCMServerResources() map[string]*opsworkscm.Server { + results := map[string]*opsworkscm.Server{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *lakeformation.Permissions: + case *opsworkscm.Server: results[name] = resource } } return results } -// GetLakeFormationPermissionsWithName retrieves all lakeformation.Permissions items from an AWS CloudFormation template +// GetOpsWorksCMServerWithName retrieves all opsworkscm.Server items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLakeFormationPermissionsWithName(name string) (*lakeformation.Permissions, error) { +func (t *Template) GetOpsWorksCMServerWithName(name string) (*opsworkscm.Server, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *lakeformation.Permissions: + case *opsworkscm.Server: return resource, nil } } - return nil, fmt.Errorf("resource %q of type lakeformation.Permissions not found", name) + return nil, fmt.Errorf("resource %q of type opsworkscm.Server not found", name) } -// GetAllSDBDomainResources retrieves all sdb.Domain items from an AWS CloudFormation template -func (t *Template) GetAllSDBDomainResources() map[string]*sdb.Domain { - results := map[string]*sdb.Domain{} +// GetAllPinpointADMChannelResources retrieves all pinpoint.ADMChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointADMChannelResources() map[string]*pinpoint.ADMChannel { + results := map[string]*pinpoint.ADMChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sdb.Domain: + case *pinpoint.ADMChannel: results[name] = resource } } return results } -// GetSDBDomainWithName retrieves all sdb.Domain items from an AWS CloudFormation template +// GetPinpointADMChannelWithName retrieves all pinpoint.ADMChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSDBDomainWithName(name string) (*sdb.Domain, error) { +func (t *Template) GetPinpointADMChannelWithName(name string) (*pinpoint.ADMChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sdb.Domain: + case *pinpoint.ADMChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sdb.Domain not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.ADMChannel not found", name) } -// GetAllWAFRegionalSizeConstraintSetResources retrieves all wafregional.SizeConstraintSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalSizeConstraintSetResources() map[string]*wafregional.SizeConstraintSet { - results := map[string]*wafregional.SizeConstraintSet{} +// GetAllPinpointAPNSChannelResources retrieves all pinpoint.APNSChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointAPNSChannelResources() map[string]*pinpoint.APNSChannel { + results := map[string]*pinpoint.APNSChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.SizeConstraintSet: + case *pinpoint.APNSChannel: results[name] = resource } } return results } -// GetWAFRegionalSizeConstraintSetWithName retrieves all wafregional.SizeConstraintSet items from an AWS CloudFormation template +// GetPinpointAPNSChannelWithName retrieves all pinpoint.APNSChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalSizeConstraintSetWithName(name string) (*wafregional.SizeConstraintSet, error) { +func (t *Template) GetPinpointAPNSChannelWithName(name string) (*pinpoint.APNSChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.SizeConstraintSet: + case *pinpoint.APNSChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.SizeConstraintSet not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.APNSChannel not found", name) } -// GetAllMediaStoreContainerResources retrieves all mediastore.Container items from an AWS CloudFormation template -func (t *Template) GetAllMediaStoreContainerResources() map[string]*mediastore.Container { - results := map[string]*mediastore.Container{} +// GetAllPinpointAPNSSandboxChannelResources retrieves all pinpoint.APNSSandboxChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointAPNSSandboxChannelResources() map[string]*pinpoint.APNSSandboxChannel { + results := map[string]*pinpoint.APNSSandboxChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *mediastore.Container: + case *pinpoint.APNSSandboxChannel: results[name] = resource } } return results } -// GetMediaStoreContainerWithName retrieves all mediastore.Container items from an AWS CloudFormation template +// GetPinpointAPNSSandboxChannelWithName retrieves all pinpoint.APNSSandboxChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaStoreContainerWithName(name string) (*mediastore.Container, error) { +func (t *Template) GetPinpointAPNSSandboxChannelWithName(name string) (*pinpoint.APNSSandboxChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *mediastore.Container: + case *pinpoint.APNSSandboxChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type mediastore.Container not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.APNSSandboxChannel not found", name) } -// GetAllGreengrassConnectorDefinitionVersionResources retrieves all greengrass.ConnectorDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassConnectorDefinitionVersionResources() map[string]*greengrass.ConnectorDefinitionVersion { - results := map[string]*greengrass.ConnectorDefinitionVersion{} +// GetAllPinpointAPNSVoipChannelResources retrieves all pinpoint.APNSVoipChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointAPNSVoipChannelResources() map[string]*pinpoint.APNSVoipChannel { + results := map[string]*pinpoint.APNSVoipChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.ConnectorDefinitionVersion: + case *pinpoint.APNSVoipChannel: results[name] = resource } } return results } -// GetGreengrassConnectorDefinitionVersionWithName retrieves all greengrass.ConnectorDefinitionVersion items from an AWS CloudFormation template +// GetPinpointAPNSVoipChannelWithName retrieves all pinpoint.APNSVoipChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassConnectorDefinitionVersionWithName(name string) (*greengrass.ConnectorDefinitionVersion, error) { +func (t *Template) GetPinpointAPNSVoipChannelWithName(name string) (*pinpoint.APNSVoipChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.ConnectorDefinitionVersion: + case *pinpoint.APNSVoipChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.ConnectorDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.APNSVoipChannel not found", name) } -// GetAllPinpointGCMChannelResources retrieves all pinpoint.GCMChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointGCMChannelResources() map[string]*pinpoint.GCMChannel { - results := map[string]*pinpoint.GCMChannel{} +// GetAllPinpointAPNSVoipSandboxChannelResources retrieves all pinpoint.APNSVoipSandboxChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointAPNSVoipSandboxChannelResources() map[string]*pinpoint.APNSVoipSandboxChannel { + results := map[string]*pinpoint.APNSVoipSandboxChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.GCMChannel: + case *pinpoint.APNSVoipSandboxChannel: results[name] = resource } } return results } -// GetPinpointGCMChannelWithName retrieves all pinpoint.GCMChannel items from an AWS CloudFormation template +// GetPinpointAPNSVoipSandboxChannelWithName retrieves all pinpoint.APNSVoipSandboxChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointGCMChannelWithName(name string) (*pinpoint.GCMChannel, error) { +func (t *Template) GetPinpointAPNSVoipSandboxChannelWithName(name string) (*pinpoint.APNSVoipSandboxChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.GCMChannel: + case *pinpoint.APNSVoipSandboxChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.GCMChannel not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.APNSVoipSandboxChannel not found", name) } -// GetAllRDSDBSecurityGroupIngressResources retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBSecurityGroupIngressResources() map[string]*rds.DBSecurityGroupIngress { - results := map[string]*rds.DBSecurityGroupIngress{} +// GetAllPinpointAppResources retrieves all pinpoint.App items from an AWS CloudFormation template +func (t *Template) GetAllPinpointAppResources() map[string]*pinpoint.App { + results := map[string]*pinpoint.App{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBSecurityGroupIngress: + case *pinpoint.App: results[name] = resource } } return results } -// GetRDSDBSecurityGroupIngressWithName retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template +// GetPinpointAppWithName retrieves all pinpoint.App items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBSecurityGroupIngressWithName(name string) (*rds.DBSecurityGroupIngress, error) { +func (t *Template) GetPinpointAppWithName(name string) (*pinpoint.App, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBSecurityGroupIngress: + case *pinpoint.App: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroupIngress not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.App not found", name) } -// GetAllConfigOrganizationConfigRuleResources retrieves all config.OrganizationConfigRule items from an AWS CloudFormation template -func (t *Template) GetAllConfigOrganizationConfigRuleResources() map[string]*config.OrganizationConfigRule { - results := map[string]*config.OrganizationConfigRule{} +// GetAllPinpointApplicationSettingsResources retrieves all pinpoint.ApplicationSettings items from an AWS CloudFormation template +func (t *Template) GetAllPinpointApplicationSettingsResources() map[string]*pinpoint.ApplicationSettings { + results := map[string]*pinpoint.ApplicationSettings{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.OrganizationConfigRule: + case *pinpoint.ApplicationSettings: results[name] = resource } } return results } -// GetConfigOrganizationConfigRuleWithName retrieves all config.OrganizationConfigRule items from an AWS CloudFormation template +// GetPinpointApplicationSettingsWithName retrieves all pinpoint.ApplicationSettings items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigOrganizationConfigRuleWithName(name string) (*config.OrganizationConfigRule, error) { +func (t *Template) GetPinpointApplicationSettingsWithName(name string) (*pinpoint.ApplicationSettings, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.OrganizationConfigRule: + case *pinpoint.ApplicationSettings: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.OrganizationConfigRule not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.ApplicationSettings not found", name) } -// GetAllIoTThingResources retrieves all iot.Thing items from an AWS CloudFormation template -func (t *Template) GetAllIoTThingResources() map[string]*iot.Thing { - results := map[string]*iot.Thing{} +// GetAllPinpointBaiduChannelResources retrieves all pinpoint.BaiduChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointBaiduChannelResources() map[string]*pinpoint.BaiduChannel { + results := map[string]*pinpoint.BaiduChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot.Thing: + case *pinpoint.BaiduChannel: results[name] = resource } } return results } -// GetIoTThingWithName retrieves all iot.Thing items from an AWS CloudFormation template +// GetPinpointBaiduChannelWithName retrieves all pinpoint.BaiduChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTThingWithName(name string) (*iot.Thing, error) { +func (t *Template) GetPinpointBaiduChannelWithName(name string) (*pinpoint.BaiduChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot.Thing: + case *pinpoint.BaiduChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot.Thing not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.BaiduChannel not found", name) } -// GetAllCodeDeployDeploymentGroupResources retrieves all codedeploy.DeploymentGroup items from an AWS CloudFormation template -func (t *Template) GetAllCodeDeployDeploymentGroupResources() map[string]*codedeploy.DeploymentGroup { - results := map[string]*codedeploy.DeploymentGroup{} +// GetAllPinpointCampaignResources retrieves all pinpoint.Campaign items from an AWS CloudFormation template +func (t *Template) GetAllPinpointCampaignResources() map[string]*pinpoint.Campaign { + results := map[string]*pinpoint.Campaign{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codedeploy.DeploymentGroup: + case *pinpoint.Campaign: results[name] = resource } } return results } -// GetCodeDeployDeploymentGroupWithName retrieves all codedeploy.DeploymentGroup items from an AWS CloudFormation template +// GetPinpointCampaignWithName retrieves all pinpoint.Campaign items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeDeployDeploymentGroupWithName(name string) (*codedeploy.DeploymentGroup, error) { +func (t *Template) GetPinpointCampaignWithName(name string) (*pinpoint.Campaign, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codedeploy.DeploymentGroup: + case *pinpoint.Campaign: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codedeploy.DeploymentGroup not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.Campaign not found", name) } -// GetAllWAFRegionalWebACLAssociationResources retrieves all wafregional.WebACLAssociation items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalWebACLAssociationResources() map[string]*wafregional.WebACLAssociation { - results := map[string]*wafregional.WebACLAssociation{} +// GetAllPinpointEmailChannelResources retrieves all pinpoint.EmailChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointEmailChannelResources() map[string]*pinpoint.EmailChannel { + results := map[string]*pinpoint.EmailChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.WebACLAssociation: + case *pinpoint.EmailChannel: results[name] = resource } } return results } -// GetWAFRegionalWebACLAssociationWithName retrieves all wafregional.WebACLAssociation items from an AWS CloudFormation template +// GetPinpointEmailChannelWithName retrieves all pinpoint.EmailChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalWebACLAssociationWithName(name string) (*wafregional.WebACLAssociation, error) { +func (t *Template) GetPinpointEmailChannelWithName(name string) (*pinpoint.EmailChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.WebACLAssociation: + case *pinpoint.EmailChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.WebACLAssociation not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.EmailChannel not found", name) } -// GetAllIAMUserResources retrieves all iam.User items from an AWS CloudFormation template -func (t *Template) GetAllIAMUserResources() map[string]*iam.User { - results := map[string]*iam.User{} +// GetAllPinpointEventStreamResources retrieves all pinpoint.EventStream items from an AWS CloudFormation template +func (t *Template) GetAllPinpointEventStreamResources() map[string]*pinpoint.EventStream { + results := map[string]*pinpoint.EventStream{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.User: + case *pinpoint.EventStream: results[name] = resource } } return results } -// GetIAMUserWithName retrieves all iam.User items from an AWS CloudFormation template +// GetPinpointEventStreamWithName retrieves all pinpoint.EventStream items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMUserWithName(name string) (*iam.User, error) { +func (t *Template) GetPinpointEventStreamWithName(name string) (*pinpoint.EventStream, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.User: + case *pinpoint.EventStream: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.User not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.EventStream not found", name) } -// GetAllIoTEventsInputResources retrieves all iotevents.Input items from an AWS CloudFormation template -func (t *Template) GetAllIoTEventsInputResources() map[string]*iotevents.Input { - results := map[string]*iotevents.Input{} +// GetAllPinpointGCMChannelResources retrieves all pinpoint.GCMChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointGCMChannelResources() map[string]*pinpoint.GCMChannel { + results := map[string]*pinpoint.GCMChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotevents.Input: + case *pinpoint.GCMChannel: results[name] = resource } } return results } -// GetIoTEventsInputWithName retrieves all iotevents.Input items from an AWS CloudFormation template +// GetPinpointGCMChannelWithName retrieves all pinpoint.GCMChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTEventsInputWithName(name string) (*iotevents.Input, error) { +func (t *Template) GetPinpointGCMChannelWithName(name string) (*pinpoint.GCMChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotevents.Input: + case *pinpoint.GCMChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotevents.Input not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.GCMChannel not found", name) } -// GetAllRDSDBSecurityGroupResources retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBSecurityGroupResources() map[string]*rds.DBSecurityGroup { - results := map[string]*rds.DBSecurityGroup{} +// GetAllPinpointSMSChannelResources retrieves all pinpoint.SMSChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointSMSChannelResources() map[string]*pinpoint.SMSChannel { + results := map[string]*pinpoint.SMSChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBSecurityGroup: + case *pinpoint.SMSChannel: results[name] = resource } } return results } -// GetRDSDBSecurityGroupWithName retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template +// GetPinpointSMSChannelWithName retrieves all pinpoint.SMSChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBSecurityGroupWithName(name string) (*rds.DBSecurityGroup, error) { +func (t *Template) GetPinpointSMSChannelWithName(name string) (*pinpoint.SMSChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBSecurityGroup: + case *pinpoint.SMSChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroup not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.SMSChannel not found", name) } -// GetAllLogsSubscriptionFilterResources retrieves all logs.SubscriptionFilter items from an AWS CloudFormation template -func (t *Template) GetAllLogsSubscriptionFilterResources() map[string]*logs.SubscriptionFilter { - results := map[string]*logs.SubscriptionFilter{} +// GetAllPinpointSegmentResources retrieves all pinpoint.Segment items from an AWS CloudFormation template +func (t *Template) GetAllPinpointSegmentResources() map[string]*pinpoint.Segment { + results := map[string]*pinpoint.Segment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *logs.SubscriptionFilter: + case *pinpoint.Segment: results[name] = resource } } return results } -// GetLogsSubscriptionFilterWithName retrieves all logs.SubscriptionFilter items from an AWS CloudFormation template +// GetPinpointSegmentWithName retrieves all pinpoint.Segment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsSubscriptionFilterWithName(name string) (*logs.SubscriptionFilter, error) { +func (t *Template) GetPinpointSegmentWithName(name string) (*pinpoint.Segment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *logs.SubscriptionFilter: + case *pinpoint.Segment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type logs.SubscriptionFilter not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.Segment not found", name) } -// GetAllElastiCacheSecurityGroupIngressResources retrieves all elasticache.SecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheSecurityGroupIngressResources() map[string]*elasticache.SecurityGroupIngress { - results := map[string]*elasticache.SecurityGroupIngress{} +// GetAllPinpointVoiceChannelResources retrieves all pinpoint.VoiceChannel items from an AWS CloudFormation template +func (t *Template) GetAllPinpointVoiceChannelResources() map[string]*pinpoint.VoiceChannel { + results := map[string]*pinpoint.VoiceChannel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticache.SecurityGroupIngress: + case *pinpoint.VoiceChannel: results[name] = resource } } return results } -// GetElastiCacheSecurityGroupIngressWithName retrieves all elasticache.SecurityGroupIngress items from an AWS CloudFormation template +// GetPinpointVoiceChannelWithName retrieves all pinpoint.VoiceChannel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheSecurityGroupIngressWithName(name string) (*elasticache.SecurityGroupIngress, error) { +func (t *Template) GetPinpointVoiceChannelWithName(name string) (*pinpoint.VoiceChannel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticache.SecurityGroupIngress: + case *pinpoint.VoiceChannel: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticache.SecurityGroupIngress not found", name) + return nil, fmt.Errorf("resource %q of type pinpoint.VoiceChannel not found", name) } -// GetAllEFSMountTargetResources retrieves all efs.MountTarget items from an AWS CloudFormation template -func (t *Template) GetAllEFSMountTargetResources() map[string]*efs.MountTarget { - results := map[string]*efs.MountTarget{} +// GetAllPinpointEmailConfigurationSetResources retrieves all pinpointemail.ConfigurationSet items from an AWS CloudFormation template +func (t *Template) GetAllPinpointEmailConfigurationSetResources() map[string]*pinpointemail.ConfigurationSet { + results := map[string]*pinpointemail.ConfigurationSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *efs.MountTarget: + case *pinpointemail.ConfigurationSet: results[name] = resource } } return results } -// GetEFSMountTargetWithName retrieves all efs.MountTarget items from an AWS CloudFormation template +// GetPinpointEmailConfigurationSetWithName retrieves all pinpointemail.ConfigurationSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEFSMountTargetWithName(name string) (*efs.MountTarget, error) { +func (t *Template) GetPinpointEmailConfigurationSetWithName(name string) (*pinpointemail.ConfigurationSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *efs.MountTarget: + case *pinpointemail.ConfigurationSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type efs.MountTarget not found", name) + return nil, fmt.Errorf("resource %q of type pinpointemail.ConfigurationSet not found", name) } -// GetAllDAXClusterResources retrieves all dax.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllDAXClusterResources() map[string]*dax.Cluster { - results := map[string]*dax.Cluster{} +// GetAllPinpointEmailConfigurationSetEventDestinationResources retrieves all pinpointemail.ConfigurationSetEventDestination items from an AWS CloudFormation template +func (t *Template) GetAllPinpointEmailConfigurationSetEventDestinationResources() map[string]*pinpointemail.ConfigurationSetEventDestination { + results := map[string]*pinpointemail.ConfigurationSetEventDestination{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *dax.Cluster: + case *pinpointemail.ConfigurationSetEventDestination: results[name] = resource } } return results } -// GetDAXClusterWithName retrieves all dax.Cluster items from an AWS CloudFormation template +// GetPinpointEmailConfigurationSetEventDestinationWithName retrieves all pinpointemail.ConfigurationSetEventDestination items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDAXClusterWithName(name string) (*dax.Cluster, error) { +func (t *Template) GetPinpointEmailConfigurationSetEventDestinationWithName(name string) (*pinpointemail.ConfigurationSetEventDestination, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *dax.Cluster: + case *pinpointemail.ConfigurationSetEventDestination: return resource, nil } } - return nil, fmt.Errorf("resource %q of type dax.Cluster not found", name) + return nil, fmt.Errorf("resource %q of type pinpointemail.ConfigurationSetEventDestination not found", name) } -// GetAllApiGatewayV2RouteResponseResources retrieves all apigatewayv2.RouteResponse items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2RouteResponseResources() map[string]*apigatewayv2.RouteResponse { - results := map[string]*apigatewayv2.RouteResponse{} +// GetAllPinpointEmailDedicatedIpPoolResources retrieves all pinpointemail.DedicatedIpPool items from an AWS CloudFormation template +func (t *Template) GetAllPinpointEmailDedicatedIpPoolResources() map[string]*pinpointemail.DedicatedIpPool { + results := map[string]*pinpointemail.DedicatedIpPool{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.RouteResponse: + case *pinpointemail.DedicatedIpPool: results[name] = resource } } return results } -// GetApiGatewayV2RouteResponseWithName retrieves all apigatewayv2.RouteResponse items from an AWS CloudFormation template +// GetPinpointEmailDedicatedIpPoolWithName retrieves all pinpointemail.DedicatedIpPool items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2RouteResponseWithName(name string) (*apigatewayv2.RouteResponse, error) { +func (t *Template) GetPinpointEmailDedicatedIpPoolWithName(name string) (*pinpointemail.DedicatedIpPool, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.RouteResponse: + case *pinpointemail.DedicatedIpPool: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.RouteResponse not found", name) + return nil, fmt.Errorf("resource %q of type pinpointemail.DedicatedIpPool not found", name) } -// GetAllLogsDestinationResources retrieves all logs.Destination items from an AWS CloudFormation template -func (t *Template) GetAllLogsDestinationResources() map[string]*logs.Destination { - results := map[string]*logs.Destination{} +// GetAllPinpointEmailIdentityResources retrieves all pinpointemail.Identity items from an AWS CloudFormation template +func (t *Template) GetAllPinpointEmailIdentityResources() map[string]*pinpointemail.Identity { + results := map[string]*pinpointemail.Identity{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *logs.Destination: + case *pinpointemail.Identity: results[name] = resource } } return results } -// GetLogsDestinationWithName retrieves all logs.Destination items from an AWS CloudFormation template +// GetPinpointEmailIdentityWithName retrieves all pinpointemail.Identity items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsDestinationWithName(name string) (*logs.Destination, error) { +func (t *Template) GetPinpointEmailIdentityWithName(name string) (*pinpointemail.Identity, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *logs.Destination: + case *pinpointemail.Identity: return resource, nil } } - return nil, fmt.Errorf("resource %q of type logs.Destination not found", name) + return nil, fmt.Errorf("resource %q of type pinpointemail.Identity not found", name) } -// GetAllSSMResourceDataSyncResources retrieves all ssm.ResourceDataSync items from an AWS CloudFormation template -func (t *Template) GetAllSSMResourceDataSyncResources() map[string]*ssm.ResourceDataSync { - results := map[string]*ssm.ResourceDataSync{} +// GetAllQLDBLedgerResources retrieves all qldb.Ledger items from an AWS CloudFormation template +func (t *Template) GetAllQLDBLedgerResources() map[string]*qldb.Ledger { + results := map[string]*qldb.Ledger{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.ResourceDataSync: + case *qldb.Ledger: results[name] = resource } } return results } -// GetSSMResourceDataSyncWithName retrieves all ssm.ResourceDataSync items from an AWS CloudFormation template +// GetQLDBLedgerWithName retrieves all qldb.Ledger items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMResourceDataSyncWithName(name string) (*ssm.ResourceDataSync, error) { +func (t *Template) GetQLDBLedgerWithName(name string) (*qldb.Ledger, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.ResourceDataSync: + case *qldb.Ledger: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.ResourceDataSync not found", name) + return nil, fmt.Errorf("resource %q of type qldb.Ledger not found", name) } -// GetAllRedshiftClusterSecurityGroupResources retrieves all redshift.ClusterSecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterSecurityGroupResources() map[string]*redshift.ClusterSecurityGroup { - results := map[string]*redshift.ClusterSecurityGroup{} +// GetAllRAMResourceShareResources retrieves all ram.ResourceShare items from an AWS CloudFormation template +func (t *Template) GetAllRAMResourceShareResources() map[string]*ram.ResourceShare { + results := map[string]*ram.ResourceShare{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroup: + case *ram.ResourceShare: results[name] = resource } } return results } -// GetRedshiftClusterSecurityGroupWithName retrieves all redshift.ClusterSecurityGroup items from an AWS CloudFormation template +// GetRAMResourceShareWithName retrieves all ram.ResourceShare items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterSecurityGroupWithName(name string) (*redshift.ClusterSecurityGroup, error) { +func (t *Template) GetRAMResourceShareWithName(name string) (*ram.ResourceShare, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroup: + case *ram.ResourceShare: return resource, nil } } - return nil, fmt.Errorf("resource %q of type redshift.ClusterSecurityGroup not found", name) + return nil, fmt.Errorf("resource %q of type ram.ResourceShare not found", name) } -// GetAllAmazonMQBrokerResources retrieves all amazonmq.Broker items from an AWS CloudFormation template -func (t *Template) GetAllAmazonMQBrokerResources() map[string]*amazonmq.Broker { - results := map[string]*amazonmq.Broker{} +// GetAllRDSDBClusterResources retrieves all rds.DBCluster items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBClusterResources() map[string]*rds.DBCluster { + results := map[string]*rds.DBCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amazonmq.Broker: + case *rds.DBCluster: results[name] = resource } } return results } -// GetAmazonMQBrokerWithName retrieves all amazonmq.Broker items from an AWS CloudFormation template +// GetRDSDBClusterWithName retrieves all rds.DBCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmazonMQBrokerWithName(name string) (*amazonmq.Broker, error) { +func (t *Template) GetRDSDBClusterWithName(name string) (*rds.DBCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amazonmq.Broker: + case *rds.DBCluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amazonmq.Broker not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBCluster not found", name) } -// GetAllSSMParameterResources retrieves all ssm.Parameter items from an AWS CloudFormation template -func (t *Template) GetAllSSMParameterResources() map[string]*ssm.Parameter { - results := map[string]*ssm.Parameter{} +// GetAllRDSDBClusterParameterGroupResources retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBClusterParameterGroupResources() map[string]*rds.DBClusterParameterGroup { + results := map[string]*rds.DBClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.Parameter: + case *rds.DBClusterParameterGroup: results[name] = resource } } return results } -// GetSSMParameterWithName retrieves all ssm.Parameter items from an AWS CloudFormation template +// GetRDSDBClusterParameterGroupWithName retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMParameterWithName(name string) (*ssm.Parameter, error) { +func (t *Template) GetRDSDBClusterParameterGroupWithName(name string) (*rds.DBClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.Parameter: + case *rds.DBClusterParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.Parameter not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBClusterParameterGroup not found", name) } -// GetAllEMRInstanceFleetConfigResources retrieves all emr.InstanceFleetConfig items from an AWS CloudFormation template -func (t *Template) GetAllEMRInstanceFleetConfigResources() map[string]*emr.InstanceFleetConfig { - results := map[string]*emr.InstanceFleetConfig{} +// GetAllRDSDBInstanceResources retrieves all rds.DBInstance items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBInstanceResources() map[string]*rds.DBInstance { + results := map[string]*rds.DBInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *emr.InstanceFleetConfig: + case *rds.DBInstance: results[name] = resource } } return results } -// GetEMRInstanceFleetConfigWithName retrieves all emr.InstanceFleetConfig items from an AWS CloudFormation template +// GetRDSDBInstanceWithName retrieves all rds.DBInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRInstanceFleetConfigWithName(name string) (*emr.InstanceFleetConfig, error) { +func (t *Template) GetRDSDBInstanceWithName(name string) (*rds.DBInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *emr.InstanceFleetConfig: + case *rds.DBInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type emr.InstanceFleetConfig not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBInstance not found", name) } -// GetAllKinesisStreamResources retrieves all kinesis.Stream items from an AWS CloudFormation template -func (t *Template) GetAllKinesisStreamResources() map[string]*kinesis.Stream { - results := map[string]*kinesis.Stream{} +// GetAllRDSDBParameterGroupResources retrieves all rds.DBParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBParameterGroupResources() map[string]*rds.DBParameterGroup { + results := map[string]*rds.DBParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesis.Stream: + case *rds.DBParameterGroup: results[name] = resource } } return results } -// GetKinesisStreamWithName retrieves all kinesis.Stream items from an AWS CloudFormation template +// GetRDSDBParameterGroupWithName retrieves all rds.DBParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisStreamWithName(name string) (*kinesis.Stream, error) { +func (t *Template) GetRDSDBParameterGroupWithName(name string) (*rds.DBParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesis.Stream: + case *rds.DBParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesis.Stream not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBParameterGroup not found", name) } -// GetAllServiceCatalogLaunchNotificationConstraintResources retrieves all servicecatalog.LaunchNotificationConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogLaunchNotificationConstraintResources() map[string]*servicecatalog.LaunchNotificationConstraint { - results := map[string]*servicecatalog.LaunchNotificationConstraint{} +// GetAllRDSDBSecurityGroupResources retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBSecurityGroupResources() map[string]*rds.DBSecurityGroup { + results := map[string]*rds.DBSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.LaunchNotificationConstraint: + case *rds.DBSecurityGroup: results[name] = resource } } return results } -// GetServiceCatalogLaunchNotificationConstraintWithName retrieves all servicecatalog.LaunchNotificationConstraint items from an AWS CloudFormation template +// GetRDSDBSecurityGroupWithName retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogLaunchNotificationConstraintWithName(name string) (*servicecatalog.LaunchNotificationConstraint, error) { +func (t *Template) GetRDSDBSecurityGroupWithName(name string) (*rds.DBSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.LaunchNotificationConstraint: + case *rds.DBSecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchNotificationConstraint not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroup not found", name) } -// GetAllEC2TransitGatewayRouteTableResources retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteTableResources() map[string]*ec2.TransitGatewayRouteTable { - results := map[string]*ec2.TransitGatewayRouteTable{} +// GetAllRDSDBSecurityGroupIngressResources retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBSecurityGroupIngressResources() map[string]*rds.DBSecurityGroupIngress { + results := map[string]*rds.DBSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTable: + case *rds.DBSecurityGroupIngress: results[name] = resource } } return results } -// GetEC2TransitGatewayRouteTableWithName retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template +// GetRDSDBSecurityGroupIngressWithName retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteTableWithName(name string) (*ec2.TransitGatewayRouteTable, error) { +func (t *Template) GetRDSDBSecurityGroupIngressWithName(name string) (*rds.DBSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTable: + case *rds.DBSecurityGroupIngress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTable not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroupIngress not found", name) } -// GetAllAppMeshVirtualServiceResources retrieves all appmesh.VirtualService items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualServiceResources() map[string]*appmesh.VirtualService { - results := map[string]*appmesh.VirtualService{} +// GetAllRDSDBSubnetGroupResources retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBSubnetGroupResources() map[string]*rds.DBSubnetGroup { + results := map[string]*rds.DBSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualService: + case *rds.DBSubnetGroup: results[name] = resource } } return results } -// GetAppMeshVirtualServiceWithName retrieves all appmesh.VirtualService items from an AWS CloudFormation template +// GetRDSDBSubnetGroupWithName retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualServiceWithName(name string) (*appmesh.VirtualService, error) { +func (t *Template) GetRDSDBSubnetGroupWithName(name string) (*rds.DBSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualService: + case *rds.DBSubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualService not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBSubnetGroup not found", name) } -// GetAllIoT1ClickDeviceResources retrieves all iot1click.Device items from an AWS CloudFormation template -func (t *Template) GetAllIoT1ClickDeviceResources() map[string]*iot1click.Device { - results := map[string]*iot1click.Device{} +// GetAllRDSEventSubscriptionResources retrieves all rds.EventSubscription items from an AWS CloudFormation template +func (t *Template) GetAllRDSEventSubscriptionResources() map[string]*rds.EventSubscription { + results := map[string]*rds.EventSubscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot1click.Device: + case *rds.EventSubscription: results[name] = resource } } return results } -// GetIoT1ClickDeviceWithName retrieves all iot1click.Device items from an AWS CloudFormation template +// GetRDSEventSubscriptionWithName retrieves all rds.EventSubscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoT1ClickDeviceWithName(name string) (*iot1click.Device, error) { +func (t *Template) GetRDSEventSubscriptionWithName(name string) (*rds.EventSubscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot1click.Device: + case *rds.EventSubscription: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot1click.Device not found", name) + return nil, fmt.Errorf("resource %q of type rds.EventSubscription not found", name) } -// GetAllPinpointAPNSVoipChannelResources retrieves all pinpoint.APNSVoipChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSVoipChannelResources() map[string]*pinpoint.APNSVoipChannel { - results := map[string]*pinpoint.APNSVoipChannel{} +// GetAllRDSOptionGroupResources retrieves all rds.OptionGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSOptionGroupResources() map[string]*rds.OptionGroup { + results := map[string]*rds.OptionGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.APNSVoipChannel: + case *rds.OptionGroup: results[name] = resource } } return results } -// GetPinpointAPNSVoipChannelWithName retrieves all pinpoint.APNSVoipChannel items from an AWS CloudFormation template +// GetRDSOptionGroupWithName retrieves all rds.OptionGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSVoipChannelWithName(name string) (*pinpoint.APNSVoipChannel, error) { +func (t *Template) GetRDSOptionGroupWithName(name string) (*rds.OptionGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.APNSVoipChannel: + case *rds.OptionGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSVoipChannel not found", name) + return nil, fmt.Errorf("resource %q of type rds.OptionGroup not found", name) } -// GetAllGreengrassGroupVersionResources retrieves all greengrass.GroupVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassGroupVersionResources() map[string]*greengrass.GroupVersion { - results := map[string]*greengrass.GroupVersion{} +// GetAllRedshiftClusterResources retrieves all redshift.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllRedshiftClusterResources() map[string]*redshift.Cluster { + results := map[string]*redshift.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.GroupVersion: + case *redshift.Cluster: results[name] = resource } } return results } -// GetGreengrassGroupVersionWithName retrieves all greengrass.GroupVersion items from an AWS CloudFormation template +// GetRedshiftClusterWithName retrieves all redshift.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassGroupVersionWithName(name string) (*greengrass.GroupVersion, error) { +func (t *Template) GetRedshiftClusterWithName(name string) (*redshift.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.GroupVersion: + case *redshift.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.GroupVersion not found", name) + return nil, fmt.Errorf("resource %q of type redshift.Cluster not found", name) } -// GetAllSESReceiptFilterResources retrieves all ses.ReceiptFilter items from an AWS CloudFormation template -func (t *Template) GetAllSESReceiptFilterResources() map[string]*ses.ReceiptFilter { - results := map[string]*ses.ReceiptFilter{} +// GetAllRedshiftClusterParameterGroupResources retrieves all redshift.ClusterParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllRedshiftClusterParameterGroupResources() map[string]*redshift.ClusterParameterGroup { + results := map[string]*redshift.ClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ReceiptFilter: + case *redshift.ClusterParameterGroup: results[name] = resource } } return results } -// GetSESReceiptFilterWithName retrieves all ses.ReceiptFilter items from an AWS CloudFormation template +// GetRedshiftClusterParameterGroupWithName retrieves all redshift.ClusterParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESReceiptFilterWithName(name string) (*ses.ReceiptFilter, error) { +func (t *Template) GetRedshiftClusterParameterGroupWithName(name string) (*redshift.ClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ReceiptFilter: + case *redshift.ClusterParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ReceiptFilter not found", name) + return nil, fmt.Errorf("resource %q of type redshift.ClusterParameterGroup not found", name) } -// GetAllGreengrassSubscriptionDefinitionResources retrieves all greengrass.SubscriptionDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassSubscriptionDefinitionResources() map[string]*greengrass.SubscriptionDefinition { - results := map[string]*greengrass.SubscriptionDefinition{} +// GetAllRedshiftClusterSecurityGroupResources retrieves all redshift.ClusterSecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllRedshiftClusterSecurityGroupResources() map[string]*redshift.ClusterSecurityGroup { + results := map[string]*redshift.ClusterSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinition: + case *redshift.ClusterSecurityGroup: results[name] = resource } } return results } -// GetGreengrassSubscriptionDefinitionWithName retrieves all greengrass.SubscriptionDefinition items from an AWS CloudFormation template +// GetRedshiftClusterSecurityGroupWithName retrieves all redshift.ClusterSecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassSubscriptionDefinitionWithName(name string) (*greengrass.SubscriptionDefinition, error) { +func (t *Template) GetRedshiftClusterSecurityGroupWithName(name string) (*redshift.ClusterSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinition: + case *redshift.ClusterSecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.SubscriptionDefinition not found", name) + return nil, fmt.Errorf("resource %q of type redshift.ClusterSecurityGroup not found", name) } -// GetAllAthenaNamedQueryResources retrieves all athena.NamedQuery items from an AWS CloudFormation template -func (t *Template) GetAllAthenaNamedQueryResources() map[string]*athena.NamedQuery { - results := map[string]*athena.NamedQuery{} +// GetAllRedshiftClusterSecurityGroupIngressResources retrieves all redshift.ClusterSecurityGroupIngress items from an AWS CloudFormation template +func (t *Template) GetAllRedshiftClusterSecurityGroupIngressResources() map[string]*redshift.ClusterSecurityGroupIngress { + results := map[string]*redshift.ClusterSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *athena.NamedQuery: + case *redshift.ClusterSecurityGroupIngress: results[name] = resource } } return results } -// GetAthenaNamedQueryWithName retrieves all athena.NamedQuery items from an AWS CloudFormation template +// GetRedshiftClusterSecurityGroupIngressWithName retrieves all redshift.ClusterSecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAthenaNamedQueryWithName(name string) (*athena.NamedQuery, error) { +func (t *Template) GetRedshiftClusterSecurityGroupIngressWithName(name string) (*redshift.ClusterSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *athena.NamedQuery: + case *redshift.ClusterSecurityGroupIngress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type athena.NamedQuery not found", name) + return nil, fmt.Errorf("resource %q of type redshift.ClusterSecurityGroupIngress not found", name) } -// GetAllSSMMaintenanceWindowResources retrieves all ssm.MaintenanceWindow items from an AWS CloudFormation template -func (t *Template) GetAllSSMMaintenanceWindowResources() map[string]*ssm.MaintenanceWindow { - results := map[string]*ssm.MaintenanceWindow{} +// GetAllRedshiftClusterSubnetGroupResources retrieves all redshift.ClusterSubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllRedshiftClusterSubnetGroupResources() map[string]*redshift.ClusterSubnetGroup { + results := map[string]*redshift.ClusterSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.MaintenanceWindow: + case *redshift.ClusterSubnetGroup: results[name] = resource } } return results } -// GetSSMMaintenanceWindowWithName retrieves all ssm.MaintenanceWindow items from an AWS CloudFormation template +// GetRedshiftClusterSubnetGroupWithName retrieves all redshift.ClusterSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMMaintenanceWindowWithName(name string) (*ssm.MaintenanceWindow, error) { +func (t *Template) GetRedshiftClusterSubnetGroupWithName(name string) (*redshift.ClusterSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.MaintenanceWindow: + case *redshift.ClusterSubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindow not found", name) + return nil, fmt.Errorf("resource %q of type redshift.ClusterSubnetGroup not found", name) } -// GetAllEMRInstanceGroupConfigResources retrieves all emr.InstanceGroupConfig items from an AWS CloudFormation template -func (t *Template) GetAllEMRInstanceGroupConfigResources() map[string]*emr.InstanceGroupConfig { - results := map[string]*emr.InstanceGroupConfig{} +// GetAllRoboMakerFleetResources retrieves all robomaker.Fleet items from an AWS CloudFormation template +func (t *Template) GetAllRoboMakerFleetResources() map[string]*robomaker.Fleet { + results := map[string]*robomaker.Fleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *emr.InstanceGroupConfig: + case *robomaker.Fleet: results[name] = resource } } return results } -// GetEMRInstanceGroupConfigWithName retrieves all emr.InstanceGroupConfig items from an AWS CloudFormation template +// GetRoboMakerFleetWithName retrieves all robomaker.Fleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRInstanceGroupConfigWithName(name string) (*emr.InstanceGroupConfig, error) { +func (t *Template) GetRoboMakerFleetWithName(name string) (*robomaker.Fleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *emr.InstanceGroupConfig: + case *robomaker.Fleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type emr.InstanceGroupConfig not found", name) + return nil, fmt.Errorf("resource %q of type robomaker.Fleet not found", name) } -// GetAllRoboMakerSimulationApplicationResources retrieves all robomaker.SimulationApplication items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerSimulationApplicationResources() map[string]*robomaker.SimulationApplication { - results := map[string]*robomaker.SimulationApplication{} +// GetAllRoboMakerRobotResources retrieves all robomaker.Robot items from an AWS CloudFormation template +func (t *Template) GetAllRoboMakerRobotResources() map[string]*robomaker.Robot { + results := map[string]*robomaker.Robot{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *robomaker.SimulationApplication: + case *robomaker.Robot: results[name] = resource } } return results } -// GetRoboMakerSimulationApplicationWithName retrieves all robomaker.SimulationApplication items from an AWS CloudFormation template +// GetRoboMakerRobotWithName retrieves all robomaker.Robot items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerSimulationApplicationWithName(name string) (*robomaker.SimulationApplication, error) { +func (t *Template) GetRoboMakerRobotWithName(name string) (*robomaker.Robot, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *robomaker.SimulationApplication: + case *robomaker.Robot: return resource, nil } } - return nil, fmt.Errorf("resource %q of type robomaker.SimulationApplication not found", name) + return nil, fmt.Errorf("resource %q of type robomaker.Robot not found", name) } -// GetAllManagedBlockchainNodeResources retrieves all managedblockchain.Node items from an AWS CloudFormation template -func (t *Template) GetAllManagedBlockchainNodeResources() map[string]*managedblockchain.Node { - results := map[string]*managedblockchain.Node{} +// GetAllRoboMakerRobotApplicationResources retrieves all robomaker.RobotApplication items from an AWS CloudFormation template +func (t *Template) GetAllRoboMakerRobotApplicationResources() map[string]*robomaker.RobotApplication { + results := map[string]*robomaker.RobotApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *managedblockchain.Node: + case *robomaker.RobotApplication: results[name] = resource } } return results } -// GetManagedBlockchainNodeWithName retrieves all managedblockchain.Node items from an AWS CloudFormation template +// GetRoboMakerRobotApplicationWithName retrieves all robomaker.RobotApplication items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetManagedBlockchainNodeWithName(name string) (*managedblockchain.Node, error) { +func (t *Template) GetRoboMakerRobotApplicationWithName(name string) (*robomaker.RobotApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *managedblockchain.Node: + case *robomaker.RobotApplication: return resource, nil } } - return nil, fmt.Errorf("resource %q of type managedblockchain.Node not found", name) + return nil, fmt.Errorf("resource %q of type robomaker.RobotApplication not found", name) } -// GetAllIAMInstanceProfileResources retrieves all iam.InstanceProfile items from an AWS CloudFormation template -func (t *Template) GetAllIAMInstanceProfileResources() map[string]*iam.InstanceProfile { - results := map[string]*iam.InstanceProfile{} +// GetAllRoboMakerRobotApplicationVersionResources retrieves all robomaker.RobotApplicationVersion items from an AWS CloudFormation template +func (t *Template) GetAllRoboMakerRobotApplicationVersionResources() map[string]*robomaker.RobotApplicationVersion { + results := map[string]*robomaker.RobotApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.InstanceProfile: + case *robomaker.RobotApplicationVersion: results[name] = resource } } return results } -// GetIAMInstanceProfileWithName retrieves all iam.InstanceProfile items from an AWS CloudFormation template +// GetRoboMakerRobotApplicationVersionWithName retrieves all robomaker.RobotApplicationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMInstanceProfileWithName(name string) (*iam.InstanceProfile, error) { +func (t *Template) GetRoboMakerRobotApplicationVersionWithName(name string) (*robomaker.RobotApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.InstanceProfile: + case *robomaker.RobotApplicationVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.InstanceProfile not found", name) + return nil, fmt.Errorf("resource %q of type robomaker.RobotApplicationVersion not found", name) } -// GetAllKinesisAnalyticsV2ApplicationReferenceDataSourceResources retrieves all kinesisanalyticsv2.ApplicationReferenceDataSource items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationReferenceDataSourceResources() map[string]*kinesisanalyticsv2.ApplicationReferenceDataSource { - results := map[string]*kinesisanalyticsv2.ApplicationReferenceDataSource{} +// GetAllRoboMakerSimulationApplicationResources retrieves all robomaker.SimulationApplication items from an AWS CloudFormation template +func (t *Template) GetAllRoboMakerSimulationApplicationResources() map[string]*robomaker.SimulationApplication { + results := map[string]*robomaker.SimulationApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationReferenceDataSource: + case *robomaker.SimulationApplication: results[name] = resource } } return results } -// GetKinesisAnalyticsV2ApplicationReferenceDataSourceWithName retrieves all kinesisanalyticsv2.ApplicationReferenceDataSource items from an AWS CloudFormation template +// GetRoboMakerSimulationApplicationWithName retrieves all robomaker.SimulationApplication items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationReferenceDataSourceWithName(name string) (*kinesisanalyticsv2.ApplicationReferenceDataSource, error) { +func (t *Template) GetRoboMakerSimulationApplicationWithName(name string) (*robomaker.SimulationApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationReferenceDataSource: + case *robomaker.SimulationApplication: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationReferenceDataSource not found", name) + return nil, fmt.Errorf("resource %q of type robomaker.SimulationApplication not found", name) } -// GetAllRDSDBInstanceResources retrieves all rds.DBInstance items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBInstanceResources() map[string]*rds.DBInstance { - results := map[string]*rds.DBInstance{} +// GetAllRoboMakerSimulationApplicationVersionResources retrieves all robomaker.SimulationApplicationVersion items from an AWS CloudFormation template +func (t *Template) GetAllRoboMakerSimulationApplicationVersionResources() map[string]*robomaker.SimulationApplicationVersion { + results := map[string]*robomaker.SimulationApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBInstance: + case *robomaker.SimulationApplicationVersion: results[name] = resource } } return results } -// GetRDSDBInstanceWithName retrieves all rds.DBInstance items from an AWS CloudFormation template +// GetRoboMakerSimulationApplicationVersionWithName retrieves all robomaker.SimulationApplicationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBInstanceWithName(name string) (*rds.DBInstance, error) { +func (t *Template) GetRoboMakerSimulationApplicationVersionWithName(name string) (*robomaker.SimulationApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBInstance: + case *robomaker.SimulationApplicationVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBInstance not found", name) + return nil, fmt.Errorf("resource %q of type robomaker.SimulationApplicationVersion not found", name) } -// GetAllRDSDBClusterParameterGroupResources retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBClusterParameterGroupResources() map[string]*rds.DBClusterParameterGroup { - results := map[string]*rds.DBClusterParameterGroup{} +// GetAllRoute53HealthCheckResources retrieves all route53.HealthCheck items from an AWS CloudFormation template +func (t *Template) GetAllRoute53HealthCheckResources() map[string]*route53.HealthCheck { + results := map[string]*route53.HealthCheck{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBClusterParameterGroup: + case *route53.HealthCheck: results[name] = resource } } return results } -// GetRDSDBClusterParameterGroupWithName retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template +// GetRoute53HealthCheckWithName retrieves all route53.HealthCheck items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBClusterParameterGroupWithName(name string) (*rds.DBClusterParameterGroup, error) { +func (t *Template) GetRoute53HealthCheckWithName(name string) (*route53.HealthCheck, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBClusterParameterGroup: + case *route53.HealthCheck: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBClusterParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type route53.HealthCheck not found", name) } -// GetAllGlueMLTransformResources retrieves all glue.MLTransform items from an AWS CloudFormation template -func (t *Template) GetAllGlueMLTransformResources() map[string]*glue.MLTransform { - results := map[string]*glue.MLTransform{} +// GetAllRoute53HostedZoneResources retrieves all route53.HostedZone items from an AWS CloudFormation template +func (t *Template) GetAllRoute53HostedZoneResources() map[string]*route53.HostedZone { + results := map[string]*route53.HostedZone{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.MLTransform: + case *route53.HostedZone: results[name] = resource } } return results } -// GetGlueMLTransformWithName retrieves all glue.MLTransform items from an AWS CloudFormation template +// GetRoute53HostedZoneWithName retrieves all route53.HostedZone items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueMLTransformWithName(name string) (*glue.MLTransform, error) { +func (t *Template) GetRoute53HostedZoneWithName(name string) (*route53.HostedZone, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.MLTransform: + case *route53.HostedZone: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.MLTransform not found", name) + return nil, fmt.Errorf("resource %q of type route53.HostedZone not found", name) } -// GetAllGlueTableResources retrieves all glue.Table items from an AWS CloudFormation template -func (t *Template) GetAllGlueTableResources() map[string]*glue.Table { - results := map[string]*glue.Table{} +// GetAllRoute53RecordSetResources retrieves all route53.RecordSet items from an AWS CloudFormation template +func (t *Template) GetAllRoute53RecordSetResources() map[string]*route53.RecordSet { + results := map[string]*route53.RecordSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Table: + case *route53.RecordSet: results[name] = resource } } return results } -// GetGlueTableWithName retrieves all glue.Table items from an AWS CloudFormation template +// GetRoute53RecordSetWithName retrieves all route53.RecordSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueTableWithName(name string) (*glue.Table, error) { +func (t *Template) GetRoute53RecordSetWithName(name string) (*route53.RecordSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Table: + case *route53.RecordSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Table not found", name) + return nil, fmt.Errorf("resource %q of type route53.RecordSet not found", name) } -// GetAllServiceCatalogLaunchRoleConstraintResources retrieves all servicecatalog.LaunchRoleConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogLaunchRoleConstraintResources() map[string]*servicecatalog.LaunchRoleConstraint { - results := map[string]*servicecatalog.LaunchRoleConstraint{} +// GetAllRoute53RecordSetGroupResources retrieves all route53.RecordSetGroup items from an AWS CloudFormation template +func (t *Template) GetAllRoute53RecordSetGroupResources() map[string]*route53.RecordSetGroup { + results := map[string]*route53.RecordSetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.LaunchRoleConstraint: + case *route53.RecordSetGroup: results[name] = resource } } return results } -// GetServiceCatalogLaunchRoleConstraintWithName retrieves all servicecatalog.LaunchRoleConstraint items from an AWS CloudFormation template +// GetRoute53RecordSetGroupWithName retrieves all route53.RecordSetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogLaunchRoleConstraintWithName(name string) (*servicecatalog.LaunchRoleConstraint, error) { +func (t *Template) GetRoute53RecordSetGroupWithName(name string) (*route53.RecordSetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.LaunchRoleConstraint: + case *route53.RecordSetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchRoleConstraint not found", name) + return nil, fmt.Errorf("resource %q of type route53.RecordSetGroup not found", name) } -// GetAllLogsLogStreamResources retrieves all logs.LogStream items from an AWS CloudFormation template -func (t *Template) GetAllLogsLogStreamResources() map[string]*logs.LogStream { - results := map[string]*logs.LogStream{} +// GetAllRoute53ResolverResolverEndpointResources retrieves all route53resolver.ResolverEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllRoute53ResolverResolverEndpointResources() map[string]*route53resolver.ResolverEndpoint { + results := map[string]*route53resolver.ResolverEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *logs.LogStream: + case *route53resolver.ResolverEndpoint: results[name] = resource } } return results } -// GetLogsLogStreamWithName retrieves all logs.LogStream items from an AWS CloudFormation template +// GetRoute53ResolverResolverEndpointWithName retrieves all route53resolver.ResolverEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsLogStreamWithName(name string) (*logs.LogStream, error) { +func (t *Template) GetRoute53ResolverResolverEndpointWithName(name string) (*route53resolver.ResolverEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *logs.LogStream: + case *route53resolver.ResolverEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type logs.LogStream not found", name) + return nil, fmt.Errorf("resource %q of type route53resolver.ResolverEndpoint not found", name) } -// GetAllRedshiftClusterParameterGroupResources retrieves all redshift.ClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterParameterGroupResources() map[string]*redshift.ClusterParameterGroup { - results := map[string]*redshift.ClusterParameterGroup{} +// GetAllRoute53ResolverResolverRuleResources retrieves all route53resolver.ResolverRule items from an AWS CloudFormation template +func (t *Template) GetAllRoute53ResolverResolverRuleResources() map[string]*route53resolver.ResolverRule { + results := map[string]*route53resolver.ResolverRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *redshift.ClusterParameterGroup: + case *route53resolver.ResolverRule: results[name] = resource } } return results } -// GetRedshiftClusterParameterGroupWithName retrieves all redshift.ClusterParameterGroup items from an AWS CloudFormation template +// GetRoute53ResolverResolverRuleWithName retrieves all route53resolver.ResolverRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterParameterGroupWithName(name string) (*redshift.ClusterParameterGroup, error) { +func (t *Template) GetRoute53ResolverResolverRuleWithName(name string) (*route53resolver.ResolverRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *redshift.ClusterParameterGroup: + case *route53resolver.ResolverRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type redshift.ClusterParameterGroup not found", name) + return nil, fmt.Errorf("resource %q of type route53resolver.ResolverRule not found", name) } -// GetAllDirectoryServiceSimpleADResources retrieves all directoryservice.SimpleAD items from an AWS CloudFormation template -func (t *Template) GetAllDirectoryServiceSimpleADResources() map[string]*directoryservice.SimpleAD { - results := map[string]*directoryservice.SimpleAD{} +// GetAllRoute53ResolverResolverRuleAssociationResources retrieves all route53resolver.ResolverRuleAssociation items from an AWS CloudFormation template +func (t *Template) GetAllRoute53ResolverResolverRuleAssociationResources() map[string]*route53resolver.ResolverRuleAssociation { + results := map[string]*route53resolver.ResolverRuleAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *directoryservice.SimpleAD: + case *route53resolver.ResolverRuleAssociation: results[name] = resource } } return results } -// GetDirectoryServiceSimpleADWithName retrieves all directoryservice.SimpleAD items from an AWS CloudFormation template +// GetRoute53ResolverResolverRuleAssociationWithName retrieves all route53resolver.ResolverRuleAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDirectoryServiceSimpleADWithName(name string) (*directoryservice.SimpleAD, error) { +func (t *Template) GetRoute53ResolverResolverRuleAssociationWithName(name string) (*route53resolver.ResolverRuleAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *directoryservice.SimpleAD: + case *route53resolver.ResolverRuleAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type directoryservice.SimpleAD not found", name) + return nil, fmt.Errorf("resource %q of type route53resolver.ResolverRuleAssociation not found", name) } -// GetAllRoute53RecordSetResources retrieves all route53.RecordSet items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecordSetResources() map[string]*route53.RecordSet { - results := map[string]*route53.RecordSet{} +// GetAllS3BucketResources retrieves all s3.Bucket items from an AWS CloudFormation template +func (t *Template) GetAllS3BucketResources() map[string]*s3.Bucket { + results := map[string]*s3.Bucket{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53.RecordSet: + case *s3.Bucket: results[name] = resource } } return results } -// GetRoute53RecordSetWithName retrieves all route53.RecordSet items from an AWS CloudFormation template +// GetS3BucketWithName retrieves all s3.Bucket items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecordSetWithName(name string) (*route53.RecordSet, error) { +func (t *Template) GetS3BucketWithName(name string) (*s3.Bucket, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53.RecordSet: + case *s3.Bucket: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53.RecordSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.Bucket not found", name) } -// GetAllBudgetsBudgetResources retrieves all budgets.Budget items from an AWS CloudFormation template -func (t *Template) GetAllBudgetsBudgetResources() map[string]*budgets.Budget { - results := map[string]*budgets.Budget{} +// GetAllS3BucketPolicyResources retrieves all s3.BucketPolicy items from an AWS CloudFormation template +func (t *Template) GetAllS3BucketPolicyResources() map[string]*s3.BucketPolicy { + results := map[string]*s3.BucketPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *budgets.Budget: + case *s3.BucketPolicy: results[name] = resource } } return results } -// GetBudgetsBudgetWithName retrieves all budgets.Budget items from an AWS CloudFormation template +// GetS3BucketPolicyWithName retrieves all s3.BucketPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBudgetsBudgetWithName(name string) (*budgets.Budget, error) { +func (t *Template) GetS3BucketPolicyWithName(name string) (*s3.BucketPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *budgets.Budget: + case *s3.BucketPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type budgets.Budget not found", name) + return nil, fmt.Errorf("resource %q of type s3.BucketPolicy not found", name) } -// GetAllEC2VPCResources retrieves all ec2.VPC items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCResources() map[string]*ec2.VPC { - results := map[string]*ec2.VPC{} +// GetAllSDBDomainResources retrieves all sdb.Domain items from an AWS CloudFormation template +func (t *Template) GetAllSDBDomainResources() map[string]*sdb.Domain { + results := map[string]*sdb.Domain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.VPC: + case *sdb.Domain: results[name] = resource } } return results } -// GetEC2VPCWithName retrieves all ec2.VPC items from an AWS CloudFormation template +// GetSDBDomainWithName retrieves all sdb.Domain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCWithName(name string) (*ec2.VPC, error) { +func (t *Template) GetSDBDomainWithName(name string) (*sdb.Domain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.VPC: + case *sdb.Domain: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.VPC not found", name) + return nil, fmt.Errorf("resource %q of type sdb.Domain not found", name) } -// GetAllRoute53HostedZoneResources retrieves all route53.HostedZone items from an AWS CloudFormation template -func (t *Template) GetAllRoute53HostedZoneResources() map[string]*route53.HostedZone { - results := map[string]*route53.HostedZone{} +// GetAllSESConfigurationSetResources retrieves all ses.ConfigurationSet items from an AWS CloudFormation template +func (t *Template) GetAllSESConfigurationSetResources() map[string]*ses.ConfigurationSet { + results := map[string]*ses.ConfigurationSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *route53.HostedZone: + case *ses.ConfigurationSet: results[name] = resource } } return results } -// GetRoute53HostedZoneWithName retrieves all route53.HostedZone items from an AWS CloudFormation template +// GetSESConfigurationSetWithName retrieves all ses.ConfigurationSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53HostedZoneWithName(name string) (*route53.HostedZone, error) { +func (t *Template) GetSESConfigurationSetWithName(name string) (*ses.ConfigurationSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *route53.HostedZone: + case *ses.ConfigurationSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type route53.HostedZone not found", name) + return nil, fmt.Errorf("resource %q of type ses.ConfigurationSet not found", name) } -// GetAllGlueDatabaseResources retrieves all glue.Database items from an AWS CloudFormation template -func (t *Template) GetAllGlueDatabaseResources() map[string]*glue.Database { - results := map[string]*glue.Database{} +// GetAllSESConfigurationSetEventDestinationResources retrieves all ses.ConfigurationSetEventDestination items from an AWS CloudFormation template +func (t *Template) GetAllSESConfigurationSetEventDestinationResources() map[string]*ses.ConfigurationSetEventDestination { + results := map[string]*ses.ConfigurationSetEventDestination{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Database: + case *ses.ConfigurationSetEventDestination: results[name] = resource } } return results } -// GetGlueDatabaseWithName retrieves all glue.Database items from an AWS CloudFormation template +// GetSESConfigurationSetEventDestinationWithName retrieves all ses.ConfigurationSetEventDestination items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueDatabaseWithName(name string) (*glue.Database, error) { +func (t *Template) GetSESConfigurationSetEventDestinationWithName(name string) (*ses.ConfigurationSetEventDestination, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Database: + case *ses.ConfigurationSetEventDestination: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Database not found", name) + return nil, fmt.Errorf("resource %q of type ses.ConfigurationSetEventDestination not found", name) } -// GetAllOpsWorksUserProfileResources retrieves all opsworks.UserProfile items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksUserProfileResources() map[string]*opsworks.UserProfile { - results := map[string]*opsworks.UserProfile{} +// GetAllSESReceiptFilterResources retrieves all ses.ReceiptFilter items from an AWS CloudFormation template +func (t *Template) GetAllSESReceiptFilterResources() map[string]*ses.ReceiptFilter { + results := map[string]*ses.ReceiptFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *opsworks.UserProfile: + case *ses.ReceiptFilter: results[name] = resource } } return results } -// GetOpsWorksUserProfileWithName retrieves all opsworks.UserProfile items from an AWS CloudFormation template +// GetSESReceiptFilterWithName retrieves all ses.ReceiptFilter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksUserProfileWithName(name string) (*opsworks.UserProfile, error) { +func (t *Template) GetSESReceiptFilterWithName(name string) (*ses.ReceiptFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *opsworks.UserProfile: + case *ses.ReceiptFilter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type opsworks.UserProfile not found", name) + return nil, fmt.Errorf("resource %q of type ses.ReceiptFilter not found", name) } -// GetAllEC2LaunchTemplateResources retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template -func (t *Template) GetAllEC2LaunchTemplateResources() map[string]*ec2.LaunchTemplate { - results := map[string]*ec2.LaunchTemplate{} +// GetAllSESReceiptRuleResources retrieves all ses.ReceiptRule items from an AWS CloudFormation template +func (t *Template) GetAllSESReceiptRuleResources() map[string]*ses.ReceiptRule { + results := map[string]*ses.ReceiptRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.LaunchTemplate: + case *ses.ReceiptRule: results[name] = resource } } return results } -// GetEC2LaunchTemplateWithName retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template +// GetSESReceiptRuleWithName retrieves all ses.ReceiptRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2LaunchTemplateWithName(name string) (*ec2.LaunchTemplate, error) { +func (t *Template) GetSESReceiptRuleWithName(name string) (*ses.ReceiptRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.LaunchTemplate: + case *ses.ReceiptRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.LaunchTemplate not found", name) + return nil, fmt.Errorf("resource %q of type ses.ReceiptRule not found", name) } -// GetAllEC2SubnetCidrBlockResources retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetCidrBlockResources() map[string]*ec2.SubnetCidrBlock { - results := map[string]*ec2.SubnetCidrBlock{} +// GetAllSESReceiptRuleSetResources retrieves all ses.ReceiptRuleSet items from an AWS CloudFormation template +func (t *Template) GetAllSESReceiptRuleSetResources() map[string]*ses.ReceiptRuleSet { + results := map[string]*ses.ReceiptRuleSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SubnetCidrBlock: + case *ses.ReceiptRuleSet: results[name] = resource } } return results } -// GetEC2SubnetCidrBlockWithName retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template +// GetSESReceiptRuleSetWithName retrieves all ses.ReceiptRuleSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetCidrBlockWithName(name string) (*ec2.SubnetCidrBlock, error) { +func (t *Template) GetSESReceiptRuleSetWithName(name string) (*ses.ReceiptRuleSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SubnetCidrBlock: + case *ses.ReceiptRuleSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SubnetCidrBlock not found", name) + return nil, fmt.Errorf("resource %q of type ses.ReceiptRuleSet not found", name) } -// GetAllAppStreamFleetResources retrieves all appstream.Fleet items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamFleetResources() map[string]*appstream.Fleet { - results := map[string]*appstream.Fleet{} +// GetAllSESTemplateResources retrieves all ses.Template items from an AWS CloudFormation template +func (t *Template) GetAllSESTemplateResources() map[string]*ses.Template { + results := map[string]*ses.Template{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.Fleet: + case *ses.Template: results[name] = resource } } return results } -// GetAppStreamFleetWithName retrieves all appstream.Fleet items from an AWS CloudFormation template +// GetSESTemplateWithName retrieves all ses.Template items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamFleetWithName(name string) (*appstream.Fleet, error) { +func (t *Template) GetSESTemplateWithName(name string) (*ses.Template, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.Fleet: + case *ses.Template: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.Fleet not found", name) + return nil, fmt.Errorf("resource %q of type ses.Template not found", name) } -// GetAllWAFRegionalByteMatchSetResources retrieves all wafregional.ByteMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalByteMatchSetResources() map[string]*wafregional.ByteMatchSet { - results := map[string]*wafregional.ByteMatchSet{} +// GetAllSNSSubscriptionResources retrieves all sns.Subscription items from an AWS CloudFormation template +func (t *Template) GetAllSNSSubscriptionResources() map[string]*sns.Subscription { + results := map[string]*sns.Subscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.ByteMatchSet: + case *sns.Subscription: results[name] = resource } } return results } -// GetWAFRegionalByteMatchSetWithName retrieves all wafregional.ByteMatchSet items from an AWS CloudFormation template +// GetSNSSubscriptionWithName retrieves all sns.Subscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalByteMatchSetWithName(name string) (*wafregional.ByteMatchSet, error) { +func (t *Template) GetSNSSubscriptionWithName(name string) (*sns.Subscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.ByteMatchSet: + case *sns.Subscription: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.ByteMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type sns.Subscription not found", name) } -// GetAllPinpointSMSChannelResources retrieves all pinpoint.SMSChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointSMSChannelResources() map[string]*pinpoint.SMSChannel { - results := map[string]*pinpoint.SMSChannel{} +// GetAllSNSTopicResources retrieves all sns.Topic items from an AWS CloudFormation template +func (t *Template) GetAllSNSTopicResources() map[string]*sns.Topic { + results := map[string]*sns.Topic{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.SMSChannel: + case *sns.Topic: results[name] = resource } } return results } -// GetPinpointSMSChannelWithName retrieves all pinpoint.SMSChannel items from an AWS CloudFormation template +// GetSNSTopicWithName retrieves all sns.Topic items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointSMSChannelWithName(name string) (*pinpoint.SMSChannel, error) { +func (t *Template) GetSNSTopicWithName(name string) (*sns.Topic, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.SMSChannel: + case *sns.Topic: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.SMSChannel not found", name) + return nil, fmt.Errorf("resource %q of type sns.Topic not found", name) } // GetAllSNSTopicPolicyResources retrieves all sns.TopicPolicy items from an AWS CloudFormation template @@ -10079,676 +10055,676 @@ func (t *Template) GetSNSTopicPolicyWithName(name string) (*sns.TopicPolicy, err return nil, fmt.Errorf("resource %q of type sns.TopicPolicy not found", name) } -// GetAllSageMakerModelResources retrieves all sagemaker.Model items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerModelResources() map[string]*sagemaker.Model { - results := map[string]*sagemaker.Model{} +// GetAllSQSQueueResources retrieves all sqs.Queue items from an AWS CloudFormation template +func (t *Template) GetAllSQSQueueResources() map[string]*sqs.Queue { + results := map[string]*sqs.Queue{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Model: + case *sqs.Queue: results[name] = resource } } return results } -// GetSageMakerModelWithName retrieves all sagemaker.Model items from an AWS CloudFormation template +// GetSQSQueueWithName retrieves all sqs.Queue items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerModelWithName(name string) (*sagemaker.Model, error) { +func (t *Template) GetSQSQueueWithName(name string) (*sqs.Queue, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Model: + case *sqs.Queue: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Model not found", name) + return nil, fmt.Errorf("resource %q of type sqs.Queue not found", name) } -// GetAllCognitoUserPoolResourceServerResources retrieves all cognito.UserPoolResourceServer items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolResourceServerResources() map[string]*cognito.UserPoolResourceServer { - results := map[string]*cognito.UserPoolResourceServer{} +// GetAllSQSQueuePolicyResources retrieves all sqs.QueuePolicy items from an AWS CloudFormation template +func (t *Template) GetAllSQSQueuePolicyResources() map[string]*sqs.QueuePolicy { + results := map[string]*sqs.QueuePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolResourceServer: + case *sqs.QueuePolicy: results[name] = resource } } return results } -// GetCognitoUserPoolResourceServerWithName retrieves all cognito.UserPoolResourceServer items from an AWS CloudFormation template +// GetSQSQueuePolicyWithName retrieves all sqs.QueuePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolResourceServerWithName(name string) (*cognito.UserPoolResourceServer, error) { +func (t *Template) GetSQSQueuePolicyWithName(name string) (*sqs.QueuePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolResourceServer: + case *sqs.QueuePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolResourceServer not found", name) + return nil, fmt.Errorf("resource %q of type sqs.QueuePolicy not found", name) } -// GetAllGlueConnectionResources retrieves all glue.Connection items from an AWS CloudFormation template -func (t *Template) GetAllGlueConnectionResources() map[string]*glue.Connection { - results := map[string]*glue.Connection{} +// GetAllSSMAssociationResources retrieves all ssm.Association items from an AWS CloudFormation template +func (t *Template) GetAllSSMAssociationResources() map[string]*ssm.Association { + results := map[string]*ssm.Association{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *glue.Connection: + case *ssm.Association: results[name] = resource } } return results } -// GetGlueConnectionWithName retrieves all glue.Connection items from an AWS CloudFormation template +// GetSSMAssociationWithName retrieves all ssm.Association items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueConnectionWithName(name string) (*glue.Connection, error) { +func (t *Template) GetSSMAssociationWithName(name string) (*ssm.Association, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *glue.Connection: + case *ssm.Association: return resource, nil } } - return nil, fmt.Errorf("resource %q of type glue.Connection not found", name) + return nil, fmt.Errorf("resource %q of type ssm.Association not found", name) } -// GetAllIoTThingPrincipalAttachmentResources retrieves all iot.ThingPrincipalAttachment items from an AWS CloudFormation template -func (t *Template) GetAllIoTThingPrincipalAttachmentResources() map[string]*iot.ThingPrincipalAttachment { - results := map[string]*iot.ThingPrincipalAttachment{} +// GetAllSSMDocumentResources retrieves all ssm.Document items from an AWS CloudFormation template +func (t *Template) GetAllSSMDocumentResources() map[string]*ssm.Document { + results := map[string]*ssm.Document{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot.ThingPrincipalAttachment: + case *ssm.Document: results[name] = resource } } return results } -// GetIoTThingPrincipalAttachmentWithName retrieves all iot.ThingPrincipalAttachment items from an AWS CloudFormation template +// GetSSMDocumentWithName retrieves all ssm.Document items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTThingPrincipalAttachmentWithName(name string) (*iot.ThingPrincipalAttachment, error) { +func (t *Template) GetSSMDocumentWithName(name string) (*ssm.Document, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot.ThingPrincipalAttachment: + case *ssm.Document: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot.ThingPrincipalAttachment not found", name) + return nil, fmt.Errorf("resource %q of type ssm.Document not found", name) } -// GetAllMediaLiveChannelResources retrieves all medialive.Channel items from an AWS CloudFormation template -func (t *Template) GetAllMediaLiveChannelResources() map[string]*medialive.Channel { - results := map[string]*medialive.Channel{} +// GetAllSSMMaintenanceWindowResources retrieves all ssm.MaintenanceWindow items from an AWS CloudFormation template +func (t *Template) GetAllSSMMaintenanceWindowResources() map[string]*ssm.MaintenanceWindow { + results := map[string]*ssm.MaintenanceWindow{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *medialive.Channel: + case *ssm.MaintenanceWindow: results[name] = resource } } return results } -// GetMediaLiveChannelWithName retrieves all medialive.Channel items from an AWS CloudFormation template +// GetSSMMaintenanceWindowWithName retrieves all ssm.MaintenanceWindow items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaLiveChannelWithName(name string) (*medialive.Channel, error) { +func (t *Template) GetSSMMaintenanceWindowWithName(name string) (*ssm.MaintenanceWindow, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *medialive.Channel: + case *ssm.MaintenanceWindow: return resource, nil } } - return nil, fmt.Errorf("resource %q of type medialive.Channel not found", name) + return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindow not found", name) } -// GetAllAmplifyBranchResources retrieves all amplify.Branch items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyBranchResources() map[string]*amplify.Branch { - results := map[string]*amplify.Branch{} +// GetAllSSMMaintenanceWindowTargetResources retrieves all ssm.MaintenanceWindowTarget items from an AWS CloudFormation template +func (t *Template) GetAllSSMMaintenanceWindowTargetResources() map[string]*ssm.MaintenanceWindowTarget { + results := map[string]*ssm.MaintenanceWindowTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplify.Branch: + case *ssm.MaintenanceWindowTarget: results[name] = resource } } return results } -// GetAmplifyBranchWithName retrieves all amplify.Branch items from an AWS CloudFormation template +// GetSSMMaintenanceWindowTargetWithName retrieves all ssm.MaintenanceWindowTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyBranchWithName(name string) (*amplify.Branch, error) { +func (t *Template) GetSSMMaintenanceWindowTargetWithName(name string) (*ssm.MaintenanceWindowTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplify.Branch: + case *ssm.MaintenanceWindowTarget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplify.Branch not found", name) + return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindowTarget not found", name) } -// GetAllWAFSizeConstraintSetResources retrieves all waf.SizeConstraintSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFSizeConstraintSetResources() map[string]*waf.SizeConstraintSet { - results := map[string]*waf.SizeConstraintSet{} +// GetAllSSMMaintenanceWindowTaskResources retrieves all ssm.MaintenanceWindowTask items from an AWS CloudFormation template +func (t *Template) GetAllSSMMaintenanceWindowTaskResources() map[string]*ssm.MaintenanceWindowTask { + results := map[string]*ssm.MaintenanceWindowTask{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.SizeConstraintSet: + case *ssm.MaintenanceWindowTask: results[name] = resource } } return results } -// GetWAFSizeConstraintSetWithName retrieves all waf.SizeConstraintSet items from an AWS CloudFormation template +// GetSSMMaintenanceWindowTaskWithName retrieves all ssm.MaintenanceWindowTask items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFSizeConstraintSetWithName(name string) (*waf.SizeConstraintSet, error) { +func (t *Template) GetSSMMaintenanceWindowTaskWithName(name string) (*ssm.MaintenanceWindowTask, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.SizeConstraintSet: + case *ssm.MaintenanceWindowTask: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.SizeConstraintSet not found", name) + return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindowTask not found", name) } -// GetAllSageMakerNotebookInstanceResources retrieves all sagemaker.NotebookInstance items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerNotebookInstanceResources() map[string]*sagemaker.NotebookInstance { - results := map[string]*sagemaker.NotebookInstance{} +// GetAllSSMParameterResources retrieves all ssm.Parameter items from an AWS CloudFormation template +func (t *Template) GetAllSSMParameterResources() map[string]*ssm.Parameter { + results := map[string]*ssm.Parameter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.NotebookInstance: + case *ssm.Parameter: results[name] = resource } } return results } -// GetSageMakerNotebookInstanceWithName retrieves all sagemaker.NotebookInstance items from an AWS CloudFormation template +// GetSSMParameterWithName retrieves all ssm.Parameter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerNotebookInstanceWithName(name string) (*sagemaker.NotebookInstance, error) { +func (t *Template) GetSSMParameterWithName(name string) (*ssm.Parameter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.NotebookInstance: + case *ssm.Parameter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.NotebookInstance not found", name) + return nil, fmt.Errorf("resource %q of type ssm.Parameter not found", name) } -// GetAllECRRepositoryResources retrieves all ecr.Repository items from an AWS CloudFormation template -func (t *Template) GetAllECRRepositoryResources() map[string]*ecr.Repository { - results := map[string]*ecr.Repository{} +// GetAllSSMPatchBaselineResources retrieves all ssm.PatchBaseline items from an AWS CloudFormation template +func (t *Template) GetAllSSMPatchBaselineResources() map[string]*ssm.PatchBaseline { + results := map[string]*ssm.PatchBaseline{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ecr.Repository: + case *ssm.PatchBaseline: results[name] = resource } } return results } -// GetECRRepositoryWithName retrieves all ecr.Repository items from an AWS CloudFormation template +// GetSSMPatchBaselineWithName retrieves all ssm.PatchBaseline items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECRRepositoryWithName(name string) (*ecr.Repository, error) { +func (t *Template) GetSSMPatchBaselineWithName(name string) (*ssm.PatchBaseline, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ecr.Repository: + case *ssm.PatchBaseline: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ecr.Repository not found", name) + return nil, fmt.Errorf("resource %q of type ssm.PatchBaseline not found", name) } -// GetAllPinpointAPNSVoipSandboxChannelResources retrieves all pinpoint.APNSVoipSandboxChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSVoipSandboxChannelResources() map[string]*pinpoint.APNSVoipSandboxChannel { - results := map[string]*pinpoint.APNSVoipSandboxChannel{} +// GetAllSSMResourceDataSyncResources retrieves all ssm.ResourceDataSync items from an AWS CloudFormation template +func (t *Template) GetAllSSMResourceDataSyncResources() map[string]*ssm.ResourceDataSync { + results := map[string]*ssm.ResourceDataSync{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.APNSVoipSandboxChannel: + case *ssm.ResourceDataSync: results[name] = resource } } return results } -// GetPinpointAPNSVoipSandboxChannelWithName retrieves all pinpoint.APNSVoipSandboxChannel items from an AWS CloudFormation template +// GetSSMResourceDataSyncWithName retrieves all ssm.ResourceDataSync items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSVoipSandboxChannelWithName(name string) (*pinpoint.APNSVoipSandboxChannel, error) { +func (t *Template) GetSSMResourceDataSyncWithName(name string) (*ssm.ResourceDataSync, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.APNSVoipSandboxChannel: + case *ssm.ResourceDataSync: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSVoipSandboxChannel not found", name) + return nil, fmt.Errorf("resource %q of type ssm.ResourceDataSync not found", name) } -// GetAllIoTPolicyResources retrieves all iot.Policy items from an AWS CloudFormation template -func (t *Template) GetAllIoTPolicyResources() map[string]*iot.Policy { - results := map[string]*iot.Policy{} +// GetAllSageMakerCodeRepositoryResources retrieves all sagemaker.CodeRepository items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerCodeRepositoryResources() map[string]*sagemaker.CodeRepository { + results := map[string]*sagemaker.CodeRepository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot.Policy: + case *sagemaker.CodeRepository: results[name] = resource } } return results } -// GetIoTPolicyWithName retrieves all iot.Policy items from an AWS CloudFormation template +// GetSageMakerCodeRepositoryWithName retrieves all sagemaker.CodeRepository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTPolicyWithName(name string) (*iot.Policy, error) { +func (t *Template) GetSageMakerCodeRepositoryWithName(name string) (*sagemaker.CodeRepository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot.Policy: + case *sagemaker.CodeRepository: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot.Policy not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.CodeRepository not found", name) } -// GetAllAppStreamStackFleetAssociationResources retrieves all appstream.StackFleetAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamStackFleetAssociationResources() map[string]*appstream.StackFleetAssociation { - results := map[string]*appstream.StackFleetAssociation{} +// GetAllSageMakerEndpointResources retrieves all sagemaker.Endpoint items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerEndpointResources() map[string]*sagemaker.Endpoint { + results := map[string]*sagemaker.Endpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.StackFleetAssociation: + case *sagemaker.Endpoint: results[name] = resource } } return results } -// GetAppStreamStackFleetAssociationWithName retrieves all appstream.StackFleetAssociation items from an AWS CloudFormation template +// GetSageMakerEndpointWithName retrieves all sagemaker.Endpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamStackFleetAssociationWithName(name string) (*appstream.StackFleetAssociation, error) { +func (t *Template) GetSageMakerEndpointWithName(name string) (*sagemaker.Endpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.StackFleetAssociation: + case *sagemaker.Endpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.StackFleetAssociation not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.Endpoint not found", name) } -// GetAllPinpointVoiceChannelResources retrieves all pinpoint.VoiceChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointVoiceChannelResources() map[string]*pinpoint.VoiceChannel { - results := map[string]*pinpoint.VoiceChannel{} +// GetAllSageMakerEndpointConfigResources retrieves all sagemaker.EndpointConfig items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerEndpointConfigResources() map[string]*sagemaker.EndpointConfig { + results := map[string]*sagemaker.EndpointConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.VoiceChannel: + case *sagemaker.EndpointConfig: results[name] = resource } } return results } -// GetPinpointVoiceChannelWithName retrieves all pinpoint.VoiceChannel items from an AWS CloudFormation template +// GetSageMakerEndpointConfigWithName retrieves all sagemaker.EndpointConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointVoiceChannelWithName(name string) (*pinpoint.VoiceChannel, error) { +func (t *Template) GetSageMakerEndpointConfigWithName(name string) (*sagemaker.EndpointConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.VoiceChannel: + case *sagemaker.EndpointConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.VoiceChannel not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.EndpointConfig not found", name) } -// GetAllCodeDeployApplicationResources retrieves all codedeploy.Application items from an AWS CloudFormation template -func (t *Template) GetAllCodeDeployApplicationResources() map[string]*codedeploy.Application { - results := map[string]*codedeploy.Application{} +// GetAllSageMakerModelResources retrieves all sagemaker.Model items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerModelResources() map[string]*sagemaker.Model { + results := map[string]*sagemaker.Model{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codedeploy.Application: + case *sagemaker.Model: results[name] = resource } } return results } -// GetCodeDeployApplicationWithName retrieves all codedeploy.Application items from an AWS CloudFormation template +// GetSageMakerModelWithName retrieves all sagemaker.Model items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeDeployApplicationWithName(name string) (*codedeploy.Application, error) { +func (t *Template) GetSageMakerModelWithName(name string) (*sagemaker.Model, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codedeploy.Application: + case *sagemaker.Model: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codedeploy.Application not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.Model not found", name) } -// GetAllApiGatewayClientCertificateResources retrieves all apigateway.ClientCertificate items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayClientCertificateResources() map[string]*apigateway.ClientCertificate { - results := map[string]*apigateway.ClientCertificate{} +// GetAllSageMakerNotebookInstanceResources retrieves all sagemaker.NotebookInstance items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerNotebookInstanceResources() map[string]*sagemaker.NotebookInstance { + results := map[string]*sagemaker.NotebookInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.ClientCertificate: + case *sagemaker.NotebookInstance: results[name] = resource } } return results } -// GetApiGatewayClientCertificateWithName retrieves all apigateway.ClientCertificate items from an AWS CloudFormation template +// GetSageMakerNotebookInstanceWithName retrieves all sagemaker.NotebookInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayClientCertificateWithName(name string) (*apigateway.ClientCertificate, error) { +func (t *Template) GetSageMakerNotebookInstanceWithName(name string) (*sagemaker.NotebookInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.ClientCertificate: + case *sagemaker.NotebookInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.ClientCertificate not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.NotebookInstance not found", name) } -// GetAllPinpointEmailIdentityResources retrieves all pinpointemail.Identity items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailIdentityResources() map[string]*pinpointemail.Identity { - results := map[string]*pinpointemail.Identity{} +// GetAllSageMakerNotebookInstanceLifecycleConfigResources retrieves all sagemaker.NotebookInstanceLifecycleConfig items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerNotebookInstanceLifecycleConfigResources() map[string]*sagemaker.NotebookInstanceLifecycleConfig { + results := map[string]*sagemaker.NotebookInstanceLifecycleConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpointemail.Identity: + case *sagemaker.NotebookInstanceLifecycleConfig: results[name] = resource } } return results } -// GetPinpointEmailIdentityWithName retrieves all pinpointemail.Identity items from an AWS CloudFormation template +// GetSageMakerNotebookInstanceLifecycleConfigWithName retrieves all sagemaker.NotebookInstanceLifecycleConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailIdentityWithName(name string) (*pinpointemail.Identity, error) { +func (t *Template) GetSageMakerNotebookInstanceLifecycleConfigWithName(name string) (*sagemaker.NotebookInstanceLifecycleConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpointemail.Identity: + case *sagemaker.NotebookInstanceLifecycleConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpointemail.Identity not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.NotebookInstanceLifecycleConfig not found", name) } -// GetAllPinpointApplicationSettingsResources retrieves all pinpoint.ApplicationSettings items from an AWS CloudFormation template -func (t *Template) GetAllPinpointApplicationSettingsResources() map[string]*pinpoint.ApplicationSettings { - results := map[string]*pinpoint.ApplicationSettings{} +// GetAllSageMakerWorkteamResources retrieves all sagemaker.Workteam items from an AWS CloudFormation template +func (t *Template) GetAllSageMakerWorkteamResources() map[string]*sagemaker.Workteam { + results := map[string]*sagemaker.Workteam{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.ApplicationSettings: + case *sagemaker.Workteam: results[name] = resource } } return results } -// GetPinpointApplicationSettingsWithName retrieves all pinpoint.ApplicationSettings items from an AWS CloudFormation template +// GetSageMakerWorkteamWithName retrieves all sagemaker.Workteam items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointApplicationSettingsWithName(name string) (*pinpoint.ApplicationSettings, error) { +func (t *Template) GetSageMakerWorkteamWithName(name string) (*sagemaker.Workteam, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.ApplicationSettings: + case *sagemaker.Workteam: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.ApplicationSettings not found", name) + return nil, fmt.Errorf("resource %q of type sagemaker.Workteam not found", name) } -// GetAllGreengrassDeviceDefinitionVersionResources retrieves all greengrass.DeviceDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassDeviceDefinitionVersionResources() map[string]*greengrass.DeviceDefinitionVersion { - results := map[string]*greengrass.DeviceDefinitionVersion{} +// GetAllSecretsManagerResourcePolicyResources retrieves all secretsmanager.ResourcePolicy items from an AWS CloudFormation template +func (t *Template) GetAllSecretsManagerResourcePolicyResources() map[string]*secretsmanager.ResourcePolicy { + results := map[string]*secretsmanager.ResourcePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *greengrass.DeviceDefinitionVersion: + case *secretsmanager.ResourcePolicy: results[name] = resource } } return results } -// GetGreengrassDeviceDefinitionVersionWithName retrieves all greengrass.DeviceDefinitionVersion items from an AWS CloudFormation template +// GetSecretsManagerResourcePolicyWithName retrieves all secretsmanager.ResourcePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassDeviceDefinitionVersionWithName(name string) (*greengrass.DeviceDefinitionVersion, error) { +func (t *Template) GetSecretsManagerResourcePolicyWithName(name string) (*secretsmanager.ResourcePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *greengrass.DeviceDefinitionVersion: + case *secretsmanager.ResourcePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type greengrass.DeviceDefinitionVersion not found", name) + return nil, fmt.Errorf("resource %q of type secretsmanager.ResourcePolicy not found", name) } -// GetAllElastiCacheCacheClusterResources retrieves all elasticache.CacheCluster items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheCacheClusterResources() map[string]*elasticache.CacheCluster { - results := map[string]*elasticache.CacheCluster{} +// GetAllSecretsManagerRotationScheduleResources retrieves all secretsmanager.RotationSchedule items from an AWS CloudFormation template +func (t *Template) GetAllSecretsManagerRotationScheduleResources() map[string]*secretsmanager.RotationSchedule { + results := map[string]*secretsmanager.RotationSchedule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticache.CacheCluster: + case *secretsmanager.RotationSchedule: results[name] = resource } } return results } -// GetElastiCacheCacheClusterWithName retrieves all elasticache.CacheCluster items from an AWS CloudFormation template +// GetSecretsManagerRotationScheduleWithName retrieves all secretsmanager.RotationSchedule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheCacheClusterWithName(name string) (*elasticache.CacheCluster, error) { +func (t *Template) GetSecretsManagerRotationScheduleWithName(name string) (*secretsmanager.RotationSchedule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticache.CacheCluster: + case *secretsmanager.RotationSchedule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticache.CacheCluster not found", name) + return nil, fmt.Errorf("resource %q of type secretsmanager.RotationSchedule not found", name) } -// GetAllCodeStarGitHubRepositoryResources retrieves all codestar.GitHubRepository items from an AWS CloudFormation template -func (t *Template) GetAllCodeStarGitHubRepositoryResources() map[string]*codestar.GitHubRepository { - results := map[string]*codestar.GitHubRepository{} +// GetAllSecretsManagerSecretResources retrieves all secretsmanager.Secret items from an AWS CloudFormation template +func (t *Template) GetAllSecretsManagerSecretResources() map[string]*secretsmanager.Secret { + results := map[string]*secretsmanager.Secret{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *codestar.GitHubRepository: + case *secretsmanager.Secret: results[name] = resource } } return results } -// GetCodeStarGitHubRepositoryWithName retrieves all codestar.GitHubRepository items from an AWS CloudFormation template +// GetSecretsManagerSecretWithName retrieves all secretsmanager.Secret items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeStarGitHubRepositoryWithName(name string) (*codestar.GitHubRepository, error) { +func (t *Template) GetSecretsManagerSecretWithName(name string) (*secretsmanager.Secret, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *codestar.GitHubRepository: + case *secretsmanager.Secret: return resource, nil } } - return nil, fmt.Errorf("resource %q of type codestar.GitHubRepository not found", name) + return nil, fmt.Errorf("resource %q of type secretsmanager.Secret not found", name) } -// GetAllRDSDBClusterResources retrieves all rds.DBCluster items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBClusterResources() map[string]*rds.DBCluster { - results := map[string]*rds.DBCluster{} +// GetAllSecretsManagerSecretTargetAttachmentResources retrieves all secretsmanager.SecretTargetAttachment items from an AWS CloudFormation template +func (t *Template) GetAllSecretsManagerSecretTargetAttachmentResources() map[string]*secretsmanager.SecretTargetAttachment { + results := map[string]*secretsmanager.SecretTargetAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *rds.DBCluster: + case *secretsmanager.SecretTargetAttachment: results[name] = resource } } return results } -// GetRDSDBClusterWithName retrieves all rds.DBCluster items from an AWS CloudFormation template +// GetSecretsManagerSecretTargetAttachmentWithName retrieves all secretsmanager.SecretTargetAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBClusterWithName(name string) (*rds.DBCluster, error) { +func (t *Template) GetSecretsManagerSecretTargetAttachmentWithName(name string) (*secretsmanager.SecretTargetAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *rds.DBCluster: + case *secretsmanager.SecretTargetAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type rds.DBCluster not found", name) + return nil, fmt.Errorf("resource %q of type secretsmanager.SecretTargetAttachment not found", name) } -// GetAllEC2ClientVpnEndpointResources retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnEndpointResources() map[string]*ec2.ClientVpnEndpoint { - results := map[string]*ec2.ClientVpnEndpoint{} +// GetAllSecurityHubHubResources retrieves all securityhub.Hub items from an AWS CloudFormation template +func (t *Template) GetAllSecurityHubHubResources() map[string]*securityhub.Hub { + results := map[string]*securityhub.Hub{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.ClientVpnEndpoint: + case *securityhub.Hub: results[name] = resource } } return results } -// GetEC2ClientVpnEndpointWithName retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template +// GetSecurityHubHubWithName retrieves all securityhub.Hub items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnEndpointWithName(name string) (*ec2.ClientVpnEndpoint, error) { +func (t *Template) GetSecurityHubHubWithName(name string) (*securityhub.Hub, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.ClientVpnEndpoint: + case *securityhub.Hub: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnEndpoint not found", name) + return nil, fmt.Errorf("resource %q of type securityhub.Hub not found", name) } -// GetAllElasticsearchDomainResources retrieves all elasticsearch.Domain items from an AWS CloudFormation template -func (t *Template) GetAllElasticsearchDomainResources() map[string]*elasticsearch.Domain { - results := map[string]*elasticsearch.Domain{} +// GetAllServerlessApiResources retrieves all serverless.Api items from an AWS CloudFormation template +func (t *Template) GetAllServerlessApiResources() map[string]*serverless.Api { + results := map[string]*serverless.Api{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *elasticsearch.Domain: + case *serverless.Api: results[name] = resource } } return results } -// GetElasticsearchDomainWithName retrieves all elasticsearch.Domain items from an AWS CloudFormation template +// GetServerlessApiWithName retrieves all serverless.Api items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticsearchDomainWithName(name string) (*elasticsearch.Domain, error) { +func (t *Template) GetServerlessApiWithName(name string) (*serverless.Api, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *elasticsearch.Domain: + case *serverless.Api: return resource, nil } } - return nil, fmt.Errorf("resource %q of type elasticsearch.Domain not found", name) + return nil, fmt.Errorf("resource %q of type serverless.Api not found", name) } -// GetAllKMSAliasResources retrieves all kms.Alias items from an AWS CloudFormation template -func (t *Template) GetAllKMSAliasResources() map[string]*kms.Alias { - results := map[string]*kms.Alias{} +// GetAllServerlessApplicationResources retrieves all serverless.Application items from an AWS CloudFormation template +func (t *Template) GetAllServerlessApplicationResources() map[string]*serverless.Application { + results := map[string]*serverless.Application{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kms.Alias: + case *serverless.Application: results[name] = resource } } return results } -// GetKMSAliasWithName retrieves all kms.Alias items from an AWS CloudFormation template +// GetServerlessApplicationWithName retrieves all serverless.Application items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKMSAliasWithName(name string) (*kms.Alias, error) { +func (t *Template) GetServerlessApplicationWithName(name string) (*serverless.Application, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kms.Alias: + case *serverless.Application: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kms.Alias not found", name) + return nil, fmt.Errorf("resource %q of type serverless.Application not found", name) } -// GetAllApiGatewayApiKeyResources retrieves all apigateway.ApiKey items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayApiKeyResources() map[string]*apigateway.ApiKey { - results := map[string]*apigateway.ApiKey{} +// GetAllServerlessFunctionResources retrieves all serverless.Function items from an AWS CloudFormation template +func (t *Template) GetAllServerlessFunctionResources() map[string]*serverless.Function { + results := map[string]*serverless.Function{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.ApiKey: + case *serverless.Function: results[name] = resource } } return results } -// GetApiGatewayApiKeyWithName retrieves all apigateway.ApiKey items from an AWS CloudFormation template +// GetServerlessFunctionWithName retrieves all serverless.Function items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayApiKeyWithName(name string) (*apigateway.ApiKey, error) { +func (t *Template) GetServerlessFunctionWithName(name string) (*serverless.Function, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.ApiKey: + case *serverless.Function: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.ApiKey not found", name) + return nil, fmt.Errorf("resource %q of type serverless.Function not found", name) } -// GetAllEC2InstanceResources retrieves all ec2.Instance items from an AWS CloudFormation template -func (t *Template) GetAllEC2InstanceResources() map[string]*ec2.Instance { - results := map[string]*ec2.Instance{} +// GetAllServerlessLayerVersionResources retrieves all serverless.LayerVersion items from an AWS CloudFormation template +func (t *Template) GetAllServerlessLayerVersionResources() map[string]*serverless.LayerVersion { + results := map[string]*serverless.LayerVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.Instance: + case *serverless.LayerVersion: results[name] = resource } } return results } -// GetEC2InstanceWithName retrieves all ec2.Instance items from an AWS CloudFormation template +// GetServerlessLayerVersionWithName retrieves all serverless.LayerVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2InstanceWithName(name string) (*ec2.Instance, error) { +func (t *Template) GetServerlessLayerVersionWithName(name string) (*serverless.LayerVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.Instance: + case *serverless.LayerVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.Instance not found", name) + return nil, fmt.Errorf("resource %q of type serverless.LayerVersion not found", name) } -// GetAllConfigAggregationAuthorizationResources retrieves all config.AggregationAuthorization items from an AWS CloudFormation template -func (t *Template) GetAllConfigAggregationAuthorizationResources() map[string]*config.AggregationAuthorization { - results := map[string]*config.AggregationAuthorization{} +// GetAllServerlessSimpleTableResources retrieves all serverless.SimpleTable items from an AWS CloudFormation template +func (t *Template) GetAllServerlessSimpleTableResources() map[string]*serverless.SimpleTable { + results := map[string]*serverless.SimpleTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *config.AggregationAuthorization: + case *serverless.SimpleTable: results[name] = resource } } return results } -// GetConfigAggregationAuthorizationWithName retrieves all config.AggregationAuthorization items from an AWS CloudFormation template +// GetServerlessSimpleTableWithName retrieves all serverless.SimpleTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigAggregationAuthorizationWithName(name string) (*config.AggregationAuthorization, error) { +func (t *Template) GetServerlessSimpleTableWithName(name string) (*serverless.SimpleTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *config.AggregationAuthorization: + case *serverless.SimpleTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type config.AggregationAuthorization not found", name) + return nil, fmt.Errorf("resource %q of type serverless.SimpleTable not found", name) } -// GetAllSageMakerWorkteamResources retrieves all sagemaker.Workteam items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerWorkteamResources() map[string]*sagemaker.Workteam { - results := map[string]*sagemaker.Workteam{} +// GetAllServiceCatalogAcceptedPortfolioShareResources retrieves all servicecatalog.AcceptedPortfolioShare items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogAcceptedPortfolioShareResources() map[string]*servicecatalog.AcceptedPortfolioShare { + results := map[string]*servicecatalog.AcceptedPortfolioShare{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Workteam: + case *servicecatalog.AcceptedPortfolioShare: results[name] = resource } } return results } -// GetSageMakerWorkteamWithName retrieves all sagemaker.Workteam items from an AWS CloudFormation template +// GetServiceCatalogAcceptedPortfolioShareWithName retrieves all servicecatalog.AcceptedPortfolioShare items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerWorkteamWithName(name string) (*sagemaker.Workteam, error) { +func (t *Template) GetServiceCatalogAcceptedPortfolioShareWithName(name string) (*servicecatalog.AcceptedPortfolioShare, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Workteam: + case *servicecatalog.AcceptedPortfolioShare: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Workteam not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.AcceptedPortfolioShare not found", name) } // GetAllServiceCatalogCloudFormationProductResources retrieves all servicecatalog.CloudFormationProduct items from an AWS CloudFormation template @@ -10775,172 +10751,172 @@ func (t *Template) GetServiceCatalogCloudFormationProductWithName(name string) ( return nil, fmt.Errorf("resource %q of type servicecatalog.CloudFormationProduct not found", name) } -// GetAllWAFRegionalXssMatchSetResources retrieves all wafregional.XssMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalXssMatchSetResources() map[string]*wafregional.XssMatchSet { - results := map[string]*wafregional.XssMatchSet{} +// GetAllServiceCatalogCloudFormationProvisionedProductResources retrieves all servicecatalog.CloudFormationProvisionedProduct items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogCloudFormationProvisionedProductResources() map[string]*servicecatalog.CloudFormationProvisionedProduct { + results := map[string]*servicecatalog.CloudFormationProvisionedProduct{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.XssMatchSet: + case *servicecatalog.CloudFormationProvisionedProduct: results[name] = resource } } return results } -// GetWAFRegionalXssMatchSetWithName retrieves all wafregional.XssMatchSet items from an AWS CloudFormation template +// GetServiceCatalogCloudFormationProvisionedProductWithName retrieves all servicecatalog.CloudFormationProvisionedProduct items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalXssMatchSetWithName(name string) (*wafregional.XssMatchSet, error) { +func (t *Template) GetServiceCatalogCloudFormationProvisionedProductWithName(name string) (*servicecatalog.CloudFormationProvisionedProduct, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.XssMatchSet: + case *servicecatalog.CloudFormationProvisionedProduct: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.XssMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.CloudFormationProvisionedProduct not found", name) } -// GetAllEC2SubnetNetworkAclAssociationResources retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetNetworkAclAssociationResources() map[string]*ec2.SubnetNetworkAclAssociation { - results := map[string]*ec2.SubnetNetworkAclAssociation{} +// GetAllServiceCatalogLaunchNotificationConstraintResources retrieves all servicecatalog.LaunchNotificationConstraint items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogLaunchNotificationConstraintResources() map[string]*servicecatalog.LaunchNotificationConstraint { + results := map[string]*servicecatalog.LaunchNotificationConstraint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.SubnetNetworkAclAssociation: + case *servicecatalog.LaunchNotificationConstraint: results[name] = resource } } return results } -// GetEC2SubnetNetworkAclAssociationWithName retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template +// GetServiceCatalogLaunchNotificationConstraintWithName retrieves all servicecatalog.LaunchNotificationConstraint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetNetworkAclAssociationWithName(name string) (*ec2.SubnetNetworkAclAssociation, error) { +func (t *Template) GetServiceCatalogLaunchNotificationConstraintWithName(name string) (*servicecatalog.LaunchNotificationConstraint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.SubnetNetworkAclAssociation: + case *servicecatalog.LaunchNotificationConstraint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.SubnetNetworkAclAssociation not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchNotificationConstraint not found", name) } -// GetAllCognitoIdentityPoolResources retrieves all cognito.IdentityPool items from an AWS CloudFormation template -func (t *Template) GetAllCognitoIdentityPoolResources() map[string]*cognito.IdentityPool { - results := map[string]*cognito.IdentityPool{} +// GetAllServiceCatalogLaunchRoleConstraintResources retrieves all servicecatalog.LaunchRoleConstraint items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogLaunchRoleConstraintResources() map[string]*servicecatalog.LaunchRoleConstraint { + results := map[string]*servicecatalog.LaunchRoleConstraint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.IdentityPool: + case *servicecatalog.LaunchRoleConstraint: results[name] = resource } } return results } -// GetCognitoIdentityPoolWithName retrieves all cognito.IdentityPool items from an AWS CloudFormation template +// GetServiceCatalogLaunchRoleConstraintWithName retrieves all servicecatalog.LaunchRoleConstraint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoIdentityPoolWithName(name string) (*cognito.IdentityPool, error) { +func (t *Template) GetServiceCatalogLaunchRoleConstraintWithName(name string) (*servicecatalog.LaunchRoleConstraint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.IdentityPool: + case *servicecatalog.LaunchRoleConstraint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.IdentityPool not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchRoleConstraint not found", name) } -// GetAllKinesisAnalyticsV2ApplicationResources retrieves all kinesisanalyticsv2.Application items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationResources() map[string]*kinesisanalyticsv2.Application { - results := map[string]*kinesisanalyticsv2.Application{} +// GetAllServiceCatalogLaunchTemplateConstraintResources retrieves all servicecatalog.LaunchTemplateConstraint items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogLaunchTemplateConstraintResources() map[string]*servicecatalog.LaunchTemplateConstraint { + results := map[string]*servicecatalog.LaunchTemplateConstraint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalyticsv2.Application: + case *servicecatalog.LaunchTemplateConstraint: results[name] = resource } } return results } -// GetKinesisAnalyticsV2ApplicationWithName retrieves all kinesisanalyticsv2.Application items from an AWS CloudFormation template +// GetServiceCatalogLaunchTemplateConstraintWithName retrieves all servicecatalog.LaunchTemplateConstraint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationWithName(name string) (*kinesisanalyticsv2.Application, error) { +func (t *Template) GetServiceCatalogLaunchTemplateConstraintWithName(name string) (*servicecatalog.LaunchTemplateConstraint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalyticsv2.Application: + case *servicecatalog.LaunchTemplateConstraint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.Application not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchTemplateConstraint not found", name) } -// GetAllBackupBackupSelectionResources retrieves all backup.BackupSelection items from an AWS CloudFormation template -func (t *Template) GetAllBackupBackupSelectionResources() map[string]*backup.BackupSelection { - results := map[string]*backup.BackupSelection{} +// GetAllServiceCatalogPortfolioResources retrieves all servicecatalog.Portfolio items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogPortfolioResources() map[string]*servicecatalog.Portfolio { + results := map[string]*servicecatalog.Portfolio{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.BackupSelection: + case *servicecatalog.Portfolio: results[name] = resource } } return results } -// GetBackupBackupSelectionWithName retrieves all backup.BackupSelection items from an AWS CloudFormation template +// GetServiceCatalogPortfolioWithName retrieves all servicecatalog.Portfolio items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupBackupSelectionWithName(name string) (*backup.BackupSelection, error) { +func (t *Template) GetServiceCatalogPortfolioWithName(name string) (*servicecatalog.Portfolio, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.BackupSelection: + case *servicecatalog.Portfolio: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.BackupSelection not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.Portfolio not found", name) } -// GetAllApiGatewayV2AuthorizerResources retrieves all apigatewayv2.Authorizer items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2AuthorizerResources() map[string]*apigatewayv2.Authorizer { - results := map[string]*apigatewayv2.Authorizer{} +// GetAllServiceCatalogPortfolioPrincipalAssociationResources retrieves all servicecatalog.PortfolioPrincipalAssociation items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogPortfolioPrincipalAssociationResources() map[string]*servicecatalog.PortfolioPrincipalAssociation { + results := map[string]*servicecatalog.PortfolioPrincipalAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Authorizer: + case *servicecatalog.PortfolioPrincipalAssociation: results[name] = resource } } return results } -// GetApiGatewayV2AuthorizerWithName retrieves all apigatewayv2.Authorizer items from an AWS CloudFormation template +// GetServiceCatalogPortfolioPrincipalAssociationWithName retrieves all servicecatalog.PortfolioPrincipalAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2AuthorizerWithName(name string) (*apigatewayv2.Authorizer, error) { +func (t *Template) GetServiceCatalogPortfolioPrincipalAssociationWithName(name string) (*servicecatalog.PortfolioPrincipalAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Authorizer: + case *servicecatalog.PortfolioPrincipalAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Authorizer not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioPrincipalAssociation not found", name) } -// GetAllPinpointAppResources retrieves all pinpoint.App items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAppResources() map[string]*pinpoint.App { - results := map[string]*pinpoint.App{} +// GetAllServiceCatalogPortfolioProductAssociationResources retrieves all servicecatalog.PortfolioProductAssociation items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogPortfolioProductAssociationResources() map[string]*servicecatalog.PortfolioProductAssociation { + results := map[string]*servicecatalog.PortfolioProductAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *pinpoint.App: + case *servicecatalog.PortfolioProductAssociation: results[name] = resource } } return results } -// GetPinpointAppWithName retrieves all pinpoint.App items from an AWS CloudFormation template +// GetServiceCatalogPortfolioProductAssociationWithName retrieves all servicecatalog.PortfolioProductAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAppWithName(name string) (*pinpoint.App, error) { +func (t *Template) GetServiceCatalogPortfolioProductAssociationWithName(name string) (*servicecatalog.PortfolioProductAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *pinpoint.App: + case *servicecatalog.PortfolioProductAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type pinpoint.App not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioProductAssociation not found", name) } // GetAllServiceCatalogPortfolioShareResources retrieves all servicecatalog.PortfolioShare items from an AWS CloudFormation template @@ -10967,770 +10943,794 @@ func (t *Template) GetServiceCatalogPortfolioShareWithName(name string) (*servic return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioShare not found", name) } -// GetAllManagedBlockchainMemberResources retrieves all managedblockchain.Member items from an AWS CloudFormation template -func (t *Template) GetAllManagedBlockchainMemberResources() map[string]*managedblockchain.Member { - results := map[string]*managedblockchain.Member{} +// GetAllServiceCatalogResourceUpdateConstraintResources retrieves all servicecatalog.ResourceUpdateConstraint items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogResourceUpdateConstraintResources() map[string]*servicecatalog.ResourceUpdateConstraint { + results := map[string]*servicecatalog.ResourceUpdateConstraint{} + for name, untyped := range t.Resources { + switch resource := untyped.(type) { + case *servicecatalog.ResourceUpdateConstraint: + results[name] = resource + } + } + return results +} + +// GetServiceCatalogResourceUpdateConstraintWithName retrieves all servicecatalog.ResourceUpdateConstraint items from an AWS CloudFormation template +// whose logical ID matches the provided name. Returns an error if not found. +func (t *Template) GetServiceCatalogResourceUpdateConstraintWithName(name string) (*servicecatalog.ResourceUpdateConstraint, error) { + if untyped, ok := t.Resources[name]; ok { + switch resource := untyped.(type) { + case *servicecatalog.ResourceUpdateConstraint: + return resource, nil + } + } + return nil, fmt.Errorf("resource %q of type servicecatalog.ResourceUpdateConstraint not found", name) +} + +// GetAllServiceCatalogStackSetConstraintResources retrieves all servicecatalog.StackSetConstraint items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogStackSetConstraintResources() map[string]*servicecatalog.StackSetConstraint { + results := map[string]*servicecatalog.StackSetConstraint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *managedblockchain.Member: + case *servicecatalog.StackSetConstraint: results[name] = resource } } return results } -// GetManagedBlockchainMemberWithName retrieves all managedblockchain.Member items from an AWS CloudFormation template +// GetServiceCatalogStackSetConstraintWithName retrieves all servicecatalog.StackSetConstraint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetManagedBlockchainMemberWithName(name string) (*managedblockchain.Member, error) { +func (t *Template) GetServiceCatalogStackSetConstraintWithName(name string) (*servicecatalog.StackSetConstraint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *managedblockchain.Member: + case *servicecatalog.StackSetConstraint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type managedblockchain.Member not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.StackSetConstraint not found", name) } -// GetAllWAFRegionalIPSetResources retrieves all wafregional.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalIPSetResources() map[string]*wafregional.IPSet { - results := map[string]*wafregional.IPSet{} +// GetAllServiceCatalogTagOptionResources retrieves all servicecatalog.TagOption items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogTagOptionResources() map[string]*servicecatalog.TagOption { + results := map[string]*servicecatalog.TagOption{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.IPSet: + case *servicecatalog.TagOption: results[name] = resource } } return results } -// GetWAFRegionalIPSetWithName retrieves all wafregional.IPSet items from an AWS CloudFormation template +// GetServiceCatalogTagOptionWithName retrieves all servicecatalog.TagOption items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalIPSetWithName(name string) (*wafregional.IPSet, error) { +func (t *Template) GetServiceCatalogTagOptionWithName(name string) (*servicecatalog.TagOption, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.IPSet: + case *servicecatalog.TagOption: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.IPSet not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.TagOption not found", name) } -// GetAllCloudFormationCustomResourceResources retrieves all cloudformation.CustomResource items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationCustomResourceResources() map[string]*cloudformation.CustomResource { - results := map[string]*cloudformation.CustomResource{} +// GetAllServiceCatalogTagOptionAssociationResources retrieves all servicecatalog.TagOptionAssociation items from an AWS CloudFormation template +func (t *Template) GetAllServiceCatalogTagOptionAssociationResources() map[string]*servicecatalog.TagOptionAssociation { + results := map[string]*servicecatalog.TagOptionAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudformation.CustomResource: + case *servicecatalog.TagOptionAssociation: results[name] = resource } } return results } -// GetCloudFormationCustomResourceWithName retrieves all cloudformation.CustomResource items from an AWS CloudFormation template +// GetServiceCatalogTagOptionAssociationWithName retrieves all servicecatalog.TagOptionAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationCustomResourceWithName(name string) (*cloudformation.CustomResource, error) { +func (t *Template) GetServiceCatalogTagOptionAssociationWithName(name string) (*servicecatalog.TagOptionAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudformation.CustomResource: + case *servicecatalog.TagOptionAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudformation.CustomResource not found", name) + return nil, fmt.Errorf("resource %q of type servicecatalog.TagOptionAssociation not found", name) } -// GetAllAmazonMQConfigurationAssociationResources retrieves all amazonmq.ConfigurationAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAmazonMQConfigurationAssociationResources() map[string]*amazonmq.ConfigurationAssociation { - results := map[string]*amazonmq.ConfigurationAssociation{} +// GetAllServiceDiscoveryHttpNamespaceResources retrieves all servicediscovery.HttpNamespace items from an AWS CloudFormation template +func (t *Template) GetAllServiceDiscoveryHttpNamespaceResources() map[string]*servicediscovery.HttpNamespace { + results := map[string]*servicediscovery.HttpNamespace{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amazonmq.ConfigurationAssociation: + case *servicediscovery.HttpNamespace: results[name] = resource } } return results } -// GetAmazonMQConfigurationAssociationWithName retrieves all amazonmq.ConfigurationAssociation items from an AWS CloudFormation template +// GetServiceDiscoveryHttpNamespaceWithName retrieves all servicediscovery.HttpNamespace items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmazonMQConfigurationAssociationWithName(name string) (*amazonmq.ConfigurationAssociation, error) { +func (t *Template) GetServiceDiscoveryHttpNamespaceWithName(name string) (*servicediscovery.HttpNamespace, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amazonmq.ConfigurationAssociation: + case *servicediscovery.HttpNamespace: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amazonmq.ConfigurationAssociation not found", name) + return nil, fmt.Errorf("resource %q of type servicediscovery.HttpNamespace not found", name) } -// GetAllRoboMakerRobotApplicationResources retrieves all robomaker.RobotApplication items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerRobotApplicationResources() map[string]*robomaker.RobotApplication { - results := map[string]*robomaker.RobotApplication{} +// GetAllServiceDiscoveryInstanceResources retrieves all servicediscovery.Instance items from an AWS CloudFormation template +func (t *Template) GetAllServiceDiscoveryInstanceResources() map[string]*servicediscovery.Instance { + results := map[string]*servicediscovery.Instance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *robomaker.RobotApplication: + case *servicediscovery.Instance: results[name] = resource } } return results } -// GetRoboMakerRobotApplicationWithName retrieves all robomaker.RobotApplication items from an AWS CloudFormation template +// GetServiceDiscoveryInstanceWithName retrieves all servicediscovery.Instance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerRobotApplicationWithName(name string) (*robomaker.RobotApplication, error) { +func (t *Template) GetServiceDiscoveryInstanceWithName(name string) (*servicediscovery.Instance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *robomaker.RobotApplication: + case *servicediscovery.Instance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type robomaker.RobotApplication not found", name) + return nil, fmt.Errorf("resource %q of type servicediscovery.Instance not found", name) } -// GetAllIAMManagedPolicyResources retrieves all iam.ManagedPolicy items from an AWS CloudFormation template -func (t *Template) GetAllIAMManagedPolicyResources() map[string]*iam.ManagedPolicy { - results := map[string]*iam.ManagedPolicy{} +// GetAllServiceDiscoveryPrivateDnsNamespaceResources retrieves all servicediscovery.PrivateDnsNamespace items from an AWS CloudFormation template +func (t *Template) GetAllServiceDiscoveryPrivateDnsNamespaceResources() map[string]*servicediscovery.PrivateDnsNamespace { + results := map[string]*servicediscovery.PrivateDnsNamespace{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iam.ManagedPolicy: + case *servicediscovery.PrivateDnsNamespace: results[name] = resource } } return results } -// GetIAMManagedPolicyWithName retrieves all iam.ManagedPolicy items from an AWS CloudFormation template +// GetServiceDiscoveryPrivateDnsNamespaceWithName retrieves all servicediscovery.PrivateDnsNamespace items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMManagedPolicyWithName(name string) (*iam.ManagedPolicy, error) { +func (t *Template) GetServiceDiscoveryPrivateDnsNamespaceWithName(name string) (*servicediscovery.PrivateDnsNamespace, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iam.ManagedPolicy: + case *servicediscovery.PrivateDnsNamespace: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iam.ManagedPolicy not found", name) + return nil, fmt.Errorf("resource %q of type servicediscovery.PrivateDnsNamespace not found", name) } -// GetAllNeptuneDBInstanceResources retrieves all neptune.DBInstance items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBInstanceResources() map[string]*neptune.DBInstance { - results := map[string]*neptune.DBInstance{} +// GetAllServiceDiscoveryPublicDnsNamespaceResources retrieves all servicediscovery.PublicDnsNamespace items from an AWS CloudFormation template +func (t *Template) GetAllServiceDiscoveryPublicDnsNamespaceResources() map[string]*servicediscovery.PublicDnsNamespace { + results := map[string]*servicediscovery.PublicDnsNamespace{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *neptune.DBInstance: + case *servicediscovery.PublicDnsNamespace: results[name] = resource } } return results } -// GetNeptuneDBInstanceWithName retrieves all neptune.DBInstance items from an AWS CloudFormation template +// GetServiceDiscoveryPublicDnsNamespaceWithName retrieves all servicediscovery.PublicDnsNamespace items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBInstanceWithName(name string) (*neptune.DBInstance, error) { +func (t *Template) GetServiceDiscoveryPublicDnsNamespaceWithName(name string) (*servicediscovery.PublicDnsNamespace, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *neptune.DBInstance: + case *servicediscovery.PublicDnsNamespace: return resource, nil } } - return nil, fmt.Errorf("resource %q of type neptune.DBInstance not found", name) + return nil, fmt.Errorf("resource %q of type servicediscovery.PublicDnsNamespace not found", name) } -// GetAllCognitoUserPoolUserToGroupAttachmentResources retrieves all cognito.UserPoolUserToGroupAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolUserToGroupAttachmentResources() map[string]*cognito.UserPoolUserToGroupAttachment { - results := map[string]*cognito.UserPoolUserToGroupAttachment{} +// GetAllServiceDiscoveryServiceResources retrieves all servicediscovery.Service items from an AWS CloudFormation template +func (t *Template) GetAllServiceDiscoveryServiceResources() map[string]*servicediscovery.Service { + results := map[string]*servicediscovery.Service{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.UserPoolUserToGroupAttachment: + case *servicediscovery.Service: results[name] = resource } } return results } -// GetCognitoUserPoolUserToGroupAttachmentWithName retrieves all cognito.UserPoolUserToGroupAttachment items from an AWS CloudFormation template +// GetServiceDiscoveryServiceWithName retrieves all servicediscovery.Service items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolUserToGroupAttachmentWithName(name string) (*cognito.UserPoolUserToGroupAttachment, error) { +func (t *Template) GetServiceDiscoveryServiceWithName(name string) (*servicediscovery.Service, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.UserPoolUserToGroupAttachment: + case *servicediscovery.Service: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolUserToGroupAttachment not found", name) + return nil, fmt.Errorf("resource %q of type servicediscovery.Service not found", name) } -// GetAllCognitoIdentityPoolRoleAttachmentResources retrieves all cognito.IdentityPoolRoleAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoIdentityPoolRoleAttachmentResources() map[string]*cognito.IdentityPoolRoleAttachment { - results := map[string]*cognito.IdentityPoolRoleAttachment{} +// GetAllStepFunctionsActivityResources retrieves all stepfunctions.Activity items from an AWS CloudFormation template +func (t *Template) GetAllStepFunctionsActivityResources() map[string]*stepfunctions.Activity { + results := map[string]*stepfunctions.Activity{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cognito.IdentityPoolRoleAttachment: + case *stepfunctions.Activity: results[name] = resource } } return results } -// GetCognitoIdentityPoolRoleAttachmentWithName retrieves all cognito.IdentityPoolRoleAttachment items from an AWS CloudFormation template +// GetStepFunctionsActivityWithName retrieves all stepfunctions.Activity items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoIdentityPoolRoleAttachmentWithName(name string) (*cognito.IdentityPoolRoleAttachment, error) { +func (t *Template) GetStepFunctionsActivityWithName(name string) (*stepfunctions.Activity, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cognito.IdentityPoolRoleAttachment: + case *stepfunctions.Activity: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cognito.IdentityPoolRoleAttachment not found", name) + return nil, fmt.Errorf("resource %q of type stepfunctions.Activity not found", name) } -// GetAllSageMakerNotebookInstanceLifecycleConfigResources retrieves all sagemaker.NotebookInstanceLifecycleConfig items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerNotebookInstanceLifecycleConfigResources() map[string]*sagemaker.NotebookInstanceLifecycleConfig { - results := map[string]*sagemaker.NotebookInstanceLifecycleConfig{} +// GetAllStepFunctionsStateMachineResources retrieves all stepfunctions.StateMachine items from an AWS CloudFormation template +func (t *Template) GetAllStepFunctionsStateMachineResources() map[string]*stepfunctions.StateMachine { + results := map[string]*stepfunctions.StateMachine{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.NotebookInstanceLifecycleConfig: + case *stepfunctions.StateMachine: results[name] = resource } } return results } -// GetSageMakerNotebookInstanceLifecycleConfigWithName retrieves all sagemaker.NotebookInstanceLifecycleConfig items from an AWS CloudFormation template +// GetStepFunctionsStateMachineWithName retrieves all stepfunctions.StateMachine items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerNotebookInstanceLifecycleConfigWithName(name string) (*sagemaker.NotebookInstanceLifecycleConfig, error) { +func (t *Template) GetStepFunctionsStateMachineWithName(name string) (*stepfunctions.StateMachine, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.NotebookInstanceLifecycleConfig: + case *stepfunctions.StateMachine: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.NotebookInstanceLifecycleConfig not found", name) + return nil, fmt.Errorf("resource %q of type stepfunctions.StateMachine not found", name) } -// GetAllNeptuneDBClusterResources retrieves all neptune.DBCluster items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBClusterResources() map[string]*neptune.DBCluster { - results := map[string]*neptune.DBCluster{} +// GetAllTransferServerResources retrieves all transfer.Server items from an AWS CloudFormation template +func (t *Template) GetAllTransferServerResources() map[string]*transfer.Server { + results := map[string]*transfer.Server{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *neptune.DBCluster: + case *transfer.Server: results[name] = resource } } return results } -// GetNeptuneDBClusterWithName retrieves all neptune.DBCluster items from an AWS CloudFormation template +// GetTransferServerWithName retrieves all transfer.Server items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBClusterWithName(name string) (*neptune.DBCluster, error) { +func (t *Template) GetTransferServerWithName(name string) (*transfer.Server, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *neptune.DBCluster: + case *transfer.Server: return resource, nil } } - return nil, fmt.Errorf("resource %q of type neptune.DBCluster not found", name) + return nil, fmt.Errorf("resource %q of type transfer.Server not found", name) } -// GetAllIoTEventsDetectorModelResources retrieves all iotevents.DetectorModel items from an AWS CloudFormation template -func (t *Template) GetAllIoTEventsDetectorModelResources() map[string]*iotevents.DetectorModel { - results := map[string]*iotevents.DetectorModel{} +// GetAllTransferUserResources retrieves all transfer.User items from an AWS CloudFormation template +func (t *Template) GetAllTransferUserResources() map[string]*transfer.User { + results := map[string]*transfer.User{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iotevents.DetectorModel: + case *transfer.User: results[name] = resource } } return results } -// GetIoTEventsDetectorModelWithName retrieves all iotevents.DetectorModel items from an AWS CloudFormation template +// GetTransferUserWithName retrieves all transfer.User items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTEventsDetectorModelWithName(name string) (*iotevents.DetectorModel, error) { +func (t *Template) GetTransferUserWithName(name string) (*transfer.User, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iotevents.DetectorModel: + case *transfer.User: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iotevents.DetectorModel not found", name) + return nil, fmt.Errorf("resource %q of type transfer.User not found", name) } -// GetAllDocDBDBSubnetGroupResources retrieves all docdb.DBSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBSubnetGroupResources() map[string]*docdb.DBSubnetGroup { - results := map[string]*docdb.DBSubnetGroup{} +// GetAllWAFByteMatchSetResources retrieves all waf.ByteMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFByteMatchSetResources() map[string]*waf.ByteMatchSet { + results := map[string]*waf.ByteMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *docdb.DBSubnetGroup: + case *waf.ByteMatchSet: results[name] = resource } } return results } -// GetDocDBDBSubnetGroupWithName retrieves all docdb.DBSubnetGroup items from an AWS CloudFormation template +// GetWAFByteMatchSetWithName retrieves all waf.ByteMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBSubnetGroupWithName(name string) (*docdb.DBSubnetGroup, error) { +func (t *Template) GetWAFByteMatchSetWithName(name string) (*waf.ByteMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *docdb.DBSubnetGroup: + case *waf.ByteMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type docdb.DBSubnetGroup not found", name) + return nil, fmt.Errorf("resource %q of type waf.ByteMatchSet not found", name) } -// GetAllSQSQueuePolicyResources retrieves all sqs.QueuePolicy items from an AWS CloudFormation template -func (t *Template) GetAllSQSQueuePolicyResources() map[string]*sqs.QueuePolicy { - results := map[string]*sqs.QueuePolicy{} +// GetAllWAFIPSetResources retrieves all waf.IPSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFIPSetResources() map[string]*waf.IPSet { + results := map[string]*waf.IPSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sqs.QueuePolicy: + case *waf.IPSet: results[name] = resource } } return results } -// GetSQSQueuePolicyWithName retrieves all sqs.QueuePolicy items from an AWS CloudFormation template +// GetWAFIPSetWithName retrieves all waf.IPSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSQSQueuePolicyWithName(name string) (*sqs.QueuePolicy, error) { +func (t *Template) GetWAFIPSetWithName(name string) (*waf.IPSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sqs.QueuePolicy: + case *waf.IPSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sqs.QueuePolicy not found", name) + return nil, fmt.Errorf("resource %q of type waf.IPSet not found", name) } -// GetAllECSTaskDefinitionResources retrieves all ecs.TaskDefinition items from an AWS CloudFormation template -func (t *Template) GetAllECSTaskDefinitionResources() map[string]*ecs.TaskDefinition { - results := map[string]*ecs.TaskDefinition{} +// GetAllWAFRuleResources retrieves all waf.Rule items from an AWS CloudFormation template +func (t *Template) GetAllWAFRuleResources() map[string]*waf.Rule { + results := map[string]*waf.Rule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ecs.TaskDefinition: + case *waf.Rule: results[name] = resource } } return results } -// GetECSTaskDefinitionWithName retrieves all ecs.TaskDefinition items from an AWS CloudFormation template +// GetWAFRuleWithName retrieves all waf.Rule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSTaskDefinitionWithName(name string) (*ecs.TaskDefinition, error) { +func (t *Template) GetWAFRuleWithName(name string) (*waf.Rule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ecs.TaskDefinition: + case *waf.Rule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ecs.TaskDefinition not found", name) + return nil, fmt.Errorf("resource %q of type waf.Rule not found", name) } -// GetAllAppStreamStackResources retrieves all appstream.Stack items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamStackResources() map[string]*appstream.Stack { - results := map[string]*appstream.Stack{} +// GetAllWAFSizeConstraintSetResources retrieves all waf.SizeConstraintSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFSizeConstraintSetResources() map[string]*waf.SizeConstraintSet { + results := map[string]*waf.SizeConstraintSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.Stack: + case *waf.SizeConstraintSet: results[name] = resource } } return results } -// GetAppStreamStackWithName retrieves all appstream.Stack items from an AWS CloudFormation template +// GetWAFSizeConstraintSetWithName retrieves all waf.SizeConstraintSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamStackWithName(name string) (*appstream.Stack, error) { +func (t *Template) GetWAFSizeConstraintSetWithName(name string) (*waf.SizeConstraintSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.Stack: + case *waf.SizeConstraintSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.Stack not found", name) + return nil, fmt.Errorf("resource %q of type waf.SizeConstraintSet not found", name) } -// GetAllCloud9EnvironmentEC2Resources retrieves all cloud9.EnvironmentEC2 items from an AWS CloudFormation template -func (t *Template) GetAllCloud9EnvironmentEC2Resources() map[string]*cloud9.EnvironmentEC2 { - results := map[string]*cloud9.EnvironmentEC2{} +// GetAllWAFSqlInjectionMatchSetResources retrieves all waf.SqlInjectionMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFSqlInjectionMatchSetResources() map[string]*waf.SqlInjectionMatchSet { + results := map[string]*waf.SqlInjectionMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloud9.EnvironmentEC2: + case *waf.SqlInjectionMatchSet: results[name] = resource } } return results } -// GetCloud9EnvironmentEC2WithName retrieves all cloud9.EnvironmentEC2 items from an AWS CloudFormation template +// GetWAFSqlInjectionMatchSetWithName retrieves all waf.SqlInjectionMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloud9EnvironmentEC2WithName(name string) (*cloud9.EnvironmentEC2, error) { +func (t *Template) GetWAFSqlInjectionMatchSetWithName(name string) (*waf.SqlInjectionMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloud9.EnvironmentEC2: + case *waf.SqlInjectionMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloud9.EnvironmentEC2 not found", name) + return nil, fmt.Errorf("resource %q of type waf.SqlInjectionMatchSet not found", name) } -// GetAllKinesisAnalyticsV2ApplicationOutputResources retrieves all kinesisanalyticsv2.ApplicationOutput items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationOutputResources() map[string]*kinesisanalyticsv2.ApplicationOutput { - results := map[string]*kinesisanalyticsv2.ApplicationOutput{} +// GetAllWAFWebACLResources retrieves all waf.WebACL items from an AWS CloudFormation template +func (t *Template) GetAllWAFWebACLResources() map[string]*waf.WebACL { + results := map[string]*waf.WebACL{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationOutput: + case *waf.WebACL: results[name] = resource } } return results } -// GetKinesisAnalyticsV2ApplicationOutputWithName retrieves all kinesisanalyticsv2.ApplicationOutput items from an AWS CloudFormation template +// GetWAFWebACLWithName retrieves all waf.WebACL items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationOutputWithName(name string) (*kinesisanalyticsv2.ApplicationOutput, error) { +func (t *Template) GetWAFWebACLWithName(name string) (*waf.WebACL, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationOutput: + case *waf.WebACL: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationOutput not found", name) + return nil, fmt.Errorf("resource %q of type waf.WebACL not found", name) } -// GetAllWAFRegionalWebACLResources retrieves all wafregional.WebACL items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalWebACLResources() map[string]*wafregional.WebACL { - results := map[string]*wafregional.WebACL{} +// GetAllWAFXssMatchSetResources retrieves all waf.XssMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFXssMatchSetResources() map[string]*waf.XssMatchSet { + results := map[string]*waf.XssMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.WebACL: + case *waf.XssMatchSet: results[name] = resource } } return results } -// GetWAFRegionalWebACLWithName retrieves all wafregional.WebACL items from an AWS CloudFormation template +// GetWAFXssMatchSetWithName retrieves all waf.XssMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalWebACLWithName(name string) (*wafregional.WebACL, error) { +func (t *Template) GetWAFXssMatchSetWithName(name string) (*waf.XssMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.WebACL: + case *waf.XssMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.WebACL not found", name) + return nil, fmt.Errorf("resource %q of type waf.XssMatchSet not found", name) } -// GetAllEC2NetworkInterfacePermissionResources retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInterfacePermissionResources() map[string]*ec2.NetworkInterfacePermission { - results := map[string]*ec2.NetworkInterfacePermission{} +// GetAllWAFRegionalByteMatchSetResources retrieves all wafregional.ByteMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalByteMatchSetResources() map[string]*wafregional.ByteMatchSet { + results := map[string]*wafregional.ByteMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ec2.NetworkInterfacePermission: + case *wafregional.ByteMatchSet: results[name] = resource } } return results } -// GetEC2NetworkInterfacePermissionWithName retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template +// GetWAFRegionalByteMatchSetWithName retrieves all wafregional.ByteMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInterfacePermissionWithName(name string) (*ec2.NetworkInterfacePermission, error) { +func (t *Template) GetWAFRegionalByteMatchSetWithName(name string) (*wafregional.ByteMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ec2.NetworkInterfacePermission: + case *wafregional.ByteMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfacePermission not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.ByteMatchSet not found", name) } -// GetAllApiGatewayUsagePlanResources retrieves all apigateway.UsagePlan items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayUsagePlanResources() map[string]*apigateway.UsagePlan { - results := map[string]*apigateway.UsagePlan{} +// GetAllWAFRegionalGeoMatchSetResources retrieves all wafregional.GeoMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalGeoMatchSetResources() map[string]*wafregional.GeoMatchSet { + results := map[string]*wafregional.GeoMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.UsagePlan: + case *wafregional.GeoMatchSet: results[name] = resource } } return results } -// GetApiGatewayUsagePlanWithName retrieves all apigateway.UsagePlan items from an AWS CloudFormation template +// GetWAFRegionalGeoMatchSetWithName retrieves all wafregional.GeoMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayUsagePlanWithName(name string) (*apigateway.UsagePlan, error) { +func (t *Template) GetWAFRegionalGeoMatchSetWithName(name string) (*wafregional.GeoMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.UsagePlan: + case *wafregional.GeoMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.UsagePlan not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.GeoMatchSet not found", name) } -// GetAllKinesisStreamConsumerResources retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template -func (t *Template) GetAllKinesisStreamConsumerResources() map[string]*kinesis.StreamConsumer { - results := map[string]*kinesis.StreamConsumer{} +// GetAllWAFRegionalIPSetResources retrieves all wafregional.IPSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalIPSetResources() map[string]*wafregional.IPSet { + results := map[string]*wafregional.IPSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *kinesis.StreamConsumer: + case *wafregional.IPSet: results[name] = resource } } return results } -// GetKinesisStreamConsumerWithName retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template +// GetWAFRegionalIPSetWithName retrieves all wafregional.IPSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisStreamConsumerWithName(name string) (*kinesis.StreamConsumer, error) { +func (t *Template) GetWAFRegionalIPSetWithName(name string) (*wafregional.IPSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *kinesis.StreamConsumer: + case *wafregional.IPSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type kinesis.StreamConsumer not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.IPSet not found", name) } -// GetAllAmplifyDomainResources retrieves all amplify.Domain items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyDomainResources() map[string]*amplify.Domain { - results := map[string]*amplify.Domain{} +// GetAllWAFRegionalRateBasedRuleResources retrieves all wafregional.RateBasedRule items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalRateBasedRuleResources() map[string]*wafregional.RateBasedRule { + results := map[string]*wafregional.RateBasedRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplify.Domain: + case *wafregional.RateBasedRule: results[name] = resource } } return results } -// GetAmplifyDomainWithName retrieves all amplify.Domain items from an AWS CloudFormation template +// GetWAFRegionalRateBasedRuleWithName retrieves all wafregional.RateBasedRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyDomainWithName(name string) (*amplify.Domain, error) { +func (t *Template) GetWAFRegionalRateBasedRuleWithName(name string) (*wafregional.RateBasedRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplify.Domain: + case *wafregional.RateBasedRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplify.Domain not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.RateBasedRule not found", name) } -// GetAllIoT1ClickProjectResources retrieves all iot1click.Project items from an AWS CloudFormation template -func (t *Template) GetAllIoT1ClickProjectResources() map[string]*iot1click.Project { - results := map[string]*iot1click.Project{} +// GetAllWAFRegionalRegexPatternSetResources retrieves all wafregional.RegexPatternSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalRegexPatternSetResources() map[string]*wafregional.RegexPatternSet { + results := map[string]*wafregional.RegexPatternSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot1click.Project: + case *wafregional.RegexPatternSet: results[name] = resource } } return results } -// GetIoT1ClickProjectWithName retrieves all iot1click.Project items from an AWS CloudFormation template +// GetWAFRegionalRegexPatternSetWithName retrieves all wafregional.RegexPatternSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoT1ClickProjectWithName(name string) (*iot1click.Project, error) { +func (t *Template) GetWAFRegionalRegexPatternSetWithName(name string) (*wafregional.RegexPatternSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot1click.Project: + case *wafregional.RegexPatternSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot1click.Project not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.RegexPatternSet not found", name) } -// GetAllCloudFormationStackResources retrieves all cloudformation.Stack items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationStackResources() map[string]*cloudformation.Stack { - results := map[string]*cloudformation.Stack{} +// GetAllWAFRegionalRuleResources retrieves all wafregional.Rule items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalRuleResources() map[string]*wafregional.Rule { + results := map[string]*wafregional.Rule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *cloudformation.Stack: + case *wafregional.Rule: results[name] = resource } } return results } -// GetCloudFormationStackWithName retrieves all cloudformation.Stack items from an AWS CloudFormation template +// GetWAFRegionalRuleWithName retrieves all wafregional.Rule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationStackWithName(name string) (*cloudformation.Stack, error) { +func (t *Template) GetWAFRegionalRuleWithName(name string) (*wafregional.Rule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *cloudformation.Stack: + case *wafregional.Rule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type cloudformation.Stack not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.Rule not found", name) } -// GetAllApiGatewayV2ApiResources retrieves all apigatewayv2.Api items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ApiResources() map[string]*apigatewayv2.Api { - results := map[string]*apigatewayv2.Api{} +// GetAllWAFRegionalSizeConstraintSetResources retrieves all wafregional.SizeConstraintSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalSizeConstraintSetResources() map[string]*wafregional.SizeConstraintSet { + results := map[string]*wafregional.SizeConstraintSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Api: + case *wafregional.SizeConstraintSet: results[name] = resource } } return results } -// GetApiGatewayV2ApiWithName retrieves all apigatewayv2.Api items from an AWS CloudFormation template +// GetWAFRegionalSizeConstraintSetWithName retrieves all wafregional.SizeConstraintSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ApiWithName(name string) (*apigatewayv2.Api, error) { +func (t *Template) GetWAFRegionalSizeConstraintSetWithName(name string) (*wafregional.SizeConstraintSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Api: + case *wafregional.SizeConstraintSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Api not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.SizeConstraintSet not found", name) } -// GetAllIoTCertificateResources retrieves all iot.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllIoTCertificateResources() map[string]*iot.Certificate { - results := map[string]*iot.Certificate{} +// GetAllWAFRegionalSqlInjectionMatchSetResources retrieves all wafregional.SqlInjectionMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalSqlInjectionMatchSetResources() map[string]*wafregional.SqlInjectionMatchSet { + results := map[string]*wafregional.SqlInjectionMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *iot.Certificate: + case *wafregional.SqlInjectionMatchSet: results[name] = resource } } return results } -// GetIoTCertificateWithName retrieves all iot.Certificate items from an AWS CloudFormation template +// GetWAFRegionalSqlInjectionMatchSetWithName retrieves all wafregional.SqlInjectionMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTCertificateWithName(name string) (*iot.Certificate, error) { +func (t *Template) GetWAFRegionalSqlInjectionMatchSetWithName(name string) (*wafregional.SqlInjectionMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *iot.Certificate: + case *wafregional.SqlInjectionMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type iot.Certificate not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.SqlInjectionMatchSet not found", name) } -// GetAllServerlessSimpleTableResources retrieves all serverless.SimpleTable items from an AWS CloudFormation template -func (t *Template) GetAllServerlessSimpleTableResources() map[string]*serverless.SimpleTable { - results := map[string]*serverless.SimpleTable{} +// GetAllWAFRegionalWebACLResources retrieves all wafregional.WebACL items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalWebACLResources() map[string]*wafregional.WebACL { + results := map[string]*wafregional.WebACL{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.SimpleTable: + case *wafregional.WebACL: results[name] = resource } } return results } -// GetServerlessSimpleTableWithName retrieves all serverless.SimpleTable items from an AWS CloudFormation template +// GetWAFRegionalWebACLWithName retrieves all wafregional.WebACL items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessSimpleTableWithName(name string) (*serverless.SimpleTable, error) { +func (t *Template) GetWAFRegionalWebACLWithName(name string) (*wafregional.WebACL, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.SimpleTable: + case *wafregional.WebACL: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.SimpleTable not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.WebACL not found", name) } -// GetAllServerlessLayerVersionResources retrieves all serverless.LayerVersion items from an AWS CloudFormation template -func (t *Template) GetAllServerlessLayerVersionResources() map[string]*serverless.LayerVersion { - results := map[string]*serverless.LayerVersion{} +// GetAllWAFRegionalWebACLAssociationResources retrieves all wafregional.WebACLAssociation items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalWebACLAssociationResources() map[string]*wafregional.WebACLAssociation { + results := map[string]*wafregional.WebACLAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.LayerVersion: + case *wafregional.WebACLAssociation: results[name] = resource } } return results } -// GetServerlessLayerVersionWithName retrieves all serverless.LayerVersion items from an AWS CloudFormation template +// GetWAFRegionalWebACLAssociationWithName retrieves all wafregional.WebACLAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessLayerVersionWithName(name string) (*serverless.LayerVersion, error) { +func (t *Template) GetWAFRegionalWebACLAssociationWithName(name string) (*wafregional.WebACLAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.LayerVersion: + case *wafregional.WebACLAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.LayerVersion not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.WebACLAssociation not found", name) } -// GetAllServerlessFunctionResources retrieves all serverless.Function items from an AWS CloudFormation template -func (t *Template) GetAllServerlessFunctionResources() map[string]*serverless.Function { - results := map[string]*serverless.Function{} +// GetAllWAFRegionalXssMatchSetResources retrieves all wafregional.XssMatchSet items from an AWS CloudFormation template +func (t *Template) GetAllWAFRegionalXssMatchSetResources() map[string]*wafregional.XssMatchSet { + results := map[string]*wafregional.XssMatchSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.Function: + case *wafregional.XssMatchSet: results[name] = resource } } return results } -// GetServerlessFunctionWithName retrieves all serverless.Function items from an AWS CloudFormation template +// GetWAFRegionalXssMatchSetWithName retrieves all wafregional.XssMatchSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessFunctionWithName(name string) (*serverless.Function, error) { +func (t *Template) GetWAFRegionalXssMatchSetWithName(name string) (*wafregional.XssMatchSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.Function: + case *wafregional.XssMatchSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.Function not found", name) + return nil, fmt.Errorf("resource %q of type wafregional.XssMatchSet not found", name) } -// GetAllServerlessApiResources retrieves all serverless.Api items from an AWS CloudFormation template -func (t *Template) GetAllServerlessApiResources() map[string]*serverless.Api { - results := map[string]*serverless.Api{} +// GetAllWorkSpacesWorkspaceResources retrieves all workspaces.Workspace items from an AWS CloudFormation template +func (t *Template) GetAllWorkSpacesWorkspaceResources() map[string]*workspaces.Workspace { + results := map[string]*workspaces.Workspace{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.Api: + case *workspaces.Workspace: results[name] = resource } } return results } -// GetServerlessApiWithName retrieves all serverless.Api items from an AWS CloudFormation template +// GetWorkSpacesWorkspaceWithName retrieves all workspaces.Workspace items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessApiWithName(name string) (*serverless.Api, error) { +func (t *Template) GetWorkSpacesWorkspaceWithName(name string) (*workspaces.Workspace, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.Api: + case *workspaces.Workspace: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.Api not found", name) + return nil, fmt.Errorf("resource %q of type workspaces.Workspace not found", name) } -// GetAllServerlessApplicationResources retrieves all serverless.Application items from an AWS CloudFormation template -func (t *Template) GetAllServerlessApplicationResources() map[string]*serverless.Application { - results := map[string]*serverless.Application{} +// GetAllASKSkillResources retrieves all ask.Skill items from an AWS CloudFormation template +func (t *Template) GetAllASKSkillResources() map[string]*ask.Skill { + results := map[string]*ask.Skill{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.Application: + case *ask.Skill: results[name] = resource } } return results } -// GetServerlessApplicationWithName retrieves all serverless.Application items from an AWS CloudFormation template +// GetASKSkillWithName retrieves all ask.Skill items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessApplicationWithName(name string) (*serverless.Application, error) { +func (t *Template) GetASKSkillWithName(name string) (*ask.Skill, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.Application: + case *ask.Skill: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.Application not found", name) + return nil, fmt.Errorf("resource %q of type ask.Skill not found", name) } diff --git a/generate/generate.go b/generate/generate.go index babb0f306e..3bc74b7636 100644 --- a/generate/generate.go +++ b/generate/generate.go @@ -9,6 +9,7 @@ import ( "net/http" "net/url" "os" + "sort" "strings" "text/template" ) @@ -215,6 +216,12 @@ func (rg *ResourceGenerator) generateAllResourcesMap(resources []GeneratedResour return fmt.Errorf("failed to load resource template: %s", err) } + // Sort the resources by cloudformation type, so that they don't rearrange + // every time the all.go file is generated + sort.Slice(resources, func(i, j int) bool { + return resources[i].Name < resources[j].Name + }) + templateData := struct { Resources []GeneratedResource }{