OperationShape

zio.blocks.smithy.OperationShape
final case class OperationShape(name: String, traits: List[TraitApplication] = ..., input: Option[ShapeId] = ..., output: Option[ShapeId] = ..., errors: List[ShapeId] = ...) extends Shape

An operation shape representing a single API operation.

Value parameters

errors

the ShapeIds of errors this operation can return

input

the optional ShapeId of the input structure

name

the shape name

output

the optional ShapeId of the output structure

traits

the traits applied to this shape

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