smithy4s.smithy.rules.EndpointTestList.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kinesis4cats-smithy4s-client_3 Show documentation
Show all versions of kinesis4cats-smithy4s-client_3 Show documentation
Cats tooling for the Smithy4s Kinesis Client
The newest version!
package smithy.rules
import smithy4s.Hints
import smithy4s.Newtype
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.schema.Schema.bijection
import smithy4s.schema.Schema.list
/** A list of endpoint rule-set tests.
* @param member
* Describes an endpoint test case for validation of an endpoint rule-set.
*/
object EndpointTestList extends Newtype[List[EndpointTest]] {
val id: ShapeId = ShapeId("smithy.rules", "EndpointTestList")
val hints: Hints = Hints(
smithy.api.Documentation("A list of endpoint rule-set tests."),
smithy.api.Unstable(),
smithy.api.Private(),
).lazily
val underlyingSchema: Schema[List[EndpointTest]] = list(EndpointTest.schema).withId(id).addHints(hints)
implicit val schema: Schema[EndpointTestList] = bijection(underlyingSchema, asBijection)
}