:doc:`CloudWatchLogs <../../logs>` / Client / list_tags_log_group

*******************
list_tags_log_group
*******************



.. py:method:: CloudWatchLogs.Client.list_tags_log_group(**kwargs)

  

  .. warning::

    

    The ListTagsLogGroup operation is on the path to deprecation. We recommend that you use `ListTagsForResource <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html>`__ instead.

     

   

  Lists the tags for the specified log group.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup>`_  


  **Request Syntax**
  ::

    response = client.list_tags_log_group(
        logGroupName='string'
    )
    
  :type logGroupName: string
  :param logGroupName: **[REQUIRED]** 

    The name of the log group.

    

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

    
    ::

      {
          'tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **tags** *(dict) --* 

        The tags for the log group.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceUnavailableException`

  