The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::MediaPackage - Perl Interface to AWS AWS Elemental MediaPackage

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' } ],
  );

DESCRIPTION

AWS Elemental MediaPackage

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12

METHODS

CreateChannel

Id => Str
[Description => Str]
[Tags => Paws::MediaPackage::Tags]

Each argument is described in detail in: Paws::MediaPackage::CreateChannel

Returns: a Paws::MediaPackage::CreateChannelResponse instance

Creates a new Channel.

CreateHarvestJob

EndTime => Str
Id => Str
OriginEndpointId => Str
S3Destination => Paws::MediaPackage::S3Destination
StartTime => Str

Each argument is described in detail in: Paws::MediaPackage::CreateHarvestJob

Returns: a Paws::MediaPackage::CreateHarvestJobResponse instance

Creates a new HarvestJob record.

CreateOriginEndpoint

ChannelId => Str
Id => Str
[Authorization => Paws::MediaPackage::Authorization]
[CmafPackage => Paws::MediaPackage::CmafPackageCreateOrUpdateParameters]
[DashPackage => Paws::MediaPackage::DashPackage]
[Description => Str]
[HlsPackage => Paws::MediaPackage::HlsPackage]
[ManifestName => Str]
[MssPackage => Paws::MediaPackage::MssPackage]
[Origination => Str]
[StartoverWindowSeconds => Int]
[Tags => Paws::MediaPackage::Tags]
[TimeDelaySeconds => Int]
[Whitelist => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::MediaPackage::CreateOriginEndpoint

Returns: a Paws::MediaPackage::CreateOriginEndpointResponse instance

Creates a new OriginEndpoint record.

DeleteChannel

Id => Str

Each argument is described in detail in: Paws::MediaPackage::DeleteChannel

Returns: a Paws::MediaPackage::DeleteChannelResponse instance

Deletes an existing Channel.

DeleteOriginEndpoint

Id => Str

Each argument is described in detail in: Paws::MediaPackage::DeleteOriginEndpoint

Returns: a Paws::MediaPackage::DeleteOriginEndpointResponse instance

Deletes an existing OriginEndpoint.

DescribeChannel

Id => Str

Each argument is described in detail in: Paws::MediaPackage::DescribeChannel

Returns: a Paws::MediaPackage::DescribeChannelResponse instance

Gets details about a Channel.

DescribeHarvestJob

Id => Str

Each argument is described in detail in: Paws::MediaPackage::DescribeHarvestJob

Returns: a Paws::MediaPackage::DescribeHarvestJobResponse instance

Gets details about an existing HarvestJob.

DescribeOriginEndpoint

Id => Str

Each argument is described in detail in: Paws::MediaPackage::DescribeOriginEndpoint

Returns: a Paws::MediaPackage::DescribeOriginEndpointResponse instance

Gets details about an existing OriginEndpoint.

ListChannels

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::MediaPackage::ListChannels

Returns: a Paws::MediaPackage::ListChannelsResponse instance

Returns a collection of Channels.

ListHarvestJobs

[IncludeChannelId => Str]
[IncludeStatus => Str]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::MediaPackage::ListHarvestJobs

Returns: a Paws::MediaPackage::ListHarvestJobsResponse instance

Returns a collection of HarvestJob records.

ListOriginEndpoints

[ChannelId => Str]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::MediaPackage::ListOriginEndpoints

Returns: a Paws::MediaPackage::ListOriginEndpointsResponse instance

Returns a collection of OriginEndpoint records.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::MediaPackage::ListTagsForResource

Returns: a Paws::MediaPackage::ListTagsForResourceResponse instance

RotateChannelCredentials

Id => Str

Each argument is described in detail in: Paws::MediaPackage::RotateChannelCredentials

Returns: a Paws::MediaPackage::RotateChannelCredentialsResponse instance

Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead

RotateIngestEndpointCredentials

Id => Str
IngestEndpointId => Str

Each argument is described in detail in: Paws::MediaPackage::RotateIngestEndpointCredentials

Returns: a Paws::MediaPackage::RotateIngestEndpointCredentialsResponse instance

Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.

TagResource

ResourceArn => Str
Tags => Paws::MediaPackage::__mapOf__string

Each argument is described in detail in: Paws::MediaPackage::TagResource

Returns: nothing

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::MediaPackage::UntagResource

Returns: nothing

UpdateChannel

Id => Str
[Description => Str]

Each argument is described in detail in: Paws::MediaPackage::UpdateChannel

Returns: a Paws::MediaPackage::UpdateChannelResponse instance

Updates an existing Channel.

UpdateOriginEndpoint

Id => Str
[Authorization => Paws::MediaPackage::Authorization]
[CmafPackage => Paws::MediaPackage::CmafPackageCreateOrUpdateParameters]
[DashPackage => Paws::MediaPackage::DashPackage]
[Description => Str]
[HlsPackage => Paws::MediaPackage::HlsPackage]
[ManifestName => Str]
[MssPackage => Paws::MediaPackage::MssPackage]
[Origination => Str]
[StartoverWindowSeconds => Int]
[TimeDelaySeconds => Int]
[Whitelist => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::MediaPackage::UpdateOriginEndpoint

Returns: a Paws::MediaPackage::UpdateOriginEndpointResponse instance

Updates an existing OriginEndpoint.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllChannels(sub { },[MaxResults => Int, NextToken => Str])

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 Paws::MediaPackage::ListChannelsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllHarvestJobs(sub { },[IncludeChannelId => Str, IncludeStatus => Str, MaxResults => Int, NextToken => Str])

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 Paws::MediaPackage::ListHarvestJobsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllOriginEndpoints(sub { },[ChannelId => Str, MaxResults => Int, NextToken => Str])

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 Paws::MediaPackage::ListOriginEndpointsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues