Values.DataSourceSyncJobSourceProvides information about a data source synchronization job.
type nonrec t = {executionId : String_.t option;A identifier for the synchronization job.
*)startTime : Timestamp.t option;The Unix timestamp when the synchronization job started.
*)endTime : Timestamp.t option;The Unix timestamp when the synchronization job completed.
*)status : DataSourceSyncJobStatus.t option;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.
*)errorMessage : ErrorMessage.t option;If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.
*)errorCode : ErrorCode.t option;If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.
*)dataSourceErrorCode : String_.t option;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.
*)metrics : DataSourceSyncJobMetrics.t option;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.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of (string * [> `String of MetricValue.t ]) list
| `Timestamp of Timestamp.t ])
list ]