Struct aws_sdk_qbusiness::types::DataSourceSyncJob
source · #[non_exhaustive]pub struct DataSourceSyncJob {
pub execution_id: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub status: Option<DataSourceSyncJobStatus>,
pub error: Option<ErrorDetail>,
pub data_source_error_code: Option<String>,
pub metrics: Option<DataSourceSyncJobMetrics>,
}Expand description
Provides information about an Amazon Q data source connector synchronization job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.execution_id: Option<String>The identifier of a data source synchronization job.
start_time: Option<DateTime>The Unix time stamp when the data source synchronization job started.
end_time: Option<DateTime>The Unix timestamp when the synchronization job completed.
status: Option<DataSourceSyncJobStatus>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.
error: Option<ErrorDetail>If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.
data_source_error_code: Option<String>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: Option<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.
Implementations§
source§impl DataSourceSyncJob
impl DataSourceSyncJob
sourcepub fn execution_id(&self) -> Option<&str>
pub fn execution_id(&self) -> Option<&str>
The identifier of a data source synchronization job.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The Unix time stamp when the data source synchronization job started.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The Unix timestamp when the synchronization job completed.
sourcepub fn status(&self) -> Option<&DataSourceSyncJobStatus>
pub fn status(&self) -> Option<&DataSourceSyncJobStatus>
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.
sourcepub fn error(&self) -> Option<&ErrorDetail>
pub fn error(&self) -> Option<&ErrorDetail>
If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.
sourcepub fn data_source_error_code(&self) -> Option<&str>
pub fn data_source_error_code(&self) -> Option<&str>
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.
sourcepub fn metrics(&self) -> Option<&DataSourceSyncJobMetrics>
pub fn metrics(&self) -> Option<&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.
source§impl DataSourceSyncJob
impl DataSourceSyncJob
sourcepub fn builder() -> DataSourceSyncJobBuilder
pub fn builder() -> DataSourceSyncJobBuilder
Creates a new builder-style object to manufacture DataSourceSyncJob.
Trait Implementations§
source§impl Clone for DataSourceSyncJob
impl Clone for DataSourceSyncJob
source§fn clone(&self) -> DataSourceSyncJob
fn clone(&self) -> DataSourceSyncJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSourceSyncJob
impl Debug for DataSourceSyncJob
source§impl PartialEq for DataSourceSyncJob
impl PartialEq for DataSourceSyncJob
source§fn eq(&self, other: &DataSourceSyncJob) -> bool
fn eq(&self, other: &DataSourceSyncJob) -> bool
self and other values to be equal, and is used
by ==.