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]

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

Returns: a Paws::MediaPackage::CreateChannelResponse instance

Creates a new Channel.

CreateOriginEndpoint

ChannelId => Str
Id => Str
[CmafPackage => Paws::MediaPackage::CmafPackageCreateOrUpdateParameters]
[DashPackage => Paws::MediaPackage::DashPackage]
[Description => Str]
[HlsPackage => Paws::MediaPackage::HlsPackage]
[ManifestName => Str]
[MssPackage => Paws::MediaPackage::MssPackage]
[StartoverWindowSeconds => Int]
[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.

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.

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.

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.

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
[CmafPackage => Paws::MediaPackage::CmafPackageCreateOrUpdateParameters]
[DashPackage => Paws::MediaPackage::DashPackage]
[Description => Str]
[HlsPackage => Paws::MediaPackage::HlsPackage]
[ManifestName => Str]
[MssPackage => Paws::MediaPackage::MssPackage]
[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.

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