Paws::WAF::UpdateWebACL - Arguments for method UpdateWebACL on Paws::WAF
This class represents the parameters used for calling the method UpdateWebACL on the AWS WAF 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.
my $waf = Paws->service('WAF'); # To update a Web ACL # The following example deletes an ActivatedRule object in a WebACL with the # ID webacl-1472061481310. my $UpdateWebACLResponse = $waf->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::WAF::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/UpdateWebACL
The value returned by the most recent call to GetChangeToken.
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.
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
WebACLUpdate: Contains Action and ActivatedRule
Action
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.
OverrideAction
Priority
RuleId
Type
ActivatedRule|OverrideAction
RuleGroup
WebACL
ActivatedRule|Action
WafAction: Contains Type
The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs.
WebACLId
This class forms part of Paws, documenting arguments for method UpdateWebACL in Paws::WAF
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.