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

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

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.

"), ).lazily // constructor using the original order from the spec private def make(streamMode: StreamMode): StreamModeDetails = StreamModeDetails(streamMode) 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.

")), )(make).withId(id).addHints(hints) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy