blib/lib/Paws/MediaConnect.pm untested

filter: Statementstmt 0.0% 0 / 183 Branchbran 0.0% 0 / 16 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 40 Podpod 0.0% 0 / 39 totaltotal 0.0% 0 / 278 CC 9 SCAR 15.0
CC
9
Cov
0%
ListAllEntitlements
12.0
ListAllFlows
12.0
ListAllOfferings
12.0
CRAP 4.5
1 package Paws::MediaConnect;
2 use Moose;
3 sub service { 'mediaconnect' }
4 sub signing_name { 'mediaconnect' }
5 sub version { '2018-11-14' }
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 AddFlowMediaStreams {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::MediaConnect::AddFlowMediaStreams', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub AddFlowOutputs {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::MediaConnect::AddFlowOutputs', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub AddFlowSources {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::MediaConnect::AddFlowSources', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub AddFlowVpcInterfaces {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::MediaConnect::AddFlowVpcInterfaces', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub CreateFlow {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::MediaConnect::CreateFlow', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DeleteFlow {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::MediaConnect::DeleteFlow', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DescribeFlow {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::MediaConnect::DescribeFlow', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DescribeOffering {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::MediaConnect::DescribeOffering', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DescribeReservation {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::MediaConnect::DescribeReservation', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub GrantFlowEntitlements {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::MediaConnect::GrantFlowEntitlements', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub ListEntitlements {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::MediaConnect::ListEntitlements', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub ListFlows {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::MediaConnect::ListFlows', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub ListOfferings {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::MediaConnect::ListOfferings', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub ListReservations {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::MediaConnect::ListReservations', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub ListTagsForResource {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::MediaConnect::ListTagsForResource', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub PurchaseOffering {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::MediaConnect::PurchaseOffering', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub RemoveFlowMediaStream {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::MediaConnect::RemoveFlowMediaStream', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub RemoveFlowOutput {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::MediaConnect::RemoveFlowOutput', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub RemoveFlowSource {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::MediaConnect::RemoveFlowSource', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub RemoveFlowVpcInterface {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::MediaConnect::RemoveFlowVpcInterface', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub RevokeFlowEntitlement {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::MediaConnect::RevokeFlowEntitlement', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub StartFlow {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::MediaConnect::StartFlow', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub StopFlow {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::MediaConnect::StopFlow', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub TagResource {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::MediaConnect::TagResource', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub UntagResource {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::MediaConnect::UntagResource', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub UpdateFlow {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::MediaConnect::UpdateFlow', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub UpdateFlowEntitlement {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::MediaConnect::UpdateFlowEntitlement', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub UpdateFlowMediaStream {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::MediaConnect::UpdateFlowMediaStream', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub UpdateFlowOutput {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::MediaConnect::UpdateFlowOutput', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub UpdateFlowSource {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::MediaConnect::UpdateFlowSource', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167
168 sub ListAllEntitlements {
169 my $self = shift;
170  
171 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
172 my $result = $self->ListEntitlements(@_);
173 my $next_result = $result;
174  
175 if (not defined $callback) {
176 while ($next_result->NextToken) {
177 $next_result = $self->ListEntitlements(@_, NextToken => $next_result->NextToken);
178 push @{ $result->Entitlements }, @{ $next_result->Entitlements };
179 }
180 return $result;
181 } else {
182 while ($result->NextToken) {
183 $callback->($_ => 'Entitlements') foreach (@{ $result->Entitlements });
184 $result = $self->ListEntitlements(@_, NextToken => $result->NextToken);
185 }
186 $callback->($_ => 'Entitlements') foreach (@{ $result->Entitlements });
187 }
188  
189 return undef
190 }
191 sub ListAllFlows {
192 my $self = shift;
193  
194 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
195 my $result = $self->ListFlows(@_);
196 my $next_result = $result;
197  
198 if (not defined $callback) {
199 while ($next_result->NextToken) {
200 $next_result = $self->ListFlows(@_, NextToken => $next_result->NextToken);
201 push @{ $result->Flows }, @{ $next_result->Flows };
202 }
203 return $result;
204 } else {
205 while ($result->NextToken) {
206 $callback->($_ => 'Flows') foreach (@{ $result->Flows });
207 $result = $self->ListFlows(@_, NextToken => $result->NextToken);
208 }
209 $callback->($_ => 'Flows') foreach (@{ $result->Flows });
210 }
211  
212 return undef
213 }
214 sub ListAllOfferings {
215 my $self = shift;
216  
217 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
218 my $result = $self->ListOfferings(@_);
219 my $next_result = $result;
220  
221 if (not defined $callback) {
222 while ($next_result->NextToken) {
223 $next_result = $self->ListOfferings(@_, NextToken => $next_result->NextToken);
224 push @{ $result->Offerings }, @{ $next_result->Offerings };
225 }
226 return $result;
227 } else {
228 while ($result->NextToken) {
229 $callback->($_ => 'Offerings') foreach (@{ $result->Offerings });
230 $result = $self->ListOfferings(@_, NextToken => $result->NextToken);
231 }
232 $callback->($_ => 'Offerings') foreach (@{ $result->Offerings });
233 }
234  
235 return undef
236 }
237 sub ListAllReservations {
238 my $self = shift;
239  
240 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
241 my $result = $self->ListReservations(@_);
242 my $next_result = $result;
243  
244 if (not defined $callback) {
245 while ($next_result->NextToken) {
246 $next_result = $self->ListReservations(@_, NextToken => $next_result->NextToken);
247 push @{ $result->Reservations }, @{ $next_result->Reservations };
248 }
249 return $result;
250 } else {
251 while ($result->NextToken) {
252 $callback->($_ => 'Reservations') foreach (@{ $result->Reservations });
253 $result = $self->ListReservations(@_, NextToken => $result->NextToken);
254 }
255 $callback->($_ => 'Reservations') foreach (@{ $result->Reservations });
256 }
257  
258 return undef
259 }
260  
261  
262 sub operations { qw/AddFlowMediaStreams AddFlowOutputs AddFlowSources AddFlowVpcInterfaces CreateFlow DeleteFlow DescribeFlow DescribeOffering DescribeReservation GrantFlowEntitlements ListEntitlements ListFlows ListOfferings ListReservations ListTagsForResource PurchaseOffering RemoveFlowMediaStream RemoveFlowOutput RemoveFlowSource RemoveFlowVpcInterface RevokeFlowEntitlement StartFlow StopFlow TagResource UntagResource UpdateFlow UpdateFlowEntitlement UpdateFlowMediaStream UpdateFlowOutput UpdateFlowSource / }
263  
264 1;
265  
266 ### main pod documentation begin ###
267  
268 =head1 NAME
269  
270 Paws::MediaConnect - Perl Interface to AWS AWS MediaConnect
271  
272 =head1 SYNOPSIS
273  
274 use Paws;
275  
276 my $obj = Paws->service('MediaConnect');
277 my $res = $obj->Method(
278 Arg1 => $val1,
279 Arg2 => [ 'V1', 'V2' ],
280 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
281 # of the arguments type
282 Arg3 => { Att1 => 'Val1' },
283 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
284 # the constructor of the arguments type
285 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
286 );
287  
288 =head1 DESCRIPTION
289  
290 API for AWS Elemental MediaConnect
291  
292 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14>
293  
294  
295 =head1 METHODS
296  
297 =head2 AddFlowMediaStreams
298  
299 =over
300  
301 =item FlowArn => Str
302  
303 =item MediaStreams => ArrayRef[L<Paws::MediaConnect::AddMediaStreamRequest>]
304  
305  
306 =back
307  
308 Each argument is described in detail in: L<Paws::MediaConnect::AddFlowMediaStreams>
309  
310 Returns: a L<Paws::MediaConnect::AddFlowMediaStreamsResponse> instance
311  
312 Adds media streams to an existing flow. After you add a media stream to
313 a flow, you can associate it with a source and/or an output that uses
314 the ST 2110 JPEG XS or CDI protocol.
315  
316  
317 =head2 AddFlowOutputs
318  
319 =over
320  
321 =item FlowArn => Str
322  
323 =item Outputs => ArrayRef[L<Paws::MediaConnect::AddOutputRequest>]
324  
325  
326 =back
327  
328 Each argument is described in detail in: L<Paws::MediaConnect::AddFlowOutputs>
329  
330 Returns: a L<Paws::MediaConnect::AddFlowOutputsResponse> instance
331  
332 Adds outputs to an existing flow. You can create up to 50 outputs per
333 flow.
334  
335  
336 =head2 AddFlowSources
337  
338 =over
339  
340 =item FlowArn => Str
341  
342 =item Sources => ArrayRef[L<Paws::MediaConnect::SetSourceRequest>]
343  
344  
345 =back
346  
347 Each argument is described in detail in: L<Paws::MediaConnect::AddFlowSources>
348  
349 Returns: a L<Paws::MediaConnect::AddFlowSourcesResponse> instance
350  
351 Adds Sources to flow
352  
353  
354 =head2 AddFlowVpcInterfaces
355  
356 =over
357  
358 =item FlowArn => Str
359  
360 =item VpcInterfaces => ArrayRef[L<Paws::MediaConnect::VpcInterfaceRequest>]
361  
362  
363 =back
364  
365 Each argument is described in detail in: L<Paws::MediaConnect::AddFlowVpcInterfaces>
366  
367 Returns: a L<Paws::MediaConnect::AddFlowVpcInterfacesResponse> instance
368  
369 Adds VPC interfaces to flow
370  
371  
372 =head2 CreateFlow
373  
374 =over
375  
376 =item Name => Str
377  
378 =item [AvailabilityZone => Str]
379  
380 =item [Entitlements => ArrayRef[L<Paws::MediaConnect::GrantEntitlementRequest>]]
381  
382 =item [MediaStreams => ArrayRef[L<Paws::MediaConnect::AddMediaStreamRequest>]]
383  
384 =item [Outputs => ArrayRef[L<Paws::MediaConnect::AddOutputRequest>]]
385  
386 =item [Source => L<Paws::MediaConnect::SetSourceRequest>]
387  
388 =item [SourceFailoverConfig => L<Paws::MediaConnect::FailoverConfig>]
389  
390 =item [Sources => ArrayRef[L<Paws::MediaConnect::SetSourceRequest>]]
391  
392 =item [VpcInterfaces => ArrayRef[L<Paws::MediaConnect::VpcInterfaceRequest>]]
393  
394  
395 =back
396  
397 Each argument is described in detail in: L<Paws::MediaConnect::CreateFlow>
398  
399 Returns: a L<Paws::MediaConnect::CreateFlowResponse> instance
400  
401 Creates a new flow. The request must include one source. The request
402 optionally can include outputs (up to 50) and entitlements (up to 50).
403  
404  
405 =head2 DeleteFlow
406  
407 =over
408  
409 =item FlowArn => Str
410  
411  
412 =back
413  
414 Each argument is described in detail in: L<Paws::MediaConnect::DeleteFlow>
415  
416 Returns: a L<Paws::MediaConnect::DeleteFlowResponse> instance
417  
418 Deletes a flow. Before you can delete a flow, you must stop the flow.
419  
420  
421 =head2 DescribeFlow
422  
423 =over
424  
425 =item FlowArn => Str
426  
427  
428 =back
429  
430 Each argument is described in detail in: L<Paws::MediaConnect::DescribeFlow>
431  
432 Returns: a L<Paws::MediaConnect::DescribeFlowResponse> instance
433  
434 Displays the details of a flow. The response includes the flow ARN,
435 name, and Availability Zone, as well as details about the source,
436 outputs, and entitlements.
437  
438  
439 =head2 DescribeOffering
440  
441 =over
442  
443 =item OfferingArn => Str
444  
445  
446 =back
447  
448 Each argument is described in detail in: L<Paws::MediaConnect::DescribeOffering>
449  
450 Returns: a L<Paws::MediaConnect::DescribeOfferingResponse> instance
451  
452 Displays the details of an offering. The response includes the offering
453 description, duration, outbound bandwidth, price, and Amazon Resource
454 Name (ARN).
455  
456  
457 =head2 DescribeReservation
458  
459 =over
460  
461 =item ReservationArn => Str
462  
463  
464 =back
465  
466 Each argument is described in detail in: L<Paws::MediaConnect::DescribeReservation>
467  
468 Returns: a L<Paws::MediaConnect::DescribeReservationResponse> instance
469  
470 Displays the details of a reservation. The response includes the
471 reservation name, state, start date and time, and the details of the
472 offering that make up the rest of the reservation (such as price,
473 duration, and outbound bandwidth).
474  
475  
476 =head2 GrantFlowEntitlements
477  
478 =over
479  
480 =item Entitlements => ArrayRef[L<Paws::MediaConnect::GrantEntitlementRequest>]
481  
482 =item FlowArn => Str
483  
484  
485 =back
486  
487 Each argument is described in detail in: L<Paws::MediaConnect::GrantFlowEntitlements>
488  
489 Returns: a L<Paws::MediaConnect::GrantFlowEntitlementsResponse> instance
490  
491 Grants entitlements to an existing flow.
492  
493  
494 =head2 ListEntitlements
495  
496 =over
497  
498 =item [MaxResults => Int]
499  
500 =item [NextToken => Str]
501  
502  
503 =back
504  
505 Each argument is described in detail in: L<Paws::MediaConnect::ListEntitlements>
506  
507 Returns: a L<Paws::MediaConnect::ListEntitlementsResponse> instance
508  
509 Displays a list of all entitlements that have been granted to this
510 account. This request returns 20 results per page.
511  
512  
513 =head2 ListFlows
514  
515 =over
516  
517 =item [MaxResults => Int]
518  
519 =item [NextToken => Str]
520  
521  
522 =back
523  
524 Each argument is described in detail in: L<Paws::MediaConnect::ListFlows>
525  
526 Returns: a L<Paws::MediaConnect::ListFlowsResponse> instance
527  
528 Displays a list of flows that are associated with this account. This
529 request returns a paginated result.
530  
531  
532 =head2 ListOfferings
533  
534 =over
535  
536 =item [MaxResults => Int]
537  
538 =item [NextToken => Str]
539  
540  
541 =back
542  
543 Each argument is described in detail in: L<Paws::MediaConnect::ListOfferings>
544  
545 Returns: a L<Paws::MediaConnect::ListOfferingsResponse> instance
546  
547 Displays a list of all offerings that are available to this account in
548 the current AWS Region. If you have an active reservation (which means
549 you've purchased an offering that has already started and hasn't
550 expired yet), your account isn't eligible for other offerings.
551  
552  
553 =head2 ListReservations
554  
555 =over
556  
557 =item [MaxResults => Int]
558  
559 =item [NextToken => Str]
560  
561  
562 =back
563  
564 Each argument is described in detail in: L<Paws::MediaConnect::ListReservations>
565  
566 Returns: a L<Paws::MediaConnect::ListReservationsResponse> instance
567  
568 Displays a list of all reservations that have been purchased by this
569 account in the current AWS Region. This list includes all reservations
570 in all states (such as active and expired).
571  
572  
573 =head2 ListTagsForResource
574  
575 =over
576  
577 =item ResourceArn => Str
578  
579  
580 =back
581  
582 Each argument is described in detail in: L<Paws::MediaConnect::ListTagsForResource>
583  
584 Returns: a L<Paws::MediaConnect::ListTagsForResourceResponse> instance
585  
586 List all tags on an AWS Elemental MediaConnect resource
587  
588  
589 =head2 PurchaseOffering
590  
591 =over
592  
593 =item OfferingArn => Str
594  
595 =item ReservationName => Str
596  
597 =item Start => Str
598  
599  
600 =back
601  
602 Each argument is described in detail in: L<Paws::MediaConnect::PurchaseOffering>
603  
604 Returns: a L<Paws::MediaConnect::PurchaseOfferingResponse> instance
605  
606 Submits a request to purchase an offering. If you already have an
607 active reservation, you can't purchase another offering.
608  
609  
610 =head2 RemoveFlowMediaStream
611  
612 =over
613  
614 =item FlowArn => Str
615  
616 =item MediaStreamName => Str
617  
618  
619 =back
620  
621 Each argument is described in detail in: L<Paws::MediaConnect::RemoveFlowMediaStream>
622  
623 Returns: a L<Paws::MediaConnect::RemoveFlowMediaStreamResponse> instance
624  
625 Removes a media stream from a flow. This action is only available if
626 the media stream is not associated with a source or output.
627  
628  
629 =head2 RemoveFlowOutput
630  
631 =over
632  
633 =item FlowArn => Str
634  
635 =item OutputArn => Str
636  
637  
638 =back
639  
640 Each argument is described in detail in: L<Paws::MediaConnect::RemoveFlowOutput>
641  
642 Returns: a L<Paws::MediaConnect::RemoveFlowOutputResponse> instance
643  
644 Removes an output from an existing flow. This request can be made only
645 on an output that does not have an entitlement associated with it. If
646 the output has an entitlement, you must revoke the entitlement instead.
647 When an entitlement is revoked from a flow, the service automatically
648 removes the associated output.
649  
650  
651 =head2 RemoveFlowSource
652  
653 =over
654  
655 =item FlowArn => Str
656  
657 =item SourceArn => Str
658  
659  
660 =back
661  
662 Each argument is described in detail in: L<Paws::MediaConnect::RemoveFlowSource>
663  
664 Returns: a L<Paws::MediaConnect::RemoveFlowSourceResponse> instance
665  
666 Removes a source from an existing flow. This request can be made only
667 if there is more than one source on the flow.
668  
669  
670 =head2 RemoveFlowVpcInterface
671  
672 =over
673  
674 =item FlowArn => Str
675  
676 =item VpcInterfaceName => Str
677  
678  
679 =back
680  
681 Each argument is described in detail in: L<Paws::MediaConnect::RemoveFlowVpcInterface>
682  
683 Returns: a L<Paws::MediaConnect::RemoveFlowVpcInterfaceResponse> instance
684  
685 Removes a VPC Interface from an existing flow. This request can be made
686 only on a VPC interface that does not have a Source or Output
687 associated with it. If the VPC interface is referenced by a Source or
688 Output, you must first delete or update the Source or Output to no
689 longer reference the VPC interface.
690  
691  
692 =head2 RevokeFlowEntitlement
693  
694 =over
695  
696 =item EntitlementArn => Str
697  
698 =item FlowArn => Str
699  
700  
701 =back
702  
703 Each argument is described in detail in: L<Paws::MediaConnect::RevokeFlowEntitlement>
704  
705 Returns: a L<Paws::MediaConnect::RevokeFlowEntitlementResponse> instance
706  
707 Revokes an entitlement from a flow. Once an entitlement is revoked, the
708 content becomes unavailable to the subscriber and the associated output
709 is removed.
710  
711  
712 =head2 StartFlow
713  
714 =over
715  
716 =item FlowArn => Str
717  
718  
719 =back
720  
721 Each argument is described in detail in: L<Paws::MediaConnect::StartFlow>
722  
723 Returns: a L<Paws::MediaConnect::StartFlowResponse> instance
724  
725 Starts a flow.
726  
727  
728 =head2 StopFlow
729  
730 =over
731  
732 =item FlowArn => Str
733  
734  
735 =back
736  
737 Each argument is described in detail in: L<Paws::MediaConnect::StopFlow>
738  
739 Returns: a L<Paws::MediaConnect::StopFlowResponse> instance
740  
741 Stops a flow.
742  
743  
744 =head2 TagResource
745  
746 =over
747  
748 =item ResourceArn => Str
749  
750 =item Tags => L<Paws::MediaConnect::__mapOf__string>
751  
752  
753 =back
754  
755 Each argument is described in detail in: L<Paws::MediaConnect::TagResource>
756  
757 Returns: nothing
758  
759 Associates the specified tags to a resource with the specified
760 resourceArn. If existing tags on a resource are not specified in the
761 request parameters, they are not changed. When a resource is deleted,
762 the tags associated with that resource are deleted as well.
763  
764  
765 =head2 UntagResource
766  
767 =over
768  
769 =item ResourceArn => Str
770  
771 =item TagKeys => ArrayRef[Str|Undef]
772  
773  
774 =back
775  
776 Each argument is described in detail in: L<Paws::MediaConnect::UntagResource>
777  
778 Returns: nothing
779  
780 Deletes specified tags from a resource.
781  
782  
783 =head2 UpdateFlow
784  
785 =over
786  
787 =item FlowArn => Str
788  
789 =item [SourceFailoverConfig => L<Paws::MediaConnect::UpdateFailoverConfig>]
790  
791  
792 =back
793  
794 Each argument is described in detail in: L<Paws::MediaConnect::UpdateFlow>
795  
796 Returns: a L<Paws::MediaConnect::UpdateFlowResponse> instance
797  
798 Updates flow
799  
800  
801 =head2 UpdateFlowEntitlement
802  
803 =over
804  
805 =item EntitlementArn => Str
806  
807 =item FlowArn => Str
808  
809 =item [Description => Str]
810  
811 =item [Encryption => L<Paws::MediaConnect::UpdateEncryption>]
812  
813 =item [EntitlementStatus => Str]
814  
815 =item [Subscribers => ArrayRef[Str|Undef]]
816  
817  
818 =back
819  
820 Each argument is described in detail in: L<Paws::MediaConnect::UpdateFlowEntitlement>
821  
822 Returns: a L<Paws::MediaConnect::UpdateFlowEntitlementResponse> instance
823  
824 You can change an entitlement's description, subscribers, and
825 encryption. If you change the subscribers, the service will remove the
826 outputs that are are used by the subscribers that are removed.
827  
828  
829 =head2 UpdateFlowMediaStream
830  
831 =over
832  
833 =item FlowArn => Str
834  
835 =item MediaStreamName => Str
836  
837 =item [Attributes => L<Paws::MediaConnect::MediaStreamAttributesRequest>]
838  
839 =item [ClockRate => Int]
840  
841 =item [Description => Str]
842  
843 =item [MediaStreamType => Str]
844  
845 =item [VideoFormat => Str]
846  
847  
848 =back
849  
850 Each argument is described in detail in: L<Paws::MediaConnect::UpdateFlowMediaStream>
851  
852 Returns: a L<Paws::MediaConnect::UpdateFlowMediaStreamResponse> instance
853  
854 Updates an existing media stream.
855  
856  
857 =head2 UpdateFlowOutput
858  
859 =over
860  
861 =item FlowArn => Str
862  
863 =item OutputArn => Str
864  
865 =item [CidrAllowList => ArrayRef[Str|Undef]]
866  
867 =item [Description => Str]
868  
869 =item [Destination => Str]
870  
871 =item [Encryption => L<Paws::MediaConnect::UpdateEncryption>]
872  
873 =item [MaxLatency => Int]
874  
875 =item [MediaStreamOutputConfigurations => ArrayRef[L<Paws::MediaConnect::MediaStreamOutputConfigurationRequest>]]
876  
877 =item [MinLatency => Int]
878  
879 =item [Port => Int]
880  
881 =item [Protocol => Str]
882  
883 =item [RemoteId => Str]
884  
885 =item [SmoothingLatency => Int]
886  
887 =item [StreamId => Str]
888  
889 =item [VpcInterfaceAttachment => L<Paws::MediaConnect::VpcInterfaceAttachment>]
890  
891  
892 =back
893  
894 Each argument is described in detail in: L<Paws::MediaConnect::UpdateFlowOutput>
895  
896 Returns: a L<Paws::MediaConnect::UpdateFlowOutputResponse> instance
897  
898 Updates an existing flow output.
899  
900  
901 =head2 UpdateFlowSource
902  
903 =over
904  
905 =item FlowArn => Str
906  
907 =item SourceArn => Str
908  
909 =item [Decryption => L<Paws::MediaConnect::UpdateEncryption>]
910  
911 =item [Description => Str]
912  
913 =item [EntitlementArn => Str]
914  
915 =item [IngestPort => Int]
916  
917 =item [MaxBitrate => Int]
918  
919 =item [MaxLatency => Int]
920  
921 =item [MaxSyncBuffer => Int]
922  
923 =item [MediaStreamSourceConfigurations => ArrayRef[L<Paws::MediaConnect::MediaStreamSourceConfigurationRequest>]]
924  
925 =item [MinLatency => Int]
926  
927 =item [Protocol => Str]
928  
929 =item [StreamId => Str]
930  
931 =item [VpcInterfaceName => Str]
932  
933 =item [WhitelistCidr => Str]
934  
935  
936 =back
937  
938 Each argument is described in detail in: L<Paws::MediaConnect::UpdateFlowSource>
939  
940 Returns: a L<Paws::MediaConnect::UpdateFlowSourceResponse> instance
941  
942 Updates the source of a flow.
943  
944  
945  
946  
947 =head1 PAGINATORS
948  
949 Paginator methods are helpers that repetively call methods that return partial results
950  
951 =head2 ListAllEntitlements(sub { },[MaxResults => Int, NextToken => Str])
952  
953 =head2 ListAllEntitlements([MaxResults => Int, NextToken => Str])
954  
955  
956 If passed a sub as first parameter, it will call the sub for each element found in :
957  
958 - Entitlements, passing the object as the first parameter, and the string 'Entitlements' as the second parameter
959  
960 If not, it will return a a L<Paws::MediaConnect::ListEntitlementsResponse> 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.
961  
962  
963 =head2 ListAllFlows(sub { },[MaxResults => Int, NextToken => Str])
964  
965 =head2 ListAllFlows([MaxResults => Int, NextToken => Str])
966  
967  
968 If passed a sub as first parameter, it will call the sub for each element found in :
969  
970 - Flows, passing the object as the first parameter, and the string 'Flows' as the second parameter
971  
972 If not, it will return a a L<Paws::MediaConnect::ListFlowsResponse> 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.
973  
974  
975 =head2 ListAllOfferings(sub { },[MaxResults => Int, NextToken => Str])
976  
977 =head2 ListAllOfferings([MaxResults => Int, NextToken => Str])
978  
979  
980 If passed a sub as first parameter, it will call the sub for each element found in :
981  
982 - Offerings, passing the object as the first parameter, and the string 'Offerings' as the second parameter
983  
984 If not, it will return a a L<Paws::MediaConnect::ListOfferingsResponse> 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.
985  
986  
987 =head2 ListAllReservations(sub { },[MaxResults => Int, NextToken => Str])
988  
989 =head2 ListAllReservations([MaxResults => Int, NextToken => Str])
990  
991  
992 If passed a sub as first parameter, it will call the sub for each element found in :
993  
994 - Reservations, passing the object as the first parameter, and the string 'Reservations' as the second parameter
995  
996 If not, it will return a a L<Paws::MediaConnect::ListReservationsResponse> 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.
997  
998  
999  
1000  
1001  
1002 =head1 SEE ALSO
1003  
1004 This service class forms part of L<Paws>
1005  
1006 =head1 BUGS and CONTRIBUTIONS
1007  
1008 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1009  
1010 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1011  
1012 =cut
1013