scala.com.amazonaws.kinesis.DescribeLimitsOutput.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 ShardLimit
* The maximum number of shards.
* @param OpenShardCount
* The number of open shards.
* @param OnDemandStreamCount
* Indicates the number of data streams with the on-demand capacity mode.
* @param OnDemandStreamCountLimit
* The maximum number of data streams with the on-demand capacity mode.
*/
final case class DescribeLimitsOutput(shardLimit: ShardCountObject, openShardCount: ShardCountObject, onDemandStreamCount: OnDemandStreamCountObject, onDemandStreamCountLimit: OnDemandStreamCountLimitObject)
object DescribeLimitsOutput extends ShapeTag.Companion[DescribeLimitsOutput] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "DescribeLimitsOutput")
val hints: Hints = Hints(
smithy.api.Output(),
)
implicit val schema: Schema[DescribeLimitsOutput] = struct(
ShardCountObject.schema.required[DescribeLimitsOutput]("ShardLimit", _.shardLimit).addHints(smithy.api.Documentation("The maximum number of shards.
")),
ShardCountObject.schema.required[DescribeLimitsOutput]("OpenShardCount", _.openShardCount).addHints(smithy.api.Documentation("The number of open shards.
")),
OnDemandStreamCountObject.schema.required[DescribeLimitsOutput]("OnDemandStreamCount", _.onDemandStreamCount).addHints(smithy.api.Documentation(" Indicates the number of data streams with the on-demand capacity mode.
")),
OnDemandStreamCountLimitObject.schema.required[DescribeLimitsOutput]("OnDemandStreamCountLimit", _.onDemandStreamCountLimit).addHints(smithy.api.Documentation(" The maximum number of data streams with the on-demand capacity mode.
")),
){
DescribeLimitsOutput.apply
}.withId(id).addHints(hints)
}