StartDataSourceSyncJob
Source:
src/AWS/Kendra/StartDataSourceSyncJob.ts
Runtime binding for the StartDataSourceSyncJob operation (IAM action
kendra:StartDataSourceSyncJob), scoped to one DataSource.
Starts an on-demand sync of the data source into its index — the
programmatic alternative to the data source’s cron schedule. Fails
with ResourceInUseException while another sync is already running.
Provide the implementation with
Effect.provide(AWS.Kendra.StartDataSourceSyncJobHttp).
Syncing Data Sources
Section titled “Syncing Data Sources”const startSync = yield* AWS.Kendra.StartDataSourceSyncJob(source);
const { ExecutionId } = yield* startSync();