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

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

The newest version!
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(), ).lazily // constructor using the original order from the spec private def make(shardLimit: ShardCountObject, openShardCount: ShardCountObject, onDemandStreamCount: OnDemandStreamCountObject, onDemandStreamCountLimit: OnDemandStreamCountLimitObject): DescribeLimitsOutput = DescribeLimitsOutput(shardLimit, openShardCount, onDemandStreamCount, onDemandStreamCountLimit) 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.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy