:doc:`CloudWatchInternetMonitor <../../internetmonitor>` / Client / list_tags_for_resource

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



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

  

  Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) for a resource.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        Tags for a resource.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.NotFoundException`

  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.BadRequestException`

  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.InternalServerErrorException`

  