scala.com.amazonaws.kinesis.ListStreamsInput.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 input for ListStreams
.
* @param Limit
* The maximum number of streams to list. The default value is 100. If you specify a
* value greater than 100, at most 100 results are returned.
* @param ExclusiveStartStreamName
* The name of the stream to start the list with.
* @param NextToken
*
*/
final case class ListStreamsInput(limit: Option[ListStreamsInputLimit] = None, exclusiveStartStreamName: Option[StreamName] = None, nextToken: Option[NextToken] = None)
object ListStreamsInput extends ShapeTag.Companion[ListStreamsInput] {
val id: ShapeId = ShapeId("com.amazonaws.kinesis", "ListStreamsInput")
val hints: Hints = Hints(
smithy.api.Documentation("Represents the input for ListStreams
.
"),
smithy.api.Input(),
)
implicit val schema: Schema[ListStreamsInput] = struct(
ListStreamsInputLimit.schema.optional[ListStreamsInput]("Limit", _.limit).addHints(smithy.api.Documentation("The maximum number of streams to list. The default value is 100. If you specify a\n value greater than 100, at most 100 results are returned.
")),
StreamName.schema.optional[ListStreamsInput]("ExclusiveStartStreamName", _.exclusiveStartStreamName).addHints(smithy.api.Documentation("The name of the stream to start the list with.
")),
NextToken.schema.optional[ListStreamsInput]("NextToken", _.nextToken).addHints(smithy.api.Documentation("")),
){
ListStreamsInput.apply
}.withId(id).addHints(hints)
}