:doc:`FraudDetector <../../frauddetector>` / Client / list_tags_for_resource

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



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

  

  Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The ARN that specifies the resource whose tags you want to list.

    

  
  :type nextToken: string
  :param nextToken: 

    The next token from the previous results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of objects to return for the request.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        A collection of key and value pairs.

        
        

        - *(dict) --* 

          A key and value pair.

          
          

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

            A tag key.

            
          

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

            A value assigned to a tag key.

            
      
    
      

      - **nextToken** *(string) --* 

        The next token for subsequent requests.

        
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ValidationException`

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

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

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

  