Struct aws_sdk_support::model::TrustedAdvisorCheckSummary
source · [−]#[non_exhaustive]pub struct TrustedAdvisorCheckSummary {
pub check_id: Option<String>,
pub timestamp: Option<String>,
pub status: Option<String>,
pub has_flagged_resources: bool,
pub resources_summary: Option<TrustedAdvisorResourcesSummary>,
pub category_specific_summary: Option<TrustedAdvisorCategorySpecificSummary>,
}
Expand description
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
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.check_id: Option<String>
The unique identifier for the Trusted Advisor check.
timestamp: Option<String>
The time of the last refresh of the check.
status: Option<String>
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
has_flagged_resources: bool
Specifies whether the Trusted Advisor check has flagged resources.
resources_summary: Option<TrustedAdvisorResourcesSummary>
Details about Amazon Web Services resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries
.
category_specific_summary: Option<TrustedAdvisorCategorySpecificSummary>
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
Implementations
sourceimpl TrustedAdvisorCheckSummary
impl TrustedAdvisorCheckSummary
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
sourcepub fn has_flagged_resources(&self) -> bool
pub fn has_flagged_resources(&self) -> bool
Specifies whether the Trusted Advisor check has flagged resources.
sourcepub fn resources_summary(&self) -> Option<&TrustedAdvisorResourcesSummary>
pub fn resources_summary(&self) -> Option<&TrustedAdvisorResourcesSummary>
Details about Amazon Web Services resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries
.
sourcepub fn category_specific_summary(
&self
) -> Option<&TrustedAdvisorCategorySpecificSummary>
pub fn category_specific_summary(
&self
) -> Option<&TrustedAdvisorCategorySpecificSummary>
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
sourceimpl TrustedAdvisorCheckSummary
impl TrustedAdvisorCheckSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrustedAdvisorCheckSummary
.
Trait Implementations
sourceimpl Clone for TrustedAdvisorCheckSummary
impl Clone for TrustedAdvisorCheckSummary
sourcefn clone(&self) -> TrustedAdvisorCheckSummary
fn clone(&self) -> TrustedAdvisorCheckSummary
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 TrustedAdvisorCheckSummary
impl Debug for TrustedAdvisorCheckSummary
sourceimpl PartialEq<TrustedAdvisorCheckSummary> for TrustedAdvisorCheckSummary
impl PartialEq<TrustedAdvisorCheckSummary> for TrustedAdvisorCheckSummary
sourcefn eq(&self, other: &TrustedAdvisorCheckSummary) -> bool
fn eq(&self, other: &TrustedAdvisorCheckSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TrustedAdvisorCheckSummary) -> bool
fn ne(&self, other: &TrustedAdvisorCheckSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for TrustedAdvisorCheckSummary
Auto Trait Implementations
impl RefUnwindSafe for TrustedAdvisorCheckSummary
impl Send for TrustedAdvisorCheckSummary
impl Sync for TrustedAdvisorCheckSummary
impl Unpin for TrustedAdvisorCheckSummary
impl UnwindSafe for TrustedAdvisorCheckSummary
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