The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::MediaTailor - Perl Interface to AWS AWS MediaTailor

SYNOPSIS

  use Paws;

  my $obj = Paws->service('MediaTailor');
  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

Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide (https://docs.aws.amazon.com/mediatailor/latest/ug/).

Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/api.mediatailor-2018-04-23

METHODS

CreateChannel

ChannelName => Str
Outputs => ArrayRef[Paws::MediaTailor::RequestOutputItem]
PlaybackMode => Str
[Tags => Paws::MediaTailor::__mapOf__string]

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

Returns: a Paws::MediaTailor::CreateChannelResponse instance

Creates a channel.

CreateProgram

ChannelName => Str
ProgramName => Str
ScheduleConfiguration => Paws::MediaTailor::ScheduleConfiguration
SourceLocationName => Str
VodSourceName => Str
[AdBreaks => ArrayRef[Paws::MediaTailor::AdBreak]]

Each argument is described in detail in: Paws::MediaTailor::CreateProgram

Returns: a Paws::MediaTailor::CreateProgramResponse instance

Creates a program.

CreateSourceLocation

HttpConfiguration => Paws::MediaTailor::HttpConfiguration
SourceLocationName => Str
[AccessConfiguration => Paws::MediaTailor::AccessConfiguration]
[DefaultSegmentDeliveryConfiguration => Paws::MediaTailor::DefaultSegmentDeliveryConfiguration]
[Tags => Paws::MediaTailor::__mapOf__string]

Each argument is described in detail in: Paws::MediaTailor::CreateSourceLocation

Returns: a Paws::MediaTailor::CreateSourceLocationResponse instance

Creates a source location on a specific channel.

CreateVodSource

HttpPackageConfigurations => ArrayRef[Paws::MediaTailor::HttpPackageConfiguration]
SourceLocationName => Str
VodSourceName => Str
[Tags => Paws::MediaTailor::__mapOf__string]

Each argument is described in detail in: Paws::MediaTailor::CreateVodSource

Returns: a Paws::MediaTailor::CreateVodSourceResponse instance

Creates name for a specific VOD source in a source location.

DeleteChannel

ChannelName => Str

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

Returns: a Paws::MediaTailor::DeleteChannelResponse instance

Deletes a channel. You must stop the channel before it can be deleted.

DeleteChannelPolicy

ChannelName => Str

Each argument is described in detail in: Paws::MediaTailor::DeleteChannelPolicy

Returns: a Paws::MediaTailor::DeleteChannelPolicyResponse instance

Deletes a channel's IAM policy.

DeletePlaybackConfiguration

Name => Str

Each argument is described in detail in: Paws::MediaTailor::DeletePlaybackConfiguration

Returns: a Paws::MediaTailor::DeletePlaybackConfigurationResponse instance

Deletes the playback configuration for the specified name.

DeleteProgram

ChannelName => Str
ProgramName => Str

Each argument is described in detail in: Paws::MediaTailor::DeleteProgram

Returns: a Paws::MediaTailor::DeleteProgramResponse instance

Deletes a specific program on a specific channel.

DeleteSourceLocation

SourceLocationName => Str

Each argument is described in detail in: Paws::MediaTailor::DeleteSourceLocation

Returns: a Paws::MediaTailor::DeleteSourceLocationResponse instance

Deletes a source location on a specific channel.

DeleteVodSource

SourceLocationName => Str
VodSourceName => Str

Each argument is described in detail in: Paws::MediaTailor::DeleteVodSource

Returns: a Paws::MediaTailor::DeleteVodSourceResponse instance

Deletes a specific VOD source in a specific source location.

DescribeChannel

ChannelName => Str

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

Returns: a Paws::MediaTailor::DescribeChannelResponse instance

Describes the properties of a specific channel.

DescribeProgram

ChannelName => Str
ProgramName => Str

Each argument is described in detail in: Paws::MediaTailor::DescribeProgram

Returns: a Paws::MediaTailor::DescribeProgramResponse instance

Retrieves the properties of the requested program.

DescribeSourceLocation

SourceLocationName => Str

Each argument is described in detail in: Paws::MediaTailor::DescribeSourceLocation

Returns: a Paws::MediaTailor::DescribeSourceLocationResponse instance

Retrieves the properties of the requested source location.

DescribeVodSource

SourceLocationName => Str
VodSourceName => Str

Each argument is described in detail in: Paws::MediaTailor::DescribeVodSource

Returns: a Paws::MediaTailor::DescribeVodSourceResponse instance

Provides details about a specific VOD source in a specific source location.

GetChannelPolicy

ChannelName => Str

Each argument is described in detail in: Paws::MediaTailor::GetChannelPolicy

Returns: a Paws::MediaTailor::GetChannelPolicyResponse instance

Retrieves information about a channel's IAM policy.

GetChannelSchedule

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

Each argument is described in detail in: Paws::MediaTailor::GetChannelSchedule

Returns: a Paws::MediaTailor::GetChannelScheduleResponse instance

Retrieves information about your channel's schedule.

GetPlaybackConfiguration

Name => Str

Each argument is described in detail in: Paws::MediaTailor::GetPlaybackConfiguration

Returns: a Paws::MediaTailor::GetPlaybackConfigurationResponse instance

Returns the playback configuration for the specified name.

ListChannels

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

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

Returns: a Paws::MediaTailor::ListChannelsResponse instance

Retrieves a list of channels that are associated with this account.

ListPlaybackConfigurations

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

Each argument is described in detail in: Paws::MediaTailor::ListPlaybackConfigurations

Returns: a Paws::MediaTailor::ListPlaybackConfigurationsResponse instance

Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.

ListSourceLocations

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

Each argument is described in detail in: Paws::MediaTailor::ListSourceLocations

Returns: a Paws::MediaTailor::ListSourceLocationsResponse instance

Retrieves a list of source locations.

ListTagsForResource

ResourceArn => Str

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

Returns: a Paws::MediaTailor::ListTagsForResourceResponse instance

Returns a list of the tags assigned to the specified playback configuration resource.

ListVodSources

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

Each argument is described in detail in: Paws::MediaTailor::ListVodSources

Returns: a Paws::MediaTailor::ListVodSourcesResponse instance

Lists all the VOD sources in a source location.

PutChannelPolicy

ChannelName => Str
Policy => Str

Each argument is described in detail in: Paws::MediaTailor::PutChannelPolicy

Returns: a Paws::MediaTailor::PutChannelPolicyResponse instance

Creates an IAM policy for the channel.

PutPlaybackConfiguration

[AdDecisionServerUrl => Str]
[AvailSuppression => Paws::MediaTailor::AvailSuppression]
[Bumper => Paws::MediaTailor::Bumper]
[CdnConfiguration => Paws::MediaTailor::CdnConfiguration]
[ConfigurationAliases => Paws::MediaTailor::ConfigurationAliasesRequest]
[DashConfiguration => Paws::MediaTailor::DashConfigurationForPut]
[LivePreRollConfiguration => Paws::MediaTailor::LivePreRollConfiguration]
[ManifestProcessingRules => Paws::MediaTailor::ManifestProcessingRules]
[Name => Str]
[PersonalizationThresholdSeconds => Int]
[SlateAdUrl => Str]
[Tags => Paws::MediaTailor::__mapOf__string]
[TranscodeProfileName => Str]
[VideoContentSourceUrl => Str]

Each argument is described in detail in: Paws::MediaTailor::PutPlaybackConfiguration

Returns: a Paws::MediaTailor::PutPlaybackConfigurationResponse instance

Adds a new playback configuration to AWS Elemental MediaTailor.

StartChannel

ChannelName => Str

Each argument is described in detail in: Paws::MediaTailor::StartChannel

Returns: a Paws::MediaTailor::StartChannelResponse instance

Starts a specific channel.

StopChannel

ChannelName => Str

Each argument is described in detail in: Paws::MediaTailor::StopChannel

Returns: a Paws::MediaTailor::StopChannelResponse instance

Stops a specific channel.

TagResource

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

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

Returns: nothing

Adds tags to the specified playback configuration resource. You can specify one or more tags to add.

UntagResource

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

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

Returns: nothing

Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.

UpdateChannel

ChannelName => Str
Outputs => ArrayRef[Paws::MediaTailor::RequestOutputItem]

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

Returns: a Paws::MediaTailor::UpdateChannelResponse instance

Updates an existing channel.

UpdateSourceLocation

HttpConfiguration => Paws::MediaTailor::HttpConfiguration
SourceLocationName => Str
[AccessConfiguration => Paws::MediaTailor::AccessConfiguration]
[DefaultSegmentDeliveryConfiguration => Paws::MediaTailor::DefaultSegmentDeliveryConfiguration]

Each argument is described in detail in: Paws::MediaTailor::UpdateSourceLocation

Returns: a Paws::MediaTailor::UpdateSourceLocationResponse instance

Updates a source location on a specific channel.

UpdateVodSource

HttpPackageConfigurations => ArrayRef[Paws::MediaTailor::HttpPackageConfiguration]
SourceLocationName => Str
VodSourceName => Str

Each argument is described in detail in: Paws::MediaTailor::UpdateVodSource

Returns: a Paws::MediaTailor::UpdateVodSourceResponse instance

Updates a specific VOD source in a specific source location.

PAGINATORS

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

GetAllChannelSchedule(sub { },ChannelName => Str, [DurationMinutes => Str, MaxResults => Int, NextToken => Str])

GetAllChannelSchedule(ChannelName => Str, [DurationMinutes => Str, MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter 

If not, it will return a a Paws::MediaTailor::GetChannelScheduleResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

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 :

 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter 

If not, it will return a a Paws::MediaTailor::ListChannelsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

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

ListAllPlaybackConfigurations([MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter 

If not, it will return a a Paws::MediaTailor::ListPlaybackConfigurationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

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

ListAllSourceLocations([MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter 

If not, it will return a a Paws::MediaTailor::ListSourceLocationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

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

ListAllVodSources(SourceLocationName => Str, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - Items, passing the object as the first parameter, and the string 'Items' as the second parameter 

If not, it will return a a Paws::MediaTailor::ListVodSourcesResponse 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