Getting stream information
Written by
Updated at July 15, 2025
CLI
To get a description of the stream you created, run this command:
aws kinesis describe-stream \
--endpoint <endpoint> \
--stream-name <stream_ID>
-
--endpoint: Specify thehttps://yds.serverless.yandexcloud.netendpoint to get information about a stream that receives data over the AWS Kinesis Data Streams protocol. -
--stream-name: Consists of the availability zone, cloud ID, Yandex Managed Service for YDB database ID, and stream name.For example, your stream ID will appear as
/ru-central1/b1gvlrnlei4l********/etn780rpm7e5********/defaultif:ru-central1: Region.b1gvlrnlei4l********: Cloud ID.etn780rpm7e5********: YDB database ID.default: Stream name.
Command example:
aws kinesis describe-stream \
--endpoint https://yds.serverless.yandexcloud.net \
--stream-name /ru-central1/b1gvlrnlei4l********/etn780rpm7e5********/default
Result:
{
"StreamDescription": {
"Shards": [
{
"ShardId": "shard-000000",
"ParentShardId": "",
"AdjacentParentShardId": "",
"HashKeyRange": {
"StartingHashKey": "0",
"EndingHashKey": "113427455640312821154458202477256070484"
},
"SequenceNumberRange": {
"StartingSequenceNumber": "0",
"EndingSequenceNumber": ""
}
}],
"StreamARN": null,
"StreamName": "aws_stream",
"StreamStatus": "ACTIVE",
"RetentionPeriodHours": 24,
"EnhancedMonitoring": null,
"EncryptionType": "ENCRYPTION_UNDEFINED",
"KeyId": "",
"StreamCreationTimestamp": ""
}
}