PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::MediaPackage; use Moose; sub service { 'mediapackage' } sub signing_name { 'mediapackage' } sub version { '2017-10-12' } sub flattened_arrays { 0 } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'rand', type => 'exponential', growth_factor => 2 } }); has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ ] }); with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; sub ConfigureLogs { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::ConfigureLogs', @_); return $self->caller->do_call($self, $call_object); } sub CreateChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::CreateChannel', @_); return $self->caller->do_call($self, $call_object); } sub CreateHarvestJob { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::CreateHarvestJob', @_); return $self->caller->do_call($self, $call_object); } sub CreateOriginEndpoint { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::CreateOriginEndpoint', @_); return $self->caller->do_call($self, $call_object); } sub DeleteChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::DeleteChannel', @_); return $self->caller->do_call($self, $call_object); } sub DeleteOriginEndpoint { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::DeleteOriginEndpoint', @_); return $self->caller->do_call($self, $call_object); } sub DescribeChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::DescribeChannel', @_); return $self->caller->do_call($self, $call_object); } sub DescribeHarvestJob { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::DescribeHarvestJob', @_); return $self->caller->do_call($self, $call_object); } sub DescribeOriginEndpoint { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::DescribeOriginEndpoint', @_); return $self->caller->do_call($self, $call_object); } sub ListChannels { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::ListChannels', @_); return $self->caller->do_call($self, $call_object); } sub ListHarvestJobs { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::ListHarvestJobs', @_); return $self->caller->do_call($self, $call_object); } sub ListOriginEndpoints { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::ListOriginEndpoints', @_); return $self->caller->do_call($self, $call_object); } sub ListTagsForResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::ListTagsForResource', @_); return $self->caller->do_call($self, $call_object); } sub RotateChannelCredentials { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::RotateChannelCredentials', @_); return $self->caller->do_call($self, $call_object); } sub RotateIngestEndpointCredentials { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::RotateIngestEndpointCredentials', @_); return $self->caller->do_call($self, $call_object); } sub TagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::TagResource', @_); return $self->caller->do_call($self, $call_object); } sub UntagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::UntagResource', @_); return $self->caller->do_call($self, $call_object); } sub UpdateChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::UpdateChannel', @_); return $self->caller->do_call($self, $call_object); } sub UpdateOriginEndpoint { my $self = shift; my $call_object = $self->new_with_coercions('Paws::MediaPackage::UpdateOriginEndpoint', @_); return $self->caller->do_call($self, $call_object); } sub ListAllChannels { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListChannels(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->ListChannels(@_, NextToken => $next_result->NextToken); push @{ $result->Channels }, @{ $next_result->Channels }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'Channels') foreach (@{ $result->Channels }); $result = $self->ListChannels(@_, NextToken => $result->NextToken); } $callback->($_ => 'Channels') foreach (@{ $result->Channels }); } return undef } sub ListAllHarvestJobs { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListHarvestJobs(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->ListHarvestJobs(@_, NextToken => $next_result->NextToken); push @{ $result->HarvestJobs }, @{ $next_result->HarvestJobs }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'HarvestJobs') foreach (@{ $result->HarvestJobs }); $result = $self->ListHarvestJobs(@_, NextToken => $result->NextToken); } $callback->($_ => 'HarvestJobs') foreach (@{ $result->HarvestJobs }); } return undef } sub ListAllOriginEndpoints { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListOriginEndpoints(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->ListOriginEndpoints(@_, NextToken => $next_result->NextToken); push @{ $result->OriginEndpoints }, @{ $next_result->OriginEndpoints }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'OriginEndpoints') foreach (@{ $result->OriginEndpoints }); $result = $self->ListOriginEndpoints(@_, NextToken => $result->NextToken); } $callback->($_ => 'OriginEndpoints') foreach (@{ $result->OriginEndpoints }); } return undef } sub operations { qw/ConfigureLogs CreateChannel CreateHarvestJob CreateOriginEndpoint DeleteChannel DeleteOriginEndpoint DescribeChannel DescribeHarvestJob DescribeOriginEndpoint ListChannels ListHarvestJobs ListOriginEndpoints ListTagsForResource RotateChannelCredentials RotateIngestEndpointCredentials TagResource UntagResource UpdateChannel UpdateOriginEndpoint / } 1; ### main pod documentation begin ### =head1 NAME Paws::MediaPackage - Perl Interface to AWS AWS Elemental MediaPackage =head1 SYNOPSIS use Paws; my $obj = Paws->service('MediaPackage'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); =head1 DESCRIPTION AWS Elemental MediaPackage For the AWS API documentation, see L =head1 METHODS =head2 ConfigureLogs =over =item Id => Str =item [EgressAccessLogs => L] =item [IngressAccessLogs => L] =back Each argument is described in detail in: L Returns: a L instance Changes the Channel's properities to configure log subscription =head2 CreateChannel =over =item Id => Str =item [Description => Str] =item [Tags => L] =back Each argument is described in detail in: L Returns: a L instance Creates a new Channel. =head2 CreateHarvestJob =over =item EndTime => Str =item Id => Str =item OriginEndpointId => Str =item S3Destination => L =item StartTime => Str =back Each argument is described in detail in: L Returns: a L instance Creates a new HarvestJob record. =head2 CreateOriginEndpoint =over =item ChannelId => Str =item Id => Str =item [Authorization => L] =item [CmafPackage => L] =item [DashPackage => L] =item [Description => Str] =item [HlsPackage => L] =item [ManifestName => Str] =item [MssPackage => L] =item [Origination => Str] =item [StartoverWindowSeconds => Int] =item [Tags => L] =item [TimeDelaySeconds => Int] =item [Whitelist => ArrayRef[Str|Undef]] =back Each argument is described in detail in: L Returns: a L instance Creates a new OriginEndpoint record. =head2 DeleteChannel =over =item Id => Str =back Each argument is described in detail in: L Returns: a L instance Deletes an existing Channel. =head2 DeleteOriginEndpoint =over =item Id => Str =back Each argument is described in detail in: L Returns: a L instance Deletes an existing OriginEndpoint. =head2 DescribeChannel =over =item Id => Str =back Each argument is described in detail in: L Returns: a L instance Gets details about a Channel. =head2 DescribeHarvestJob =over =item Id => Str =back Each argument is described in detail in: L Returns: a L instance Gets details about an existing HarvestJob. =head2 DescribeOriginEndpoint =over =item Id => Str =back Each argument is described in detail in: L Returns: a L instance Gets details about an existing OriginEndpoint. =head2 ListChannels =over =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a collection of Channels. =head2 ListHarvestJobs =over =item [IncludeChannelId => Str] =item [IncludeStatus => Str] =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a collection of HarvestJob records. =head2 ListOriginEndpoints =over =item [ChannelId => Str] =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a collection of OriginEndpoint records. =head2 ListTagsForResource =over =item ResourceArn => Str =back Each argument is described in detail in: L Returns: a L instance =head2 RotateChannelCredentials =over =item Id => Str =back Each argument is described in detail in: L Returns: a L instance Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead =head2 RotateIngestEndpointCredentials =over =item Id => Str =item IngestEndpointId => Str =back Each argument is described in detail in: L Returns: a L instance Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id. =head2 TagResource =over =item ResourceArn => Str =item Tags => L =back Each argument is described in detail in: L Returns: nothing =head2 UntagResource =over =item ResourceArn => Str =item TagKeys => ArrayRef[Str|Undef] =back Each argument is described in detail in: L Returns: nothing =head2 UpdateChannel =over =item Id => Str =item [Description => Str] =back Each argument is described in detail in: L Returns: a L instance Updates an existing Channel. =head2 UpdateOriginEndpoint =over =item Id => Str =item [Authorization => L] =item [CmafPackage => L] =item [DashPackage => L] =item [Description => Str] =item [HlsPackage => L] =item [ManifestName => Str] =item [MssPackage => L] =item [Origination => Str] =item [StartoverWindowSeconds => Int] =item [TimeDelaySeconds => Int] =item [Whitelist => ArrayRef[Str|Undef]] =back Each argument is described in detail in: L Returns: a L instance Updates an existing OriginEndpoint. =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 ListAllChannels(sub { },[MaxResults => Int, NextToken => Str]) =head2 ListAllChannels([MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - Channels, passing the object as the first parameter, and the string 'Channels' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 ListAllHarvestJobs(sub { },[IncludeChannelId => Str, IncludeStatus => Str, MaxResults => Int, NextToken => Str]) =head2 ListAllHarvestJobs([IncludeChannelId => Str, IncludeStatus => Str, MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - HarvestJobs, passing the object as the first parameter, and the string 'HarvestJobs' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 ListAllOriginEndpoints(sub { },[ChannelId => Str, MaxResults => Int, NextToken => Str]) =head2 ListAllOriginEndpoints([ChannelId => Str, MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - OriginEndpoints, passing the object as the first parameter, and the string 'OriginEndpoints' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head1 SEE ALSO This service class forms part of L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut