scala.com.amazonaws.kinesis.StreamModeDetails.scala Maven / Gradle / Ivy
Show all versions of kinesis4cats-smithy4s-client_3 Show documentation
package com.amazonaws.kinesis
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.struct
/** Specifies the capacity mode to which you want to set your data stream. Currently, in
* Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
* @param StreamMode
* Specifies the capacity mode to which you want to set your data stream. Currently, in
* Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
*/
final case class StreamModeDetails(streamMode: StreamMode)
object StreamModeDetails extends ShapeTag.Companion[StreamModeDetails] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "StreamModeDetails")
val hints: Hints = Hints(
smithy.api.Documentation(" Specifies the capacity mode to which you want to set your data stream. Currently, in\n Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
"),
)
implicit val schema: Schema[StreamModeDetails] = struct(
StreamMode.schema.required[StreamModeDetails]("StreamMode", _.streamMode).addHints(smithy.api.Documentation(" Specifies the capacity mode to which you want to set your data stream. Currently, in\n Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
")),
){
StreamModeDetails.apply
}.withId(id).addHints(hints)
}