You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAF::Types::UpdateSizeConstraintSetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAF::Types::UpdateSizeConstraintSetRequest
- Defined in:
- (unknown)
Overview
When passing UpdateSizeConstraintSetRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
size_constraint_set_id: "ResourceId", # required
change_token: "ChangeToken", # required
updates: [ # required
{
action: "INSERT", # required, accepts INSERT, DELETE
size_constraint: { # 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
comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
size: 1, # required
},
},
],
}
Instance Attribute Summary collapse
-
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
-
#size_constraint_set_id ⇒ String
The
SizeConstraintSetId
of the SizeConstraintSet that you want to update. -
#updates ⇒ Array<Types::SizeConstraintSetUpdate>
An array of
SizeConstraintSetUpdate
objects that you want to insert into or delete from a SizeConstraintSet.
Instance Attribute Details
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
#size_constraint_set_id ⇒ String
The SizeConstraintSetId
of the SizeConstraintSet that you want
to update. SizeConstraintSetId
is returned by
CreateSizeConstraintSet and by ListSizeConstraintSets.
#updates ⇒ Array<Types::SizeConstraintSetUpdate>
An array of SizeConstraintSetUpdate
objects that you want to insert
into or delete from a SizeConstraintSet. For more information,
see the applicable data types:
SizeConstraintSetUpdate: Contains
Action
andSizeConstraint
SizeConstraint: Contains
FieldToMatch
,TextTransformation
,ComparisonOperator
, andSize
FieldToMatch: Contains
Data
andType