amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.DataSourceSyncJob

Description

 
Synopsis

Documentation

data DataSourceSyncJob Source #

Provides information about a data source synchronization job.

See: newDataSourceSyncJob smart constructor.

Constructors

DataSourceSyncJob' 

Fields

  • dataSourceErrorCode :: Maybe Text

    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.

  • endTime :: Maybe POSIX

    The UNIX datetime that the synchronization job completed.

  • errorCode :: Maybe ErrorCode

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

  • errorMessage :: Maybe Text

    If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.

  • executionId :: Maybe Text

    A identifier for the synchronization job.

  • metrics :: Maybe DataSourceSyncJobMetrics

    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.

  • startTime :: Maybe POSIX

    The UNIX datetime that the synchronization job started.

  • status :: Maybe DataSourceSyncJobStatus

    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.

Instances

Instances details
FromJSON DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

Generic DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

Associated Types

type Rep DataSourceSyncJob :: Type -> Type #

Read DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

Show DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

NFData DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

Methods

rnf :: DataSourceSyncJob -> () #

Eq DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

Hashable DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

type Rep DataSourceSyncJob Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceSyncJob

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.