smithy4s.com.amazonaws.kinesis.DescribeStreamConsumerOutput.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 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)
}