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.
Returns the SqlInjectionMatchSet that is specified by
SqlInjectionMatchSetId
.
wafregional_get_sql_injection_match_set(SqlInjectionMatchSetId)
[required] The SqlInjectionMatchSetId
of the SqlInjectionMatchSet that you want
to get. SqlInjectionMatchSetId
is returned by
create_sql_injection_match_set
and by
list_sql_injection_match_sets
.
A list with the following syntax:
list( SqlInjectionMatchSet = list( SqlInjectionMatchSetId = "string", Name = "string", SqlInjectionMatchTuples = list( list( FieldToMatch = list( Type = "URI"|"QUERY_STRING"|"HEADER"|"METHOD"|"BODY"|"SINGLE_QUERY_ARG"|"ALL_QUERY_ARGS", Data = "string" ), TextTransformation = "NONE"|"COMPRESS_WHITE_SPACE"|"HTML_ENTITY_DECODE"|"LOWERCASE"|"CMD_LINE"|"URL_DECODE" ) ) ) )
svc$get_sql_injection_match_set( SqlInjectionMatchSetId = "string" )
# NOT RUN {
# The following example returns the details of a SQL injection match set
# with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
svc$get_sql_injection_match_set(
SqlInjectionMatchSetId = "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab