Class: Aws::WAF::Types::UpdateByteMatchSetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAF::Types::UpdateByteMatchSetRequest
- Defined in:
- gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb
Overview
When making an API call, you may pass UpdateByteMatchSetRequest data as a hash:
{
byte_match_set_id: "ResourceId", # required
change_token: "ChangeToken", # required
updates: [ # required
{
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
},
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#byte_match_set_id ⇒ String
The
ByteMatchSetId
of the ByteMatchSet that you want to update. -
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
-
#updates ⇒ Array<Types::ByteMatchSetUpdate>
An array of
ByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet.
Instance Attribute Details
#byte_match_set_id ⇒ String
The ByteMatchSetId
of the ByteMatchSet that you want to update.
ByteMatchSetId
is returned by CreateByteMatchSet and by
ListByteMatchSets.
6097 6098 6099 6100 6101 6102 6103 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6097 class UpdateByteMatchSetRequest < Struct.new( :byte_match_set_id, :change_token, :updates) SENSITIVE = [] include Aws::Structure end |
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
6097 6098 6099 6100 6101 6102 6103 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6097 class UpdateByteMatchSetRequest < Struct.new( :byte_match_set_id, :change_token, :updates) SENSITIVE = [] include Aws::Structure end |
#updates ⇒ Array<Types::ByteMatchSetUpdate>
An array of ByteMatchSetUpdate
objects that you want to insert
into or delete from a ByteMatchSet. For more information, see the
applicable data types:
ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
FieldToMatch: Contains
Data
andType
6097 6098 6099 6100 6101 6102 6103 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6097 class UpdateByteMatchSetRequest < Struct.new( :byte_match_set_id, :change_token, :updates) SENSITIVE = [] include Aws::Structure end |