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

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConnect::Reservation;
3 use Moose;
4 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest'], required => 1);
5 has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest'], required => 1);
6 has DurationUnits => (is => 'ro', isa => 'Str', request_name => 'durationUnits', traits => ['NameInRequest'], required => 1);
7 has End => (is => 'ro', isa => 'Str', request_name => 'end', traits => ['NameInRequest'], required => 1);
8 has OfferingArn => (is => 'ro', isa => 'Str', request_name => 'offeringArn', traits => ['NameInRequest'], required => 1);
9 has OfferingDescription => (is => 'ro', isa => 'Str', request_name => 'offeringDescription', traits => ['NameInRequest'], required => 1);
10 has PricePerUnit => (is => 'ro', isa => 'Str', request_name => 'pricePerUnit', traits => ['NameInRequest'], required => 1);
11 has PriceUnits => (is => 'ro', isa => 'Str', request_name => 'priceUnits', traits => ['NameInRequest'], required => 1);
12 has ReservationArn => (is => 'ro', isa => 'Str', request_name => 'reservationArn', traits => ['NameInRequest'], required => 1);
13 has ReservationName => (is => 'ro', isa => 'Str', request_name => 'reservationName', traits => ['NameInRequest'], required => 1);
14 has ReservationState => (is => 'ro', isa => 'Str', request_name => 'reservationState', traits => ['NameInRequest'], required => 1);
15 has ResourceSpecification => (is => 'ro', isa => 'Paws::MediaConnect::ResourceSpecification', request_name => 'resourceSpecification', traits => ['NameInRequest'], required => 1);
16 has Start => (is => 'ro', isa => 'Str', request_name => 'start', traits => ['NameInRequest'], required => 1);
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::MediaConnect::Reservation
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::MediaConnect::Reservation object:
36  
37 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., Start => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConnect::Reservation object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->CurrencyCode
45  
46 =head1 DESCRIPTION
47  
48 A pricing agreement for a discounted rate for a specific outbound
49 bandwidth that your MediaConnect account will use each month over a
50 specific time period. The discounted rate in the reservation applies to
51 outbound bandwidth for all flows from your account until your account
52 reaches the amount of bandwidth in your reservation. If you use more
53 outbound bandwidth than the agreed upon amount in a single month, the
54 overage is charged at the on-demand rate.
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> CurrencyCode => Str
60  
61 The type of currency that is used for billing. The currencyCode used
62 for your reservation is US dollars.
63  
64  
65 =head2 B<REQUIRED> Duration => Int
66  
67 The length of time that this reservation is active. MediaConnect
68 defines this value in the offering.
69  
70  
71 =head2 B<REQUIRED> DurationUnits => Str
72  
73 The unit of measurement for the duration of the reservation.
74 MediaConnect defines this value in the offering.
75  
76  
77 =head2 B<REQUIRED> End => Str
78  
79 The day and time that this reservation expires. This value is
80 calculated based on the start date and time that you set and the
81 offering's duration.
82  
83  
84 =head2 B<REQUIRED> OfferingArn => Str
85  
86 The Amazon Resource Name (ARN) that MediaConnect assigns to the
87 offering.
88  
89  
90 =head2 B<REQUIRED> OfferingDescription => Str
91  
92 A description of the offering. MediaConnect defines this value in the
93 offering.
94  
95  
96 =head2 B<REQUIRED> PricePerUnit => Str
97  
98 The cost of a single unit. This value, in combination with priceUnits,
99 makes up the rate. MediaConnect defines this value in the offering.
100  
101  
102 =head2 B<REQUIRED> PriceUnits => Str
103  
104 The unit of measurement that is used for billing. This value, in
105 combination with pricePerUnit, makes up the rate. MediaConnect defines
106 this value in the offering.
107  
108  
109 =head2 B<REQUIRED> ReservationArn => Str
110  
111 The Amazon Resource Name (ARN) that MediaConnect assigns to the
112 reservation when you purchase an offering.
113  
114  
115 =head2 B<REQUIRED> ReservationName => Str
116  
117 The name that you assigned to the reservation when you purchased the
118 offering.
119  
120  
121 =head2 B<REQUIRED> ReservationState => Str
122  
123 The status of your reservation.
124  
125  
126 =head2 B<REQUIRED> ResourceSpecification => L<Paws::MediaConnect::ResourceSpecification>
127  
128 A definition of the amount of outbound bandwidth that you would be
129 reserving if you purchase the offering. MediaConnect defines the values
130 that make up the resourceSpecification in the offering.
131  
132  
133 =head2 B<REQUIRED> Start => Str
134  
135 The day and time that the reservation becomes active. You set this
136 value when you purchase the offering.
137  
138  
139  
140 =head1 SEE ALSO
141  
142 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect>
143  
144 =head1 BUGS and CONTRIBUTIONS
145  
146 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
147  
148 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
149  
150 =cut
151