Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DataSourceSyncJob = DataSourceSyncJob' {}
- newDataSourceSyncJob :: DataSourceSyncJob
- dataSourceSyncJob_dataSourceErrorCode :: Lens' DataSourceSyncJob (Maybe Text)
- dataSourceSyncJob_endTime :: Lens' DataSourceSyncJob (Maybe UTCTime)
- dataSourceSyncJob_errorCode :: Lens' DataSourceSyncJob (Maybe ErrorCode)
- dataSourceSyncJob_errorMessage :: Lens' DataSourceSyncJob (Maybe Text)
- dataSourceSyncJob_executionId :: Lens' DataSourceSyncJob (Maybe Text)
- dataSourceSyncJob_metrics :: Lens' DataSourceSyncJob (Maybe DataSourceSyncJobMetrics)
- dataSourceSyncJob_startTime :: Lens' DataSourceSyncJob (Maybe UTCTime)
- dataSourceSyncJob_status :: Lens' DataSourceSyncJob (Maybe DataSourceSyncJobStatus)
Documentation
data DataSourceSyncJob Source #
Provides information about a data source synchronization job.
See: newDataSourceSyncJob
smart constructor.
DataSourceSyncJob' | |
|
Instances
newDataSourceSyncJob :: DataSourceSyncJob Source #
Create a value of DataSourceSyncJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dataSourceErrorCode:DataSourceSyncJob'
, dataSourceSyncJob_dataSourceErrorCode
- 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.
$sel:endTime:DataSourceSyncJob'
, dataSourceSyncJob_endTime
- The UNIX datetime that the synchronization job completed.
$sel:errorCode:DataSourceSyncJob'
, dataSourceSyncJob_errorCode
- If the Status
field is set to FAILED
, the ErrorCode
field
indicates the reason the synchronization failed.
$sel:errorMessage:DataSourceSyncJob'
, dataSourceSyncJob_errorMessage
- If the Status
field is set to ERROR
, the ErrorMessage
field
contains a description of the error that caused the synchronization to
fail.
$sel:executionId:DataSourceSyncJob'
, dataSourceSyncJob_executionId
- A identifier for the synchronization job.
$sel:metrics:DataSourceSyncJob'
, dataSourceSyncJob_metrics
- 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.
$sel:startTime:DataSourceSyncJob'
, dataSourceSyncJob_startTime
- The UNIX datetime that the synchronization job started.
$sel:status:DataSourceSyncJob'
, dataSourceSyncJob_status
- 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.
dataSourceSyncJob_dataSourceErrorCode :: Lens' DataSourceSyncJob (Maybe Text) Source #
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.
dataSourceSyncJob_endTime :: Lens' DataSourceSyncJob (Maybe UTCTime) Source #
The UNIX datetime that the synchronization job completed.
dataSourceSyncJob_errorCode :: Lens' DataSourceSyncJob (Maybe ErrorCode) Source #
If the Status
field is set to FAILED
, the ErrorCode
field
indicates the reason the synchronization failed.
dataSourceSyncJob_errorMessage :: Lens' DataSourceSyncJob (Maybe Text) Source #
If the Status
field is set to ERROR
, the ErrorMessage
field
contains a description of the error that caused the synchronization to
fail.
dataSourceSyncJob_executionId :: Lens' DataSourceSyncJob (Maybe Text) Source #
A identifier for the synchronization job.
dataSourceSyncJob_metrics :: Lens' DataSourceSyncJob (Maybe DataSourceSyncJobMetrics) Source #
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.
dataSourceSyncJob_startTime :: Lens' DataSourceSyncJob (Maybe UTCTime) Source #
The UNIX datetime that the synchronization job started.
dataSourceSyncJob_status :: Lens' DataSourceSyncJob (Maybe DataSourceSyncJobStatus) Source #
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.