Struct aws_sdk_config::model::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
sourceimpl 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.
sourceimpl EvaluationResult
impl EvaluationResult
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EvaluationResult
Trait Implementations
sourceimpl Clone for EvaluationResult
impl Clone for EvaluationResult
sourcefn clone(&self) -> EvaluationResult
fn clone(&self) -> EvaluationResult
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 EvaluationResult
impl Debug for EvaluationResult
sourceimpl PartialEq<EvaluationResult> for EvaluationResult
impl PartialEq<EvaluationResult> for EvaluationResult
sourcefn eq(&self, other: &EvaluationResult) -> bool
fn eq(&self, other: &EvaluationResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EvaluationResult) -> bool
fn ne(&self, other: &EvaluationResult) -> bool
This method tests for !=.
impl StructuralPartialEq for EvaluationResult
Auto Trait Implementations
impl RefUnwindSafe for EvaluationResult
impl Send for EvaluationResult
impl Sync for EvaluationResult
impl Unpin for EvaluationResult
impl UnwindSafe for EvaluationResult
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