:doc:`WorkSpaces <../../workspaces>` / Client / describe_tags

*************
describe_tags
*************



.. py:method:: WorkSpaces.Client.describe_tags(**kwargs)

  

  Describes the specified tags for the specified WorkSpaces resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags>`_  


  **Request Syntax**
  ::

    response = client.describe_tags(
        ResourceId='string'
    )
    
  :type ResourceId: string
  :param ResourceId: **[REQUIRED]** 

    The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **TagList** *(list) --* 

        The tags.

        
        

        - *(dict) --* 

          Describes a tag.

          
          

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

            The key of the tag.

            
          

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

            The value of the tag.

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

  