Skip to content

ListIngestionJobs

Source: src/AWS/Bedrock/ListIngestionJobs.ts

Runtime binding for bedrock-agent:ListIngestionJobs — list the ingestion jobs that have run against the bound DataSource, optionally filtered and sorted.

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

// init
const listIngestionJobs = yield* Bedrock.ListIngestionJobs(dataSource);
// runtime
const { ingestionJobSummaries } = yield* listIngestionJobs({
sortBy: { attribute: "STARTED_AT", order: "DESCENDING" },
maxResults: 10,
});