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