Struct rusoto_config::Evaluation
source · [−]pub struct Evaluation {
pub annotation: Option<String>,
pub compliance_resource_id: String,
pub compliance_resource_type: String,
pub compliance_type: String,
pub ordering_timestamp: f64,
}
Expand description
Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.
Fields
annotation: Option<String>
Supplementary information about how the evaluation determined the compliance.
compliance_resource_id: String
The ID of the AWS resource that was evaluated.
compliance_resource_type: String
The type of AWS resource that was evaluated.
compliance_type: String
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the Evaluation
data type, AWS Config supports only the COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
values. AWS Config does not support the INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as the value for ComplianceType
from a PutEvaluations
request. For example, an AWS Lambda function for a custom AWS Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
ordering_timestamp: f64
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).
Trait Implementations
sourceimpl Clone for Evaluation
impl Clone for Evaluation
sourcefn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
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 Evaluation
impl Debug for Evaluation
sourceimpl Default for Evaluation
impl Default for Evaluation
sourcefn default() -> Evaluation
fn default() -> Evaluation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Evaluation
impl<'de> Deserialize<'de> for Evaluation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Evaluation> for Evaluation
impl PartialEq<Evaluation> for Evaluation
sourcefn eq(&self, other: &Evaluation) -> bool
fn eq(&self, other: &Evaluation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Evaluation) -> bool
fn ne(&self, other: &Evaluation) -> bool
This method tests for !=
.
sourceimpl Serialize for Evaluation
impl Serialize for Evaluation
impl StructuralPartialEq for Evaluation
Auto Trait Implementations
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnwindSafe for Evaluation
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