All Downloads are FREE. Search and download functionalities are using the official Maven repository.

smithy4s.com.amazonaws.kinesis.ShardIdList.scala Maven / Gradle / Ivy

The newest version!
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 ShardIdList extends Newtype[List[ShardId]] {
  val id: ShapeId = ShapeId("com.amazonaws.kinesis", "ShardIdList")
  val hints: Hints = Hints.empty
  val underlyingSchema: Schema[List[ShardId]] = list(ShardId.schema).withId(id).addHints(hints)
  implicit val schema: Schema[ShardIdList] = bijection(underlyingSchema, asBijection)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy