kendra / Client / start_data_source_sync_job
start_data_source_sync_job#
- 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
Request Syntax
response = client.start_data_source_sync_job( Id='string', IndexId='string' )
- Parameters:
Id (string) –
[REQUIRED]
The identifier of the data source connector to synchronize.
IndexId (string) –
[REQUIRED]
The identifier of the index used with the data source connector.
- Return type:
dict
- Returns:
Response Syntax
{ 'ExecutionId': 'string' }
Response Structure
(dict) –
ExecutionId (string) –
Identifies a particular synchronization job.
Exceptions