smithy4s.com.amazonaws.kinesis.StreamNameList.scala Maven / Gradle / Ivy
package com.amazonaws.kinesis
import smithy4s.Hints
import smithy4s.Newtype
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.schema.Schema.bijection
import smithy4s.schema.Schema.list
object StreamNameList extends Newtype[List[StreamName]] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "StreamNameList")
val hints: Hints = Hints.empty
val underlyingSchema: Schema[List[StreamName]] = list(StreamName.schema).withId(id).addHints(hints)
implicit val schema: Schema[StreamNameList] = bijection(underlyingSchema, asBijection)
}