CmdID / aws / aws kinesis
aws kinesis list-tags-for-stream
Lists the tags for the specified Kinesis data stream. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To list tags for a data stream
The following list-tags-for-stream example lists the tags attached to the specified data stream.
aws kinesis list-tags-for-stream --stream-name samplestreamIdentify--stream-nameThe name of the stream.Its output
{
"Tags": [
{
"Key": "samplekey",
"Value": "example"
}
],
"HasMoreTags": false
}For more information, see Tagging Your Streams in the Amazon Kinesis Data Streams Developer Guide.
Options
--exclusive-start-tag-keyThe key to use as the starting point for the list of tags.--limitThe number of tags to return.--stream-arnThe ARN of the stream.--stream-idNot Implemented.--stream-nameThe name of the stream.