:doc:`Firehose <../../firehose>` / Client / list_tags_for_delivery_stream

*****************************
list_tags_for_delivery_stream
*****************************



.. py:method:: Firehose.Client.list_tags_for_delivery_stream(**kwargs)

  

  Lists the tags for the specified Firehose stream. This operation has a limit of five transactions per second per account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListTagsForDeliveryStream>`_  


  **Request Syntax**
  ::

    response = client.list_tags_for_delivery_stream(
        DeliveryStreamName='string',
        ExclusiveStartTagKey='string',
        Limit=123
    )
    
  :type DeliveryStreamName: string
  :param DeliveryStreamName: **[REQUIRED]** 

    The name of the Firehose stream whose tags you want to list.

    

  
  :type ExclusiveStartTagKey: string
  :param ExclusiveStartTagKey: 

    The key to use as the starting point for the list of tags. If you set this parameter, ``ListTagsForDeliveryStream`` gets all tags that occur after ``ExclusiveStartTagKey``.

    

  
  :type Limit: integer
  :param Limit: 

    The number of tags to return. If this number is less than the total number of tags associated with the Firehose stream, ``HasMoreTags`` is set to ``true`` in the response. To list additional tags, set ``ExclusiveStartTagKey`` to the last key in the response.

    

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

    
    ::

      {
          'Tags': [
              {
                  'Key': 'string',
                  'Value': 'string'
              },
          ],
          'HasMoreTags': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Tags** *(list) --* 

        A list of tags associated with ``DeliveryStreamName``, starting with the first tag after ``ExclusiveStartTagKey`` and up to the specified ``Limit``.

        
        

        - *(dict) --* 

          Metadata that you can assign to a Firehose stream, consisting of a key-value pair.

          
          

          - **Key** *(string) --* 

            A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

            
          

          - **Value** *(string) --* 

            An optional string, which you can use to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

            
      
    
      

      - **HasMoreTags** *(boolean) --* 

        If this is ``true`` in the response, more tags are available. To list the remaining tags, set ``ExclusiveStartTagKey`` to the key of the last tag returned and call ``ListTagsForDeliveryStream`` again.

        
  
  **Exceptions**
  
  *   :py:class:`Firehose.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`Firehose.Client.exceptions.LimitExceededException`

  