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
  • Access management
  • Pricing policy
    • Overview
    • All methods
      • CreateStream
      • DecreaseStreamRetentionPeriod
      • DeleteStream
      • DescribeStream
      • IncreaseStreamRetentionPeriod
      • GetRecords
      • GetShardIterator
      • ListStreams
      • PutRecord
      • PutRecords
      • UpdateShardCount
    • Common errors
    • Examples
  • FAQ

In this article:

  • Request
  • Request parameters
  • Response
  • Response parameters
  • Errors
  1. Amazon Kinesis Data Streams compatible HTTP API
  2. Methods
  3. DescribeStream

DescribeStream

Written by
Yandex Cloud
Updated at February 10, 2023
  • Request
    • Request parameters
  • Response
    • Response parameters
  • Errors

Returns information about a stream.

You can limit the number of shard descriptions returned by each method call using the Limit parameter.

RequestRequest

The request contains data in JSON format.

{
  "ExclusiveStartShardId": "string",
  "Limit": number,
  "StreamName": "string"
}

Request parametersRequest parameters

Parameter Description
ExclusiveStartShardId Shard ID. Information about stream shards is output starting from the shard following the specified one. By default, information is output starting from the first shard in the stream.

Type: Integer
Possible values: [a-zA-Z0-9_.-]+
Required: No
Limit The maximum number of shard descriptions returned per method call. If you specify a value greater than 100, the number of descriptions returned won't exceed 100.

Type: Integer
Possible values: 1-10000.
Default value: 100
Required: No
StreamName The name of the stream.

Type: String
Size: 1-128 characters.
Possible values: [a-zA-Z][a-zA-Z0-9-]+*(?<!-)$
Required: Yes

ResponseResponse

If successful, HTTP code 200 and data in JSON format are returned.

{
  "StreamDescription": {
    "EncryptionType": "string",
    "EnhancedMonitoring": [{
      "ShardLevelMetrics": ["string"]
    }],
    "HasMoreShards": boolean,
    "KeyId": "string",
    "RetentionPeriodHours": number,
    "Shards": [{
      "AdjacentParentShardId": "string",
      "HashKeyRange": {
        "EndingHashKey": "string",
        "StartingHashKey": "string"
      },
      "ParentShardId": "string",
      "SequenceNumberRange": {
        "EndingSequenceNumber": "string",
        "StartingSequenceNumber": "string"
      },
      "ShardId": "string"
    }],
    "StreamCreationTimestamp": number,
    "StreamName": "string",
    "StreamStatus": "string"
  }
}

Response parametersResponse parameters

Parameter Description
StreamDescription The status of a stream.

Type: The StreamDescription object

ErrorsErrors

Parameter Description HTTP code
LimitExceededException The request limit is exceeded. 400
ResourceNotFoundException The requested resource was not found. 400

Errors that are common to all methods may occur.

Was the article helpful?

Previous
DeleteStream
Next
IncreaseStreamRetentionPeriod
© 2025 Direct Cursus Technology L.L.C.