All Downloads are FREE. Search and download functionalities are using the official Maven repository.

smithy4s.com.amazonaws.kinesis.ListStreamsOutput.scala Maven / Gradle / Ivy

There is a newer version: 0.0.32
Show newest version
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 ListStreams.

* @param StreamNames *

The names of the streams that are associated with the Amazon Web Services account * making the ListStreams request.

* @param HasMoreStreams *

If set to true, there are more streams available to list.

* @param NextToken *

* @param StreamSummaries *

*/ final case class ListStreamsOutput(streamNames: List[StreamName], hasMoreStreams: BooleanObject, nextToken: Option[NextToken] = None, streamSummaries: Option[List[StreamSummary]] = None) object ListStreamsOutput extends ShapeTag.Companion[ListStreamsOutput] { val id: ShapeId = ShapeId("com.amazonaws.kinesis", "ListStreamsOutput") val hints: Hints = Hints( smithy.api.Documentation("

Represents the output for ListStreams.

"), smithy.api.Output(), ).lazily // constructor using the original order from the spec private def make(streamNames: List[StreamName], hasMoreStreams: BooleanObject, nextToken: Option[NextToken], streamSummaries: Option[List[StreamSummary]]): ListStreamsOutput = ListStreamsOutput(streamNames, hasMoreStreams, nextToken, streamSummaries) implicit val schema: Schema[ListStreamsOutput] = struct( StreamNameList.underlyingSchema.required[ListStreamsOutput]("StreamNames", _.streamNames).addHints(smithy.api.Documentation("

The names of the streams that are associated with the Amazon Web Services account\n making the ListStreams request.

")), BooleanObject.schema.required[ListStreamsOutput]("HasMoreStreams", _.hasMoreStreams).addHints(smithy.api.Documentation("

If set to true, there are more streams available to list.

")), NextToken.schema.optional[ListStreamsOutput]("NextToken", _.nextToken).addHints(smithy.api.Documentation("

")), StreamSummaryList.underlyingSchema.optional[ListStreamsOutput]("StreamSummaries", _.streamSummaries).addHints(smithy.api.Documentation("

")), )(make).withId(id).addHints(hints) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy