Skip to content

Commit 7c7fe47

Browse files
author
AWS
committed
AWS Amplify UI Builder Update: We are releasing the ability for fields to be configured as arrays.
1 parent 7b35bd7 commit 7c7fe47

File tree

2 files changed

+35
-31
lines changed

2 files changed

+35
-31
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 Amplify UI Builder",
4+
"contributor": "",
5+
"description": "We are releasing the ability for fields to be configured as arrays."
6+
}

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

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,10 @@
404404
},
405405
"documentation":"<p>Represents the event action configuration for an element of a <code>Component</code> or <code>ComponentChild</code>. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components. <code>ActionParameters</code> defines the action that is performed when an event occurs on the component.</p>"
406406
},
407-
"Boolean":{"type":"boolean"},
407+
"Boolean":{
408+
"type":"boolean",
409+
"box":true
410+
},
408411
"Component":{
409412
"type":"structure",
410413
"required":[
@@ -729,8 +732,7 @@
729732
},
730733
"configured":{
731734
"shape":"Boolean",
732-
"documentation":"<p>Specifies whether the user configured the property in Amplify Studio after importing it.</p>",
733-
"box":true
735+
"documentation":"<p>Specifies whether the user configured the property in Amplify Studio after importing it.</p>"
734736
},
735737
"defaultValue":{
736738
"shape":"String",
@@ -1258,8 +1260,7 @@
12581260
},
12591261
"expiresIn":{
12601262
"shape":"Integer",
1261-
"documentation":"<p>The date and time when the new access token expires.</p>",
1262-
"box":true
1263+
"documentation":"<p>The date and time when the new access token expires.</p>"
12631264
},
12641265
"refreshToken":{
12651266
"shape":"SensitiveString",
@@ -1400,8 +1401,7 @@
14001401
"members":{
14011402
"excluded":{
14021403
"shape":"Boolean",
1403-
"documentation":"<p>Specifies whether to hide a field.</p>",
1404-
"box":true
1404+
"documentation":"<p>Specifies whether to hide a field.</p>"
14051405
},
14061406
"inputType":{
14071407
"shape":"FieldInputConfig",
@@ -1428,8 +1428,7 @@
14281428
"members":{
14291429
"defaultChecked":{
14301430
"shape":"Boolean",
1431-
"documentation":"<p>Specifies whether a field has a default value.</p>",
1432-
"box":true
1431+
"documentation":"<p>Specifies whether a field has a default value.</p>"
14331432
},
14341433
"defaultCountryCode":{
14351434
"shape":"String",
@@ -1443,15 +1442,17 @@
14431442
"shape":"String",
14441443
"documentation":"<p>The text to display to describe the field.</p>"
14451444
},
1445+
"isArray":{
1446+
"shape":"Boolean",
1447+
"documentation":"<p>Specifies whether to render the field as an array. This property is ignored if the <code>dataSourceType</code> for the form is a Data Store.</p>"
1448+
},
14461449
"maxValue":{
14471450
"shape":"Float",
1448-
"documentation":"<p>The maximum value to display for the field.</p>",
1449-
"box":true
1451+
"documentation":"<p>The maximum value to display for the field.</p>"
14501452
},
14511453
"minValue":{
14521454
"shape":"Float",
1453-
"documentation":"<p>The minimum value to display for the field.</p>",
1454-
"box":true
1455+
"documentation":"<p>The minimum value to display for the field.</p>"
14551456
},
14561457
"name":{
14571458
"shape":"String",
@@ -1463,18 +1464,15 @@
14631464
},
14641465
"readOnly":{
14651466
"shape":"Boolean",
1466-
"documentation":"<p>Specifies a read only field.</p>",
1467-
"box":true
1467+
"documentation":"<p>Specifies a read only field.</p>"
14681468
},
14691469
"required":{
14701470
"shape":"Boolean",
1471-
"documentation":"<p>Specifies a field that requires input.</p>",
1472-
"box":true
1471+
"documentation":"<p>Specifies a field that requires input.</p>"
14731472
},
14741473
"step":{
14751474
"shape":"Float",
1476-
"documentation":"<p>The stepping increment for a numeric value in a field.</p>",
1477-
"box":true
1475+
"documentation":"<p>The stepping increment for a numeric value in a field.</p>"
14781476
},
14791477
"type":{
14801478
"shape":"String",
@@ -1542,7 +1540,10 @@
15421540
"type":"string",
15431541
"enum":["first"]
15441542
},
1545-
"Float":{"type":"float"},
1543+
"Float":{
1544+
"type":"float",
1545+
"box":true
1546+
},
15461547
"Form":{
15471548
"type":"structure",
15481549
"required":[
@@ -1648,8 +1649,7 @@
16481649
},
16491650
"excluded":{
16501651
"shape":"Boolean",
1651-
"documentation":"<p>Specifies whether the button is visible on the form.</p>",
1652-
"box":true
1652+
"documentation":"<p>Specifies whether the button is visible on the form.</p>"
16531653
},
16541654
"position":{
16551655
"shape":"FieldPosition",
@@ -1686,7 +1686,7 @@
16861686
"documentation":"<p>Displays a submit button.</p>"
16871687
}
16881688
},
1689-
"documentation":"<p>Describes the call to action button configuration for the form..</p>"
1689+
"documentation":"<p>Describes the call to action button configuration for the form.</p>"
16901690
},
16911691
"FormDataSourceType":{
16921692
"type":"string",
@@ -1956,7 +1956,10 @@
19561956
"type":"list",
19571957
"member":{"shape":"String"}
19581958
},
1959-
"Integer":{"type":"integer"},
1959+
"Integer":{
1960+
"type":"integer",
1961+
"box":true
1962+
},
19601963
"InternalServerException":{
19611964
"type":"structure",
19621965
"members":{
@@ -2006,7 +2009,6 @@
20062009
"maxResults":{
20072010
"shape":"ListComponentsLimit",
20082011
"documentation":"<p>The maximum number of components to retrieve.</p>",
2009-
"box":true,
20102012
"location":"querystring",
20112013
"locationName":"maxResults"
20122014
},
@@ -2059,7 +2061,6 @@
20592061
"maxResults":{
20602062
"shape":"ListFormsLimit",
20612063
"documentation":"<p>The maximum number of forms to retrieve.</p>",
2062-
"box":true,
20632064
"location":"querystring",
20642065
"locationName":"maxResults"
20652066
},
@@ -2112,7 +2113,6 @@
21122113
"maxResults":{
21132114
"shape":"ListThemesLimit",
21142115
"documentation":"<p>The maximum number of theme results to return in the response.</p>",
2115-
"box":true,
21162116
"location":"querystring",
21172117
"locationName":"maxResults"
21182118
},
@@ -2284,8 +2284,7 @@
22842284
},
22852285
"expiresIn":{
22862286
"shape":"Integer",
2287-
"documentation":"<p>The date and time when the new access token expires.</p>",
2288-
"box":true
2287+
"documentation":"<p>The date and time when the new access token expires.</p>"
22892288
}
22902289
}
22912290
},
@@ -2319,8 +2318,7 @@
23192318
"members":{
23202319
"level":{
23212320
"shape":"Integer",
2322-
"documentation":"<p>Specifies the size of the font for a <code>Heading</code> sectional element. Valid values are <code>1 | 2 | 3 | 4 | 5 | 6</code>.</p>",
2323-
"box":true
2321+
"documentation":"<p>Specifies the size of the font for a <code>Heading</code> sectional element. Valid values are <code>1 | 2 | 3 | 4 | 5 | 6</code>.</p>"
23242322
},
23252323
"orientation":{
23262324
"shape":"String",

0 commit comments

Comments
 (0)