![]() |
![]()
| ![]() |
![]()
NAMEPaws::WAF::UpdateWebACL - Arguments for method UpdateWebACL on Paws::WAF DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED ChangeToken => StrThe value returned by the most recent call to GetChangeToken. DefaultAction => Paws::WAF::WafActionA 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::WAF::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:
REQUIRED WebACLId => StrThe "WebACLId" of the WebACL that you want to update. "WebACLId" is returned by CreateWebACL and by ListWebACLs. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateWebACL in Paws::WAF BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|