Amazon Kinesis Streams Service API Reference
API Reference (API Version 2013-12-02)


Describes the shard limits and usage for the account.

If you update your account limits, the old limits might be returned for a few minutes.

This operation has a limit of 1 transaction per second per account.

Response Syntax

{ "OpenShardCount": number, "ShardLimit": number }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


The number of open shards.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 1000000.


The maximum number of shards.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 1000000.


For information about the errors that are common to all actions, see Common Errors.


The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

HTTP Status Code: 400


To display the shard limits for the account

The following example displays the shard limits for the account.

Sample Request

POST / HTTP/1.1 Host: kinesis.<region>.<domain> Content-Length: <PayloadSizeBytes> User-Agent: <UserAgentString> Content-Type: application/x-amz-json-1.1 Authorization: <AuthParams> Connection: Keep-Alive X-Amz-Date: <Date> X-Amz-Target: Kinesis_20131202.DescribeLimits

Sample Response

HTTP/1.1 200 OK x-amzn-RequestId: <RequestId> Content-Type: application/x-amz-json-1.1 Content-Length: <PayloadSizeBytes> Date: <Date> { "OpenShardCount": 20, "ShardLimit": 70 }

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: