:doc:`Kinesis <../../kinesis>` / Client / describe_limits

***************
describe_limits
***************



.. py:method:: Kinesis.Client.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 <https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits>`_  


  **Request Syntax**
  ::

    response = client.describe_limits()
    
    
  
  :rtype: 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**
  
  *   :py:class:`Kinesis.Client.exceptions.LimitExceededException`

  