Module Values.DataSourceSyncJobMetricTargetSource

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

Sourcetype nonrec t = {
  1. dataSourceId : DataSourceId.t;
    (*

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

    *)
  2. dataSourceSyncJobId : DataSourceSyncJobId.t option;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?dataSourceSyncJobId:??? -> dataSourceId:DataSourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DataSourceId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t