#[non_exhaustive]pub struct ConformancePackEvaluationResult {
pub compliance_type: ConformancePackComplianceType,
pub evaluation_result_identifier: Option<EvaluationResultIdentifier>,
pub config_rule_invoked_time: DateTime,
pub result_recorded_time: DateTime,
pub annotation: Option<String>,
}Expand description
The details of a conformance pack evaluation. Provides Config rule and Amazon Web Services resource type that was evaluated, the compliance of the conformance pack, related time stamps, and supplementary information.
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.compliance_type: ConformancePackComplianceTypeThe compliance type. The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.
evaluation_result_identifier: Option<EvaluationResultIdentifier>Uniquely identifies an evaluation result.
config_rule_invoked_time: DateTimeThe time when Config rule evaluated Amazon Web Services resource.
result_recorded_time: DateTimeThe time when Config recorded the evaluation result.
annotation: Option<String>Supplementary information about how the evaluation determined the compliance.
Implementations§
source§impl ConformancePackEvaluationResult
impl ConformancePackEvaluationResult
sourcepub fn compliance_type(&self) -> &ConformancePackComplianceType
pub fn compliance_type(&self) -> &ConformancePackComplianceType
The compliance type. The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.
sourcepub fn evaluation_result_identifier(
&self,
) -> Option<&EvaluationResultIdentifier>
pub fn evaluation_result_identifier( &self, ) -> Option<&EvaluationResultIdentifier>
Uniquely identifies an evaluation result.
sourcepub fn config_rule_invoked_time(&self) -> &DateTime
pub fn config_rule_invoked_time(&self) -> &DateTime
The time when Config rule evaluated Amazon Web Services resource.
sourcepub fn result_recorded_time(&self) -> &DateTime
pub fn result_recorded_time(&self) -> &DateTime
The time when Config recorded the evaluation result.
sourcepub fn annotation(&self) -> Option<&str>
pub fn annotation(&self) -> Option<&str>
Supplementary information about how the evaluation determined the compliance.
source§impl ConformancePackEvaluationResult
impl ConformancePackEvaluationResult
sourcepub fn builder() -> ConformancePackEvaluationResultBuilder
pub fn builder() -> ConformancePackEvaluationResultBuilder
Creates a new builder-style object to manufacture ConformancePackEvaluationResult.
Trait Implementations§
source§impl Clone for ConformancePackEvaluationResult
impl Clone for ConformancePackEvaluationResult
source§fn clone(&self) -> ConformancePackEvaluationResult
fn clone(&self) -> ConformancePackEvaluationResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConformancePackEvaluationResult
impl PartialEq for ConformancePackEvaluationResult
source§fn eq(&self, other: &ConformancePackEvaluationResult) -> bool
fn eq(&self, other: &ConformancePackEvaluationResult) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConformancePackEvaluationResult
Auto Trait Implementations§
impl Freeze for ConformancePackEvaluationResult
impl RefUnwindSafe for ConformancePackEvaluationResult
impl Send for ConformancePackEvaluationResult
impl Sync for ConformancePackEvaluationResult
impl Unpin for ConformancePackEvaluationResult
impl UnwindSafe for ConformancePackEvaluationResult
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