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
ResourceInUseExceptionexception.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
kendra.Client.exceptions.ValidationExceptionkendra.Client.exceptions.ResourceNotFoundExceptionkendra.Client.exceptions.ResourceInUseExceptionkendra.Client.exceptions.ThrottlingExceptionkendra.Client.exceptions.AccessDeniedExceptionkendra.Client.exceptions.ConflictExceptionkendra.Client.exceptions.InternalServerException