blib/lib/Paws/CostExplorer/CoverageNormalizedUnits.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CostExplorer::CoverageNormalizedUnits;
3 use Moose;
4 has CoverageNormalizedUnitsPercentage => (is => 'ro', isa => 'Str');
5 has OnDemandNormalizedUnits => (is => 'ro', isa => 'Str');
6 has ReservedNormalizedUnits => (is => 'ro', isa => 'Str');
7 has TotalRunningNormalizedUnits => (is => 'ro', isa => 'Str');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::CostExplorer::CoverageNormalizedUnits
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::CostExplorer::CoverageNormalizedUnits object:
27  
28 $service_obj->Method(Att1 => { CoverageNormalizedUnitsPercentage => $value, ..., TotalRunningNormalizedUnits => $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::CostExplorer::CoverageNormalizedUnits object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CoverageNormalizedUnitsPercentage
36  
37 =head1 DESCRIPTION
38  
39 The amount of instance usage, in normalized units. Normalized units
40 enable you to see your EC2 usage for multiple sizes of instances in a
41 uniform way. For example, suppose you run an xlarge instance and a
42 2xlarge instance. If you run both instances for the same amount of
43 time, the 2xlarge instance uses twice as much of your reservation as
44 the xlarge instance, even though both instances show only one
45 instance-hour. Using normalized units instead of instance-hours, the
46 xlarge instance used 8 normalized units, and the 2xlarge instance used
47 16 normalized units.
48  
49 For more information, see Modifying Reserved Instances
50 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html)
51 in the I<Amazon Elastic Compute Cloud User Guide for Linux Instances>.
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 CoverageNormalizedUnitsPercentage => Str
57  
58 The percentage of your used instance normalized units that a
59 reservation covers.
60  
61  
62 =head2 OnDemandNormalizedUnits => Str
63  
64 The number of normalized units that are covered by On-Demand Instances
65 instead of a reservation.
66  
67  
68 =head2 ReservedNormalizedUnits => Str
69  
70 The number of normalized units that a reservation covers.
71  
72  
73 =head2 TotalRunningNormalizedUnits => Str
74  
75 The total number of normalized units that you used.
76  
77  
78  
79 =head1 SEE ALSO
80  
81 This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer>
82  
83 =head1 BUGS and CONTRIBUTIONS
84  
85 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
86  
87 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
88  
89 =cut
90