CmdID / aws / aws kinesis
aws kinesis list-shards
Lists the shards in a stream and provides information about each shard. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--exclusive-start-shard-idSpecify this parameter to indicate that you want to list the shards starting with the shard whose ID immediately follows ExclusiveStartShardId.--max-resultsThe maximum number of shards to return in a single call to ListShards.--next-tokenWhen the number of shards in the data stream is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of shards in the data stream, the response includes a pagination token named NextToken.--shard-filterEnables you to filter out the response of the ListShards API.--stream-arnThe ARN of the stream.--stream-creation-timestampSpecify this input parameter to distinguish data streams that have the same name.--stream-idNot Implemented.--stream-nameThe name of the data stream whose shards you want to list.