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: ChangeActionSpecifies 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 ==.