File Coverage

blib/lib/Paws/Shield/SummarizedCounter.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Shield::SummarizedCounter;
2 1     1   486 use Moose;
  1         2  
  1         9  
3             has Average => (is => 'ro', isa => 'Num');
4             has Max => (is => 'ro', isa => 'Num');
5             has N => (is => 'ro', isa => 'Int');
6             has Name => (is => 'ro', isa => 'Str');
7             has Sum => (is => 'ro', isa => 'Num');
8             has Unit => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Shield::SummarizedCounter
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Shield::SummarizedCounter object:
27              
28             $service_obj->Method(Att1 => { Average => $value, ..., Unit => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Shield::SummarizedCounter object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Average
36              
37             =head1 DESCRIPTION
38              
39             The counter that describes a DDoS attack.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Average => Num
45              
46             The average value of the counter for a specified time period.
47              
48              
49             =head2 Max => Num
50              
51             The maximum value of the counter for a specified time period.
52              
53              
54             =head2 N => Int
55              
56             The number of counters for a specified time period.
57              
58              
59             =head2 Name => Str
60              
61             The counter name.
62              
63              
64             =head2 Sum => Num
65              
66             The total of counter values for a specified time period.
67              
68              
69             =head2 Unit => Str
70              
71             The unit of the counters.
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, describing an object used in L<Paws::Shield>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut
86