Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a61b9fb

Browse files
author
AWS
committedDec 31, 2020
AWS Service Catalog Update: Enhanced Service Catalog DescribeProvisioningParameters API to return new parameter constraints, i.e., MinLength, MaxLength, MinValue, MaxValue, ConstraintDescription and AllowedPattern
1 parent 3f72baa commit a61b9fb

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed
 
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Service Catalog",
4+
"contributor": "",
5+
"description": "Enhanced Service Catalog DescribeProvisioningParameters API to return new parameter constraints, i.e., MinLength, MaxLength, MinValue, MaxValue, ConstraintDescription and AllowedPattern"
6+
}

‎services/servicecatalog/src/main/resources/codegen-resources/service-2.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,10 +1333,9 @@
13331333
"member":{"shape":"Tag"},
13341334
"max":20
13351335
},
1336-
"AllowedValue":{"type":"string"},
13371336
"AllowedValues":{
13381337
"type":"list",
1339-
"member":{"shape":"AllowedValue"}
1338+
"member":{"shape":"String"}
13401339
},
13411340
"ApproximateCount":{"type":"integer"},
13421341
"AssociateBudgetWithResourceInput":{
@@ -4118,6 +4117,30 @@
41184117
"AllowedValues":{
41194118
"shape":"AllowedValues",
41204119
"documentation":"<p>The values that the administrator has allowed for the parameter.</p>"
4120+
},
4121+
"AllowedPattern":{
4122+
"shape":"String",
4123+
"documentation":"<p>A regular expression that represents the patterns that allow for <code>String</code> types. The pattern must match the entire parameter value provided.</p>"
4124+
},
4125+
"ConstraintDescription":{
4126+
"shape":"String",
4127+
"documentation":"<p>A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of <code>[A-Za-z0-9]+</code> displays the following error message when the user specifies an invalid value:</p> <p> <code>Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+</code> </p> <p>By adding a constraint description, such as must only contain letters (uppercase and lowercase) and numbers, you can display the following customized error message:</p> <p> <code>Malformed input-Parameter MyParameter must only contain uppercase and lowercase letters and numbers.</code> </p>"
4128+
},
4129+
"MaxLength":{
4130+
"shape":"String",
4131+
"documentation":"<p>An integer value that determines the largest number of characters you want to allow for <code>String</code> types. </p>"
4132+
},
4133+
"MinLength":{
4134+
"shape":"String",
4135+
"documentation":"<p>An integer value that determines the smallest number of characters you want to allow for <code>String</code> types.</p>"
4136+
},
4137+
"MaxValue":{
4138+
"shape":"String",
4139+
"documentation":"<p>A numeric value that determines the largest numeric value you want to allow for <code>Number</code> types.</p>"
4140+
},
4141+
"MinValue":{
4142+
"shape":"String",
4143+
"documentation":"<p>A numeric value that determines the smallest numeric value you want to allow for <code>Number</code> types. </p>"
41214144
}
41224145
},
41234146
"documentation":"<p>The constraints that the administrator has put on the parameter.</p>"
@@ -5904,6 +5927,7 @@
59045927
"type":"string",
59055928
"pattern":"[\\u0009\\u000a\\u000d\\u0020-\\uD7FF\\uE000-\\uFFFD]*"
59065929
},
5930+
"String":{"type":"string"},
59075931
"SuccessfulShares":{
59085932
"type":"list",
59095933
"member":{"shape":"AccountId"}

0 commit comments

Comments
 (0)