:doc:`DataSync <../../datasync>` / Client / untag_resource

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



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

  

  Removes tags from an Amazon Web Services resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UntagResource>`_  


  **Request Syntax**
  ::

    response = client.untag_resource(
        ResourceArn='string',
        Keys=[
            'string',
        ]
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    Specifies the Amazon Resource Name (ARN) of the resource to remove the tags from.

    

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

    Specifies the keys in the tags that you want to remove.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DataSync.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`DataSync.Client.exceptions.InternalException`

  