:doc:`AuroraDSQL <../../dsql>` / Client / list_tags_for_resource

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



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

  

  Lists all of the tags for a resource.

  

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


  **Request Syntax**
  ::

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

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

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        A map of key and value pairs that you used to tag your resource.

        
        

        - *(string) --* 

          Unique tag key, maximum 128 Unicode characters in UTF-8.

          
          

          - *(string) --* 

            Tag value, maximum 256 Unicode characters in UTF-8.

            
    
  
  
  **Exceptions**
  
  *   :py:class:`AuroraDSQL.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`AuroraDSQL.Client.exceptions.InternalServerException`

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

  