ServiceProduct

smithy4s.ServiceProduct
See theServiceProduct companion object
trait ServiceProduct[Prod[_[_, _, _, _, _]]] extends FunctorK5[Prod]

Something that returns a product of endpoints. Contains the same information as a service, with the difference that the algebra (the product type parameter) can be be an interface with methods without inputs.

Type parameters

Prod

the product type parameter. For code generation this is also generated as an interface with methods without inputs (one for each endpoint). This has suffix ProductGen.

Attributes

Companion
object
Graph
Supertypes
trait FunctorK5[Prod]
class Object
trait Matchable
class Any

Members list

Type members

Types

type Alg[_[_, _, _, _, _]]

Value members

Abstract methods

def toPolyFunction[Func[_, _, _, _, _]](algebra: Prod[Func]): PolyFunction5[Endpoint, Func]

Inherited methods

def mapK5[F[_, _, _, _, _], G[_, _, _, _, _]](alg: Prod[F], function: PolyFunction5[F, G]): Alg[G]

Attributes

Inherited from:
FunctorK5

Abstract fields