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

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 15 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::CurrentInstance;
3 use Moose;
4 has CurrencyCode => (is => 'ro', isa => 'Str');
5 has InstanceName => (is => 'ro', isa => 'Str');
6 has MonthlyCost => (is => 'ro', isa => 'Str');
7 has OnDemandHoursInLookbackPeriod => (is => 'ro', isa => 'Str');
8 has ReservationCoveredHoursInLookbackPeriod => (is => 'ro', isa => 'Str');
9 has ResourceDetails => (is => 'ro', isa => 'Paws::CostExplorer::ResourceDetails');
10 has ResourceId => (is => 'ro', isa => 'Str');
11 has ResourceUtilization => (is => 'ro', isa => 'Paws::CostExplorer::ResourceUtilization');
12 has SavingsPlansCoveredHoursInLookbackPeriod => (is => 'ro', isa => 'Str');
13 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::TagValues]');
14 has TotalRunningHoursInLookbackPeriod => (is => 'ro', isa => 'Str');
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::CostExplorer::CurrentInstance
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::CostExplorer::CurrentInstance object:
34  
35 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., TotalRunningHoursInLookbackPeriod => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::CurrentInstance object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->CurrencyCode
43  
44 =head1 DESCRIPTION
45  
46 Context about the current instance.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 CurrencyCode => Str
52  
53 The currency code that AWS used to calculate the costs for this
54 instance.
55  
56  
57 =head2 InstanceName => Str
58  
59 The name you've given an instance. This field will show as blank if you
60 haven't given the instance a name.
61  
62  
63 =head2 MonthlyCost => Str
64  
65 Current On-Demand cost of operating this instance on a monthly basis.
66  
67  
68 =head2 OnDemandHoursInLookbackPeriod => Str
69  
70 Number of hours during the lookback period billed at On-Demand rates.
71  
72  
73 =head2 ReservationCoveredHoursInLookbackPeriod => Str
74  
75 Number of hours during the lookback period covered by reservations.
76  
77  
78 =head2 ResourceDetails => L<Paws::CostExplorer::ResourceDetails>
79  
80 Details about the resource and utilization.
81  
82  
83 =head2 ResourceId => Str
84  
85 Resource ID of the current instance.
86  
87  
88 =head2 ResourceUtilization => L<Paws::CostExplorer::ResourceUtilization>
89  
90 Utilization information of the current instance during the lookback
91 period.
92  
93  
94 =head2 SavingsPlansCoveredHoursInLookbackPeriod => Str
95  
96 Number of hours during the lookback period covered by Savings Plans.
97  
98  
99 =head2 Tags => ArrayRef[L<Paws::CostExplorer::TagValues>]
100  
101 Cost allocation resource tags applied to the instance.
102  
103  
104 =head2 TotalRunningHoursInLookbackPeriod => Str
105  
106 The total number of hours the instance ran during the lookback period.
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121