Struct aws_sdk_config::types::EvaluationResult
source · #[non_exhaustive]pub struct EvaluationResult {
pub evaluation_result_identifier: Option<EvaluationResultIdentifier>,
pub compliance_type: Option<ComplianceType>,
pub result_recorded_time: Option<DateTime>,
pub config_rule_invoked_time: Option<DateTime>,
pub annotation: Option<String>,
pub result_token: Option<String>,
}Expand description
The details of an Config evaluation. Provides the Amazon Web Services resource that was evaluated, the compliance of the resource, 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.evaluation_result_identifier: Option<EvaluationResultIdentifier>Uniquely identifies the evaluation result.
compliance_type: Option<ComplianceType>Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.
For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.
result_recorded_time: Option<DateTime>The time when Config recorded the evaluation result.
config_rule_invoked_time: Option<DateTime>The time when the Config rule evaluated the Amazon Web Services resource.
annotation: Option<String>Supplementary information about how the evaluation determined the compliance.
result_token: Option<String>An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.
Implementations§
source§impl EvaluationResult
impl EvaluationResult
sourcepub fn evaluation_result_identifier(
&self,
) -> Option<&EvaluationResultIdentifier>
pub fn evaluation_result_identifier( &self, ) -> Option<&EvaluationResultIdentifier>
Uniquely identifies the evaluation result.
sourcepub fn compliance_type(&self) -> Option<&ComplianceType>
pub fn compliance_type(&self) -> Option<&ComplianceType>
Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.
For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.
sourcepub fn result_recorded_time(&self) -> Option<&DateTime>
pub fn result_recorded_time(&self) -> Option<&DateTime>
The time when Config recorded the evaluation result.
sourcepub fn config_rule_invoked_time(&self) -> Option<&DateTime>
pub fn config_rule_invoked_time(&self) -> Option<&DateTime>
The time when the Config rule evaluated the Amazon Web Services resource.
sourcepub fn annotation(&self) -> Option<&str>
pub fn annotation(&self) -> Option<&str>
Supplementary information about how the evaluation determined the compliance.
sourcepub fn result_token(&self) -> Option<&str>
pub fn result_token(&self) -> Option<&str>
An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.
source§impl EvaluationResult
impl EvaluationResult
sourcepub fn builder() -> EvaluationResultBuilder
pub fn builder() -> EvaluationResultBuilder
Creates a new builder-style object to manufacture EvaluationResult.
Trait Implementations§
source§impl Clone for EvaluationResult
impl Clone for EvaluationResult
source§fn clone(&self) -> EvaluationResult
fn clone(&self) -> EvaluationResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EvaluationResult
impl Debug for EvaluationResult
source§impl PartialEq for EvaluationResult
impl PartialEq for EvaluationResult
source§fn eq(&self, other: &EvaluationResult) -> bool
fn eq(&self, other: &EvaluationResult) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EvaluationResult
Auto Trait Implementations§
impl Freeze for EvaluationResult
impl RefUnwindSafe for EvaluationResult
impl Send for EvaluationResult
impl Sync for EvaluationResult
impl Unpin for EvaluationResult
impl UnwindSafe for EvaluationResult
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