Struct aws_sdk_config::types::AggregatedSourceStatus
source · #[non_exhaustive]pub struct AggregatedSourceStatus {
pub source_id: Option<String>,
pub source_type: Option<AggregatedSourceType>,
pub aws_region: Option<String>,
pub last_update_status: Option<AggregatedSourceStatusType>,
pub last_update_time: Option<DateTime>,
pub last_error_code: Option<String>,
pub last_error_message: Option<String>,
}Expand description
The current sync status between the source and the aggregator account.
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.source_id: Option<String>The source account ID or an organization.
source_type: Option<AggregatedSourceType>The source account or an organization.
aws_region: Option<String>The region authorized to collect aggregated data.
last_update_status: Option<AggregatedSourceStatusType>Filters the last updated status type.
-
Valid value FAILED indicates errors while moving data.
-
Valid value SUCCEEDED indicates the data was successfully moved.
-
Valid value OUTDATED indicates the data is not the most recent.
last_update_time: Option<DateTime>The time of the last update.
last_error_code: Option<String>The error code that Config returned when the source account aggregation last failed.
last_error_message: Option<String>The message indicating that the source account aggregation failed due to an error.
Implementations§
source§impl AggregatedSourceStatus
impl AggregatedSourceStatus
sourcepub fn source_type(&self) -> Option<&AggregatedSourceType>
pub fn source_type(&self) -> Option<&AggregatedSourceType>
The source account or an organization.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The region authorized to collect aggregated data.
sourcepub fn last_update_status(&self) -> Option<&AggregatedSourceStatusType>
pub fn last_update_status(&self) -> Option<&AggregatedSourceStatusType>
Filters the last updated status type.
-
Valid value FAILED indicates errors while moving data.
-
Valid value SUCCEEDED indicates the data was successfully moved.
-
Valid value OUTDATED indicates the data is not the most recent.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The time of the last update.
sourcepub fn last_error_code(&self) -> Option<&str>
pub fn last_error_code(&self) -> Option<&str>
The error code that Config returned when the source account aggregation last failed.
sourcepub fn last_error_message(&self) -> Option<&str>
pub fn last_error_message(&self) -> Option<&str>
The message indicating that the source account aggregation failed due to an error.
source§impl AggregatedSourceStatus
impl AggregatedSourceStatus
sourcepub fn builder() -> AggregatedSourceStatusBuilder
pub fn builder() -> AggregatedSourceStatusBuilder
Creates a new builder-style object to manufacture AggregatedSourceStatus.
Trait Implementations§
source§impl Clone for AggregatedSourceStatus
impl Clone for AggregatedSourceStatus
source§fn clone(&self) -> AggregatedSourceStatus
fn clone(&self) -> AggregatedSourceStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AggregatedSourceStatus
impl Debug for AggregatedSourceStatus
source§impl PartialEq for AggregatedSourceStatus
impl PartialEq for AggregatedSourceStatus
source§fn eq(&self, other: &AggregatedSourceStatus) -> bool
fn eq(&self, other: &AggregatedSourceStatus) -> bool
self and other values to be equal, and is used
by ==.