blib/lib/Paws/MediaConvert/ReservationPlan.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConvert::ReservationPlan;
3 use Moose;
4 has Commitment => (is => 'ro', isa => 'Str', request_name => 'commitment', traits => ['NameInRequest']);
5 has ExpiresAt => (is => 'ro', isa => 'Str', request_name => 'expiresAt', traits => ['NameInRequest']);
6 has PurchasedAt => (is => 'ro', isa => 'Str', request_name => 'purchasedAt', traits => ['NameInRequest']);
7 has RenewalType => (is => 'ro', isa => 'Str', request_name => 'renewalType', traits => ['NameInRequest']);
8 has ReservedSlots => (is => 'ro', isa => 'Int', request_name => 'reservedSlots', traits => ['NameInRequest']);
9 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::MediaConvert::ReservationPlan
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::MediaConvert::ReservationPlan object:
29  
30 $service_obj->Method(Att1 => { Commitment => $value, ..., Status => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::ReservationPlan object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Commitment
38  
39 =head1 DESCRIPTION
40  
41 Details about the pricing plan for your reserved queue. Required for
42 reserved queues and not applicable to on-demand queues.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Commitment => Str
48  
49 The length of the term of your reserved queue pricing plan commitment.
50  
51  
52 =head2 ExpiresAt => Str
53  
54 The timestamp in epoch seconds for when the current pricing plan term
55 for this reserved queue expires.
56  
57  
58 =head2 PurchasedAt => Str
59  
60 The timestamp in epoch seconds for when you set up the current pricing
61 plan for this reserved queue.
62  
63  
64 =head2 RenewalType => Str
65  
66 Specifies whether the term of your reserved queue pricing plan is
67 automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of
68 the term.
69  
70  
71 =head2 ReservedSlots => Int
72  
73 Specifies the number of reserved transcode slots (RTS) for this queue.
74 The number of RTS determines how many jobs the queue can process in
75 parallel; each RTS can process one job at a time. When you increase
76 this number, you extend your existing commitment with a new 12-month
77 commitment for a larger number of RTS. The new commitment begins when
78 you purchase the additional capacity. You can't decrease the number of
79 RTS in your reserved queue.
80  
81  
82 =head2 Status => Str
83  
84 Specifies whether the pricing plan for your reserved queue is ACTIVE or
85 EXPIRED.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100