:doc:`EventBridge <../../events>` / Client / list_tags_for_resource

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



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

  

  Displays the tags associated with an EventBridge resource. In EventBridge, rules and event buses can be tagged.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The ARN of the EventBridge resource for which you want to view tags.

    

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

    
    ::

      {
          'Tags': [
              {
                  'Key': 'string',
                  'Value': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The list of tag keys and values associated with the resource you specified

        
        

        - *(dict) --* 

          A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses support tagging.

          
          

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

            A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.

            
          

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

            The value for the specified tag key.

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

  
  *   :py:class:`EventBridge.Client.exceptions.InternalException`

  