describe_limits

describe_limits()

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 one transaction per second per account.

See also: AWS API Documentation

Request Syntax

response = client.describe_limits()
Return type
dict
Returns
Response Syntax
{
    'ShardLimit': 123,
    'OpenShardCount': 123,
    'OnDemandStreamCount': 123,
    'OnDemandStreamCountLimit': 123
}

Response Structure

  • (dict) --
    • ShardLimit (integer) --

      The maximum number of shards.

    • OpenShardCount (integer) --

      The number of open shards.

    • OnDemandStreamCount (integer) --

      Indicates the number of data streams with the on-demand capacity mode.

    • OnDemandStreamCountLimit (integer) --

      The maximum number of data streams with the on-demand capacity mode.

Exceptions

  • Kinesis.Client.exceptions.LimitExceededException