start_data_source_sync_job

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.

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.ValidationException
  • kendra.Client.exceptions.ResourceNotFoundException
  • kendra.Client.exceptions.ResourceInUseException
  • kendra.Client.exceptions.ThrottlingException
  • kendra.Client.exceptions.AccessDeniedException
  • kendra.Client.exceptions.ConflictException
  • kendra.Client.exceptions.InternalServerException