| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WAFV2::AllowAction; | ||
| 3 | use Moose; | ||
| 4 | has CustomRequestHandling => (is => 'ro', isa => 'Paws::WAFV2::CustomRequestHandling'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::WAFV2::AllowAction | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::WAFV2::AllowAction object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { CustomRequestHandling => $value, ..., CustomRequestHandling => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::WAFV2::AllowAction object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->CustomRequestHandling | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Specifies that WAF should allow the request and optionally defines | ||
| 37 | additional custom handling for the request. | ||
| 38 | |||
| 39 | This is used in the context of other settings, for example to specify | ||
| 40 | values for RuleAction and web ACL DefaultAction. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 CustomRequestHandling => L<Paws::WAFV2::CustomRequestHandling> | ||
| 46 | |||
| 47 | Defines custom handling for the web request. | ||
| 48 | |||
| 49 | For information about customizing web requests and responses, see | ||
| 50 | Customizing web requests and responses in WAF | ||
| 51 | (https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) | ||
| 52 | in the WAF Developer Guide | ||
| 53 | (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | =head1 SEE ALSO | ||
| 58 | |||
| 59 | This class forms part of L<Paws>, describing an object used in L<Paws::WAFV2> | ||
| 60 | |||
| 61 | =head1 BUGS and CONTRIBUTIONS | ||
| 62 | |||
| 63 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 64 | |||
| 65 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 66 | |||
| 67 | =cut | ||
| 68 |