MapShape
zio.blocks.smithy.MapShape
final case class MapShape(name: String, traits: List[TraitApplication] = ..., key: MemberDefinition, value: MemberDefinition) extends Shape
A map shape representing a collection of key-value pairs.
Value parameters
- key
-
the member definition specifying the key type
- name
-
the shape name
- traits
-
the traits applied to this shape
- value
-
the member definition specifying the value type
Attributes
- Source
- Shape.scala
- Graph
-
- Supertypes
Members list
In this article