Skip to content

Commit

Permalink
feat(client-config-service): Update ResourceType enum with values for…
Browse files Browse the repository at this point in the history
… Route53Resolver, Batch, DMS, Workspaces, Stepfunctions, SageMaker, ElasticLoadBalancingV2, MSK types
  • Loading branch information
awstools committed Jul 14, 2022
1 parent 57b3f71 commit 58d673a
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 21 deletions.
23 changes: 14 additions & 9 deletions clients/client-config-service/src/ConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3030,11 +3030,10 @@ export class ConfigService extends ConfigServiceClient {
* <code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the
* <code>ConfigRule</code> data type that you use in this
* request.</p>
* <p>The maximum number of rules that Config supports is 150.</p>
*
* <p>For information about requesting a rule limit increase, see
* <a href="http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config">Config Limits</a> in the <i>Amazon Web Services General
* Reference Guide</i>.</p>
* <p>For information on how many Config rules you can have per account,
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
* <b>Service Limits</b>
* </a> in the Config Developer Guide.</p>
*
* <p>For more information about developing and using Config
* rules, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating Amazon Web Services resource Configurations with Config</a>
Expand Down Expand Up @@ -3162,7 +3161,11 @@ export class ConfigService extends ConfigServiceClient {
}

/**
* <p>Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization.</p>
* <p>Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization.
* For information on how many conformance packs you can have per account,
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
* <b>Service Limits</b>
* </a> in the Config Developer Guide.</p>
* <p>This API creates a service linked role <code>AWSServiceRoleForConfigConforms</code> in your account.
* The service linked role is created only when the role does not exist in your account. </p>
* <note>
Expand Down Expand Up @@ -3316,10 +3319,13 @@ export class ConfigService extends ConfigServiceClient {

/**
* <p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your
* desired configurations.</p>
* desired configurations. For information on how many organization Config rules you can have per account,
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
* <b>Service Limits</b>
* </a> in the Config Developer Guide.</p>
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
* When calling this API with a delegated administrator, you must ensure Organizations
* <code>ListDelegatedAdministrator</code> permissions are added. </p>
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked
* role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
* The service linked role is created only when the role does not exist in the caller account.
Expand All @@ -3332,7 +3338,6 @@ export class ConfigService extends ConfigServiceClient {
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.
* If you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
* <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>
* <note>
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
* <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ export interface PutConfigRuleCommandOutput extends __MetadataBearer {}
* <code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the
* <code>ConfigRule</code> data type that you use in this
* request.</p>
* <p>The maximum number of rules that Config supports is 150.</p>
*
* <p>For information about requesting a rule limit increase, see
* <a href="http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config">Config Limits</a> in the <i>Amazon Web Services General
* Reference Guide</i>.</p>
* <p>For information on how many Config rules you can have per account,
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
* <b>Service Limits</b>
* </a> in the Config Developer Guide.</p>
*
* <p>For more information about developing and using Config
* rules, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating Amazon Web Services resource Configurations with Config</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ export interface PutConformancePackCommandInput extends PutConformancePackReques
export interface PutConformancePackCommandOutput extends PutConformancePackResponse, __MetadataBearer {}

/**
* <p>Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization.</p>
* <p>Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization.
* For information on how many conformance packs you can have per account,
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
* <b>Service Limits</b>
* </a> in the Config Developer Guide.</p>
* <p>This API creates a service linked role <code>AWSServiceRoleForConfigConforms</code> in your account.
* The service linked role is created only when the role does not exist in your account. </p>
* <note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ export interface PutOrganizationConfigRuleCommandOutput extends PutOrganizationC

/**
* <p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your
* desired configurations.</p>
* desired configurations. For information on how many organization Config rules you can have per account,
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
* <b>Service Limits</b>
* </a> in the Config Developer Guide.</p>
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
* When calling this API with a delegated administrator, you must ensure Organizations
* <code>ListDelegatedAdministrator</code> permissions are added. </p>
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked
* role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
* The service linked role is created only when the role does not exist in the caller account.
Expand All @@ -40,7 +43,6 @@ export interface PutOrganizationConfigRuleCommandOutput extends PutOrganizationC
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.
* If you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
* <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>
* <note>
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
* <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>
Expand Down
15 changes: 15 additions & 0 deletions clients/client-config-service/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ export namespace AggregateEvaluationResult {
}

export enum ResourceType {
AccessAnalyzerAnalyzer = "AWS::AccessAnalyzer::Analyzer",
AccountPublicAccessBlock = "AWS::S3::AccountPublicAccessBlock",
Alarm = "AWS::CloudWatch::Alarm",
Api = "AWS::ApiGatewayV2::Api",
Expand All @@ -612,6 +613,8 @@ export enum ResourceType {
BackupRecoveryPoint = "AWS::Backup::RecoveryPoint",
BackupSelection = "AWS::Backup::BackupSelection",
BackupVault = "AWS::Backup::BackupVault",
BatchComputeEnvironment = "AWS::Batch::ComputeEnvironment",
BatchJobQueue = "AWS::Batch::JobQueue",
Bucket = "AWS::S3::Bucket",
Certificate = "AWS::ACM::Certificate",
CloudFormationProduct = "AWS::ServiceCatalog::CloudFormationProduct",
Expand All @@ -632,6 +635,8 @@ export enum ResourceType {
DBSecurityGroup = "AWS::RDS::DBSecurityGroup",
DBSnapshot = "AWS::RDS::DBSnapshot",
DBSubnetGroup = "AWS::RDS::DBSubnetGroup",
DMSEventSubscription = "AWS::DMS::EventSubscription",
DMSReplicationSubnetGroup = "AWS::DMS::ReplicationSubnetGroup",
Distribution = "AWS::CloudFront::Distribution",
Domain = "AWS::Elasticsearch::Domain",
ECRPublicRepository = "AWS::ECR::PublicRepository",
Expand Down Expand Up @@ -662,8 +667,10 @@ export enum ResourceType {
KinesisStreamConsumer = "AWS::Kinesis::StreamConsumer",
LaunchConfiguration = "AWS::AutoScaling::LaunchConfiguration",
LaunchTemplate = "AWS::EC2::LaunchTemplate",
ListenerV2 = "AWS::ElasticLoadBalancingV2::Listener",
LoadBalancer = "AWS::ElasticLoadBalancing::LoadBalancer",
LoadBalancerV2 = "AWS::ElasticLoadBalancingV2::LoadBalancer",
MSKCluster = "AWS::MSK::Cluster",
ManagedInstanceInventory = "AWS::SSM::ManagedInstanceInventory",
ManagedRuleSetV2 = "AWS::WAFv2::ManagedRuleSet",
NatGateway = "AWS::EC2::NatGateway",
Expand Down Expand Up @@ -693,18 +700,24 @@ export enum ResourceType {
ResourceCompliance = "AWS::Config::ResourceCompliance",
RestApi = "AWS::ApiGateway::RestApi",
Role = "AWS::IAM::Role",
Route53ResolverResolverEndpoint = "AWS::Route53Resolver::ResolverEndpoint",
Route53ResolverResolverRule = "AWS::Route53Resolver::ResolverRule",
Route53ResolverResolverRuleAssociation = "AWS::Route53Resolver::ResolverRuleAssociation",
RouteTable = "AWS::EC2::RouteTable",
Rule = "AWS::WAF::Rule",
RuleGroup = "AWS::WAF::RuleGroup",
RuleGroupV2 = "AWS::WAFv2::RuleGroup",
SageMakerCodeRepository = "AWS::SageMaker::CodeRepository",
SageMakerModel = "AWS::SageMaker::Model",
ScalingPolicy = "AWS::AutoScaling::ScalingPolicy",
ScheduledAction = "AWS::AutoScaling::ScheduledAction",
Secret = "AWS::SecretsManager::Secret",
SecurityGroup = "AWS::EC2::SecurityGroup",
Stack = "AWS::CloudFormation::Stack",
Stage = "AWS::ApiGateway::Stage",
StageV2 = "AWS::ApiGatewayV2::Stage",
StepFunctionsActivity = "AWS::StepFunctions::Activity",
StepFunctionsStateMachine = "AWS::StepFunctions::StateMachine",
StreamingDistribution = "AWS::CloudFront::StreamingDistribution",
Subnet = "AWS::EC2::Subnet",
Table = "AWS::DynamoDB::Table",
Expand All @@ -721,6 +734,8 @@ export enum ResourceType {
Volume = "AWS::EC2::Volume",
WebACL = "AWS::WAF::WebACL",
WebACLV2 = "AWS::WAFv2::WebACL",
WorkSpacesConnectionAlias = "AWS::WorkSpaces::ConnectionAlias",
WorkSpacesWorkspace = "AWS::WorkSpaces::Workspace",
}

/**
Expand Down
Loading

0 comments on commit 58d673a

Please sign in to comment.