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 ==.impl StructuralPartialEq for AggregatedSourceStatus
Auto Trait Implementations§
impl Freeze for AggregatedSourceStatus
impl RefUnwindSafe for AggregatedSourceStatus
impl Send for AggregatedSourceStatus
impl Sync for AggregatedSourceStatus
impl Unpin for AggregatedSourceStatus
impl UnwindSafe for AggregatedSourceStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more