Struct aws_sdk_waf::types::ByteMatchSetUpdate
source · #[non_exhaustive]pub struct ByteMatchSetUpdate {
pub action: ChangeAction,
pub byte_match_tuple: Option<ByteMatchTuple>,
}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 UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple.
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 ByteMatchTuple.
byte_match_tuple: Option<ByteMatchTuple>Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
Implementations§
source§impl ByteMatchSetUpdate
impl ByteMatchSetUpdate
sourcepub fn action(&self) -> &ChangeAction
pub fn action(&self) -> &ChangeAction
Specifies whether to insert or delete a ByteMatchTuple.
sourcepub fn byte_match_tuple(&self) -> Option<&ByteMatchTuple>
pub fn byte_match_tuple(&self) -> Option<&ByteMatchTuple>
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
source§impl ByteMatchSetUpdate
impl ByteMatchSetUpdate
sourcepub fn builder() -> ByteMatchSetUpdateBuilder
pub fn builder() -> ByteMatchSetUpdateBuilder
Creates a new builder-style object to manufacture ByteMatchSetUpdate.
Trait Implementations§
source§impl Clone for ByteMatchSetUpdate
impl Clone for ByteMatchSetUpdate
source§fn clone(&self) -> ByteMatchSetUpdate
fn clone(&self) -> ByteMatchSetUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ByteMatchSetUpdate
impl Debug for ByteMatchSetUpdate
source§impl PartialEq for ByteMatchSetUpdate
impl PartialEq for ByteMatchSetUpdate
source§fn eq(&self, other: &ByteMatchSetUpdate) -> bool
fn eq(&self, other: &ByteMatchSetUpdate) -> bool
self and other values to be equal, and is used
by ==.