Class: Aws::WAFRegional::Types::ByteMatchSetUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFRegional::Types::ByteMatchSetUpdate
- Defined in:
- gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb
Overview
When making an API call, you may pass ByteMatchSetUpdate data as a hash:
{
action: "INSERT", # required, accepts INSERT, DELETE
byte_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",
},
target_string: "data", # required
text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
},
}
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
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
Specifies whether to insert or delete a ByteMatchTuple.
-
#byte_match_tuple ⇒ Types::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.
Instance Attribute Details
#action ⇒ String
Specifies whether to insert or delete a ByteMatchTuple.
368 369 370 371 372 373 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 368 class ByteMatchSetUpdate < Struct.new( :action, :byte_match_tuple) SENSITIVE = [] include Aws::Structure end |
#byte_match_tuple ⇒ Types::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
.
368 369 370 371 372 373 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 368 class ByteMatchSetUpdate < Struct.new( :action, :byte_match_tuple) SENSITIVE = [] include Aws::Structure end |