NAME

Paws::WAF::UpdateSizeConstraintSet - Arguments for method UpdateSizeConstraintSet on Paws::WAF

DESCRIPTION

This class represents the parameters used for calling the method UpdateSizeConstraintSet on the AWS WAF service. Use the attributes of this class as arguments to method UpdateSizeConstraintSet.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSizeConstraintSet.

SYNOPSIS

my $waf = Paws->service('WAF');
# To update a size constraint set
# The following example deletes a SizeConstraint object (filters) in a size
# constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
my $UpdateSizeConstraintSetResponse = $waf->UpdateSizeConstraintSet(
  'ChangeToken'         => 'abcd12f2-46da-4fdb-b8d5-fbd4c466928f',
  'SizeConstraintSetId' => 'example1ds3t-46da-4fdb-b8d5-abc321j569j5',
  'Updates'             => [

    {
      'Action'         => 'DELETE',
      'SizeConstraint' => {
        'ComparisonOperator' => 'GT',
        'FieldToMatch'       => {
          'Type' => 'QUERY_STRING'
        },
        'Size'               => 0,
        'TextTransformation' => 'NONE'
      }
    }
  ]
);

# Results:
my $ChangeToken = $UpdateSizeConstraintSetResponse->ChangeToken;

# Returns a L<Paws::WAF::UpdateSizeConstraintSetResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/waf/UpdateSizeConstraintSet

ATTRIBUTES

REQUIRED ChangeToken => Str

The value returned by the most recent call to GetChangeToken.

REQUIRED SizeConstraintSetId => Str

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

REQUIRED Updates => ArrayRef[Paws::WAF::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

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateSizeConstraintSet in Paws::WAF

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues