:doc:`Proton <../../proton>` / Client / delete_template_sync_config

***************************
delete_template_sync_config
***************************



.. py:method:: Proton.Client.delete_template_sync_config(**kwargs)

  

  Delete a template sync configuration.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig>`_  


  **Request Syntax**
  ::

    response = client.delete_template_sync_config(
        templateName='string',
        templateType='ENVIRONMENT'|'SERVICE'
    )
    
  :type templateName: string
  :param templateName: **[REQUIRED]** 

    The template name.

    

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

    The template type.

    

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

    
    ::

      {
          'templateSyncConfig': {
              'branch': 'string',
              'repositoryName': 'string',
              'repositoryProvider': 'GITHUB'|'GITHUB_ENTERPRISE'|'BITBUCKET',
              'subdirectory': 'string',
              'templateName': 'string',
              'templateType': 'ENVIRONMENT'|'SERVICE'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **templateSyncConfig** *(dict) --* 

        The template sync configuration detail data that's returned by Proton.

        
        

        - **branch** *(string) --* 

          The repository branch.

          
        

        - **repositoryName** *(string) --* 

          The repository name (for example, ``myrepos/myrepo``).

          
        

        - **repositoryProvider** *(string) --* 

          The repository provider.

          
        

        - **subdirectory** *(string) --* 

          A subdirectory path to your template bundle version.

          
        

        - **templateName** *(string) --* 

          The template name.

          
        

        - **templateType** *(string) --* 

          The template type.

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

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

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

  
  *   :py:class:`Proton.Client.exceptions.ConflictException`

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

  
  *   :py:class:`Proton.Client.exceptions.InternalServerException`

  