EnumShape
zio.blocks.smithy.EnumShape
final case class EnumShape(name: String, traits: List[TraitApplication] = ..., members: List[EnumMember] = ...) extends Shape
A string enum shape containing a fixed set of string values.
Value parameters
- members
-
the enum members defining allowed values
- name
-
the shape name
- traits
-
the traits applied to this shape
Attributes
- Source
- Shape.scala
- Graph
-
- Supertypes
Members list
In this article