scala.com.amazonaws.kinesis.DescribeStreamOutput.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
package com.amazonaws.kinesis
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.struct
/** Represents the output for DescribeStream
.
* @param StreamDescription
* The current status of the stream, the stream Amazon Resource Name (ARN), an array of
* shard objects that comprise the stream, and whether there are more shards
* available.
*/
final case class DescribeStreamOutput(streamDescription: StreamDescription)
object DescribeStreamOutput extends ShapeTag.Companion[DescribeStreamOutput] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "DescribeStreamOutput")
val hints: Hints = Hints(
smithy.api.Documentation("Represents the output for DescribeStream
.
"),
smithy.api.Output(),
)
implicit val schema: Schema[DescribeStreamOutput] = struct(
StreamDescription.schema.required[DescribeStreamOutput]("StreamDescription", _.streamDescription).addHints(smithy.api.Documentation("The current status of the stream, the stream Amazon Resource Name (ARN), an array of\n shard objects that comprise the stream, and whether there are more shards\n available.
")),
){
DescribeStreamOutput.apply
}.withId(id).addHints(hints)
}