Struct aws_sdk_waf::types::SqlInjectionMatchSet
source · #[non_exhaustive]pub struct SqlInjectionMatchSet {
pub sql_injection_match_set_id: String,
pub name: Option<String>,
pub sql_injection_match_tuples: Vec<SqlInjectionMatchTuple>,
}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.
A complex type that contains SqlInjectionMatchTuple objects, which specify the parts of web requests that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a SqlInjectionMatchSet contains more than one SqlInjectionMatchTuple object, a request needs to include snippets of SQL code in only one of the specified parts of the request to be considered a match.
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.sql_injection_match_set_id: StringA unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
name: Option<String>The name, if any, of the SqlInjectionMatchSet.
sql_injection_match_tuples: Vec<SqlInjectionMatchTuple>Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
Implementations§
source§impl SqlInjectionMatchSet
impl SqlInjectionMatchSet
sourcepub fn sql_injection_match_set_id(&self) -> &str
pub fn sql_injection_match_set_id(&self) -> &str
A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
sourcepub fn sql_injection_match_tuples(&self) -> &[SqlInjectionMatchTuple]
pub fn sql_injection_match_tuples(&self) -> &[SqlInjectionMatchTuple]
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
source§impl SqlInjectionMatchSet
impl SqlInjectionMatchSet
sourcepub fn builder() -> SqlInjectionMatchSetBuilder
pub fn builder() -> SqlInjectionMatchSetBuilder
Creates a new builder-style object to manufacture SqlInjectionMatchSet.
Trait Implementations§
source§impl Clone for SqlInjectionMatchSet
impl Clone for SqlInjectionMatchSet
source§fn clone(&self) -> SqlInjectionMatchSet
fn clone(&self) -> SqlInjectionMatchSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SqlInjectionMatchSet
impl Debug for SqlInjectionMatchSet
source§impl PartialEq for SqlInjectionMatchSet
impl PartialEq for SqlInjectionMatchSet
impl StructuralPartialEq for SqlInjectionMatchSet
Auto Trait Implementations§
impl Freeze for SqlInjectionMatchSet
impl RefUnwindSafe for SqlInjectionMatchSet
impl Send for SqlInjectionMatchSet
impl Sync for SqlInjectionMatchSet
impl Unpin for SqlInjectionMatchSet
impl UnwindSafe for SqlInjectionMatchSet
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