capabilities.work

Reschedule and Resync Data Source

A 3-step recipe with Amazon Kendra. We can help you get access.

Recipe · 3 steps

Reschedule and Resync Data Source

Update a data source schedule, start a sync, and wait for SUCCEEDED.

  1. Update the data source connector with its new recurring crawl schedule.
  2. Start an immediate on-demand sync so the updated configuration takes effect without waiting for the next scheduled window.
  3. Poll the sync job list until the most recent job leaves SYNCING and reports SUCCEEDED.
What you'll need to have ready
  • indexId: The identifier of the index that owns the data source.
  • dataSourceId: The identifier of the data source to reschedule and resync.
For your developer

Arazzo workflow amazon-kendra:reschedule-and-resync-data-source, 3 operations: UpdateDataSource → StartDataSourceSyncJob → ListDataSourceSyncJobs. Specs on APIs.io.