Skip to content

Commit e23fa78

Browse files
committed
Change to AggregateTypeName grammar production
1 parent 093a8ac commit e23fa78

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/source-2.0/spec/idl.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,13 @@ string support defined in :rfc:`7405`.
192192
EnumTypeName :%s"enum" / %s"intEnum"
193193
EnumShapeMembers :"{" [`WS`] 1*(`TraitStatements` `Identifier` [`ValueAssignment`] [`WS`]) "}"
194194
ValueAssignment :[`SP`] "=" [`SP`] `NodeValue` `BR`
195-
AggregateShapeStatement :`AggregateShapeTypeName` `SP` `Identifier` [`Mixins`] `StructureMembers`
196-
AggregateShapeTypeName :%s"list" / %s"map" / %s"union"
195+
AggregateShapeStatement :`AggregateTypeName` `SP` `Identifier` [`Mixins`] `ShapeMembers`
196+
AggregateTypeName :%s"list" / %s"map" / %s"union"
197197
StructureStatement :%s"structure" `SP` `Identifier` [`StructureResource`]
198-
: [`Mixins`] [`WS`] `StructureMembers`
198+
: [`Mixins`] [`WS`] `ShapeMembers`
199199
StructureResource :`SP` %s"for" `SP` `ShapeId`
200-
StructureMembers :"{" [`WS`] *(`TraitStatements` `StructureMember` [`WS`]) "}"
201-
StructureMember :(`ExplicitStructureMember` / `ElidedStructureMember`) [`ValueAssignment`]
200+
ShapeMembers :"{" [`WS`] *(`TraitStatements` `ShapeMember` [`WS`]) "}"
201+
ShapeMember :(`ExplicitStructureMember` / `ElidedStructureMember`) [`ValueAssignment`]
202202
ExplicitStructureMember :`Identifier` [`SP`] ":" [`SP`] `ShapeId`
203203
ElidedStructureMember :"$" `Identifier`
204204
ServiceStatement :%s"service" `SP` `Identifier` [`Mixins`] [`WS`] `NodeObject`
@@ -212,7 +212,7 @@ string support defined in :rfc:`7405`.
212212
OperationOutput :%s"output" [`WS`] (`InlineStructure` / (":" [`WS`] `ShapeId`))
213213
OperationErrors :%s"errors" [`WS`] ":" [`WS`] "[" [`WS`] *(`ShapeId` [`WS`]) "]"
214214
InlineStructure :":=" [`WS`] `TraitStatements` [`StructureResource`]
215-
: [`Mixins`] [`WS`] `StructureMembers`
215+
: [`Mixins`] [`WS`] `ShapeMembers`
216216
217217
.. rubric:: Traits
218218

@@ -880,7 +880,7 @@ The above intEnum is exactly equivalent to the following intEnum:
880880
List shapes
881881
-----------
882882

883-
A :ref:`list <list>` shape is defined using a :token:`smithy:ListStatement`.
883+
A :ref:`list <list>` shape is defined using a :token:`smithy:AggregateShapeStatement`.
884884

885885
The following example defines a list with a string member from the
886886
:ref:`prelude <prelude>`:
@@ -961,7 +961,7 @@ Traits can be applied to the list shape and its member:
961961
Map shapes
962962
----------
963963

964-
A :ref:`map <map>` shape is defined using a :token:`smithy:MapStatement`.
964+
A :ref:`map <map>` shape is defined using a :token:`smithy:AggregateShapeStatement`.
965965

966966
The following example defines a map of strings to integers:
967967

@@ -1171,7 +1171,7 @@ Is exactly equivalent to:
11711171
Union shapes
11721172
------------
11731173

1174-
A :ref:`union <union>` shape is defined using a :token:`smithy:UnionStatement`.
1174+
A :ref:`union <union>` shape is defined using a :token:`smithy:AggregateShapeStatement`.
11751175

11761176
The following example defines a union shape with several members:
11771177

0 commit comments

Comments
 (0)