Skip to content

StopIngestionJob

Source: src/AWS/Bedrock/StopIngestionJob.ts

Runtime binding for bedrock-agent:StopIngestionJob — stop an in-flight ingestion job on the bound DataSource.

The binding grants the function bedrock:StopIngestionJob scoped to the data source’s parent knowledge base.

// init
const stopIngestionJob = yield* Bedrock.StopIngestionJob(dataSource);
// runtime
const { ingestionJob } = yield* stopIngestionJob({
ingestionJobId: jobId,
});