:doc:`FSx <../../fsx>` / Client / untag_resource

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



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

  

  This action removes a tag from an Amazon FSx resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UntagResource>`_  


  **Request Syntax**
  ::

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

    The ARN of the Amazon FSx resource to untag.

    

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

    A list of keys of tags on the resource to untag. In case the tag key doesn't exist, the call will still succeed to be idempotent.

    

  
    - *(string) --* 

      A string of 1 to 128 characters that specifies the key for a tag. Tag keys must be unique for the resource to which they are attached.

      

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      The response object for ``UntagResource`` action.

      
  
  **Exceptions**
  
  *   :py:class:`FSx.Client.exceptions.BadRequest`

  
  *   :py:class:`FSx.Client.exceptions.InternalServerError`

  
  *   :py:class:`FSx.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`FSx.Client.exceptions.NotServiceResourceError`

  
  *   :py:class:`FSx.Client.exceptions.ResourceDoesNotSupportTagging`

  

  **Examples**

  This operation untags an Amazon FSx resource.
  ::

    response = client.untag_resource(
        ResourceARN='arn:aws:fsx:us-east-1:012345678912:file-system/fs-0498eed5fe91001ec',
        TagKeys=[
            'Name',
        ],
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  