Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Data Streams
    • All guides
    • Managing data streams
      • Creating a stream
      • Getting stream information
      • Sending data to a stream
      • Reading data from a stream
      • Deleting a stream
  • Access management
  • Pricing policy
  • FAQ
  1. Step-by-step guides
  2. Working with the AWS CLI
  3. Getting stream information

Getting stream information

Written by
Yandex Cloud
Updated at May 24, 2024
CLI

To get a description of the created stream, run the command:

aws kinesis describe-stream \
  --endpoint <endpoint> \
  --stream-name <stream_ID>
  • --endpoint: Specify the https://yds.serverless.yandexcloud.net endpoint to get information about the stream that data is sent to 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********/default if:

    • 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": ""
  }
}

Was the article helpful?

Previous
Creating a stream
Next
Sending data to a stream
© 2025 Direct Cursus Technology L.L.C.