Module Values.DataSourceSyncJobSource

Provides information about an Amazon Q Business data source connector synchronization job.

Sourcetype nonrec t = {
  1. executionId : ExecutionId.t option;
    (*

    The identifier of a data source synchronization job.

    *)
  2. startTime : Timestamp.t option;
    (*

    The Unix time stamp when the data source synchronization job started.

    *)
  3. endTime : Timestamp.t option;
    (*

    The Unix timestamp when the synchronization job completed.

    *)
  4. status : DataSourceSyncJobStatus.t option;
    (*

    The status of the synchronization job. When the Status field is set to SUCCEEDED, the synchronization job is done. If the status code is FAILED, the ErrorCode and ErrorMessage fields give you the reason for the failure.

    *)
  5. error : ErrorDetail.t option;
    (*

    If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.

    *)
  6. 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.

    *)
  7. 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.

    *)
}
Sourceval make : ?executionId:??? -> ?startTime:??? -> ?endTime:??? -> ?status:??? -> ?error:??? -> ?dataSourceErrorCode:??? -> ?metrics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ExecutionId.t | `Structure of (string * [> `Enum of string | `String of ErrorMessage.t ]) list | `Timestamp of Timestamp.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