Class: Aws::WAF::Types::UpdateSizeConstraintSetRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-waf/types.rb

Overview

Note:

When making an API call, you may pass UpdateSizeConstraintSetRequest data as a 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
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)

6613
6614
6615
6616
6617
6618
6619
# File 'lib/aws-sdk-waf/types.rb', line 6613

class UpdateSizeConstraintSetRequest < Struct.new(
  :size_constraint_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#size_constraint_set_idString

The `SizeConstraintSetId` of the SizeConstraintSet that you want to update. `SizeConstraintSetId` is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

Returns:

  • (String)

6613
6614
6615
6616
6617
6618
6619
# File 'lib/aws-sdk-waf/types.rb', line 6613

class UpdateSizeConstraintSetRequest < Struct.new(
  :size_constraint_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#updatesArray<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` and `SizeConstraint`

  • SizeConstraint: Contains `FieldToMatch`, `TextTransformation`, `ComparisonOperator`, and `Size`

  • FieldToMatch: Contains `Data` and `Type`

Returns:


6613
6614
6615
6616
6617
6618
6619
# File 'lib/aws-sdk-waf/types.rb', line 6613

class UpdateSizeConstraintSetRequest < Struct.new(
  :size_constraint_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end