:doc:`CodeStarNotifications <../../codestar-notifications>` / Client / list_tags_for_resource

**********************
list_tags_for_resource
**********************



.. py:method:: CodeStarNotifications.Client.list_tags_for_resource(**kwargs)

  

  Returns a list of the tags associated with a notification rule.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTagsForResource>`_  


  **Request Syntax**
  ::

    response = client.list_tags_for_resource(
        Arn='string'
    )
    
  :type Arn: string
  :param Arn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) for the notification rule.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **Tags** *(dict) --* 

        The tags associated with the notification rule.

        
        

        - *(string) --* 
          

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

  
  *   :py:class:`CodeStarNotifications.Client.exceptions.ValidationException`

  