Struct aws_sdk_waf::types::SqlInjectionMatchSet
source · #[non_exhaustive]pub struct SqlInjectionMatchSet {
pub sql_injection_match_set_id: Option<String>,
pub name: Option<String>,
pub sql_injection_match_tuples: Option<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: Option<String>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.
name: Option<String>The name, if any, of the SqlInjectionMatchSet.
sql_injection_match_tuples: Option<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) -> Option<&str>
pub fn sql_injection_match_set_id(&self) -> Option<&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) -> Option<&[SqlInjectionMatchTuple]>
pub fn sql_injection_match_tuples(&self) -> Option<&[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<SqlInjectionMatchSet> for SqlInjectionMatchSet
impl PartialEq<SqlInjectionMatchSet> for SqlInjectionMatchSet
source§fn eq(&self, other: &SqlInjectionMatchSet) -> bool
fn eq(&self, other: &SqlInjectionMatchSet) -> bool
self and other values to be equal, and is used
by ==.