Struct aws_sdk_iot::model::AuditCheckDetails
source · [−]#[non_exhaustive]pub struct AuditCheckDetails {
pub check_run_status: Option<AuditCheckRunStatus>,
pub check_compliant: Option<bool>,
pub total_resources_count: Option<i64>,
pub non_compliant_resources_count: Option<i64>,
pub suppressed_non_compliant_resources_count: Option<i64>,
pub error_code: Option<String>,
pub message: Option<String>,
}
Expand description
Information about the audit check.
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_run_status: Option<AuditCheckRunStatus>
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
check_compliant: Option<bool>
True if the check is complete and found all resources compliant.
total_resources_count: Option<i64>
The number of resources on which the check was performed.
non_compliant_resources_count: Option<i64>
The number of resources that were found noncompliant during the check.
suppressed_non_compliant_resources_count: Option<i64>
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
error_code: Option<String>
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
message: Option<String>
The message associated with any error encountered when this check is performed during this audit.
Implementations
sourceimpl AuditCheckDetails
impl AuditCheckDetails
sourcepub fn check_run_status(&self) -> Option<&AuditCheckRunStatus>
pub fn check_run_status(&self) -> Option<&AuditCheckRunStatus>
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
sourcepub fn check_compliant(&self) -> Option<bool>
pub fn check_compliant(&self) -> Option<bool>
True if the check is complete and found all resources compliant.
sourcepub fn total_resources_count(&self) -> Option<i64>
pub fn total_resources_count(&self) -> Option<i64>
The number of resources on which the check was performed.
sourcepub fn non_compliant_resources_count(&self) -> Option<i64>
pub fn non_compliant_resources_count(&self) -> Option<i64>
The number of resources that were found noncompliant during the check.
sourcepub fn suppressed_non_compliant_resources_count(&self) -> Option<i64>
pub fn suppressed_non_compliant_resources_count(&self) -> Option<i64>
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
sourceimpl AuditCheckDetails
impl AuditCheckDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AuditCheckDetails
Trait Implementations
sourceimpl Clone for AuditCheckDetails
impl Clone for AuditCheckDetails
sourcefn clone(&self) -> AuditCheckDetails
fn clone(&self) -> AuditCheckDetails
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 AuditCheckDetails
impl Debug for AuditCheckDetails
sourceimpl PartialEq<AuditCheckDetails> for AuditCheckDetails
impl PartialEq<AuditCheckDetails> for AuditCheckDetails
sourcefn eq(&self, other: &AuditCheckDetails) -> bool
fn eq(&self, other: &AuditCheckDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuditCheckDetails) -> bool
fn ne(&self, other: &AuditCheckDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AuditCheckDetails
Auto Trait Implementations
impl RefUnwindSafe for AuditCheckDetails
impl Send for AuditCheckDetails
impl Sync for AuditCheckDetails
impl Unpin for AuditCheckDetails
impl UnwindSafe for AuditCheckDetails
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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