Skip to main content

ingestion_jobs

Creates, updates, deletes, gets or lists an ingestion_jobs resource.

Overview

Nameingestion_jobs
TypeResource
Idaws.bedrock_agent.ingestion_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
data_source_idstringThe unique identifier of the data source for the data ingestion job. (pattern: <code>[0-9a-zA-Z]{10}</code>)
descriptionstringThe description of the data ingestion job.
failure_reasonsarrayA list of reasons that the data ingestion job failed.
ingestion_job_idstringThe unique identifier of the data ingestion job. (pattern: <code>[0-9a-zA-Z]{10}</code>)
knowledge_base_idstringThe unique identifier of the knowledge for the data ingestion job. (pattern: <code>[0-9a-zA-Z]{10}</code>)
started_atstring (date-time)The time the data ingestion job started. If you stop a data ingestion job, the startedAt time is the time the job was started before the job was stopped.
statisticsobjectContains statistics about the data ingestion job.
statusstringThe status of the data ingestion job. (STARTING, IN_PROGRESS, COMPLETE, FAILED, STOPPING, STOPPED)
updated_atstring (date-time)The time the data ingestion job was last updated. If you stop a data ingestion job, the updatedAt time is the time the job was stopped.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ingestion_jobselectknowledge_base_id, data_source_id, ingestion_job_id, regionGets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
list_ingestion_jobsselectknowledge_base_id, data_source_id, regionLists the data ingestion jobs for a data source. The list also includes information about each job.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
data_source_idstringThe unique identifier of the data source for the list of data ingestion jobs.
ingestion_job_idstringThe unique identifier of the data ingestion job you want to get information on.
knowledge_base_idstringThe unique identifier of the knowledge base for the list of data ingestion jobs.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.

SELECT
data_source_id,
description,
failure_reasons,
ingestion_job_id,
knowledge_base_id,
started_at,
statistics,
status,
updated_at
FROM aws.bedrock_agent.ingestion_jobs
WHERE knowledge_base_id = '{{ knowledge_base_id }}' -- required
AND data_source_id = '{{ data_source_id }}' -- required
AND ingestion_job_id = '{{ ingestion_job_id }}' -- required
AND region = '{{ region }}' -- required
;