Function aws_util::kinesis::list_shards[][src]

pub async fn list_shards(
    client: &KinesisClient,
    stream_name: &str
) -> Result<Vec<Shard>, Error>
Expand description

Wrapper around AWS Kinesis ListShards API.

Returns all shards in a given Kinesis stream, potentially paginating through a list of shards (greater than 100) using the next_token request parameter.

Does not currently handle any ListShards errors, will return all errors directly to the caller.