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

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 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::Offering;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']);
6 has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']);
7 has DurationUnits => (is => 'ro', isa => 'Str', request_name => 'durationUnits', traits => ['NameInRequest']);
8 has FixedPrice => (is => 'ro', isa => 'Num', request_name => 'fixedPrice', traits => ['NameInRequest']);
9 has OfferingDescription => (is => 'ro', isa => 'Str', request_name => 'offeringDescription', traits => ['NameInRequest']);
10 has OfferingId => (is => 'ro', isa => 'Str', request_name => 'offeringId', traits => ['NameInRequest']);
11 has OfferingType => (is => 'ro', isa => 'Str', request_name => 'offeringType', traits => ['NameInRequest']);
12 has Region => (is => 'ro', isa => 'Str', request_name => 'region', traits => ['NameInRequest']);
13 has ResourceSpecification => (is => 'ro', isa => 'Paws::MediaLive::ReservationResourceSpecification', request_name => 'resourceSpecification', traits => ['NameInRequest']);
14 has UsagePrice => (is => 'ro', isa => 'Num', request_name => 'usagePrice', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::MediaLive::Offering
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::MediaLive::Offering object:
34  
35 $service_obj->Method(Att1 => { Arn => $value, ..., UsagePrice => $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::MediaLive::Offering object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->Arn
43  
44 =head1 DESCRIPTION
45  
46 Reserved resources available for purchase
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 Arn => Str
52  
53 Unique offering ARN, e.g.
54 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
55  
56  
57 =head2 CurrencyCode => Str
58  
59 Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
60 'USD'
61  
62  
63 =head2 Duration => Int
64  
65 Lease duration, e.g. '12'
66  
67  
68 =head2 DurationUnits => Str
69  
70 Units for duration, e.g. 'MONTHS'
71  
72  
73 =head2 FixedPrice => Num
74  
75 One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT
76 offering
77  
78  
79 =head2 OfferingDescription => Str
80  
81 Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and
82 standard VQ in US West (Oregon)'
83  
84  
85 =head2 OfferingId => Str
86  
87 Unique offering ID, e.g. '87654321'
88  
89  
90 =head2 OfferingType => Str
91  
92 Offering type, e.g. 'NO_UPFRONT'
93  
94  
95 =head2 Region => Str
96  
97 AWS region, e.g. 'us-west-2'
98  
99  
100 =head2 ResourceSpecification => L<Paws::MediaLive::ReservationResourceSpecification>
101  
102 Resource configuration details
103  
104  
105 =head2 UsagePrice => Num
106  
107 Recurring usage charge for each reserved resource, e.g. '157.0'
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122