scala.com.amazonaws.kinesis.StreamStatus.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_sjs1_3 Show documentation
Show all versions of kinesis4cats-smithy4s-client_sjs1_3 Show documentation
Cats tooling for the Smithy4s Kinesis Client
package com.amazonaws.kinesis
import smithy4s.Enumeration
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.enumeration
sealed abstract class StreamStatus(_value: String, _name: String, _intValue: Int, _hints: Hints) extends Enumeration.Value {
override type EnumType = StreamStatus
override val value: String = _value
override val name: String = _name
override val intValue: Int = _intValue
override val hints: Hints = _hints
override def enumeration: Enumeration[EnumType] = StreamStatus
@inline final def widen: StreamStatus = this
}
object StreamStatus extends Enumeration[StreamStatus] with ShapeTag.Companion[StreamStatus] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "StreamStatus")
val hints: Hints = Hints.empty
case object ACTIVE extends StreamStatus("ACTIVE", "ACTIVE", 2, Hints())
case object CREATING extends StreamStatus("CREATING", "CREATING", 0, Hints())
case object UPDATING extends StreamStatus("UPDATING", "UPDATING", 3, Hints())
case object DELETING extends StreamStatus("DELETING", "DELETING", 1, Hints())
val values: List[StreamStatus] = List(
ACTIVE,
CREATING,
UPDATING,
DELETING,
)
implicit val schema: Schema[StreamStatus] = enumeration(values).withId(id).addHints(hints)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy