:doc:`KinesisVideo <../../kinesisvideo>` / Client / describe_stream_storage_configuration

*************************************
describe_stream_storage_configuration
*************************************



.. py:method:: KinesisVideo.Client.describe_stream_storage_configuration(**kwargs)

  

  Retrieves the current storage configuration for the specified Kinesis video stream.

   

  In the request, you must specify either the ``StreamName`` or the ``StreamARN``.

   

  You must have permissions for the ``KinesisVideo:DescribeStreamStorageConfiguration`` action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStreamStorageConfiguration>`_  


  **Request Syntax**
  ::

    response = client.describe_stream_storage_configuration(
        StreamName='string',
        StreamARN='string'
    )
    
  :type StreamName: string
  :param StreamName: 

    The name of the stream for which you want to retrieve the storage configuration.

    

  
  :type StreamARN: string
  :param StreamARN: 

    The Amazon Resource Name (ARN) of the stream for which you want to retrieve the storage configuration.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'StreamName': 'string',
          'StreamARN': 'string',
          'StreamStorageConfiguration': {
              'DefaultStorageTier': 'HOT'|'WARM'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **StreamName** *(string) --* 

        The name of the stream.

        
      

      - **StreamARN** *(string) --* 

        The Amazon Resource Name (ARN) of the stream.

        
      

      - **StreamStorageConfiguration** *(dict) --* 

        The current storage configuration for the stream, including the default storage tier and other storage-related settings.

        
        

        - **DefaultStorageTier** *(string) --* 

          The default storage tier for the stream data. This setting determines the storage class used for stream data, affecting both performance characteristics and storage costs.

           

          Available storage tiers:

           

          
          * ``HOT`` - Optimized for frequent access with the lowest latency and highest performance. Ideal for real-time applications and frequently accessed data.
           
          * ``WARM`` - Balanced performance and cost for moderately accessed data. Suitable for data that is accessed regularly but not continuously.
          

          
    
  
  **Exceptions**
  
  *   :py:class:`KinesisVideo.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.ClientLimitExceededException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.ResourceNotFoundException`

  