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
impl StructuralPartialEq for ByteMatchSetUpdate
Auto Trait Implementations§
impl Freeze for ByteMatchSetUpdate
impl RefUnwindSafe for ByteMatchSetUpdate
impl Send for ByteMatchSetUpdate
impl Sync for ByteMatchSetUpdate
impl Unpin for ByteMatchSetUpdate
impl UnwindSafe for ByteMatchSetUpdate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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