:doc:`kendra <../../kendra>` / Client / start_data_source_sync_job

**************************
start_data_source_sync_job
**************************



.. py:method:: kendra.Client.start_data_source_sync_job(**kwargs)

  

  Starts a synchronization job for a data source connector. If a synchronization job is already in progress, Amazon Kendra returns a ``ResourceInUseException`` exception.

   

  Re-syncing your data source with your index after modifying, adding, or deleting documents from your data source respository could take up to an hour or more, depending on the number of documents to sync.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/StartDataSourceSyncJob>`_  


  **Request Syntax**
  ::

    response = client.start_data_source_sync_job(
        Id='string',
        IndexId='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The identifier of the data source connector to synchronize.

    

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

    The identifier of the index used with the data source connector.

    

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

    
    ::

      {
          'ExecutionId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ExecutionId** *(string) --* 

        Identifies a particular synchronization job.

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

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

  
  *   :py:class:`kendra.Client.exceptions.ResourceInUseException`

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

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

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

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

  