Struct aws_sdk_waf::types::RegexMatchSetUpdate
source · #[non_exhaustive]pub struct RegexMatchSetUpdate {
pub action: ChangeAction,
pub regex_match_tuple: Option<RegexMatchTuple>,
}
Expand description
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
In an UpdateRegexMatchSet
request, RegexMatchSetUpdate
specifies whether to insert or delete a RegexMatchTuple
and includes the settings for the RegexMatchTuple
.
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.action: ChangeAction
Specifies whether to insert or delete a RegexMatchTuple
.
regex_match_tuple: Option<RegexMatchTuple>
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action
, the RegexMatchTuple
values must exactly match the values in the RegexMatchTuple
that you want to delete from the RegexMatchSet
.
Implementations§
source§impl RegexMatchSetUpdate
impl RegexMatchSetUpdate
sourcepub fn action(&self) -> &ChangeAction
pub fn action(&self) -> &ChangeAction
Specifies whether to insert or delete a RegexMatchTuple
.
sourcepub fn regex_match_tuple(&self) -> Option<&RegexMatchTuple>
pub fn regex_match_tuple(&self) -> Option<&RegexMatchTuple>
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action
, the RegexMatchTuple
values must exactly match the values in the RegexMatchTuple
that you want to delete from the RegexMatchSet
.
source§impl RegexMatchSetUpdate
impl RegexMatchSetUpdate
sourcepub fn builder() -> RegexMatchSetUpdateBuilder
pub fn builder() -> RegexMatchSetUpdateBuilder
Creates a new builder-style object to manufacture RegexMatchSetUpdate
.
Trait Implementations§
source§impl Clone for RegexMatchSetUpdate
impl Clone for RegexMatchSetUpdate
source§fn clone(&self) -> RegexMatchSetUpdate
fn clone(&self) -> RegexMatchSetUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegexMatchSetUpdate
impl Debug for RegexMatchSetUpdate
source§impl PartialEq for RegexMatchSetUpdate
impl PartialEq for RegexMatchSetUpdate
source§fn eq(&self, other: &RegexMatchSetUpdate) -> bool
fn eq(&self, other: &RegexMatchSetUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegexMatchSetUpdate
Auto Trait Implementations§
impl Freeze for RegexMatchSetUpdate
impl RefUnwindSafe for RegexMatchSetUpdate
impl Send for RegexMatchSetUpdate
impl Sync for RegexMatchSetUpdate
impl Unpin for RegexMatchSetUpdate
impl UnwindSafe for RegexMatchSetUpdate
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more