:doc:`PI <../../pi>` / Client / untag_resource

**************
untag_resource
**************



.. py:method:: PI.Client.untag_resource(**kwargs)

  

  Deletes the metadata tags from the Amazon RDS Performance Insights resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/UntagResource>`_  


  **Request Syntax**
  ::

    response = client.untag_resource(
        ServiceType='RDS'|'DOCDB',
        ResourceARN='string',
        TagKeys=[
            'string',
        ]
    )
    
  :type ServiceType: string
  :param ServiceType: **[REQUIRED]** 

    List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid value is ``RDS``.

    

  
  :type ResourceARN: string
  :param ResourceARN: **[REQUIRED]** 

    The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see `Constructing an RDS Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing>`__.

    

  
  :type TagKeys: list
  :param TagKeys: **[REQUIRED]** 

    The metadata assigned to an Amazon RDS Performance Insights resource consisting of a key-value pair.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`PI.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`PI.Client.exceptions.InternalServiceError`

  
  *   :py:class:`PI.Client.exceptions.NotAuthorizedException`

  