Struct aws_sdk_config::model::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
sourceimpl 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.
sourceimpl AggregatedSourceStatus
impl AggregatedSourceStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AggregatedSourceStatus.
Trait Implementations
sourceimpl Clone for AggregatedSourceStatus
impl Clone for AggregatedSourceStatus
sourcefn clone(&self) -> AggregatedSourceStatus
fn clone(&self) -> AggregatedSourceStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AggregatedSourceStatus
impl Debug for AggregatedSourceStatus
sourceimpl PartialEq<AggregatedSourceStatus> for AggregatedSourceStatus
impl PartialEq<AggregatedSourceStatus> for AggregatedSourceStatus
sourcefn eq(&self, other: &AggregatedSourceStatus) -> bool
fn eq(&self, other: &AggregatedSourceStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AggregatedSourceStatus) -> bool
fn ne(&self, other: &AggregatedSourceStatus) -> bool
This method tests for !=.
impl StructuralPartialEq for AggregatedSourceStatus
Auto Trait Implementations
impl RefUnwindSafe for AggregatedSourceStatus
impl Send for AggregatedSourceStatus
impl Sync for AggregatedSourceStatus
impl Unpin for AggregatedSourceStatus
impl UnwindSafe for AggregatedSourceStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more