The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $waf = Paws->service('WAF');
    my $UpdateRegexMatchSetResponse = $waf->UpdateRegexMatchSet(
      ChangeToken     => 'MyChangeToken',
      RegexMatchSetId => 'MyResourceId',
      Updates         => [
        {
          Action          => 'INSERT',    # values: INSERT, DELETE
          RegexMatchTuple => {
            FieldToMatch => {
              Type => 'URI'
              , # values: URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
              Data => 'MyMatchFieldData',    # OPTIONAL
            },
            RegexPatternSetId  => 'MyResourceId',    # min: 1, max: 128
            TextTransformation => 'NONE'
            , # values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE

          },

        },
        ...
      ],

    );

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

    # Returns a L<Paws::WAF::UpdateRegexMatchSetResponse> 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/UpdateRegexMatchSet

ATTRIBUTES

REQUIRED ChangeToken => Str

The value returned by the most recent call to GetChangeToken.

REQUIRED RegexMatchSetId => Str

The RegexMatchSetId of the RegexMatchSet that you want to update. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

REQUIRED Updates => ArrayRef[Paws::WAF::RegexMatchSetUpdate]

An array of RegexMatchSetUpdate objects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateRegexMatchSet 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