blib/lib/Paws/EC2/HostReservation.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::HostReservation;
2 use Moose;
3 has Count => (is => 'ro', isa => 'Int', request_name => 'count', traits => ['NameInRequest']);
4 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']);
5 has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']);
6 has End => (is => 'ro', isa => 'Str', request_name => 'end', traits => ['NameInRequest']);
7 has HostIdSet => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'hostIdSet', traits => ['NameInRequest']);
8 has HostReservationId => (is => 'ro', isa => 'Str', request_name => 'hostReservationId', traits => ['NameInRequest']);
9 has HourlyPrice => (is => 'ro', isa => 'Str', request_name => 'hourlyPrice', traits => ['NameInRequest']);
10 has InstanceFamily => (is => 'ro', isa => 'Str', request_name => 'instanceFamily', traits => ['NameInRequest']);
11 has OfferingId => (is => 'ro', isa => 'Str', request_name => 'offeringId', traits => ['NameInRequest']);
12 has PaymentOption => (is => 'ro', isa => 'Str', request_name => 'paymentOption', traits => ['NameInRequest']);
13 has Start => (is => 'ro', isa => 'Str', request_name => 'start', traits => ['NameInRequest']);
14 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
15 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
16 has UpfrontPrice => (is => 'ro', isa => 'Str', request_name => 'upfrontPrice', traits => ['NameInRequest']);
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::EC2::HostReservation
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::EC2::HostReservation object:
35  
36 $service_obj->Method(Att1 => { Count => $value, ..., UpfrontPrice => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::HostReservation object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->Count
44  
45 =head1 DESCRIPTION
46  
47 This class has no description
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 Count => Int
53  
54 The number of Dedicated Hosts the reservation is associated with.
55  
56  
57 =head2 CurrencyCode => Str
58  
59 The currency in which the C<upfrontPrice> and C<hourlyPrice> amounts
60 are specified. At this time, the only supported currency is C<USD>.
61  
62  
63 =head2 Duration => Int
64  
65 The length of the reservation's term, specified in seconds. Can be
66 C<31536000 (1 year)> | C<94608000 (3 years)>.
67  
68  
69 =head2 End => Str
70  
71 The date and time that the reservation ends.
72  
73  
74 =head2 HostIdSet => ArrayRef[Str|Undef]
75  
76 The IDs of the Dedicated Hosts associated with the reservation.
77  
78  
79 =head2 HostReservationId => Str
80  
81 The ID of the reservation that specifies the associated Dedicated
82 Hosts.
83  
84  
85 =head2 HourlyPrice => Str
86  
87 The hourly price of the reservation.
88  
89  
90 =head2 InstanceFamily => Str
91  
92 The instance family of the Dedicated Host Reservation. The instance
93 family on the Dedicated Host must be the same in order for it to
94 benefit from the reservation.
95  
96  
97 =head2 OfferingId => Str
98  
99 The ID of the reservation. This remains the same regardless of which
100 Dedicated Hosts are associated with it.
101  
102  
103 =head2 PaymentOption => Str
104  
105 The payment option selected for this reservation.
106  
107  
108 =head2 Start => Str
109  
110 The date and time that the reservation started.
111  
112  
113 =head2 State => Str
114  
115 The state of the reservation.
116  
117  
118 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
119  
120 Any tags assigned to the Dedicated Host Reservation.
121  
122  
123 =head2 UpfrontPrice => Str
124  
125 The upfront price of the reservation.
126  
127  
128  
129 =head1 SEE ALSO
130  
131 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
132  
133 =head1 BUGS and CONTRIBUTIONS
134  
135 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
136  
137 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
138  
139 =cut