blib/lib/Paws/WAFRegional/SampledHTTPRequest.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::WAFRegional::SampledHTTPRequest;
3 use Moose;
4 has Action => (is => 'ro', isa => 'Str');
5 has Request => (is => 'ro', isa => 'Paws::WAFRegional::HTTPRequest', required => 1);
6 has RuleWithinRuleGroup => (is => 'ro', isa => 'Str');
7 has Timestamp => (is => 'ro', isa => 'Str');
8 has Weight => (is => 'ro', isa => 'Int', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::WAFRegional::SampledHTTPRequest
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::WAFRegional::SampledHTTPRequest object:
28  
29 $service_obj->Method(Att1 => { Action => $value, ..., Weight => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::WAFRegional::SampledHTTPRequest object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Action
37  
38 =head1 DESCRIPTION
39  
40 This is B<AWS WAF Classic> documentation. For more information, see AWS
41 WAF Classic
42 (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html)
43 in the developer guide.
44  
45 B<For the latest version of AWS WAF>, use the AWS WAFV2 API and see the
46 AWS WAF Developer Guide
47 (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html).
48 With the latest version, AWS WAF has a single set of endpoints for
49 regional and global use.
50  
51 The response from a GetSampledRequests request includes a
52 C<SampledHTTPRequests> complex type that appears as C<SampledRequests>
53 in the response syntax. C<SampledHTTPRequests> contains one
54 C<SampledHTTPRequest> object for each web request that is returned by
55 C<GetSampledRequests>.
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 Action => Str
61  
62 The action for the C<Rule> that the request matched: C<ALLOW>,
63 C<BLOCK>, or C<COUNT>.
64  
65  
66 =head2 B<REQUIRED> Request => L<Paws::WAFRegional::HTTPRequest>
67  
68 A complex type that contains detailed information about the request.
69  
70  
71 =head2 RuleWithinRuleGroup => Str
72  
73 This value is returned if the C<GetSampledRequests> request specifies
74 the ID of a C<RuleGroup> rather than the ID of an individual rule.
75 C<RuleWithinRuleGroup> is the rule within the specified C<RuleGroup>
76 that matched the request listed in the response.
77  
78  
79 =head2 Timestamp => Str
80  
81 The time at which AWS WAF received the request from your AWS resource,
82 in Unix time format (in seconds).
83  
84  
85 =head2 B<REQUIRED> Weight => Int
86  
87 A value that indicates how one result in the response relates
88 proportionally to other results in the response. A result that has a
89 weight of C<2> represents roughly twice as many CloudFront web requests
90 as a result that has a weight of C<1>.
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional>
97  
98 =head1 BUGS and CONTRIBUTIONS
99  
100 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
101  
102 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
103  
104 =cut
105