![]() |
![]()
| ![]() |
![]()
NAMEPaws::WAF::UpdateRule - Arguments for method UpdateRule on Paws::WAF DESCRIPTIONThis class represents the parameters used for calling the method UpdateRule on the AWS WAF service. Use the attributes of this class as arguments to method UpdateRule. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRule. SYNOPSISmy $waf = Paws->service('WAF'); # To update a rule # The following example deletes a Predicate object in a rule with the ID # example1ds3t-46da-4fdb-b8d5-abc321j569j5. my $UpdateRuleResponse = $waf->UpdateRule( 'ChangeToken' => 'abcd12f2-46da-4fdb-b8d5-fbd4c466928f', 'RuleId' => 'example1ds3t-46da-4fdb-b8d5-abc321j569j5', 'Updates' => [ { 'Action' => 'DELETE', 'Predicate' => { 'DataId' => 'MyByteMatchSetID', 'Negated' => 0, 'Type' => 'ByteMatch' } } ] ); # Results: my $ChangeToken = $UpdateRuleResponse->ChangeToken; # Returns a L<Paws::WAF::UpdateRuleResponse> 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/UpdateRule> ATTRIBUTESREQUIRED ChangeToken => StrThe value returned by the most recent call to GetChangeToken. REQUIRED RuleId => StrThe "RuleId" of the "Rule" that you want to update. "RuleId" is returned by "CreateRule" and by ListRules. REQUIRED Updates => ArrayRef[Paws::WAF::RuleUpdate]An array of "RuleUpdate" objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:
SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateRule 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>
|