scala.com.amazonaws.kinesis.UpdateShardCountOutput.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
package com.amazonaws.kinesis
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.struct
/** @param StreamName
* The name of the stream.
* @param CurrentShardCount
* The current number of shards.
* @param TargetShardCount
* The updated number of shards.
* @param StreamARN
* The ARN of the stream.
*/
final case class UpdateShardCountOutput(streamName: Option[StreamName] = None, currentShardCount: Option[PositiveIntegerObject] = None, targetShardCount: Option[PositiveIntegerObject] = None, streamARN: Option[StreamARN] = None)
object UpdateShardCountOutput extends ShapeTag.Companion[UpdateShardCountOutput] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "UpdateShardCountOutput")
val hints: Hints = Hints(
smithy.api.Output(),
)
implicit val schema: Schema[UpdateShardCountOutput] = struct(
StreamName.schema.optional[UpdateShardCountOutput]("StreamName", _.streamName).addHints(smithy.api.Documentation("The name of the stream.
")),
PositiveIntegerObject.schema.optional[UpdateShardCountOutput]("CurrentShardCount", _.currentShardCount).addHints(smithy.api.Documentation("The current number of shards.
")),
PositiveIntegerObject.schema.optional[UpdateShardCountOutput]("TargetShardCount", _.targetShardCount).addHints(smithy.api.Documentation("The updated number of shards.
")),
StreamARN.schema.optional[UpdateShardCountOutput]("StreamARN", _.streamARN).addHints(smithy.api.Documentation("The ARN of the stream.
")),
){
UpdateShardCountOutput.apply
}.withId(id).addHints(hints)
}