:doc:`ResourceGroups <../../resource-groups>` / Client / cancel_tag_sync_task

********************
cancel_tag_sync_task
********************



.. py:method:: ResourceGroups.Client.cancel_tag_sync_task(**kwargs)

  

  Cancels the specified tag-sync task.

   

  **Minimum permissions**

   

  To run this command, you must have the following permissions:

   

  
  * ``resource-groups:CancelTagSyncTask`` on the application group
   
  * ``resource-groups:DeleteGroup``
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/CancelTagSyncTask>`_  


  **Request Syntax**
  ::

    response = client.cancel_tag_sync_task(
        TaskArn='string'
    )
    
  :type TaskArn: string
  :param TaskArn: **[REQUIRED]** 

    The Amazon resource name (ARN) of the tag-sync task.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ResourceGroups.Client.exceptions.UnauthorizedException`

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

  
  *   :py:class:`ResourceGroups.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.MethodNotAllowedException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.InternalServerErrorException`

  