ServiceShape

zio.blocks.smithy.ServiceShape
final case class ServiceShape(name: String, traits: List[TraitApplication] = ..., version: Option[String] = ..., operations: List[ShapeId] = ..., resources: List[ShapeId] = ..., errors: List[ShapeId] = ...) extends Shape

A service shape representing an API service entry point.

Value parameters

errors

the ShapeIds of common errors for the service

name

the shape name

operations

the ShapeIds of operations bound to this service

resources

the ShapeIds of resources bound to this service

traits

the traits applied to this shape

version

the optional version string for the service

Attributes

Source
Shape.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Shape
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala