Struct aws_sdk_wafv2::types::LoggingFilter
source · #[non_exhaustive]pub struct LoggingFilter {
pub filters: Vec<Filter>,
pub default_behavior: FilterBehavior,
}
Expand description
Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration
.
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.filters: Vec<Filter>
The filters that you want to apply to the logs.
default_behavior: FilterBehavior
Default handling for logs that don't match any of the specified filtering conditions.
Implementations§
source§impl LoggingFilter
impl LoggingFilter
sourcepub fn default_behavior(&self) -> &FilterBehavior
pub fn default_behavior(&self) -> &FilterBehavior
Default handling for logs that don't match any of the specified filtering conditions.
source§impl LoggingFilter
impl LoggingFilter
sourcepub fn builder() -> LoggingFilterBuilder
pub fn builder() -> LoggingFilterBuilder
Creates a new builder-style object to manufacture LoggingFilter
.
Trait Implementations§
source§impl Clone for LoggingFilter
impl Clone for LoggingFilter
source§fn clone(&self) -> LoggingFilter
fn clone(&self) -> LoggingFilter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoggingFilter
impl Debug for LoggingFilter
source§impl PartialEq for LoggingFilter
impl PartialEq for LoggingFilter
source§fn eq(&self, other: &LoggingFilter) -> bool
fn eq(&self, other: &LoggingFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingFilter
Auto Trait Implementations§
impl Freeze for LoggingFilter
impl RefUnwindSafe for LoggingFilter
impl Send for LoggingFilter
impl Sync for LoggingFilter
impl Unpin for LoggingFilter
impl UnwindSafe for LoggingFilter
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.