list_streams
¶
list_streams(
*,
config_overrides: Optional[KinesisVideoClientConfig] = None,
max_results: Optional[ListStreamsInputLimit] = None,
next_token: Optional[NextToken] = None,
stream_name_condition: Optional[StreamNameCondition] = None,
) -> ListStreamsOutput
Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition.
Parameters:
-
max_results(Optional[ListStreamsInputLimit], default:None) –The maximum number of streams to return in the response. The default is 10,000.
-
next_token(Optional[NextToken], default:None) –If you specify this parameter, when the result of a
ListStreamsoperation is truncated, the call returns theNextTokenin the response. To get another batch of streams, provide this token in your next request. -
stream_name_condition(Optional[StreamNameCondition], default:None) –Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
Raises:
-
ClientLimitExceededException–Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.
-
InvalidArgumentException–The value for this input parameter is invalid.
-
UnknownServiceError–The service returned an error code this client does not model.