OperationSchema

smithy4s.schema.OperationSchema
final case class OperationSchema[I, E, O, SI, SO]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapError[E2](f: (ErrorSchema[E]) => ErrorSchema[E2]): OperationSchema[I, E2, O, SI, SO]
def mapHints(f: Hints => Hints): OperationSchema[I, E, O, SI, SO]
def mapId(f: ShapeId => ShapeId): OperationSchema[I, E, O, SI, SO]
def mapInput[I2](f: (Schema[I]) => Schema[I2]): OperationSchema[I2, E, O, SI, SO]
def mapOutput[O2](f: (Schema[O]) => Schema[O2]): OperationSchema[I, E, O2, SI, SO]
def mapStreamedInput[SI2](f: (StreamingSchema[SI]) => StreamingSchema[SI2]): OperationSchema[I, E, O, SI2, SO]
def mapStreamedOutput[SO2](f: (StreamingSchema[SO]) => StreamingSchema[SO2]): OperationSchema[I, E, O, SI, SO2]
def withError[E2](error: ErrorSchema[E2]): OperationSchema[I, E2, O, SI, SO]
def withErrorOption[E2](error: Option[ErrorSchema[E2]]): OperationSchema[I, E2, O, SI, SO]
def withHints(hints: Hints): OperationSchema[I, E, O, SI, SO]
def withHints(hints: Hint*): OperationSchema[I, E, O, SI, SO]
def withId(id: ShapeId): OperationSchema[I, E, O, SI, SO]
def withInput[I2](input: Schema[I2]): OperationSchema[I2, E, O, SI, SO]
def withOutput[O2](output: Schema[O2]): OperationSchema[I, E, O2, SI, SO]
def withStreamedInput[SI2](streamedInput: StreamingSchema[SI2]): OperationSchema[I, E, O, SI2, SO]
def withStreamedOutput[SO2](streamedOutput: StreamingSchema[SO2]): OperationSchema[I, E, O, SI, SO2]
def withoutError[E2 <: E]: OperationSchema[I, E2, O, SI, SO]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product