Skip to content

Commit f4225ad

Browse files
author
AWS
committed
AWS Config Update: Adding input validation for the OrganizationConfigRuleName string.
1 parent 619eb67 commit f4225ad

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Config",
4+
"description": "Adding input validation for the OrganizationConfigRuleName string."
5+
}

services/config/src/main/resources/codegen-resources/service-2.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@
19951995
"required":["OrganizationConfigRuleName"],
19961996
"members":{
19971997
"OrganizationConfigRuleName":{
1998-
"shape":"StringWithCharLimit64",
1998+
"shape":"OrganizationConfigRuleName",
19991999
"documentation":"<p>The name of organization config rule that you want to delete.</p>"
20002000
}
20012001
}
@@ -3228,7 +3228,7 @@
32283228
"required":["OrganizationConfigRuleName"],
32293229
"members":{
32303230
"OrganizationConfigRuleName":{
3231-
"shape":"StringWithCharLimit64",
3231+
"shape":"OrganizationConfigRuleName",
32323232
"documentation":"<p>The name of organization config rule for which you want status details for member accounts.</p>"
32333233
},
32343234
"Filters":{
@@ -3814,7 +3814,7 @@
38143814
],
38153815
"members":{
38163816
"OrganizationConfigRuleName":{
3817-
"shape":"StringWithCharLimit64",
3817+
"shape":"OrganizationConfigRuleName",
38183818
"documentation":"<p>The name that you assign to organization config rule.</p>"
38193819
},
38203820
"OrganizationConfigRuleArn":{
@@ -3844,6 +3844,12 @@
38443844
"type":"list",
38453845
"member":{"shape":"MemberAccountStatus"}
38463846
},
3847+
"OrganizationConfigRuleName":{
3848+
"type":"string",
3849+
"max":64,
3850+
"min":1,
3851+
"pattern":".*\\S.*"
3852+
},
38473853
"OrganizationConfigRuleNames":{
38483854
"type":"list",
38493855
"member":{"shape":"StringWithCharLimit64"},
@@ -3858,7 +3864,7 @@
38583864
],
38593865
"members":{
38603866
"OrganizationConfigRuleName":{
3861-
"shape":"StringWithCharLimit64",
3867+
"shape":"OrganizationConfigRuleName",
38623868
"documentation":"<p>The name that you assign to organization config rule.</p>"
38633869
},
38643870
"OrganizationRuleStatus":{
@@ -4168,7 +4174,7 @@
41684174
"required":["OrganizationConfigRuleName"],
41694175
"members":{
41704176
"OrganizationConfigRuleName":{
4171-
"shape":"StringWithCharLimit64",
4177+
"shape":"OrganizationConfigRuleName",
41724178
"documentation":"<p>The name that you assign to an organization config rule.</p>"
41734179
},
41744180
"OrganizationManagedRuleMetadata":{

0 commit comments

Comments
 (0)