blib/lib/Paws/MediaLive/Reservation.pm untested

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaLive::Reservation;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has Count => (is => 'ro', isa => 'Int', request_name => 'count', traits => ['NameInRequest']);
6 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']);
7 has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']);
8 has DurationUnits => (is => 'ro', isa => 'Str', request_name => 'durationUnits', traits => ['NameInRequest']);
9 has End => (is => 'ro', isa => 'Str', request_name => 'end', traits => ['NameInRequest']);
10 has FixedPrice => (is => 'ro', isa => 'Num', request_name => 'fixedPrice', traits => ['NameInRequest']);
11 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
12 has OfferingDescription => (is => 'ro', isa => 'Str', request_name => 'offeringDescription', traits => ['NameInRequest']);
13 has OfferingId => (is => 'ro', isa => 'Str', request_name => 'offeringId', traits => ['NameInRequest']);
14 has OfferingType => (is => 'ro', isa => 'Str', request_name => 'offeringType', traits => ['NameInRequest']);
15 has Region => (is => 'ro', isa => 'Str', request_name => 'region', traits => ['NameInRequest']);
16 has ReservationId => (is => 'ro', isa => 'Str', request_name => 'reservationId', traits => ['NameInRequest']);
17 has ResourceSpecification => (is => 'ro', isa => 'Paws::MediaLive::ReservationResourceSpecification', request_name => 'resourceSpecification', traits => ['NameInRequest']);
18 has Start => (is => 'ro', isa => 'Str', request_name => 'start', traits => ['NameInRequest']);
19 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
20 has Tags => (is => 'ro', isa => 'Paws::MediaLive::Tags', request_name => 'tags', traits => ['NameInRequest']);
21 has UsagePrice => (is => 'ro', isa => 'Num', request_name => 'usagePrice', traits => ['NameInRequest']);
22  
23 1;
24  
25 ### main pod documentation begin ###
26  
27 =head1 NAME
28  
29 Paws::MediaLive::Reservation
30  
31 =head1 USAGE
32  
33 This class represents one of two things:
34  
35 =head3 Arguments in a call to a service
36  
37 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
38 Each attribute should be used as a named argument in the calls that expect this type of object.
39  
40 As an example, if Att1 is expected to be a Paws::MediaLive::Reservation object:
41  
42 $service_obj->Method(Att1 => { Arn => $value, ..., UsagePrice => $value });
43  
44 =head3 Results returned from an API call
45  
46 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::Reservation object:
47  
48 $result = $service_obj->Method(...);
49 $result->Att1->Arn
50  
51 =head1 DESCRIPTION
52  
53 Reserved resources available to use
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Arn => Str
59  
60 Unique reservation ARN, e.g.
61 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
62  
63  
64 =head2 Count => Int
65  
66 Number of reserved resources
67  
68  
69 =head2 CurrencyCode => Str
70  
71 Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
72 'USD'
73  
74  
75 =head2 Duration => Int
76  
77 Lease duration, e.g. '12'
78  
79  
80 =head2 DurationUnits => Str
81  
82 Units for duration, e.g. 'MONTHS'
83  
84  
85 =head2 End => Str
86  
87 Reservation UTC end date and time in ISO-8601 format, e.g.
88 '2019-03-01T00:00:00'
89  
90  
91 =head2 FixedPrice => Num
92  
93 One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT
94 offering
95  
96  
97 =head2 Name => Str
98  
99 User specified reservation name
100  
101  
102 =head2 OfferingDescription => Str
103  
104 Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and
105 standard VQ in US West (Oregon)'
106  
107  
108 =head2 OfferingId => Str
109  
110 Unique offering ID, e.g. '87654321'
111  
112  
113 =head2 OfferingType => Str
114  
115 Offering type, e.g. 'NO_UPFRONT'
116  
117  
118 =head2 Region => Str
119  
120 AWS region, e.g. 'us-west-2'
121  
122  
123 =head2 ReservationId => Str
124  
125 Unique reservation ID, e.g. '1234567'
126  
127  
128 =head2 ResourceSpecification => L<Paws::MediaLive::ReservationResourceSpecification>
129  
130 Resource configuration details
131  
132  
133 =head2 Start => Str
134  
135 Reservation UTC start date and time in ISO-8601 format, e.g.
136 '2018-03-01T00:00:00'
137  
138  
139 =head2 State => Str
140  
141 Current state of reservation, e.g. 'ACTIVE'
142  
143  
144 =head2 Tags => L<Paws::MediaLive::Tags>
145  
146 A collection of key-value pairs
147  
148  
149 =head2 UsagePrice => Num
150  
151 Recurring usage charge for each reserved resource, e.g. '157.0'
152  
153  
154  
155 =head1 SEE ALSO
156  
157 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
158  
159 =head1 BUGS and CONTRIBUTIONS
160  
161 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
162  
163 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
164  
165 =cut
166