smithy4s.com.amazonaws.kinesis.DescribeStreamSummaryOutput.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 StreamDescriptionSummary
* A StreamDescriptionSummary containing information about the
* stream.
*/
final case class DescribeStreamSummaryOutput(streamDescriptionSummary: StreamDescriptionSummary)
object DescribeStreamSummaryOutput extends ShapeTag.Companion[DescribeStreamSummaryOutput] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "DescribeStreamSummaryOutput")
val hints: Hints = Hints(
smithy.api.Output(),
).lazily
// constructor using the original order from the spec
private def make(streamDescriptionSummary: StreamDescriptionSummary): DescribeStreamSummaryOutput = DescribeStreamSummaryOutput(streamDescriptionSummary)
implicit val schema: Schema[DescribeStreamSummaryOutput] = struct(
StreamDescriptionSummary.schema.required[DescribeStreamSummaryOutput]("StreamDescriptionSummary", _.streamDescriptionSummary).addHints(smithy.api.Documentation("A StreamDescriptionSummary containing information about the\n stream.
")),
)(make).withId(id).addHints(hints)
}