Struct aws_sdk_config::model::ExternalEvaluation
source · [−]#[non_exhaustive]pub struct ExternalEvaluation {
pub compliance_resource_type: Option<String>,
pub compliance_resource_id: Option<String>,
pub compliance_type: Option<ComplianceType>,
pub annotation: Option<String>,
pub ordering_timestamp: Option<DateTime>,
}Expand description
Identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that it was evaluated against.
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_resource_type: Option<String>The evaluated compliance resource type. Config accepts AWS::::Account resource type.
compliance_resource_id: Option<String>The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.
compliance_type: Option<ComplianceType>The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
annotation: Option<String>Supplementary information about the reason of compliance. For example, this task was completed on a specific date.
ordering_timestamp: Option<DateTime>The time when the compliance was recorded.
Implementations
sourceimpl ExternalEvaluation
impl ExternalEvaluation
sourcepub fn compliance_resource_type(&self) -> Option<&str>
pub fn compliance_resource_type(&self) -> Option<&str>
The evaluated compliance resource type. Config accepts AWS::::Account resource type.
sourcepub fn compliance_resource_id(&self) -> Option<&str>
pub fn compliance_resource_id(&self) -> Option<&str>
The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.
sourcepub fn compliance_type(&self) -> Option<&ComplianceType>
pub fn compliance_type(&self) -> Option<&ComplianceType>
The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
sourcepub fn annotation(&self) -> Option<&str>
pub fn annotation(&self) -> Option<&str>
Supplementary information about the reason of compliance. For example, this task was completed on a specific date.
sourcepub fn ordering_timestamp(&self) -> Option<&DateTime>
pub fn ordering_timestamp(&self) -> Option<&DateTime>
The time when the compliance was recorded.
sourceimpl ExternalEvaluation
impl ExternalEvaluation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExternalEvaluation
Trait Implementations
sourceimpl Clone for ExternalEvaluation
impl Clone for ExternalEvaluation
sourcefn clone(&self) -> ExternalEvaluation
fn clone(&self) -> ExternalEvaluation
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 ExternalEvaluation
impl Debug for ExternalEvaluation
sourceimpl PartialEq<ExternalEvaluation> for ExternalEvaluation
impl PartialEq<ExternalEvaluation> for ExternalEvaluation
sourcefn eq(&self, other: &ExternalEvaluation) -> bool
fn eq(&self, other: &ExternalEvaluation) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ExternalEvaluation) -> bool
fn ne(&self, other: &ExternalEvaluation) -> bool
This method tests for !=.
impl StructuralPartialEq for ExternalEvaluation
Auto Trait Implementations
impl RefUnwindSafe for ExternalEvaluation
impl Send for ExternalEvaluation
impl Sync for ExternalEvaluation
impl Unpin for ExternalEvaluation
impl UnwindSafe for ExternalEvaluation
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