:doc:`LexModelsV2 <../../lexv2-models>` / Client / list_tags_for_resource

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



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

  

  Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource to get a list of tags for.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The tags associated with a resource.

        
        

        - *(string) --* 
          

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

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

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

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

  