:doc:`LexModelBuildingService <../../lex-models>` / Client / list_tags_for_resource

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



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

  

  Gets a list of tags associated with the specified 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/lex-models-2017-04-19/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': [
              {
                  'key': 'string',
                  'value': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The tags associated with a resource.

        
        

        - *(dict) --* 

          A list of key/value pairs that identify a bot, bot alias, or bot channel. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.

          
          

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

            The key for the tag. Keys are not case-sensitive and must be unique.

            
          

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

            The value associated with a key. The value may be an empty string but it can't be null.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`LexModelBuildingService.Client.exceptions.NotFoundException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.BadRequestException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.InternalFailureException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.LimitExceededException`

  