Skip to content

Get Ingestion Job

bedrockagent_get_ingestion_job R Documentation

Gets information about a data ingestion job

Description

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.

Usage

bedrockagent_get_ingestion_job(dataSourceId, ingestionJobId,
  knowledgeBaseId)

Arguments

dataSourceId

[required] The unique identifier of the data source for the data ingestion job you want to get information on.

ingestionJobId

[required] The unique identifier of the data ingestion job you want to get information on.

knowledgeBaseId

[required] The unique identifier of the knowledge base for the data ingestion job you want to get information on.

Value

A list with the following syntax:

list(
  ingestionJob = list(
    dataSourceId = "string",
    description = "string",
    failureReasons = list(
      "string"
    ),
    ingestionJobId = "string",
    knowledgeBaseId = "string",
    startedAt = as.POSIXct(
      "2015-01-01"
    ),
    statistics = list(
      numberOfDocumentsDeleted = 123,
      numberOfDocumentsFailed = 123,
      numberOfDocumentsScanned = 123,
      numberOfMetadataDocumentsModified = 123,
      numberOfMetadataDocumentsScanned = 123,
      numberOfModifiedDocumentsIndexed = 123,
      numberOfNewDocumentsIndexed = 123
    ),
    status = "STARTING"|"IN_PROGRESS"|"COMPLETE"|"FAILED"|"STOPPING"|"STOPPED",
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_ingestion_job(
  dataSourceId = "string",
  ingestionJobId = "string",
  knowledgeBaseId = "string"
)