StartIngestionJob
Source:
src/AWS/Bedrock/StartIngestionJob.ts
Runtime binding for bedrock-agent:StartIngestionJob — kick off an
ingestion (sync) job that reads the bound DataSource’s content
and indexes it into its knowledge base.
The binding grants the function bedrock:StartIngestionJob scoped to the
data source’s parent knowledge base. Poll the returned job with
GetIngestionJob until its status settles.
Syncing a Data Source
Section titled “Syncing a Data Source”// initconst startIngestionJob = yield* Bedrock.StartIngestionJob(dataSource);
// runtimeconst { ingestionJob } = yield* startIngestionJob({ description: "nightly refresh",});const jobId = ingestionJob.ingestionJobId;