Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DataSourceSyncJobMetricTarget

import type { DataSourceSyncJobMetricTarget } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";

Maps a particular data source sync job to a particular data source.

interface DataSourceSyncJobMetricTarget {
DataSourceId: string;
DataSourceSyncJobId?: string | null;
}

§Properties

§
DataSourceId: string
[src]

The ID of the data source that is running the sync job.

§
DataSourceSyncJobId?: string | null
[src]

The ID of the sync job that is running on the data source.

If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.

If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.