:doc:`UserNotificationsContacts <../../notificationscontacts>` / Client / list_tags_for_resource

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



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

  

  Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/notificationscontacts-2018-05-10/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The ARN you specified to list the tags of.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`UserNotificationsContacts.Client.exceptions.InternalServerException`

  
  *   :py:class:`UserNotificationsContacts.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`UserNotificationsContacts.Client.exceptions.ThrottlingException`

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

  