:doc:`IoTTwinMaker <../../iottwinmaker>` / Client / delete_sync_job

***************
delete_sync_job
***************



.. py:method:: IoTTwinMaker.Client.delete_sync_job(**kwargs)

  

  Delete the SyncJob.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteSyncJob>`_  


  **Request Syntax**
  ::

    response = client.delete_sync_job(
        workspaceId='string',
        syncSource='string'
    )
    
  :type workspaceId: string
  :param workspaceId: **[REQUIRED]** 

    The workspace ID.

    

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

    The sync source.

     

    .. note::

      

      Currently the only supported syncSource is ``SITEWISE ``.

      

    

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

    
    ::

      {
          'state': 'CREATING'|'INITIALIZING'|'ACTIVE'|'DELETING'|'ERROR'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **state** *(string) --* 

        The SyncJob response state.

        
  
  **Exceptions**
  
  *   :py:class:`IoTTwinMaker.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.ValidationException`

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.ServiceQuotaExceededException`

  