| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WAFRegional::WebACLUpdate; | ||
| 3 | use Moose; | ||
| 4 | has Action => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ActivatedRule => (is => 'ro', isa => 'Paws::WAFRegional::ActivatedRule', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::WAFRegional::WebACLUpdate | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::WAFRegional::WebACLUpdate object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Action => $value, ..., ActivatedRule => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::WAFRegional::WebACLUpdate object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Action | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This is B<AWS WAF Classic> documentation. For more information, see AWS | ||
| 38 | WAF Classic | ||
| 39 | (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) | ||
| 40 | in the developer guide. | ||
| 41 | |||
| 42 | B<For the latest version of AWS WAF>, use the AWS WAFV2 API and see the | ||
| 43 | AWS WAF Developer Guide | ||
| 44 | (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). | ||
| 45 | With the latest version, AWS WAF has a single set of endpoints for | ||
| 46 | regional and global use. | ||
| 47 | |||
| 48 | Specifies whether to insert a C<Rule> into or delete a C<Rule> from a | ||
| 49 | C<WebACL>. | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> Action => Str | ||
| 55 | |||
| 56 | Specifies whether to insert a C<Rule> into or delete a C<Rule> from a | ||
| 57 | C<WebACL>. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> ActivatedRule => L<Paws::WAFRegional::ActivatedRule> | ||
| 61 | |||
| 62 | The C<ActivatedRule> object in an UpdateWebACL request specifies a | ||
| 63 | C<Rule> that you want to insert or delete, the priority of the C<Rule> | ||
| 64 | in the C<WebACL>, and the action that you want AWS WAF to take when a | ||
| 65 | web request matches the C<Rule> (C<ALLOW>, C<BLOCK>, or C<COUNT>). | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head1 SEE ALSO | ||
| 70 | |||
| 71 | This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional> | ||
| 72 | |||
| 73 | =head1 BUGS and CONTRIBUTIONS | ||
| 74 | |||
| 75 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 76 | |||
| 77 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 78 | |||
| 79 | =cut | ||
| 80 |