smithy4s.com.amazonaws.kinesis.DescribeStreamConsumerOutput.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_2.13 Show documentation
Show all versions of kinesis4cats-smithy4s-client_2.13 Show documentation
Cats tooling for the Smithy4s Kinesis Client
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 ConsumerDescription
* An object that represents the details of the consumer.
*/
final case class DescribeStreamConsumerOutput(consumerDescription: ConsumerDescription)
object DescribeStreamConsumerOutput extends ShapeTag.Companion[DescribeStreamConsumerOutput] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "DescribeStreamConsumerOutput")
val hints: Hints = Hints(
smithy.api.Output(),
).lazily
// constructor using the original order from the spec
private def make(consumerDescription: ConsumerDescription): DescribeStreamConsumerOutput = DescribeStreamConsumerOutput(consumerDescription)
implicit val schema: Schema[DescribeStreamConsumerOutput] = struct(
ConsumerDescription.schema.required[DescribeStreamConsumerOutput]("ConsumerDescription", _.consumerDescription).addHints(smithy.api.Documentation("An object that represents the details of the consumer.
")),
)(make).withId(id).addHints(hints)
}