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

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