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

smithy4s.com.amazonaws.kinesis.UpdateStreamModeInput.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

/** @param StreamARN
  *   

Specifies the ARN of the data stream whose capacity mode you want to update.

* @param StreamModeDetails *

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 UpdateStreamModeInput(streamARN: StreamARN, streamModeDetails: StreamModeDetails) object UpdateStreamModeInput extends ShapeTag.Companion[UpdateStreamModeInput] { val id: ShapeId = ShapeId("com.amazonaws.kinesis", "UpdateStreamModeInput") val hints: Hints = Hints( smithy.api.Input(), ).lazily // constructor using the original order from the spec private def make(streamARN: StreamARN, streamModeDetails: StreamModeDetails): UpdateStreamModeInput = UpdateStreamModeInput(streamARN, streamModeDetails) implicit val schema: Schema[UpdateStreamModeInput] = struct( StreamARN.schema.required[UpdateStreamModeInput]("StreamARN", _.streamARN).addHints(smithy.api.Documentation("

Specifies the ARN of the data stream whose capacity mode you want to update.

")), StreamModeDetails.schema.required[UpdateStreamModeInput]("StreamModeDetails", _.streamModeDetails).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