:doc:`SWF <../../swf>` / Client / list_tags_for_resource

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



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

  

  List tags for a given domain.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/swf-2012-01-25/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) for the Amazon SWF domain.

    

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

    
    ::

      {
          'tags': [
              {
                  'key': 'string',
                  'value': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **tags** *(list) --* 

        An array of tags associated with the domain.

        
        

        - *(dict) --* 

          Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.

           

          Tags may only contain unicode letters, digits, whitespace, or these symbols: ``_ . : / = + - @``.

          
          

          - **key** *(string) --* 

            The key of a tag.

            
          

          - **value** *(string) --* 

            The value of a tag.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`SWF.Client.exceptions.UnknownResourceFault`

  
  *   :py:class:`SWF.Client.exceptions.LimitExceededFault`

  
  *   :py:class:`SWF.Client.exceptions.OperationNotPermittedFault`

  