NAME

Paws::WAFRegional::UpdateWebACL - Arguments for method UpdateWebACL on Paws::WAFRegional

DESCRIPTION

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

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

SYNOPSIS

   my $waf-regional = Paws->service('WAFRegional');
# To update a Web ACL
# The following example deletes an ActivatedRule object in a WebACL with the ID
# webacl-1472061481310.
   my $UpdateWebACLResponse = $waf -regional->UpdateWebACL(
     'ChangeToken'   => 'abcd12f2-46da-4fdb-b8d5-fbd4c466928f',
     'DefaultAction' => {
       'Type' => 'ALLOW'
     },
     'Updates' => [

       {
         'Action'        => 'DELETE',
         'ActivatedRule' => {
           'Action' => {
             'Type' => 'ALLOW'
           },
           'Priority' => 1,
           'RuleId'   => 'WAFRule-1-Example'
         }
       }
     ],
     'WebACLId' => 'webacl-1472061481310'
   );

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

   # Returns a L<Paws::WAFRegional::UpdateWebACLResponse> 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-regional/UpdateWebACL

ATTRIBUTES

REQUIRED ChangeToken => Str

The value returned by the most recent call to GetChangeToken.

DefaultAction => Paws::WAFRegional::WafAction

A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.

Updates => ArrayRef[Paws::WAFRegional::WebACLUpdate]

An array of updates to make to the WebACL.

An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

  • WebACLUpdate: Contains Action and ActivatedRule

  • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

  • WafAction: Contains Type

REQUIRED WebACLId => Str

The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateWebACL in Paws::WAFRegional

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