Skip to content

Commit 19e9658

Browse files
author
awstools
committed
feat(client-config-service): Add resourceType enums for AWS::EMR::SecurityConfiguration and AWS::SageMaker::CodeRepository
1 parent 529f350 commit 19e9658

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

clients/client-config-service/src/ConfigService.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -2975,11 +2975,11 @@ export class ConfigService extends ConfigServiceClient {
29752975
/**
29762976
* <p>Adds or updates an Config rule for evaluating whether your
29772977
* Amazon Web Services resources comply with your desired configurations.</p>
2978-
* <p>You can use this action for custom Config rules and Config
2979-
* managed rules. A custom Config rule is a rule that you
2978+
* <p>You can use this action for Config custom rules and Config
2979+
* managed rules. A Config custom rule is a rule that you
29802980
* develop and maintain. An Config managed rule is a customizable,
29812981
* predefined rule that Config provides.</p>
2982-
* <p>If you are adding a new custom Config rule, you must first
2982+
* <p>If you are adding a new Config custom rule, you must first
29832983
* create the Lambda function that the rule invokes to evaluate
29842984
* your resources. When you use the <code>PutConfigRule</code> action
29852985
* to add the rule to Config, you must specify the Amazon Resource
@@ -3295,8 +3295,8 @@ export class ConfigService extends ConfigServiceClient {
32953295
* Config verifies the existence of role with <code>GetRole</code> action.</p>
32963296
* <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
32973297
* <code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>
3298-
* <p>You can use this action to create both custom Config rules and Config managed rules.
3299-
* If you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated
3298+
* <p>You can use this action to create both Config custom rules and Config managed rules.
3299+
* If you are adding a new Config custom rule, you must first create Lambda function in the master account or a delegated
33003300
* administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.
33013301
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
33023302
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export interface PutConfigRuleCommandOutput extends __MetadataBearer {}
2424
/**
2525
* <p>Adds or updates an Config rule for evaluating whether your
2626
* Amazon Web Services resources comply with your desired configurations.</p>
27-
* <p>You can use this action for custom Config rules and Config
28-
* managed rules. A custom Config rule is a rule that you
27+
* <p>You can use this action for Config custom rules and Config
28+
* managed rules. A Config custom rule is a rule that you
2929
* develop and maintain. An Config managed rule is a customizable,
3030
* predefined rule that Config provides.</p>
31-
* <p>If you are adding a new custom Config rule, you must first
31+
* <p>If you are adding a new Config custom rule, you must first
3232
* create the Lambda function that the rule invokes to evaluate
3333
* your resources. When you use the <code>PutConfigRule</code> action
3434
* to add the rule to Config, you must specify the Amazon Resource

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export interface PutOrganizationConfigRuleCommandOutput extends PutOrganizationC
3333
* Config verifies the existence of role with <code>GetRole</code> action.</p>
3434
* <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
3535
* <code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>
36-
* <p>You can use this action to create both custom Config rules and Config managed rules.
37-
* If you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated
36+
* <p>You can use this action to create both Config custom rules and Config managed rules.
37+
* If you are adding a new Config custom rule, you must first create Lambda function in the master account or a delegated
3838
* administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.
3939
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
4040
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.

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

+2
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ export enum ResourceType {
643643
EFSFileSystem = "AWS::EFS::FileSystem",
644644
EIP = "AWS::EC2::EIP",
645645
EKSCluster = "AWS::EKS::Cluster",
646+
EMRSecurityConfiguration = "AWS::EMR::SecurityConfiguration",
646647
EgressOnlyInternetGateway = "AWS::EC2::EgressOnlyInternetGateway",
647648
EncryptionConfig = "AWS::XRay::EncryptionConfig",
648649
Environment = "AWS::ElasticBeanstalk::Environment",
@@ -696,6 +697,7 @@ export enum ResourceType {
696697
Rule = "AWS::WAF::Rule",
697698
RuleGroup = "AWS::WAF::RuleGroup",
698699
RuleGroupV2 = "AWS::WAFv2::RuleGroup",
700+
SageMakerCodeRepository = "AWS::SageMaker::CodeRepository",
699701
ScalingPolicy = "AWS::AutoScaling::ScalingPolicy",
700702
ScheduledAction = "AWS::AutoScaling::ScheduledAction",
701703
Secret = "AWS::SecretsManager::Secret",

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

+10-2
Original file line numberDiff line numberDiff line change
@@ -8583,7 +8583,7 @@
85838583
}
85848584
],
85858585
"traits": {
8586-
"smithy.api#documentation": "<p>Adds or updates an Config rule for evaluating whether your\n\t\t\tAmazon Web Services resources comply with your desired configurations.</p>\n\t\t <p>You can use this action for custom Config rules and Config\n\t\t\tmanaged rules. A custom Config rule is a rule that you\n\t\t\tdevelop and maintain. An Config managed rule is a customizable,\n\t\t\tpredefined rule that Config provides.</p>\n\t\t <p>If you are adding a new custom Config rule, you must first\n\t\t\tcreate the Lambda function that the rule invokes to evaluate\n\t\t\tyour resources. When you use the <code>PutConfigRule</code> action\n\t\t\tto add the rule to Config, you must specify the Amazon Resource\n\t\t\tName (ARN) that Lambda assigns to the function. Specify the ARN\n\t\t\tfor the <code>SourceIdentifier</code> key. This key is part of the\n\t\t\t\t<code>Source</code> object, which is part of the\n\t\t\t\t<code>ConfigRule</code> object. </p>\n\t\t <p>If you are adding an Config managed rule, specify the\n\t\t\trule's identifier for the <code>SourceIdentifier</code> key. To\n\t\t\treference Config managed rule identifiers, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html\">About Config managed rules</a>.</p>\n\t\t <p>For any new rule that you add, specify the\n\t\t\t\t<code>ConfigRuleName</code> in the <code>ConfigRule</code>\n\t\t\tobject. Do not specify the <code>ConfigRuleArn</code> or the\n\t\t\t<code>ConfigRuleId</code>. These values are generated by Config for new rules.</p>\n\t\t <p>If you are updating a rule that you added previously, you can\n\t\t\tspecify the rule by <code>ConfigRuleName</code>,\n\t\t\t\t<code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the\n\t\t\t\t<code>ConfigRule</code> data type that you use in this\n\t\t\trequest.</p>\n\t\t <p>The maximum number of rules that Config supports is 150.</p>\n\n\t\t <p>For information about requesting a rule limit increase, see\n\t\t\t\t<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\n\t\t\t\tReference Guide</i>.</p>\n\n\t\t <p>For more information about developing and using Config\n\t\t\trules, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html\">Evaluating Amazon Web Services resource Configurations with Config</a>\n\t\t\tin the <i>Config Developer Guide</i>.</p>"
8586+
"smithy.api#documentation": "<p>Adds or updates an Config rule for evaluating whether your\n\t\t\tAmazon Web Services resources comply with your desired configurations.</p>\n\t\t <p>You can use this action for Config custom rules and Config\n\t\t\tmanaged rules. A Config custom rule is a rule that you\n\t\t\tdevelop and maintain. An Config managed rule is a customizable,\n\t\t\tpredefined rule that Config provides.</p>\n\t\t <p>If you are adding a new Config custom rule, you must first\n\t\t\tcreate the Lambda function that the rule invokes to evaluate\n\t\t\tyour resources. When you use the <code>PutConfigRule</code> action\n\t\t\tto add the rule to Config, you must specify the Amazon Resource\n\t\t\tName (ARN) that Lambda assigns to the function. Specify the ARN\n\t\t\tfor the <code>SourceIdentifier</code> key. This key is part of the\n\t\t\t\t<code>Source</code> object, which is part of the\n\t\t\t\t<code>ConfigRule</code> object. </p>\n\t\t <p>If you are adding an Config managed rule, specify the\n\t\t\trule's identifier for the <code>SourceIdentifier</code> key. To\n\t\t\treference Config managed rule identifiers, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html\">About Config managed rules</a>.</p>\n\t\t <p>For any new rule that you add, specify the\n\t\t\t\t<code>ConfigRuleName</code> in the <code>ConfigRule</code>\n\t\t\tobject. Do not specify the <code>ConfigRuleArn</code> or the\n\t\t\t<code>ConfigRuleId</code>. These values are generated by Config for new rules.</p>\n\t\t <p>If you are updating a rule that you added previously, you can\n\t\t\tspecify the rule by <code>ConfigRuleName</code>,\n\t\t\t\t<code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the\n\t\t\t\t<code>ConfigRule</code> data type that you use in this\n\t\t\trequest.</p>\n\t\t <p>The maximum number of rules that Config supports is 150.</p>\n\n\t\t <p>For information about requesting a rule limit increase, see\n\t\t\t\t<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\n\t\t\t\tReference Guide</i>.</p>\n\n\t\t <p>For more information about developing and using Config\n\t\t\trules, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html\">Evaluating Amazon Web Services resource Configurations with Config</a>\n\t\t\tin the <i>Config Developer Guide</i>.</p>"
85878587
}
85888588
},
85898589
"com.amazonaws.configservice#PutConfigRuleRequest": {
@@ -8989,7 +8989,7 @@
89898989
}
89908990
],
89918991
"traits": {
8992-
"smithy.api#documentation": "<p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your \n\t\t\tdesired configurations.</p>\n\t <p> Only a master account and a delegated administrator can create or update an organization Config rule.\n\t\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\t<code>ListDelegatedAdministrator</code> permissions are added. </p>\n\t\t <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked \n\t\t\trole <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization. \n\t\t\tThe service linked role is created only when the role does not exist in the caller account. \n\t\t\tConfig verifies the existence of role with <code>GetRole</code> action.</p>\n\t\t <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization\n\t\t\t<code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>\n\t\t <p>You can use this action to create both custom Config rules and Config managed rules. \n\t\t\tIf you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated \n\t\t\tadministrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.\n\t\t\tWhen you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must \n\t\t\tspecify the Amazon Resource Name (ARN) that Lambda assigns to the function. \n\t\t\tIf you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>\n\t\t <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>\n\t\t <note>\n <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>\n\t\t\t <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>\n\t\t\t </note>"
8992+
"smithy.api#documentation": "<p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your \n\t\t\tdesired configurations.</p>\n\t <p> Only a master account and a delegated administrator can create or update an organization Config rule.\n\t\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\t<code>ListDelegatedAdministrator</code> permissions are added. </p>\n\t\t <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked \n\t\t\trole <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization. \n\t\t\tThe service linked role is created only when the role does not exist in the caller account. \n\t\t\tConfig verifies the existence of role with <code>GetRole</code> action.</p>\n\t\t <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization\n\t\t\t<code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>\n\t\t <p>You can use this action to create both Config custom rules and Config managed rules. \n\t\t\tIf you are adding a new Config custom rule, you must first create Lambda function in the master account or a delegated \n\t\t\tadministrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.\n\t\t\tWhen you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must \n\t\t\tspecify the Amazon Resource Name (ARN) that Lambda assigns to the function. \n\t\t\tIf you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>\n\t\t <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>\n\t\t <note>\n <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>\n\t\t\t <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>\n\t\t\t </note>"
89938993
}
89948994
},
89958995
"com.amazonaws.configservice#PutOrganizationConfigRuleRequest": {
@@ -10695,6 +10695,14 @@
1069510695
{
1069610696
"value": "AWS::GuardDuty::Detector",
1069710697
"name": "GuardDutyDetector"
10698+
},
10699+
{
10700+
"value": "AWS::EMR::SecurityConfiguration",
10701+
"name": "EMRSecurityConfiguration"
10702+
},
10703+
{
10704+
"value": "AWS::SageMaker::CodeRepository",
10705+
"name": "SageMakerCodeRepository"
1069810706
}
1069910707
]
1070010708
}

0 commit comments

Comments
 (0)