Class: Aws::WAF::Types::UpdateSqlInjectionMatchSetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAF::Types::UpdateSqlInjectionMatchSetRequest
- Defined in:
- gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb
Overview
When making an API call, you may pass UpdateSqlInjectionMatchSetRequest data as a hash:
{
sql_injection_match_set_id: "ResourceId", # required
change_token: "ChangeToken", # required
updates: [ # required
{
action: "INSERT", # required, accepts INSERT, DELETE
sql_injection_match_tuple: { # required
field_to_match: { # required
type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
data: "MatchFieldData",
},
text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
},
},
],
}
A request to update a SqlInjectionMatchSet.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
-
#sql_injection_match_set_id ⇒ String
The
SqlInjectionMatchSetId
of theSqlInjectionMatchSet
that you want to update. -
#updates ⇒ Array<Types::SqlInjectionMatchSetUpdate>
An array of
SqlInjectionMatchSetUpdate
objects that you want to insert into or delete from a SqlInjectionMatchSet.
Instance Attribute Details
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
6684 6685 6686 6687 6688 6689 6690 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6684 class UpdateSqlInjectionMatchSetRequest < Struct.new( :sql_injection_match_set_id, :change_token, :updates) SENSITIVE = [] include Aws::Structure end |
#sql_injection_match_set_id ⇒ String
The SqlInjectionMatchSetId
of the SqlInjectionMatchSet
that you
want to update. SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
6684 6685 6686 6687 6688 6689 6690 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6684 class UpdateSqlInjectionMatchSetRequest < Struct.new( :sql_injection_match_set_id, :change_token, :updates) SENSITIVE = [] include Aws::Structure end |
#updates ⇒ Array<Types::SqlInjectionMatchSetUpdate>
An array of SqlInjectionMatchSetUpdate
objects that you want to
insert into or delete from a SqlInjectionMatchSet. For more
information, see the applicable data types:
SqlInjectionMatchSetUpdate: Contains
Action
andSqlInjectionMatchTuple
SqlInjectionMatchTuple: Contains
FieldToMatch
andTextTransformation
FieldToMatch: Contains
Data
andType
6684 6685 6686 6687 6688 6689 6690 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6684 class UpdateSqlInjectionMatchSetRequest < Struct.new( :sql_injection_match_set_id, :change_token, :updates) SENSITIVE = [] include Aws::Structure end |