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

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MediaLive::ListOfferings;
3 use Moose;
4 has ChannelClass => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'channelClass');
5 has ChannelConfiguration => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'channelConfiguration');
6 has Codec => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'codec');
7 has Duration => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'duration');
8 has MaximumBitrate => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'maximumBitrate');
9 has MaximumFramerate => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'maximumFramerate');
10 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
11 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
12 has Resolution => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resolution');
13 has ResourceType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resourceType');
14 has SpecialFeature => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'specialFeature');
15 has VideoQuality => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'videoQuality');
16  
17 use MooseX::ClassAttribute;
18  
19 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListOfferings');
20 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/prod/offerings');
21 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
22 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::ListOfferingsResponse');
23 1;
24  
25 ### main pod documentation begin ###
26  
27 =head1 NAME
28  
29 Paws::MediaLive::ListOfferings - Arguments for method ListOfferings on L<Paws::MediaLive>
30  
31 =head1 DESCRIPTION
32  
33 This class represents the parameters used for calling the method ListOfferings on the
34 L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class
35 as arguments to method ListOfferings.
36  
37 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListOfferings.
38  
39 =head1 SYNOPSIS
40  
41 my $medialive = Paws->service('MediaLive');
42 my $ListOfferingsResponse = $medialive->ListOfferings(
43 ChannelClass => 'My__string', # OPTIONAL
44 ChannelConfiguration => 'My__string', # OPTIONAL
45 Codec => 'My__string', # OPTIONAL
46 Duration => 'My__string', # OPTIONAL
47 MaxResults => 1, # OPTIONAL
48 MaximumBitrate => 'My__string', # OPTIONAL
49 MaximumFramerate => 'My__string', # OPTIONAL
50 NextToken => 'My__string', # OPTIONAL
51 Resolution => 'My__string', # OPTIONAL
52 ResourceType => 'My__string', # OPTIONAL
53 SpecialFeature => 'My__string', # OPTIONAL
54 VideoQuality => 'My__string', # OPTIONAL
55 );
56  
57 # Results:
58 my $NextToken = $ListOfferingsResponse->NextToken;
59 my $Offerings = $ListOfferingsResponse->Offerings;
60  
61 # Returns a L<Paws::MediaLive::ListOfferingsResponse> object.
62  
63 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/medialive/ListOfferings>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 ChannelClass => Str
70  
71 Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE'
72  
73  
74  
75 =head2 ChannelConfiguration => Str
76  
77 Filter to offerings that match the configuration of an existing
78 channel, e.g. '2345678' (a channel ID)
79  
80  
81  
82 =head2 Codec => Str
83  
84 Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', or 'LINK'
85  
86  
87  
88 =head2 Duration => Str
89  
90 Filter by offering duration, e.g. '12'
91  
92  
93  
94 =head2 MaximumBitrate => Str
95  
96 Filter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS'
97  
98  
99  
100 =head2 MaximumFramerate => Str
101  
102 Filter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS'
103  
104  
105  
106 =head2 MaxResults => Int
107  
108  
109  
110  
111  
112 =head2 NextToken => Str
113  
114  
115  
116  
117  
118 =head2 Resolution => Str
119  
120 Filter by resolution, 'SD', 'HD', 'FHD', or 'UHD'
121  
122  
123  
124 =head2 ResourceType => Str
125  
126 Filter by resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL'
127  
128  
129  
130 =head2 SpecialFeature => Str
131  
132 Filter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION'
133  
134  
135  
136 =head2 VideoQuality => Str
137  
138 Filter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM'
139  
140  
141  
142  
143 =head1 SEE ALSO
144  
145 This class forms part of L<Paws>, documenting arguments for method ListOfferings in L<Paws::MediaLive>
146  
147 =head1 BUGS and CONTRIBUTIONS
148  
149 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
150  
151 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
152  
153 =cut
154