Struct aws_sdk_config::model::ConfigRuleComplianceFilters
source · [−]#[non_exhaustive]pub struct ConfigRuleComplianceFilters {
pub config_rule_name: Option<String>,
pub compliance_type: Option<ComplianceType>,
pub account_id: Option<String>,
pub aws_region: Option<String>,
}Expand description
Filters the compliance results based on account ID, region, compliance type, and rule name.
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.config_rule_name: Option<String>The name of the Config rule.
compliance_type: Option<ComplianceType>The rule compliance status.
For the ConfigRuleComplianceFilters data type, Config supports only COMPLIANT and NON_COMPLIANT. Config does not support the NOT_APPLICABLE and the INSUFFICIENT_DATA values.
account_id: Option<String>The 12-digit account ID of the source account.
aws_region: Option<String>The source region where the data is aggregated.
Implementations
sourceimpl ConfigRuleComplianceFilters
impl ConfigRuleComplianceFilters
sourcepub fn config_rule_name(&self) -> Option<&str>
pub fn config_rule_name(&self) -> Option<&str>
The name of the Config rule.
sourcepub fn compliance_type(&self) -> Option<&ComplianceType>
pub fn compliance_type(&self) -> Option<&ComplianceType>
The rule compliance status.
For the ConfigRuleComplianceFilters data type, Config supports only COMPLIANT and NON_COMPLIANT. Config does not support the NOT_APPLICABLE and the INSUFFICIENT_DATA values.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The 12-digit account ID of the source account.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The source region where the data is aggregated.
sourceimpl ConfigRuleComplianceFilters
impl ConfigRuleComplianceFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConfigRuleComplianceFilters
Trait Implementations
sourceimpl Clone for ConfigRuleComplianceFilters
impl Clone for ConfigRuleComplianceFilters
sourcefn clone(&self) -> ConfigRuleComplianceFilters
fn clone(&self) -> ConfigRuleComplianceFilters
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 ConfigRuleComplianceFilters
impl Debug for ConfigRuleComplianceFilters
sourceimpl PartialEq<ConfigRuleComplianceFilters> for ConfigRuleComplianceFilters
impl PartialEq<ConfigRuleComplianceFilters> for ConfigRuleComplianceFilters
sourcefn eq(&self, other: &ConfigRuleComplianceFilters) -> bool
fn eq(&self, other: &ConfigRuleComplianceFilters) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConfigRuleComplianceFilters) -> bool
fn ne(&self, other: &ConfigRuleComplianceFilters) -> bool
This method tests for !=.
impl StructuralPartialEq for ConfigRuleComplianceFilters
Auto Trait Implementations
impl RefUnwindSafe for ConfigRuleComplianceFilters
impl Send for ConfigRuleComplianceFilters
impl Sync for ConfigRuleComplianceFilters
impl Unpin for ConfigRuleComplianceFilters
impl UnwindSafe for ConfigRuleComplianceFilters
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