Lists your Amazon Kinesis 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, Amazon Kinesis
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 5 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.
public abstract 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 (5).|
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