blib/lib/Paws/MediaTailor.pm untested

filter: Statementstmt 0.0% 0 / 206 Branchbran 0.0% 0 / 20 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 42 Podpod 0.0% 0 / 41 totaltotal 0.0% 0 / 309 CC 11 SCAR 15.9
CC
11
Cov
0%
GetAllChannelSchedule
12.0
ListAllChannels
12.0
ListAllPlaybackConfigurations
12.0
CRAP 4.9
1 package Paws::MediaTailor;
2 use Moose;
3 sub service { 'api.mediatailor' }
4 sub signing_name { 'mediatailor' }
5 sub version { '2018-04-23' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub CreateChannel {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::MediaTailor::CreateChannel', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub CreateProgram {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::MediaTailor::CreateProgram', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub CreateSourceLocation {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::MediaTailor::CreateSourceLocation', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub CreateVodSource {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::MediaTailor::CreateVodSource', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DeleteChannel {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DeleteChannel', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DeleteChannelPolicy {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DeleteChannelPolicy', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DeletePlaybackConfiguration {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DeletePlaybackConfiguration', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DeleteProgram {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DeleteProgram', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DeleteSourceLocation {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DeleteSourceLocation', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub DeleteVodSource {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DeleteVodSource', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub DescribeChannel {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DescribeChannel', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub DescribeProgram {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DescribeProgram', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub DescribeSourceLocation {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DescribeSourceLocation', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub DescribeVodSource {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::MediaTailor::DescribeVodSource', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub GetChannelPolicy {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::MediaTailor::GetChannelPolicy', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub GetChannelSchedule {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::MediaTailor::GetChannelSchedule', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub GetPlaybackConfiguration {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::MediaTailor::GetPlaybackConfiguration', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub ListChannels {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::MediaTailor::ListChannels', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub ListPlaybackConfigurations {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::MediaTailor::ListPlaybackConfigurations', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub ListSourceLocations {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::MediaTailor::ListSourceLocations', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub ListTagsForResource {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::MediaTailor::ListTagsForResource', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub ListVodSources {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::MediaTailor::ListVodSources', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub PutChannelPolicy {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::MediaTailor::PutChannelPolicy', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub PutPlaybackConfiguration {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::MediaTailor::PutPlaybackConfiguration', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub StartChannel {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::MediaTailor::StartChannel', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub StopChannel {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::MediaTailor::StopChannel', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub TagResource {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::MediaTailor::TagResource', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub UntagResource {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::MediaTailor::UntagResource', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub UpdateChannel {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::MediaTailor::UpdateChannel', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub UpdateSourceLocation {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::MediaTailor::UpdateSourceLocation', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167 sub UpdateVodSource {
168 my $self = shift;
169 my $call_object = $self->new_with_coercions('Paws::MediaTailor::UpdateVodSource', @_);
170 return $self->caller->do_call($self, $call_object);
171 }
172
173 sub GetAllChannelSchedule {
174 my $self = shift;
175  
176 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
177 my $result = $self->GetChannelSchedule(@_);
178 my $next_result = $result;
179  
180 if (not defined $callback) {
181 while ($next_result->NextToken) {
182 $next_result = $self->GetChannelSchedule(@_, NextToken => $next_result->NextToken);
183 push @{ $result->Items }, @{ $next_result->Items };
184 }
185 return $result;
186 } else {
187 while ($result->NextToken) {
188 $callback->($_ => 'Items') foreach (@{ $result->Items });
189 $result = $self->GetChannelSchedule(@_, NextToken => $result->NextToken);
190 }
191 $callback->($_ => 'Items') foreach (@{ $result->Items });
192 }
193  
194 return undef
195 }
196 sub ListAllChannels {
197 my $self = shift;
198  
199 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
200 my $result = $self->ListChannels(@_);
201 my $next_result = $result;
202  
203 if (not defined $callback) {
204 while ($next_result->NextToken) {
205 $next_result = $self->ListChannels(@_, NextToken => $next_result->NextToken);
206 push @{ $result->Items }, @{ $next_result->Items };
207 }
208 return $result;
209 } else {
210 while ($result->NextToken) {
211 $callback->($_ => 'Items') foreach (@{ $result->Items });
212 $result = $self->ListChannels(@_, NextToken => $result->NextToken);
213 }
214 $callback->($_ => 'Items') foreach (@{ $result->Items });
215 }
216  
217 return undef
218 }
219 sub ListAllPlaybackConfigurations {
220 my $self = shift;
221  
222 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
223 my $result = $self->ListPlaybackConfigurations(@_);
224 my $next_result = $result;
225  
226 if (not defined $callback) {
227 while ($next_result->NextToken) {
228 $next_result = $self->ListPlaybackConfigurations(@_, NextToken => $next_result->NextToken);
229 push @{ $result->Items }, @{ $next_result->Items };
230 }
231 return $result;
232 } else {
233 while ($result->NextToken) {
234 $callback->($_ => 'Items') foreach (@{ $result->Items });
235 $result = $self->ListPlaybackConfigurations(@_, NextToken => $result->NextToken);
236 }
237 $callback->($_ => 'Items') foreach (@{ $result->Items });
238 }
239  
240 return undef
241 }
242 sub ListAllSourceLocations {
243 my $self = shift;
244  
245 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
246 my $result = $self->ListSourceLocations(@_);
247 my $next_result = $result;
248  
249 if (not defined $callback) {
250 while ($next_result->NextToken) {
251 $next_result = $self->ListSourceLocations(@_, NextToken => $next_result->NextToken);
252 push @{ $result->Items }, @{ $next_result->Items };
253 }
254 return $result;
255 } else {
256 while ($result->NextToken) {
257 $callback->($_ => 'Items') foreach (@{ $result->Items });
258 $result = $self->ListSourceLocations(@_, NextToken => $result->NextToken);
259 }
260 $callback->($_ => 'Items') foreach (@{ $result->Items });
261 }
262  
263 return undef
264 }
265 sub ListAllVodSources {
266 my $self = shift;
267  
268 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
269 my $result = $self->ListVodSources(@_);
270 my $next_result = $result;
271  
272 if (not defined $callback) {
273 while ($next_result->NextToken) {
274 $next_result = $self->ListVodSources(@_, NextToken => $next_result->NextToken);
275 push @{ $result->Items }, @{ $next_result->Items };
276 }
277 return $result;
278 } else {
279 while ($result->NextToken) {
280 $callback->($_ => 'Items') foreach (@{ $result->Items });
281 $result = $self->ListVodSources(@_, NextToken => $result->NextToken);
282 }
283 $callback->($_ => 'Items') foreach (@{ $result->Items });
284 }
285  
286 return undef
287 }
288  
289  
290 sub operations { qw/CreateChannel CreateProgram CreateSourceLocation CreateVodSource DeleteChannel DeleteChannelPolicy DeletePlaybackConfiguration DeleteProgram DeleteSourceLocation DeleteVodSource DescribeChannel DescribeProgram DescribeSourceLocation DescribeVodSource GetChannelPolicy GetChannelSchedule GetPlaybackConfiguration ListChannels ListPlaybackConfigurations ListSourceLocations ListTagsForResource ListVodSources PutChannelPolicy PutPlaybackConfiguration StartChannel StopChannel TagResource UntagResource UpdateChannel UpdateSourceLocation UpdateVodSource / }
291  
292 1;
293  
294 ### main pod documentation begin ###
295  
296 =head1 NAME
297  
298 Paws::MediaTailor - Perl Interface to AWS AWS MediaTailor
299  
300 =head1 SYNOPSIS
301  
302 use Paws;
303  
304 my $obj = Paws->service('MediaTailor');
305 my $res = $obj->Method(
306 Arg1 => $val1,
307 Arg2 => [ 'V1', 'V2' ],
308 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
309 # of the arguments type
310 Arg3 => { Att1 => 'Val1' },
311 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
312 # the constructor of the arguments type
313 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
314 );
315  
316 =head1 DESCRIPTION
317  
318 Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad
319 insertion and linear channels. With MediaTailor, you can assemble
320 existing content into a linear stream and serve targeted ads to viewers
321 while maintaining broadcast quality in over-the-top (OTT) video
322 applications. For information about using the service, including
323 detailed information about the settings covered in this guide, see the
324 AWS Elemental MediaTailor User Guide
325 (https://docs.aws.amazon.com/mediatailor/latest/ug/).
326  
327 Through the SDKs and the CLI you manage AWS Elemental MediaTailor
328 configurations and channels the same as you do through the console. For
329 example, you specify ad insertion behavior and mapping information for
330 the origin server and the ad decision server (ADS).
331  
332 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.mediatailor-2018-04-23>
333  
334  
335 =head1 METHODS
336  
337 =head2 CreateChannel
338  
339 =over
340  
341 =item ChannelName => Str
342  
343 =item Outputs => ArrayRef[L<Paws::MediaTailor::RequestOutputItem>]
344  
345 =item PlaybackMode => Str
346  
347 =item [Tags => L<Paws::MediaTailor::__mapOf__string>]
348  
349  
350 =back
351  
352 Each argument is described in detail in: L<Paws::MediaTailor::CreateChannel>
353  
354 Returns: a L<Paws::MediaTailor::CreateChannelResponse> instance
355  
356 Creates a channel.
357  
358  
359 =head2 CreateProgram
360  
361 =over
362  
363 =item ChannelName => Str
364  
365 =item ProgramName => Str
366  
367 =item ScheduleConfiguration => L<Paws::MediaTailor::ScheduleConfiguration>
368  
369 =item SourceLocationName => Str
370  
371 =item VodSourceName => Str
372  
373 =item [AdBreaks => ArrayRef[L<Paws::MediaTailor::AdBreak>]]
374  
375  
376 =back
377  
378 Each argument is described in detail in: L<Paws::MediaTailor::CreateProgram>
379  
380 Returns: a L<Paws::MediaTailor::CreateProgramResponse> instance
381  
382 Creates a program.
383  
384  
385 =head2 CreateSourceLocation
386  
387 =over
388  
389 =item HttpConfiguration => L<Paws::MediaTailor::HttpConfiguration>
390  
391 =item SourceLocationName => Str
392  
393 =item [AccessConfiguration => L<Paws::MediaTailor::AccessConfiguration>]
394  
395 =item [DefaultSegmentDeliveryConfiguration => L<Paws::MediaTailor::DefaultSegmentDeliveryConfiguration>]
396  
397 =item [Tags => L<Paws::MediaTailor::__mapOf__string>]
398  
399  
400 =back
401  
402 Each argument is described in detail in: L<Paws::MediaTailor::CreateSourceLocation>
403  
404 Returns: a L<Paws::MediaTailor::CreateSourceLocationResponse> instance
405  
406 Creates a source location on a specific channel.
407  
408  
409 =head2 CreateVodSource
410  
411 =over
412  
413 =item HttpPackageConfigurations => ArrayRef[L<Paws::MediaTailor::HttpPackageConfiguration>]
414  
415 =item SourceLocationName => Str
416  
417 =item VodSourceName => Str
418  
419 =item [Tags => L<Paws::MediaTailor::__mapOf__string>]
420  
421  
422 =back
423  
424 Each argument is described in detail in: L<Paws::MediaTailor::CreateVodSource>
425  
426 Returns: a L<Paws::MediaTailor::CreateVodSourceResponse> instance
427  
428 Creates name for a specific VOD source in a source location.
429  
430  
431 =head2 DeleteChannel
432  
433 =over
434  
435 =item ChannelName => Str
436  
437  
438 =back
439  
440 Each argument is described in detail in: L<Paws::MediaTailor::DeleteChannel>
441  
442 Returns: a L<Paws::MediaTailor::DeleteChannelResponse> instance
443  
444 Deletes a channel. You must stop the channel before it can be deleted.
445  
446  
447 =head2 DeleteChannelPolicy
448  
449 =over
450  
451 =item ChannelName => Str
452  
453  
454 =back
455  
456 Each argument is described in detail in: L<Paws::MediaTailor::DeleteChannelPolicy>
457  
458 Returns: a L<Paws::MediaTailor::DeleteChannelPolicyResponse> instance
459  
460 Deletes a channel's IAM policy.
461  
462  
463 =head2 DeletePlaybackConfiguration
464  
465 =over
466  
467 =item Name => Str
468  
469  
470 =back
471  
472 Each argument is described in detail in: L<Paws::MediaTailor::DeletePlaybackConfiguration>
473  
474 Returns: a L<Paws::MediaTailor::DeletePlaybackConfigurationResponse> instance
475  
476 Deletes the playback configuration for the specified name.
477  
478  
479 =head2 DeleteProgram
480  
481 =over
482  
483 =item ChannelName => Str
484  
485 =item ProgramName => Str
486  
487  
488 =back
489  
490 Each argument is described in detail in: L<Paws::MediaTailor::DeleteProgram>
491  
492 Returns: a L<Paws::MediaTailor::DeleteProgramResponse> instance
493  
494 Deletes a specific program on a specific channel.
495  
496  
497 =head2 DeleteSourceLocation
498  
499 =over
500  
501 =item SourceLocationName => Str
502  
503  
504 =back
505  
506 Each argument is described in detail in: L<Paws::MediaTailor::DeleteSourceLocation>
507  
508 Returns: a L<Paws::MediaTailor::DeleteSourceLocationResponse> instance
509  
510 Deletes a source location on a specific channel.
511  
512  
513 =head2 DeleteVodSource
514  
515 =over
516  
517 =item SourceLocationName => Str
518  
519 =item VodSourceName => Str
520  
521  
522 =back
523  
524 Each argument is described in detail in: L<Paws::MediaTailor::DeleteVodSource>
525  
526 Returns: a L<Paws::MediaTailor::DeleteVodSourceResponse> instance
527  
528 Deletes a specific VOD source in a specific source location.
529  
530  
531 =head2 DescribeChannel
532  
533 =over
534  
535 =item ChannelName => Str
536  
537  
538 =back
539  
540 Each argument is described in detail in: L<Paws::MediaTailor::DescribeChannel>
541  
542 Returns: a L<Paws::MediaTailor::DescribeChannelResponse> instance
543  
544 Describes the properties of a specific channel.
545  
546  
547 =head2 DescribeProgram
548  
549 =over
550  
551 =item ChannelName => Str
552  
553 =item ProgramName => Str
554  
555  
556 =back
557  
558 Each argument is described in detail in: L<Paws::MediaTailor::DescribeProgram>
559  
560 Returns: a L<Paws::MediaTailor::DescribeProgramResponse> instance
561  
562 Retrieves the properties of the requested program.
563  
564  
565 =head2 DescribeSourceLocation
566  
567 =over
568  
569 =item SourceLocationName => Str
570  
571  
572 =back
573  
574 Each argument is described in detail in: L<Paws::MediaTailor::DescribeSourceLocation>
575  
576 Returns: a L<Paws::MediaTailor::DescribeSourceLocationResponse> instance
577  
578 Retrieves the properties of the requested source location.
579  
580  
581 =head2 DescribeVodSource
582  
583 =over
584  
585 =item SourceLocationName => Str
586  
587 =item VodSourceName => Str
588  
589  
590 =back
591  
592 Each argument is described in detail in: L<Paws::MediaTailor::DescribeVodSource>
593  
594 Returns: a L<Paws::MediaTailor::DescribeVodSourceResponse> instance
595  
596 Provides details about a specific VOD source in a specific source
597 location.
598  
599  
600 =head2 GetChannelPolicy
601  
602 =over
603  
604 =item ChannelName => Str
605  
606  
607 =back
608  
609 Each argument is described in detail in: L<Paws::MediaTailor::GetChannelPolicy>
610  
611 Returns: a L<Paws::MediaTailor::GetChannelPolicyResponse> instance
612  
613 Retrieves information about a channel's IAM policy.
614  
615  
616 =head2 GetChannelSchedule
617  
618 =over
619  
620 =item ChannelName => Str
621  
622 =item [DurationMinutes => Str]
623  
624 =item [MaxResults => Int]
625  
626 =item [NextToken => Str]
627  
628  
629 =back
630  
631 Each argument is described in detail in: L<Paws::MediaTailor::GetChannelSchedule>
632  
633 Returns: a L<Paws::MediaTailor::GetChannelScheduleResponse> instance
634  
635 Retrieves information about your channel's schedule.
636  
637  
638 =head2 GetPlaybackConfiguration
639  
640 =over
641  
642 =item Name => Str
643  
644  
645 =back
646  
647 Each argument is described in detail in: L<Paws::MediaTailor::GetPlaybackConfiguration>
648  
649 Returns: a L<Paws::MediaTailor::GetPlaybackConfigurationResponse> instance
650  
651 Returns the playback configuration for the specified name.
652  
653  
654 =head2 ListChannels
655  
656 =over
657  
658 =item [MaxResults => Int]
659  
660 =item [NextToken => Str]
661  
662  
663 =back
664  
665 Each argument is described in detail in: L<Paws::MediaTailor::ListChannels>
666  
667 Returns: a L<Paws::MediaTailor::ListChannelsResponse> instance
668  
669 Retrieves a list of channels that are associated with this account.
670  
671  
672 =head2 ListPlaybackConfigurations
673  
674 =over
675  
676 =item [MaxResults => Int]
677  
678 =item [NextToken => Str]
679  
680  
681 =back
682  
683 Each argument is described in detail in: L<Paws::MediaTailor::ListPlaybackConfigurations>
684  
685 Returns: a L<Paws::MediaTailor::ListPlaybackConfigurationsResponse> instance
686  
687 Returns a list of the playback configurations defined in AWS Elemental
688 MediaTailor. You can specify a maximum number of configurations to
689 return at a time. The default maximum is 50. Results are returned in
690 pagefuls. If MediaTailor has more configurations than the specified
691 maximum, it provides parameters in the response that you can use to
692 retrieve the next pageful.
693  
694  
695 =head2 ListSourceLocations
696  
697 =over
698  
699 =item [MaxResults => Int]
700  
701 =item [NextToken => Str]
702  
703  
704 =back
705  
706 Each argument is described in detail in: L<Paws::MediaTailor::ListSourceLocations>
707  
708 Returns: a L<Paws::MediaTailor::ListSourceLocationsResponse> instance
709  
710 Retrieves a list of source locations.
711  
712  
713 =head2 ListTagsForResource
714  
715 =over
716  
717 =item ResourceArn => Str
718  
719  
720 =back
721  
722 Each argument is described in detail in: L<Paws::MediaTailor::ListTagsForResource>
723  
724 Returns: a L<Paws::MediaTailor::ListTagsForResourceResponse> instance
725  
726 Returns a list of the tags assigned to the specified playback
727 configuration resource.
728  
729  
730 =head2 ListVodSources
731  
732 =over
733  
734 =item SourceLocationName => Str
735  
736 =item [MaxResults => Int]
737  
738 =item [NextToken => Str]
739  
740  
741 =back
742  
743 Each argument is described in detail in: L<Paws::MediaTailor::ListVodSources>
744  
745 Returns: a L<Paws::MediaTailor::ListVodSourcesResponse> instance
746  
747 Lists all the VOD sources in a source location.
748  
749  
750 =head2 PutChannelPolicy
751  
752 =over
753  
754 =item ChannelName => Str
755  
756 =item Policy => Str
757  
758  
759 =back
760  
761 Each argument is described in detail in: L<Paws::MediaTailor::PutChannelPolicy>
762  
763 Returns: a L<Paws::MediaTailor::PutChannelPolicyResponse> instance
764  
765 Creates an IAM policy for the channel.
766  
767  
768 =head2 PutPlaybackConfiguration
769  
770 =over
771  
772 =item [AdDecisionServerUrl => Str]
773  
774 =item [AvailSuppression => L<Paws::MediaTailor::AvailSuppression>]
775  
776 =item [Bumper => L<Paws::MediaTailor::Bumper>]
777  
778 =item [CdnConfiguration => L<Paws::MediaTailor::CdnConfiguration>]
779  
780 =item [ConfigurationAliases => L<Paws::MediaTailor::ConfigurationAliasesRequest>]
781  
782 =item [DashConfiguration => L<Paws::MediaTailor::DashConfigurationForPut>]
783  
784 =item [LivePreRollConfiguration => L<Paws::MediaTailor::LivePreRollConfiguration>]
785  
786 =item [ManifestProcessingRules => L<Paws::MediaTailor::ManifestProcessingRules>]
787  
788 =item [Name => Str]
789  
790 =item [PersonalizationThresholdSeconds => Int]
791  
792 =item [SlateAdUrl => Str]
793  
794 =item [Tags => L<Paws::MediaTailor::__mapOf__string>]
795  
796 =item [TranscodeProfileName => Str]
797  
798 =item [VideoContentSourceUrl => Str]
799  
800  
801 =back
802  
803 Each argument is described in detail in: L<Paws::MediaTailor::PutPlaybackConfiguration>
804  
805 Returns: a L<Paws::MediaTailor::PutPlaybackConfigurationResponse> instance
806  
807 Adds a new playback configuration to AWS Elemental MediaTailor.
808  
809  
810 =head2 StartChannel
811  
812 =over
813  
814 =item ChannelName => Str
815  
816  
817 =back
818  
819 Each argument is described in detail in: L<Paws::MediaTailor::StartChannel>
820  
821 Returns: a L<Paws::MediaTailor::StartChannelResponse> instance
822  
823 Starts a specific channel.
824  
825  
826 =head2 StopChannel
827  
828 =over
829  
830 =item ChannelName => Str
831  
832  
833 =back
834  
835 Each argument is described in detail in: L<Paws::MediaTailor::StopChannel>
836  
837 Returns: a L<Paws::MediaTailor::StopChannelResponse> instance
838  
839 Stops a specific channel.
840  
841  
842 =head2 TagResource
843  
844 =over
845  
846 =item ResourceArn => Str
847  
848 =item Tags => L<Paws::MediaTailor::__mapOf__string>
849  
850  
851 =back
852  
853 Each argument is described in detail in: L<Paws::MediaTailor::TagResource>
854  
855 Returns: nothing
856  
857 Adds tags to the specified playback configuration resource. You can
858 specify one or more tags to add.
859  
860  
861 =head2 UntagResource
862  
863 =over
864  
865 =item ResourceArn => Str
866  
867 =item TagKeys => ArrayRef[Str|Undef]
868  
869  
870 =back
871  
872 Each argument is described in detail in: L<Paws::MediaTailor::UntagResource>
873  
874 Returns: nothing
875  
876 Removes tags from the specified playback configuration resource. You
877 can specify one or more tags to remove.
878  
879  
880 =head2 UpdateChannel
881  
882 =over
883  
884 =item ChannelName => Str
885  
886 =item Outputs => ArrayRef[L<Paws::MediaTailor::RequestOutputItem>]
887  
888  
889 =back
890  
891 Each argument is described in detail in: L<Paws::MediaTailor::UpdateChannel>
892  
893 Returns: a L<Paws::MediaTailor::UpdateChannelResponse> instance
894  
895 Updates an existing channel.
896  
897  
898 =head2 UpdateSourceLocation
899  
900 =over
901  
902 =item HttpConfiguration => L<Paws::MediaTailor::HttpConfiguration>
903  
904 =item SourceLocationName => Str
905  
906 =item [AccessConfiguration => L<Paws::MediaTailor::AccessConfiguration>]
907  
908 =item [DefaultSegmentDeliveryConfiguration => L<Paws::MediaTailor::DefaultSegmentDeliveryConfiguration>]
909  
910  
911 =back
912  
913 Each argument is described in detail in: L<Paws::MediaTailor::UpdateSourceLocation>
914  
915 Returns: a L<Paws::MediaTailor::UpdateSourceLocationResponse> instance
916  
917 Updates a source location on a specific channel.
918  
919  
920 =head2 UpdateVodSource
921  
922 =over
923  
924 =item HttpPackageConfigurations => ArrayRef[L<Paws::MediaTailor::HttpPackageConfiguration>]
925  
926 =item SourceLocationName => Str
927  
928 =item VodSourceName => Str
929  
930  
931 =back
932  
933 Each argument is described in detail in: L<Paws::MediaTailor::UpdateVodSource>
934  
935 Returns: a L<Paws::MediaTailor::UpdateVodSourceResponse> instance
936  
937 Updates a specific VOD source in a specific source location.
938  
939  
940  
941  
942 =head1 PAGINATORS
943  
944 Paginator methods are helpers that repetively call methods that return partial results
945  
946 =head2 GetAllChannelSchedule(sub { },ChannelName => Str, [DurationMinutes => Str, MaxResults => Int, NextToken => Str])
947  
948 =head2 GetAllChannelSchedule(ChannelName => Str, [DurationMinutes => Str, MaxResults => Int, NextToken => Str])
949  
950  
951 If passed a sub as first parameter, it will call the sub for each element found in :
952  
953 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter
954  
955 If not, it will return a a L<Paws::MediaTailor::GetChannelScheduleResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
956  
957  
958 =head2 ListAllChannels(sub { },[MaxResults => Int, NextToken => Str])
959  
960 =head2 ListAllChannels([MaxResults => Int, NextToken => Str])
961  
962  
963 If passed a sub as first parameter, it will call the sub for each element found in :
964  
965 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter
966  
967 If not, it will return a a L<Paws::MediaTailor::ListChannelsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
968  
969  
970 =head2 ListAllPlaybackConfigurations(sub { },[MaxResults => Int, NextToken => Str])
971  
972 =head2 ListAllPlaybackConfigurations([MaxResults => Int, NextToken => Str])
973  
974  
975 If passed a sub as first parameter, it will call the sub for each element found in :
976  
977 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter
978  
979 If not, it will return a a L<Paws::MediaTailor::ListPlaybackConfigurationsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
980  
981  
982 =head2 ListAllSourceLocations(sub { },[MaxResults => Int, NextToken => Str])
983  
984 =head2 ListAllSourceLocations([MaxResults => Int, NextToken => Str])
985  
986  
987 If passed a sub as first parameter, it will call the sub for each element found in :
988  
989 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter
990  
991 If not, it will return a a L<Paws::MediaTailor::ListSourceLocationsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
992  
993  
994 =head2 ListAllVodSources(sub { },SourceLocationName => Str, [MaxResults => Int, NextToken => Str])
995  
996 =head2 ListAllVodSources(SourceLocationName => Str, [MaxResults => Int, NextToken => Str])
997  
998  
999 If passed a sub as first parameter, it will call the sub for each element found in :
1000  
1001 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter
1002  
1003 If not, it will return a a L<Paws::MediaTailor::ListVodSourcesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1004  
1005  
1006  
1007  
1008  
1009 =head1 SEE ALSO
1010  
1011 This service class forms part of L<Paws>
1012  
1013 =head1 BUGS and CONTRIBUTIONS
1014  
1015 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1016  
1017 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1018  
1019 =cut
1020