Stops a currently running data ingestion job¶
Description¶
Stops a currently running data ingestion job. You can send a start_ingestion_job request again to ingest the rest of your data when you are ready.
Usage¶
Arguments¶
-
knowledgeBaseId[required] The unique identifier of the knowledge base for the data ingestion job you want to stop.
-
dataSourceId[required] The unique identifier of the data source for the data ingestion job you want to stop.
-
ingestionJobId[required] The unique identifier of the data ingestion job you want to stop.
Value¶
A list with the following syntax:
list(
ingestionJob = list(
knowledgeBaseId = "string",
dataSourceId = "string",
ingestionJobId = "string",
description = "string",
status = "STARTING"|"IN_PROGRESS"|"COMPLETE"|"FAILED"|"STOPPING"|"STOPPED",
statistics = list(
numberOfDocumentsScanned = 123,
numberOfMetadataDocumentsScanned = 123,
numberOfNewDocumentsIndexed = 123,
numberOfModifiedDocumentsIndexed = 123,
numberOfMetadataDocumentsModified = 123,
numberOfDocumentsDeleted = 123,
numberOfDocumentsFailed = 123,
numberOfDocumentsSkipped = 123
),
failureReasons = list(
"string"
),
startedAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
textReadyAt = as.POSIXct(
"2015-01-01"
)
)
)