Struct aws_sdk_iot::types::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§
source§impl 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".
source§impl AuditCheckDetails
impl AuditCheckDetails
sourcepub fn builder() -> AuditCheckDetailsBuilder
pub fn builder() -> AuditCheckDetailsBuilder
Creates a new builder-style object to manufacture AuditCheckDetails
.
Trait Implementations§
source§impl Clone for AuditCheckDetails
impl Clone for AuditCheckDetails
source§fn clone(&self) -> AuditCheckDetails
fn clone(&self) -> AuditCheckDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuditCheckDetails
impl Debug for AuditCheckDetails
source§impl PartialEq for AuditCheckDetails
impl PartialEq for AuditCheckDetails
source§fn eq(&self, other: &AuditCheckDetails) -> bool
fn eq(&self, other: &AuditCheckDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuditCheckDetails
Auto Trait Implementations§
impl Freeze for AuditCheckDetails
impl RefUnwindSafe for AuditCheckDetails
impl Send for AuditCheckDetails
impl Sync for AuditCheckDetails
impl Unpin for AuditCheckDetails
impl UnwindSafe for AuditCheckDetails
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> 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