Shape

zio.blocks.smithy.Shape
sealed trait Shape

Represents a shape definition in a Smithy model.

Every shape has a name and a list of traits applied to it. Subtypes represent the different shape categories defined by the Smithy specification: simple shapes, enum shapes, aggregate shapes, and service shapes.

Attributes

Source
Shape.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def name: String

The shape name (e.g., "MyStructure").

The shape name (e.g., "MyStructure").

Attributes

Source
Shape.scala

The traits applied to this shape.

The traits applied to this shape.

Attributes

Source
Shape.scala