Lists your Kinesis data streams.
The number of streams may be too large to return from a single call to
You can limit the number of returned streams using the
If you do not specify a value for the
Limit parameter, Kinesis Data Streams
uses the default limit, which is currently 10.
You can detect if there are more streams available to list by using the
flag from the returned output. If there are more streams available, you can request
more streams by using the name of the last stream returned by the
request in the
ExclusiveStartStreamName parameter in a subsequent request
ListStreams. The group of stream names returned by the subsequent
request is then added to the list. You can continue this process until all the stream
names have been collected in the list.
ListStreams has a limit of five transactions per second per account.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginListStreams and EndListStreams. For Unity the operation does not take CancellationToken as a parameter, and instead takes AmazonServiceCallback<ListStreamsRequest, ListStreamsResponse> and AsyncOptions as additional parameters.
public virtual Task<ListStreamsResponse> ListStreamsAsync( CancellationToken cancellationToken )
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|LimitExceededException||The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.|
Supported in: 1.3
Supported in: 4.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone