DataSourceSyncJob
import type { DataSourceSyncJob } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";
Provides information about a synchronization job.
interface DataSourceSyncJob {
DataSourceErrorCode?: string | null;
EndTime?: Date | number | null;
ErrorCode?: ErrorCode | null;
ErrorMessage?: string | null;
ExecutionId?: string | null;
Metrics?: DataSourceSyncJobMetrics | null;
StartTime?: Date | number | null;
Status?: DataSourceSyncJobStatus | null;
}§Properties
§
DataSourceErrorCode?: string | null
[src]If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
§
ErrorMessage?: string | null
[src]If the Status
field is set to ERROR
, the ErrorMessage
field contains a description of the error that caused the synchronization to fail.
§
Metrics?: DataSourceSyncJobMetrics | null
[src]Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.
§
Status?: DataSourceSyncJobStatus | null
[src]The execution status of the synchronization job.
When the Status
field is set to SUCCEEDED
, the synchronization job is done.
If the status code is set to FAILED
, the ErrorCode
and ErrorMessage
fields give you the reason for the failure.