SDK for PHP 3.x

Client: Aws\MediaTailor\MediaTailorClient
Service ID: mediatailor
Version: 2018-04-23

This page describes the parameters and results for the operations of the AWS MediaTailor (2018-04-23), and shows how to use the Aws\MediaTailor\MediaTailorClient object to call the described operations. This documentation is specific to the 2018-04-23 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

ConfigureLogsForChannel ( array $params = [] )
Configures Amazon CloudWatch log settings for a channel.
ConfigureLogsForPlaybackConfiguration ( array $params = [] )
Amazon CloudWatch log settings for a playback configuration.
CreateChannel ( array $params = [] )
Creates a channel.
CreateLiveSource ( array $params = [] )
The live source configuration.
CreatePrefetchSchedule ( array $params = [] )
Creates a prefetch schedule for a playback configuration.
CreateProgram ( array $params = [] )
Creates a program within a channel.
CreateSourceLocation ( array $params = [] )
Creates a source location.
CreateVodSource ( array $params = [] )
The VOD source configuration parameters.
DeleteChannel ( array $params = [] )
Deletes a channel.
DeleteChannelPolicy ( array $params = [] )
The channel policy to delete.
DeleteLiveSource ( array $params = [] )
The live source to delete.
DeletePlaybackConfiguration ( array $params = [] )
Deletes a playback configuration.
DeletePrefetchSchedule ( array $params = [] )
Deletes a prefetch schedule for a specific playback configuration.
DeleteProgram ( array $params = [] )
Deletes a program within a channel.
DeleteSourceLocation ( array $params = [] )
Deletes a source location.
DeleteVodSource ( array $params = [] )
The video on demand (VOD) source to delete.
DescribeChannel ( array $params = [] )
Describes a channel.
DescribeLiveSource ( array $params = [] )
The live source to describe.
DescribeProgram ( array $params = [] )
Describes a program within a channel.
DescribeSourceLocation ( array $params = [] )
Describes a source location.
DescribeVodSource ( array $params = [] )
Provides details about a specific video on demand (VOD) source in a specific source location.
GetChannelPolicy ( array $params = [] )
Returns the channel's IAM policy.
GetChannelSchedule ( array $params = [] )
Retrieves information about your channel's schedule.
GetPlaybackConfiguration ( array $params = [] )
Retrieves a playback configuration.
GetPrefetchSchedule ( array $params = [] )
Retrieves a prefetch schedule for a playback configuration.
ListAlerts ( array $params = [] )
Lists the alerts that are associated with a MediaTailor channel assembly resource.
ListChannels ( array $params = [] )
Retrieves information about the channels that are associated with the current AWS account.
ListLiveSources ( array $params = [] )
Lists the live sources contained in a source location.
ListPlaybackConfigurations ( array $params = [] )
Retrieves existing playback configurations.
ListPrefetchSchedules ( array $params = [] )
Lists the prefetch schedules for a playback configuration.
ListSourceLocations ( array $params = [] )
Lists the source locations for a channel.
ListTagsForResource ( array $params = [] )
A list of tags that are associated with this resource.
ListVodSources ( array $params = [] )
Lists the VOD sources contained in a source location.
PutChannelPolicy ( array $params = [] )
Creates an IAM policy for the channel.
PutPlaybackConfiguration ( array $params = [] )
Creates a playback configuration.
StartChannel ( array $params = [] )
Starts a channel.
StopChannel ( array $params = [] )
Stops a channel.
TagResource ( array $params = [] )
The resource to tag.
UntagResource ( array $params = [] )
The resource to untag.
UpdateChannel ( array $params = [] )
Updates a channel.
UpdateLiveSource ( array $params = [] )
Updates a live source's configuration.
UpdateProgram ( array $params = [] )
Updates a program within a channel.
UpdateSourceLocation ( array $params = [] )
Updates a source location.
UpdateVodSource ( array $params = [] )
Updates a VOD source's configuration.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

GetChannelSchedule
ListAlerts
ListChannels
ListLiveSources
ListPlaybackConfigurations
ListPrefetchSchedules
ListSourceLocations
ListVodSources

Operations

ConfigureLogsForChannel

$result = $client->configureLogsForChannel([/* ... */]);
$promise = $client->configureLogsForChannelAsync([/* ... */]);

Configures Amazon CloudWatch log settings for a channel.

Parameter Syntax

$result = $client->configureLogsForChannel([
    'ChannelName' => '<string>', // REQUIRED
    'LogTypes' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel.

LogTypes
Required: Yes
Type: Array of strings

The types of logs to collect.

Result Syntax

[
    'ChannelName' => '<string>',
    'LogTypes' => ['<string>', ...],
]

Result Details

Members
ChannelName
Type: string

The name of the channel.

LogTypes
Type: Array of strings

The types of logs collected.

Errors

There are no errors described for this operation.

ConfigureLogsForPlaybackConfiguration

$result = $client->configureLogsForPlaybackConfiguration([/* ... */]);
$promise = $client->configureLogsForPlaybackConfigurationAsync([/* ... */]);

Amazon CloudWatch log settings for a playback configuration.

Parameter Syntax

$result = $client->configureLogsForPlaybackConfiguration([
    'PercentEnabled' => <integer>, // REQUIRED
    'PlaybackConfigurationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
PercentEnabled
Required: Yes
Type: int

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

PlaybackConfigurationName
Required: Yes
Type: string

The name of the playback configuration.

Result Syntax

[
    'PercentEnabled' => <integer>,
    'PlaybackConfigurationName' => '<string>',
]

Result Details

Members
PercentEnabled
Required: Yes
Type: int

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.

PlaybackConfigurationName
Type: string

The name of the playback configuration.

Errors

There are no errors described for this operation.

CreateChannel

$result = $client->createChannel([/* ... */]);
$promise = $client->createChannelAsync([/* ... */]);

Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter Syntax

$result = $client->createChannel([
    'Audiences' => ['<string>', ...],
    'ChannelName' => '<string>', // REQUIRED
    'FillerSlate' => [
        'SourceLocationName' => '<string>',
        'VodSourceName' => '<string>',
    ],
    'Outputs' => [ // REQUIRED
        [
            'DashPlaylistSettings' => [
                'ManifestWindowSeconds' => <integer>,
                'MinBufferTimeSeconds' => <integer>,
                'MinUpdatePeriodSeconds' => <integer>,
                'SuggestedPresentationDelaySeconds' => <integer>,
            ],
            'HlsPlaylistSettings' => [
                'AdMarkupType' => ['<string>', ...],
                'ManifestWindowSeconds' => <integer>,
            ],
            'ManifestName' => '<string>', // REQUIRED
            'SourceGroup' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'PlaybackMode' => 'LOOP|LINEAR', // REQUIRED
    'Tags' => ['<string>', ...],
    'Tier' => 'BASIC|STANDARD',
    'TimeShiftConfiguration' => [
        'MaxTimeDelaySeconds' => <integer>, // REQUIRED
    ],
]);

Parameter Details

Members
Audiences
Type: Array of strings

The list of audiences defined in channel.

ChannelName
Required: Yes
Type: string

The name of the channel.

FillerSlate
Type: SlateSource structure

The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

Outputs
Required: Yes
Type: Array of RequestOutputItem structures

The channel's output properties.

PlaybackMode
Required: Yes
Type: string

The type of playback mode to use for this channel.

LINEAR - The programs in the schedule play once back-to-back in the schedule.

LOOP - The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, playback loops back to the first program in the schedule.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Tier
Type: string

The tier of the channel.

TimeShiftConfiguration
Type: TimeShiftConfiguration structure

The time-shifted viewing configuration you want to associate to the channel.

Result Syntax

[
    'Arn' => '<string>',
    'Audiences' => ['<string>', ...],
    'ChannelName' => '<string>',
    'ChannelState' => 'RUNNING|STOPPED',
    'CreationTime' => <DateTime>,
    'FillerSlate' => [
        'SourceLocationName' => '<string>',
        'VodSourceName' => '<string>',
    ],
    'LastModifiedTime' => <DateTime>,
    'Outputs' => [
        [
            'DashPlaylistSettings' => [
                'ManifestWindowSeconds' => <integer>,
                'MinBufferTimeSeconds' => <integer>,
                'MinUpdatePeriodSeconds' => <integer>,
                'SuggestedPresentationDelaySeconds' => <integer>,
            ],
            'HlsPlaylistSettings' => [
                'AdMarkupType' => ['<string>', ...],
                'ManifestWindowSeconds' => <integer>,
            ],
            'ManifestName' => '<string>',
            'PlaybackUrl' => '<string>',
            'SourceGroup' => '<string>',
        ],
        // ...
    ],
    'PlaybackMode' => '<string>',
    'Tags' => ['<string>', ...],
    'Tier' => '<string>',
    'TimeShiftConfiguration' => [
        'MaxTimeDelaySeconds' => <integer>,
    ],
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) to assign to the channel.

Audiences
Type: Array of strings

The list of audiences defined in channel.

ChannelName
Type: string

The name to assign to the channel.

ChannelState
Type: string

Indicates whether the channel is in a running state or not.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was created.

FillerSlate
Type: SlateSource structure

Contains information about the slate used to fill gaps between programs in the schedule.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was last modified.

Outputs
Type: Array of ResponseOutputItem structures

The output properties to assign to the channel.

PlaybackMode
Type: string

The playback mode to assign to the channel.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Tier
Type: string

The tier of the channel.

TimeShiftConfiguration
Type: TimeShiftConfiguration structure

The time-shifted viewing configuration assigned to the channel.

Errors

There are no errors described for this operation.

CreateLiveSource

$result = $client->createLiveSource([/* ... */]);
$promise = $client->createLiveSourceAsync([/* ... */]);

The live source configuration.

Parameter Syntax

$result = $client->createLiveSource([
    'HttpPackageConfigurations' => [ // REQUIRED
        [
            'Path' => '<string>', // REQUIRED
            'SourceGroup' => '<string>', // REQUIRED
            'Type' => 'DASH|HLS', // REQUIRED
        ],
        // ...
    ],
    'LiveSourceName' => '<string>', // REQUIRED
    'SourceLocationName' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
HttpPackageConfigurations
Required: Yes
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configuration parameters for this live source.

LiveSourceName
Required: Yes
Type: string

The name of the live source.

SourceLocationName
Required: Yes
Type: string

The name of the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Result Syntax

[
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'HttpPackageConfigurations' => [
        [
            'Path' => '<string>',
            'SourceGroup' => '<string>',
            'Type' => 'DASH|HLS',
        ],
        // ...
    ],
    'LastModifiedTime' => <DateTime>,
    'LiveSourceName' => '<string>',
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
Arn
Type: string

The ARN to assign to the live source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the live source was created.

HttpPackageConfigurations
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configuration parameters for this live source.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the live source was last modified.

LiveSourceName
Type: string

The name to assign to the live source.

SourceLocationName
Type: string

The name to assign to the source location of the live source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

There are no errors described for this operation.

CreatePrefetchSchedule

$result = $client->createPrefetchSchedule([/* ... */]);
$promise = $client->createPrefetchScheduleAsync([/* ... */]);

Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.

Parameter Syntax

$result = $client->createPrefetchSchedule([
    'Consumption' => [ // REQUIRED
        'AvailMatchingCriteria' => [
            [
                'DynamicVariable' => '<string>', // REQUIRED
                'Operator' => 'EQUALS', // REQUIRED
            ],
            // ...
        ],
        'EndTime' => <integer || string || DateTime>, // REQUIRED
        'StartTime' => <integer || string || DateTime>,
    ],
    'Name' => '<string>', // REQUIRED
    'PlaybackConfigurationName' => '<string>', // REQUIRED
    'Retrieval' => [ // REQUIRED
        'DynamicVariables' => ['<string>', ...],
        'EndTime' => <integer || string || DateTime>, // REQUIRED
        'StartTime' => <integer || string || DateTime>,
    ],
    'StreamId' => '<string>',
]);

Parameter Details

Members
Consumption
Required: Yes
Type: PrefetchConsumption structure

The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.

Name
Required: Yes
Type: string

The name to assign to the schedule request.

PlaybackConfigurationName
Required: Yes
Type: string

The name to assign to the playback configuration.

Retrieval
Required: Yes
Type: PrefetchRetrieval structure

The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.

StreamId
Type: string

An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.

Result Syntax

[
    'Arn' => '<string>',
    'Consumption' => [
        'AvailMatchingCriteria' => [
            [
                'DynamicVariable' => '<string>',
                'Operator' => 'EQUALS',
            ],
            // ...
        ],
        'EndTime' => <DateTime>,
        'StartTime' => <DateTime>,
    ],
    'Name' => '<string>',
    'PlaybackConfigurationName' => '<string>',
    'Retrieval' => [
        'DynamicVariables' => ['<string>', ...],
        'EndTime' => <DateTime>,
        'StartTime' => <DateTime>,
    ],
    'StreamId' => '<string>',
]

Result Details

Members
Arn
Type: string

The ARN to assign to the prefetch schedule.

Consumption
Type: PrefetchConsumption structure

The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.

Name
Type: string

The name to assign to the prefetch schedule.

PlaybackConfigurationName
Type: string

The name to assign to the playback configuration.

Retrieval
Type: PrefetchRetrieval structure

The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.

StreamId
Type: string

An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.

Errors

There are no errors described for this operation.

CreateProgram

$result = $client->createProgram([/* ... */]);
$promise = $client->createProgramAsync([/* ... */]);

Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.

Parameter Syntax

$result = $client->createProgram([
    'AdBreaks' => [
        [
            'AdBreakMetadata' => [
                [
                    'Key' => '<string>', // REQUIRED
                    'Value' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
            'OffsetMillis' => <integer>, // REQUIRED
            'Slate' => [
                'SourceLocationName' => '<string>',
                'VodSourceName' => '<string>',
            ],
            'SpliceInsertMessage' => [
                'AvailNum' => <integer>,
                'AvailsExpected' => <integer>,
                'SpliceEventId' => <integer>,
                'UniqueProgramId' => <integer>,
            ],
            'TimeSignalMessage' => [
                'SegmentationDescriptors' => [
                    [
                        'SegmentNum' => <integer>,
                        'SegmentationEventId' => <integer>,
                        'SegmentationTypeId' => <integer>,
                        'SegmentationUpid' => '<string>',
                        'SegmentationUpidType' => <integer>,
                        'SegmentsExpected' => <integer>,
                        'SubSegmentNum' => <integer>,
                        'SubSegmentsExpected' => <integer>,
                    ],
                    // ...
                ],
            ],
        ],
        // ...
    ],
    'AudienceMedia' => [
        [
            'AlternateMedia' => [
                [
                    'AdBreaks' => [
                        [
                            'AdBreakMetadata' => [
                                [
                                    'Key' => '<string>', // REQUIRED
                                    'Value' => '<string>', // REQUIRED
                                ],
                                // ...
                            ],
                            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
                            'OffsetMillis' => <integer>, // REQUIRED
                            'Slate' => [
                                'SourceLocationName' => '<string>',
                                'VodSourceName' => '<string>',
                            ],
                            'SpliceInsertMessage' => [
                                'AvailNum' => <integer>,
                                'AvailsExpected' => <integer>,
                                'SpliceEventId' => <integer>,
                                'UniqueProgramId' => <integer>,
                            ],
                            'TimeSignalMessage' => [
                                'SegmentationDescriptors' => [
                                    [
                                        'SegmentNum' => <integer>,
                                        'SegmentationEventId' => <integer>,
                                        'SegmentationTypeId' => <integer>,
                                        'SegmentationUpid' => '<string>',
                                        'SegmentationUpidType' => <integer>,
                                        'SegmentsExpected' => <integer>,
                                        'SubSegmentNum' => <integer>,
                                        'SubSegmentsExpected' => <integer>,
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'ClipRange' => [
                        'EndOffsetMillis' => <integer>,
                        'StartOffsetMillis' => <integer>,
                    ],
                    'DurationMillis' => <integer>,
                    'LiveSourceName' => '<string>',
                    'ScheduledStartTimeMillis' => <integer>,
                    'SourceLocationName' => '<string>',
                    'VodSourceName' => '<string>',
                ],
                // ...
            ],
            'Audience' => '<string>',
        ],
        // ...
    ],
    'ChannelName' => '<string>', // REQUIRED
    'LiveSourceName' => '<string>',
    'ProgramName' => '<string>', // REQUIRED
    'ScheduleConfiguration' => [ // REQUIRED
        'ClipRange' => [
            'EndOffsetMillis' => <integer>,
            'StartOffsetMillis' => <integer>,
        ],
        'Transition' => [ // REQUIRED
            'DurationMillis' => <integer>,
            'RelativePosition' => 'BEFORE_PROGRAM|AFTER_PROGRAM', // REQUIRED
            'RelativeProgram' => '<string>',
            'ScheduledStartTimeMillis' => <integer>,
            'Type' => '<string>', // REQUIRED
        ],
    ],
    'SourceLocationName' => '<string>', // REQUIRED
    'VodSourceName' => '<string>',
]);

Parameter Details

Members
AdBreaks
Type: Array of AdBreak structures

The ad break configuration settings.

AudienceMedia
Type: Array of AudienceMedia structures

The list of AudienceMedia defined in program.

ChannelName
Required: Yes
Type: string

The name of the channel for this Program.

LiveSourceName
Type: string

The name of the LiveSource for this Program.

ProgramName
Required: Yes
Type: string

The name of the Program.

ScheduleConfiguration
Required: Yes
Type: ScheduleConfiguration structure

The schedule configuration settings.

SourceLocationName
Required: Yes
Type: string

The name of the source location.

VodSourceName
Type: string

The name that's used to refer to a VOD source.

Result Syntax

[
    'AdBreaks' => [
        [
            'AdBreakMetadata' => [
                [
                    'Key' => '<string>',
                    'Value' => '<string>',
                ],
                // ...
            ],
            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
            'OffsetMillis' => <integer>,
            'Slate' => [
                'SourceLocationName' => '<string>',
                'VodSourceName' => '<string>',
            ],
            'SpliceInsertMessage' => [
                'AvailNum' => <integer>,
                'AvailsExpected' => <integer>,
                'SpliceEventId' => <integer>,
                'UniqueProgramId' => <integer>,
            ],
            'TimeSignalMessage' => [
                'SegmentationDescriptors' => [
                    [
                        'SegmentNum' => <integer>,
                        'SegmentationEventId' => <integer>,
                        'SegmentationTypeId' => <integer>,
                        'SegmentationUpid' => '<string>',
                        'SegmentationUpidType' => <integer>,
                        'SegmentsExpected' => <integer>,
                        'SubSegmentNum' => <integer>,
                        'SubSegmentsExpected' => <integer>,
                    ],
                    // ...
                ],
            ],
        ],
        // ...
    ],
    'Arn' => '<string>',
    'AudienceMedia' => [
        [
            'AlternateMedia' => [
                [
                    'AdBreaks' => [
                        [
                            'AdBreakMetadata' => [
                                [
                                    'Key' => '<string>',
                                    'Value' => '<string>',
                                ],
                                // ...
                            ],
                            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
                            'OffsetMillis' => <integer>,
                            'Slate' => [
                                'SourceLocationName' => '<string>',
                                'VodSourceName' => '<string>',
                            ],
                            'SpliceInsertMessage' => [
                                'AvailNum' => <integer>,
                                'AvailsExpected' => <integer>,
                                'SpliceEventId' => <integer>,
                                'UniqueProgramId' => <integer>,
                            ],
                            'TimeSignalMessage' => [
                                'SegmentationDescriptors' => [
                                    [
                                        'SegmentNum' => <integer>,
                                        'SegmentationEventId' => <integer>,
                                        'SegmentationTypeId' => <integer>,
                                        'SegmentationUpid' => '<string>',
                                        'SegmentationUpidType' => <integer>,
                                        'SegmentsExpected' => <integer>,
                                        'SubSegmentNum' => <integer>,
                                        'SubSegmentsExpected' => <integer>,
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'ClipRange' => [
                        'EndOffsetMillis' => <integer>,
                        'StartOffsetMillis' => <integer>,
                    ],
                    'DurationMillis' => <integer>,
                    'LiveSourceName' => '<string>',
                    'ScheduledStartTimeMillis' => <integer>,
                    'SourceLocationName' => '<string>',
                    'VodSourceName' => '<string>',
                ],
                // ...
            ],
            'Audience' => '<string>',
        ],
        // ...
    ],
    'ChannelName' => '<string>',
    'ClipRange' => [
        'EndOffsetMillis' => <integer>,
        'StartOffsetMillis' => <integer>,
    ],
    'CreationTime' => <DateTime>,
    'DurationMillis' => <integer>,
    'LiveSourceName' => '<string>',
    'ProgramName' => '<string>',
    'ScheduledStartTime' => <DateTime>,
    'SourceLocationName' => '<string>',
    'VodSourceName' => '<string>',
]

Result Details

Members
AdBreaks
Type: Array of AdBreak structures

The ad break configuration settings.

Arn
Type: string

The ARN to assign to the program.

AudienceMedia
Type: Array of AudienceMedia structures

The list of AudienceMedia defined in program.

ChannelName
Type: string

The name to assign to the channel for this program.

ClipRange
Type: ClipRange structure

The clip range configuration settings.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the program was created.

DurationMillis
Type: long (int|float)

The duration of the live program in milliseconds.

LiveSourceName
Type: string

The name of the LiveSource for this Program.

ProgramName
Type: string

The name to assign to this program.

ScheduledStartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The scheduled start time for this Program.

SourceLocationName
Type: string

The name to assign to the source location for this program.

VodSourceName
Type: string

The name that's used to refer to a VOD source.

Errors

There are no errors described for this operation.

CreateSourceLocation

$result = $client->createSourceLocation([/* ... */]);
$promise = $client->createSourceLocationAsync([/* ... */]);

Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Parameter Syntax

$result = $client->createSourceLocation([
    'AccessConfiguration' => [
        'AccessType' => 'S3_SIGV4|SECRETS_MANAGER_ACCESS_TOKEN|AUTODETECT_SIGV4',
        'SecretsManagerAccessTokenConfiguration' => [
            'HeaderName' => '<string>',
            'SecretArn' => '<string>',
            'SecretStringKey' => '<string>',
        ],
    ],
    'DefaultSegmentDeliveryConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'HttpConfiguration' => [ // REQUIRED
        'BaseUrl' => '<string>', // REQUIRED
    ],
    'SegmentDeliveryConfigurations' => [
        [
            'BaseUrl' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'SourceLocationName' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
AccessConfiguration
Type: AccessConfiguration structure

Access configuration parameters. Configures the type of authentication used to access content from your source location.

DefaultSegmentDeliveryConfiguration

The optional configuration for the server that serves segments.

HttpConfiguration
Required: Yes
Type: HttpConfiguration structure

The source's HTTP package configurations.

SegmentDeliveryConfigurations
Type: Array of SegmentDeliveryConfiguration structures

A list of the segment delivery configurations associated with this resource.

SourceLocationName
Required: Yes
Type: string

The name associated with the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Result Syntax

[
    'AccessConfiguration' => [
        'AccessType' => 'S3_SIGV4|SECRETS_MANAGER_ACCESS_TOKEN|AUTODETECT_SIGV4',
        'SecretsManagerAccessTokenConfiguration' => [
            'HeaderName' => '<string>',
            'SecretArn' => '<string>',
            'SecretStringKey' => '<string>',
        ],
    ],
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'DefaultSegmentDeliveryConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'HttpConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'LastModifiedTime' => <DateTime>,
    'SegmentDeliveryConfigurations' => [
        [
            'BaseUrl' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
AccessConfiguration
Type: AccessConfiguration structure

Access configuration parameters. Configures the type of authentication used to access content from your source location.

Arn
Type: string

The ARN to assign to the source location.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the source location was created.

DefaultSegmentDeliveryConfiguration

The optional configuration for the server that serves segments.

HttpConfiguration
Type: HttpConfiguration structure

The source's HTTP package configurations.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the source location was last modified.

SegmentDeliveryConfigurations
Type: Array of SegmentDeliveryConfiguration structures

The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

SourceLocationName
Type: string

The name to assign to the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

There are no errors described for this operation.

CreateVodSource

$result = $client->createVodSource([/* ... */]);
$promise = $client->createVodSourceAsync([/* ... */]);

The VOD source configuration parameters.

Parameter Syntax

$result = $client->createVodSource([
    'HttpPackageConfigurations' => [ // REQUIRED
        [
            'Path' => '<string>', // REQUIRED
            'SourceGroup' => '<string>', // REQUIRED
            'Type' => 'DASH|HLS', // REQUIRED
        ],
        // ...
    ],
    'SourceLocationName' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...],
    'VodSourceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
HttpPackageConfigurations
Required: Yes
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configuration parameters for this VOD source.

SourceLocationName
Required: Yes
Type: string

The name of the source location for this VOD source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

VodSourceName
Required: Yes
Type: string

The name associated with the VOD source.>

Result Syntax

[
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'HttpPackageConfigurations' => [
        [
            'Path' => '<string>',
            'SourceGroup' => '<string>',
            'Type' => 'DASH|HLS',
        ],
        // ...
    ],
    'LastModifiedTime' => <DateTime>,
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
    'VodSourceName' => '<string>',
]

Result Details

Members
Arn
Type: string

The ARN to assign to this VOD source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the VOD source was created.

HttpPackageConfigurations
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configuration parameters for this VOD source.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the VOD source was last modified.

SourceLocationName
Type: string

The name to assign to the source location for this VOD source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

VodSourceName
Type: string

The name to assign to the VOD source.

Errors

There are no errors described for this operation.

DeleteChannel

$result = $client->deleteChannel([/* ... */]);
$promise = $client->deleteChannelAsync([/* ... */]);

Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter Syntax

$result = $client->deleteChannel([
    'ChannelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeleteChannelPolicy

$result = $client->deleteChannelPolicy([/* ... */]);
$promise = $client->deleteChannelPolicyAsync([/* ... */]);

The channel policy to delete.

Parameter Syntax

$result = $client->deleteChannelPolicy([
    'ChannelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel associated with this channel policy.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeleteLiveSource

$result = $client->deleteLiveSource([/* ... */]);
$promise = $client->deleteLiveSourceAsync([/* ... */]);

The live source to delete.

Parameter Syntax

$result = $client->deleteLiveSource([
    'LiveSourceName' => '<string>', // REQUIRED
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
LiveSourceName
Required: Yes
Type: string

The name of the live source.

SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this Live Source.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeletePlaybackConfiguration

$result = $client->deletePlaybackConfiguration([/* ... */]);
$promise = $client->deletePlaybackConfigurationAsync([/* ... */]);

Deletes a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

Parameter Syntax

$result = $client->deletePlaybackConfiguration([
    'Name' => '<string>', // REQUIRED
]);

Parameter Details

Members
Name
Required: Yes
Type: string

The name of the playback configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeletePrefetchSchedule

$result = $client->deletePrefetchSchedule([/* ... */]);
$promise = $client->deletePrefetchScheduleAsync([/* ... */]);

Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.

Parameter Syntax

$result = $client->deletePrefetchSchedule([
    'Name' => '<string>', // REQUIRED
    'PlaybackConfigurationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
Name
Required: Yes
Type: string

The name of the prefetch schedule. If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

PlaybackConfigurationName
Required: Yes
Type: string

The name of the playback configuration for this prefetch schedule.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeleteProgram

$result = $client->deleteProgram([/* ... */]);
$promise = $client->deleteProgramAsync([/* ... */]);

Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.

Parameter Syntax

$result = $client->deleteProgram([
    'ChannelName' => '<string>', // REQUIRED
    'ProgramName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel.

ProgramName
Required: Yes
Type: string

The name of the program.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeleteSourceLocation

$result = $client->deleteSourceLocation([/* ... */]);
$promise = $client->deleteSourceLocationAsync([/* ... */]);

Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Parameter Syntax

$result = $client->deleteSourceLocation([
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceLocationName
Required: Yes
Type: string

The name of the source location.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DeleteVodSource

$result = $client->deleteVodSource([/* ... */]);
$promise = $client->deleteVodSourceAsync([/* ... */]);

The video on demand (VOD) source to delete.

Parameter Syntax

$result = $client->deleteVodSource([
    'SourceLocationName' => '<string>', // REQUIRED
    'VodSourceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this VOD Source.

VodSourceName
Required: Yes
Type: string

The name of the VOD source.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

DescribeChannel

$result = $client->describeChannel([/* ... */]);
$promise = $client->describeChannelAsync([/* ... */]);

Describes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter Syntax

$result = $client->describeChannel([
    'ChannelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel.

Result Syntax

[
    'Arn' => '<string>',
    'Audiences' => ['<string>', ...],
    'ChannelName' => '<string>',
    'ChannelState' => 'RUNNING|STOPPED',
    'CreationTime' => <DateTime>,
    'FillerSlate' => [
        'SourceLocationName' => '<string>',
        'VodSourceName' => '<string>',
    ],
    'LastModifiedTime' => <DateTime>,
    'LogConfiguration' => [
        'LogTypes' => ['<string>', ...],
    ],
    'Outputs' => [
        [
            'DashPlaylistSettings' => [
                'ManifestWindowSeconds' => <integer>,
                'MinBufferTimeSeconds' => <integer>,
                'MinUpdatePeriodSeconds' => <integer>,
                'SuggestedPresentationDelaySeconds' => <integer>,
            ],
            'HlsPlaylistSettings' => [
                'AdMarkupType' => ['<string>', ...],
                'ManifestWindowSeconds' => <integer>,
            ],
            'ManifestName' => '<string>',
            'PlaybackUrl' => '<string>',
            'SourceGroup' => '<string>',
        ],
        // ...
    ],
    'PlaybackMode' => '<string>',
    'Tags' => ['<string>', ...],
    'Tier' => '<string>',
    'TimeShiftConfiguration' => [
        'MaxTimeDelaySeconds' => <integer>,
    ],
]

Result Details

Members
Arn
Type: string

The ARN of the channel.

Audiences
Type: Array of strings

The list of audiences defined in channel.

ChannelName
Type: string

The name of the channel.

ChannelState
Type: string

Indicates whether the channel is in a running state or not.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was created.

FillerSlate
Type: SlateSource structure

Contains information about the slate used to fill gaps between programs in the schedule.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was last modified.

LogConfiguration
Required: Yes
Type: LogConfigurationForChannel structure

The log configuration for the channel.

Outputs
Type: Array of ResponseOutputItem structures

The channel's output properties.

PlaybackMode
Type: string

The channel's playback mode.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Tier
Type: string

The channel's tier.

TimeShiftConfiguration
Type: TimeShiftConfiguration structure

The time-shifted viewing configuration for the channel.

Errors

There are no errors described for this operation.

DescribeLiveSource

$result = $client->describeLiveSource([/* ... */]);
$promise = $client->describeLiveSourceAsync([/* ... */]);

The live source to describe.

Parameter Syntax

$result = $client->describeLiveSource([
    'LiveSourceName' => '<string>', // REQUIRED
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
LiveSourceName
Required: Yes
Type: string

The name of the live source.

SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this Live Source.

Result Syntax

[
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'HttpPackageConfigurations' => [
        [
            'Path' => '<string>',
            'SourceGroup' => '<string>',
            'Type' => 'DASH|HLS',
        ],
        // ...
    ],
    'LastModifiedTime' => <DateTime>,
    'LiveSourceName' => '<string>',
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
Arn
Type: string

The ARN of the live source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the live source was created.

HttpPackageConfigurations
Type: Array of HttpPackageConfiguration structures

The HTTP package configurations.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the live source was modified.

LiveSourceName
Type: string

The name of the live source.

SourceLocationName
Type: string

The name of the source location associated with the live source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

There are no errors described for this operation.

DescribeProgram

$result = $client->describeProgram([/* ... */]);
$promise = $client->describeProgramAsync([/* ... */]);

Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.

Parameter Syntax

$result = $client->describeProgram([
    'ChannelName' => '<string>', // REQUIRED
    'ProgramName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel associated with this Program.

ProgramName
Required: Yes
Type: string

The name of the program.

Result Syntax

[
    'AdBreaks' => [
        [
            'AdBreakMetadata' => [
                [
                    'Key' => '<string>',
                    'Value' => '<string>',
                ],
                // ...
            ],
            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
            'OffsetMillis' => <integer>,
            'Slate' => [
                'SourceLocationName' => '<string>',
                'VodSourceName' => '<string>',
            ],
            'SpliceInsertMessage' => [
                'AvailNum' => <integer>,
                'AvailsExpected' => <integer>,
                'SpliceEventId' => <integer>,
                'UniqueProgramId' => <integer>,
            ],
            'TimeSignalMessage' => [
                'SegmentationDescriptors' => [
                    [
                        'SegmentNum' => <integer>,
                        'SegmentationEventId' => <integer>,
                        'SegmentationTypeId' => <integer>,
                        'SegmentationUpid' => '<string>',
                        'SegmentationUpidType' => <integer>,
                        'SegmentsExpected' => <integer>,
                        'SubSegmentNum' => <integer>,
                        'SubSegmentsExpected' => <integer>,
                    ],
                    // ...
                ],
            ],
        ],
        // ...
    ],
    'Arn' => '<string>',
    'AudienceMedia' => [
        [
            'AlternateMedia' => [
                [
                    'AdBreaks' => [
                        [
                            'AdBreakMetadata' => [
                                [
                                    'Key' => '<string>',
                                    'Value' => '<string>',
                                ],
                                // ...
                            ],
                            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
                            'OffsetMillis' => <integer>,
                            'Slate' => [
                                'SourceLocationName' => '<string>',
                                'VodSourceName' => '<string>',
                            ],
                            'SpliceInsertMessage' => [
                                'AvailNum' => <integer>,
                                'AvailsExpected' => <integer>,
                                'SpliceEventId' => <integer>,
                                'UniqueProgramId' => <integer>,
                            ],
                            'TimeSignalMessage' => [
                                'SegmentationDescriptors' => [
                                    [
                                        'SegmentNum' => <integer>,
                                        'SegmentationEventId' => <integer>,
                                        'SegmentationTypeId' => <integer>,
                                        'SegmentationUpid' => '<string>',
                                        'SegmentationUpidType' => <integer>,
                                        'SegmentsExpected' => <integer>,
                                        'SubSegmentNum' => <integer>,
                                        'SubSegmentsExpected' => <integer>,
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'ClipRange' => [
                        'EndOffsetMillis' => <integer>,
                        'StartOffsetMillis' => <integer>,
                    ],
                    'DurationMillis' => <integer>,
                    'LiveSourceName' => '<string>',
                    'ScheduledStartTimeMillis' => <integer>,
                    'SourceLocationName' => '<string>',
                    'VodSourceName' => '<string>',
                ],
                // ...
            ],
            'Audience' => '<string>',
        ],
        // ...
    ],
    'ChannelName' => '<string>',
    'ClipRange' => [
        'EndOffsetMillis' => <integer>,
        'StartOffsetMillis' => <integer>,
    ],
    'CreationTime' => <DateTime>,
    'DurationMillis' => <integer>,
    'LiveSourceName' => '<string>',
    'ProgramName' => '<string>',
    'ScheduledStartTime' => <DateTime>,
    'SourceLocationName' => '<string>',
    'VodSourceName' => '<string>',
]

Result Details

Members
AdBreaks
Type: Array of AdBreak structures

The ad break configuration settings.

Arn
Type: string

The ARN of the program.

AudienceMedia
Type: Array of AudienceMedia structures

The list of AudienceMedia defined in program.

ChannelName
Type: string

The name of the channel that the program belongs to.

ClipRange
Type: ClipRange structure

The clip range configuration settings.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the program was created.

DurationMillis
Type: long (int|float)

The duration of the live program in milliseconds.

LiveSourceName
Type: string

The name of the LiveSource for this Program.

ProgramName
Type: string

The name of the program.

ScheduledStartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

SourceLocationName
Type: string

The source location name.

VodSourceName
Type: string

The name that's used to refer to a VOD source.

Errors

There are no errors described for this operation.

DescribeSourceLocation

$result = $client->describeSourceLocation([/* ... */]);
$promise = $client->describeSourceLocationAsync([/* ... */]);

Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Parameter Syntax

$result = $client->describeSourceLocation([
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceLocationName
Required: Yes
Type: string

The name of the source location.

Result Syntax

[
    'AccessConfiguration' => [
        'AccessType' => 'S3_SIGV4|SECRETS_MANAGER_ACCESS_TOKEN|AUTODETECT_SIGV4',
        'SecretsManagerAccessTokenConfiguration' => [
            'HeaderName' => '<string>',
            'SecretArn' => '<string>',
            'SecretStringKey' => '<string>',
        ],
    ],
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'DefaultSegmentDeliveryConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'HttpConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'LastModifiedTime' => <DateTime>,
    'SegmentDeliveryConfigurations' => [
        [
            'BaseUrl' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
AccessConfiguration
Type: AccessConfiguration structure

The access configuration for the source location.

Arn
Type: string

The ARN of the source location.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the source location was created.

DefaultSegmentDeliveryConfiguration

The default segment delivery configuration settings.

HttpConfiguration
Type: HttpConfiguration structure

The HTTP package configuration settings for the source location.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the source location was last modified.

SegmentDeliveryConfigurations
Type: Array of SegmentDeliveryConfiguration structures

A list of the segment delivery configurations associated with this resource.

SourceLocationName
Type: string

The name of the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

There are no errors described for this operation.

DescribeVodSource

$result = $client->describeVodSource([/* ... */]);
$promise = $client->describeVodSourceAsync([/* ... */]);

Provides details about a specific video on demand (VOD) source in a specific source location.

Parameter Syntax

$result = $client->describeVodSource([
    'SourceLocationName' => '<string>', // REQUIRED
    'VodSourceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this VOD Source.

VodSourceName
Required: Yes
Type: string

The name of the VOD Source.

Result Syntax

[
    'AdBreakOpportunities' => [
        [
            'OffsetMillis' => <integer>,
        ],
        // ...
    ],
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'HttpPackageConfigurations' => [
        [
            'Path' => '<string>',
            'SourceGroup' => '<string>',
            'Type' => 'DASH|HLS',
        ],
        // ...
    ],
    'LastModifiedTime' => <DateTime>,
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
    'VodSourceName' => '<string>',
]

Result Details

Members
AdBreakOpportunities
Type: Array of AdBreakOpportunity structures

The ad break opportunities within the VOD source.

Arn
Type: string

The ARN of the VOD source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the VOD source was created.

HttpPackageConfigurations
Type: Array of HttpPackageConfiguration structures

The HTTP package configurations.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The last modified time of the VOD source.

SourceLocationName
Type: string

The name of the source location associated with the VOD source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

VodSourceName
Type: string

The name of the VOD source.

Errors

There are no errors described for this operation.

GetChannelPolicy

$result = $client->getChannelPolicy([/* ... */]);
$promise = $client->getChannelPolicyAsync([/* ... */]);

Returns the channel's IAM policy. IAM policies are used to control access to your channel.

Parameter Syntax

$result = $client->getChannelPolicy([
    'ChannelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel associated with this Channel Policy.

Result Syntax

[
    'Policy' => '<string>',
]

Result Details

Members
Policy
Type: string

The IAM policy for the channel. IAM policies are used to control access to your channel.

Errors

There are no errors described for this operation.

GetChannelSchedule

$result = $client->getChannelSchedule([/* ... */]);
$promise = $client->getChannelScheduleAsync([/* ... */]);

Retrieves information about your channel's schedule.

Parameter Syntax

$result = $client->getChannelSchedule([
    'Audience' => '<string>',
    'ChannelName' => '<string>', // REQUIRED
    'DurationMinutes' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
Audience
Type: string

The single audience for GetChannelScheduleRequest.

ChannelName
Required: Yes
Type: string

The name of the channel associated with this Channel Schedule.

DurationMinutes
Type: string

The duration in minutes of the channel schedule.

MaxResults
Type: int

The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more than MaxResults channel schedules, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

(Optional) If the playback configuration has more than MaxResults channel schedules, use NextToken to get the second and subsequent pages of results.

For the first GetChannelScheduleRequest request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

If the previous response didn't include a NextToken element, there are no more channel schedules to get.

Result Syntax

[
    'Items' => [
        [
            'ApproximateDurationSeconds' => <integer>,
            'ApproximateStartTime' => <DateTime>,
            'Arn' => '<string>',
            'Audiences' => ['<string>', ...],
            'ChannelName' => '<string>',
            'LiveSourceName' => '<string>',
            'ProgramName' => '<string>',
            'ScheduleAdBreaks' => [
                [
                    'ApproximateDurationSeconds' => <integer>,
                    'ApproximateStartTime' => <DateTime>,
                    'SourceLocationName' => '<string>',
                    'VodSourceName' => '<string>',
                ],
                // ...
            ],
            'ScheduleEntryType' => 'PROGRAM|FILLER_SLATE|ALTERNATE_MEDIA',
            'SourceLocationName' => '<string>',
            'VodSourceName' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of ScheduleEntry structures

A list of schedule entries for the channel.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

GetPlaybackConfiguration

$result = $client->getPlaybackConfiguration([/* ... */]);
$promise = $client->getPlaybackConfigurationAsync([/* ... */]);

Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

Parameter Syntax

$result = $client->getPlaybackConfiguration([
    'Name' => '<string>', // REQUIRED
]);

Parameter Details

Members
Name
Required: Yes
Type: string

The identifier for the playback configuration.

Result Syntax

[
    'AdDecisionServerUrl' => '<string>',
    'AvailSuppression' => [
        'FillPolicy' => 'FULL_AVAIL_ONLY|PARTIAL_AVAIL',
        'Mode' => 'OFF|BEHIND_LIVE_EDGE|AFTER_LIVE_EDGE',
        'Value' => '<string>',
    ],
    'Bumper' => [
        'EndUrl' => '<string>',
        'StartUrl' => '<string>',
    ],
    'CdnConfiguration' => [
        'AdSegmentUrlPrefix' => '<string>',
        'ContentSegmentUrlPrefix' => '<string>',
    ],
    'ConfigurationAliases' => [
        '<__string>' => ['<string>', ...],
        // ...
    ],
    'DashConfiguration' => [
        'ManifestEndpointPrefix' => '<string>',
        'MpdLocation' => '<string>',
        'OriginManifestType' => 'SINGLE_PERIOD|MULTI_PERIOD',
    ],
    'HlsConfiguration' => [
        'ManifestEndpointPrefix' => '<string>',
    ],
    'InsertionMode' => 'STITCHED_ONLY|PLAYER_SELECT',
    'LivePreRollConfiguration' => [
        'AdDecisionServerUrl' => '<string>',
        'MaxDurationSeconds' => <integer>,
    ],
    'LogConfiguration' => [
        'PercentEnabled' => <integer>,
    ],
    'ManifestProcessingRules' => [
        'AdMarkerPassthrough' => [
            'Enabled' => true || false,
        ],
    ],
    'Name' => '<string>',
    'PersonalizationThresholdSeconds' => <integer>,
    'PlaybackConfigurationArn' => '<string>',
    'PlaybackEndpointPrefix' => '<string>',
    'SessionInitializationEndpointPrefix' => '<string>',
    'SlateAdUrl' => '<string>',
    'Tags' => ['<string>', ...],
    'TranscodeProfileName' => '<string>',
    'VideoContentSourceUrl' => '<string>',
]

Result Details

Members
AdDecisionServerUrl
Type: string

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

AvailSuppression
Type: AvailSuppression structure

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

Bumper
Type: Bumper structure

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

CdnConfiguration
Type: CdnConfiguration structure

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

ConfigurationAliases
Type: Associative array of custom strings keys (__string) to stringss

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

DashConfiguration
Type: DashConfiguration structure

The configuration for DASH content.

HlsConfiguration
Type: HlsConfiguration structure

The configuration for HLS content.

InsertionMode
Type: string

The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

LivePreRollConfiguration
Type: LivePreRollConfiguration structure

The configuration for pre-roll ad insertion.

LogConfiguration
Type: LogConfiguration structure

The Amazon CloudWatch log settings for a playback configuration.

ManifestProcessingRules
Type: ManifestProcessingRules structure

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

Name
Type: string

The identifier for the playback configuration.

PersonalizationThresholdSeconds
Type: int

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

PlaybackConfigurationArn
Type: string

The Amazon Resource Name (ARN) for the playback configuration.

PlaybackEndpointPrefix
Type: string

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

SessionInitializationEndpointPrefix
Type: string

The URL that the player uses to initialize a session that uses client-side reporting.

SlateAdUrl
Type: string

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

TranscodeProfileName
Type: string

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

VideoContentSourceUrl
Type: string

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

Errors

There are no errors described for this operation.

GetPrefetchSchedule

$result = $client->getPrefetchSchedule([/* ... */]);
$promise = $client->getPrefetchScheduleAsync([/* ... */]);

Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.

Parameter Syntax

$result = $client->getPrefetchSchedule([
    'Name' => '<string>', // REQUIRED
    'PlaybackConfigurationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
Name
Required: Yes
Type: string

The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

PlaybackConfigurationName
Required: Yes
Type: string

Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

Result Syntax

[
    'Arn' => '<string>',
    'Consumption' => [
        'AvailMatchingCriteria' => [
            [
                'DynamicVariable' => '<string>',
                'Operator' => 'EQUALS',
            ],
            // ...
        ],
        'EndTime' => <DateTime>,
        'StartTime' => <DateTime>,
    ],
    'Name' => '<string>',
    'PlaybackConfigurationName' => '<string>',
    'Retrieval' => [
        'DynamicVariables' => ['<string>', ...],
        'EndTime' => <DateTime>,
        'StartTime' => <DateTime>,
    ],
    'StreamId' => '<string>',
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the prefetch schedule.

Consumption
Type: PrefetchConsumption structure

Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

Name
Type: string

The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

PlaybackConfigurationName
Type: string

The name of the playback configuration to create the prefetch schedule for.

Retrieval
Type: PrefetchRetrieval structure

A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

StreamId
Type: string

An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

Errors

There are no errors described for this operation.

ListAlerts

$result = $client->listAlerts([/* ... */]);
$promise = $client->listAlertsAsync([/* ... */]);

Lists the alerts that are associated with a MediaTailor channel assembly resource.

Parameter Syntax

$result = $client->listAlerts([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'ResourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are more than MaxResults alerts, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

ResourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource.

Result Syntax

[
    'Items' => [
        [
            'AlertCode' => '<string>',
            'AlertMessage' => '<string>',
            'Category' => 'SCHEDULING_ERROR|PLAYBACK_WARNING|INFO',
            'LastModifiedTime' => <DateTime>,
            'RelatedResourceArns' => ['<string>', ...],
            'ResourceArn' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of Alert structures

A list of alerts that are associated with this resource.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

ListChannels

$result = $client->listChannels([/* ... */]);
$promise = $client->listChannelsAsync([/* ... */]);

Retrieves information about the channels that are associated with the current AWS account.

Parameter Syntax

$result = $client->listChannels([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of channels that you want MediaTailor to return in response to the current request. If there are more than MaxResults channels, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Result Syntax

[
    'Items' => [
        [
            'Arn' => '<string>',
            'Audiences' => ['<string>', ...],
            'ChannelName' => '<string>',
            'ChannelState' => '<string>',
            'CreationTime' => <DateTime>,
            'FillerSlate' => [
                'SourceLocationName' => '<string>',
                'VodSourceName' => '<string>',
            ],
            'LastModifiedTime' => <DateTime>,
            'LogConfiguration' => [
                'LogTypes' => ['<string>', ...],
            ],
            'Outputs' => [
                [
                    'DashPlaylistSettings' => [
                        'ManifestWindowSeconds' => <integer>,
                        'MinBufferTimeSeconds' => <integer>,
                        'MinUpdatePeriodSeconds' => <integer>,
                        'SuggestedPresentationDelaySeconds' => <integer>,
                    ],
                    'HlsPlaylistSettings' => [
                        'AdMarkupType' => ['<string>', ...],
                        'ManifestWindowSeconds' => <integer>,
                    ],
                    'ManifestName' => '<string>',
                    'PlaybackUrl' => '<string>',
                    'SourceGroup' => '<string>',
                ],
                // ...
            ],
            'PlaybackMode' => '<string>',
            'Tags' => ['<string>', ...],
            'Tier' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of Channel structures

A list of channels that are associated with this account.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

ListLiveSources

$result = $client->listLiveSources([/* ... */]);
$promise = $client->listLiveSourcesAsync([/* ... */]);

Lists the live sources contained in a source location. A source represents a piece of content.

Parameter Syntax

$result = $client->listLiveSources([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of live sources that you want MediaTailor to return in response to the current request. If there are more than MaxResults live sources, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this Live Sources list.

Result Syntax

[
    'Items' => [
        [
            'Arn' => '<string>',
            'CreationTime' => <DateTime>,
            'HttpPackageConfigurations' => [
                [
                    'Path' => '<string>',
                    'SourceGroup' => '<string>',
                    'Type' => 'DASH|HLS',
                ],
                // ...
            ],
            'LastModifiedTime' => <DateTime>,
            'LiveSourceName' => '<string>',
            'SourceLocationName' => '<string>',
            'Tags' => ['<string>', ...],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of LiveSource structures

Lists the live sources.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

ListPlaybackConfigurations

$result = $client->listPlaybackConfigurations([/* ... */]);
$promise = $client->listPlaybackConfigurationsAsync([/* ... */]);

Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.

Parameter Syntax

$result = $client->listPlaybackConfigurations([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of playback configurations that you want MediaTailor to return in response to the current request. If there are more than MaxResults playback configurations, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Result Syntax

[
    'Items' => [
        [
            'AdDecisionServerUrl' => '<string>',
            'AvailSuppression' => [
                'FillPolicy' => 'FULL_AVAIL_ONLY|PARTIAL_AVAIL',
                'Mode' => 'OFF|BEHIND_LIVE_EDGE|AFTER_LIVE_EDGE',
                'Value' => '<string>',
            ],
            'Bumper' => [
                'EndUrl' => '<string>',
                'StartUrl' => '<string>',
            ],
            'CdnConfiguration' => [
                'AdSegmentUrlPrefix' => '<string>',
                'ContentSegmentUrlPrefix' => '<string>',
            ],
            'ConfigurationAliases' => [
                '<__string>' => ['<string>', ...],
                // ...
            ],
            'DashConfiguration' => [
                'ManifestEndpointPrefix' => '<string>',
                'MpdLocation' => '<string>',
                'OriginManifestType' => 'SINGLE_PERIOD|MULTI_PERIOD',
            ],
            'HlsConfiguration' => [
                'ManifestEndpointPrefix' => '<string>',
            ],
            'InsertionMode' => 'STITCHED_ONLY|PLAYER_SELECT',
            'LivePreRollConfiguration' => [
                'AdDecisionServerUrl' => '<string>',
                'MaxDurationSeconds' => <integer>,
            ],
            'LogConfiguration' => [
                'PercentEnabled' => <integer>,
            ],
            'ManifestProcessingRules' => [
                'AdMarkerPassthrough' => [
                    'Enabled' => true || false,
                ],
            ],
            'Name' => '<string>',
            'PersonalizationThresholdSeconds' => <integer>,
            'PlaybackConfigurationArn' => '<string>',
            'PlaybackEndpointPrefix' => '<string>',
            'SessionInitializationEndpointPrefix' => '<string>',
            'SlateAdUrl' => '<string>',
            'Tags' => ['<string>', ...],
            'TranscodeProfileName' => '<string>',
            'VideoContentSourceUrl' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of PlaybackConfiguration structures

Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.

NextToken
Type: string

Pagination token returned by the GET list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

ListPrefetchSchedules

$result = $client->listPrefetchSchedules([/* ... */]);
$promise = $client->listPrefetchSchedulesAsync([/* ... */]);

Lists the prefetch schedules for a playback configuration.

Parameter Syntax

$result = $client->listPrefetchSchedules([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'PlaybackConfigurationName' => '<string>', // REQUIRED
    'StreamId' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more than MaxResults prefetch schedules, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

(Optional) If the playback configuration has more than MaxResults prefetch schedules, use NextToken to get the second and subsequent pages of results.

For the first ListPrefetchSchedulesRequest request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

If the previous response didn't include a NextToken element, there are no more prefetch schedules to get.

PlaybackConfigurationName
Required: Yes
Type: string

Retrieves the prefetch schedule(s) for a specific playback configuration.

StreamId
Type: string

An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.

Result Syntax

[
    'Items' => [
        [
            'Arn' => '<string>',
            'Consumption' => [
                'AvailMatchingCriteria' => [
                    [
                        'DynamicVariable' => '<string>',
                        'Operator' => 'EQUALS',
                    ],
                    // ...
                ],
                'EndTime' => <DateTime>,
                'StartTime' => <DateTime>,
            ],
            'Name' => '<string>',
            'PlaybackConfigurationName' => '<string>',
            'Retrieval' => [
                'DynamicVariables' => ['<string>', ...],
                'EndTime' => <DateTime>,
                'StartTime' => <DateTime>,
            ],
            'StreamId' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of PrefetchSchedule structures

Lists the prefetch schedules. An empty Items list doesn't mean there aren't more items to fetch, just that that page was empty.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

ListSourceLocations

$result = $client->listSourceLocations([/* ... */]);
$promise = $client->listSourceLocationsAsync([/* ... */]);

Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.

Parameter Syntax

$result = $client->listSourceLocations([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of source locations that you want MediaTailor to return in response to the current request. If there are more than MaxResults source locations, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Result Syntax

[
    'Items' => [
        [
            'AccessConfiguration' => [
                'AccessType' => 'S3_SIGV4|SECRETS_MANAGER_ACCESS_TOKEN|AUTODETECT_SIGV4',
                'SecretsManagerAccessTokenConfiguration' => [
                    'HeaderName' => '<string>',
                    'SecretArn' => '<string>',
                    'SecretStringKey' => '<string>',
                ],
            ],
            'Arn' => '<string>',
            'CreationTime' => <DateTime>,
            'DefaultSegmentDeliveryConfiguration' => [
                'BaseUrl' => '<string>',
            ],
            'HttpConfiguration' => [
                'BaseUrl' => '<string>',
            ],
            'LastModifiedTime' => <DateTime>,
            'SegmentDeliveryConfigurations' => [
                [
                    'BaseUrl' => '<string>',
                    'Name' => '<string>',
                ],
                // ...
            ],
            'SourceLocationName' => '<string>',
            'Tags' => ['<string>', ...],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of SourceLocation structures

A list of source locations.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

A list of tags that are associated with this resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Parameter Syntax

$result = $client->listTagsForResource([
    'ResourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) associated with this resource.

Result Syntax

[
    'Tags' => ['<string>', ...],
]

Result Details

Members
Tags
Type: Associative array of custom strings keys (__string) to strings

The tags associated with this resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

BadRequestException:

A request contains unexpected data.

ListVodSources

$result = $client->listVodSources([/* ... */]);
$promise = $client->listVodSourcesAsync([/* ... */]);

Lists the VOD sources contained in a source location. A source represents a piece of content.

Parameter Syntax

$result = $client->listVodSources([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than MaxResults VOD sources, use the value of NextToken in the response to get the next page of results.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this VOD Source list.

Result Syntax

[
    'Items' => [
        [
            'Arn' => '<string>',
            'CreationTime' => <DateTime>,
            'HttpPackageConfigurations' => [
                [
                    'Path' => '<string>',
                    'SourceGroup' => '<string>',
                    'Type' => 'DASH|HLS',
                ],
                // ...
            ],
            'LastModifiedTime' => <DateTime>,
            'SourceLocationName' => '<string>',
            'Tags' => ['<string>', ...],
            'VodSourceName' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of VodSource structures

Lists the VOD sources.

NextToken
Type: string

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Errors

There are no errors described for this operation.

PutChannelPolicy

$result = $client->putChannelPolicy([/* ... */]);
$promise = $client->putChannelPolicyAsync([/* ... */]);

Creates an IAM policy for the channel. IAM policies are used to control access to your channel.

Parameter Syntax

$result = $client->putChannelPolicy([
    'ChannelName' => '<string>', // REQUIRED
    'Policy' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The channel name associated with this Channel Policy.

Policy
Required: Yes
Type: string

Adds an IAM role that determines the permissions of your channel.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

PutPlaybackConfiguration

$result = $client->putPlaybackConfiguration([/* ... */]);
$promise = $client->putPlaybackConfigurationAsync([/* ... */]);

Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

Parameter Syntax

$result = $client->putPlaybackConfiguration([
    'AdDecisionServerUrl' => '<string>',
    'AvailSuppression' => [
        'FillPolicy' => 'FULL_AVAIL_ONLY|PARTIAL_AVAIL',
        'Mode' => 'OFF|BEHIND_LIVE_EDGE|AFTER_LIVE_EDGE',
        'Value' => '<string>',
    ],
    'Bumper' => [
        'EndUrl' => '<string>',
        'StartUrl' => '<string>',
    ],
    'CdnConfiguration' => [
        'AdSegmentUrlPrefix' => '<string>',
        'ContentSegmentUrlPrefix' => '<string>',
    ],
    'ConfigurationAliases' => [
        '<__string>' => ['<string>', ...],
        // ...
    ],
    'DashConfiguration' => [
        'MpdLocation' => '<string>',
        'OriginManifestType' => 'SINGLE_PERIOD|MULTI_PERIOD',
    ],
    'InsertionMode' => 'STITCHED_ONLY|PLAYER_SELECT',
    'LivePreRollConfiguration' => [
        'AdDecisionServerUrl' => '<string>',
        'MaxDurationSeconds' => <integer>,
    ],
    'ManifestProcessingRules' => [
        'AdMarkerPassthrough' => [
            'Enabled' => true || false,
        ],
    ],
    'Name' => '<string>', // REQUIRED
    'PersonalizationThresholdSeconds' => <integer>,
    'SlateAdUrl' => '<string>',
    'Tags' => ['<string>', ...],
    'TranscodeProfileName' => '<string>',
    'VideoContentSourceUrl' => '<string>',
]);

Parameter Details

Members
AdDecisionServerUrl
Type: string

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.

AvailSuppression
Type: AvailSuppression structure

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

Bumper
Type: Bumper structure

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

CdnConfiguration
Type: CdnConfiguration structure

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

ConfigurationAliases
Type: Associative array of custom strings keys (__string) to stringss

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

DashConfiguration
Type: DashConfigurationForPut structure

The configuration for DASH content.

InsertionMode
Type: string

The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

LivePreRollConfiguration
Type: LivePreRollConfiguration structure

The configuration for pre-roll ad insertion.

ManifestProcessingRules
Type: ManifestProcessingRules structure

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

Name
Required: Yes
Type: string

The identifier for the playback configuration.

PersonalizationThresholdSeconds
Type: int

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

SlateAdUrl
Type: string

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID configurations. For VPAID, the slate is required because MediaTailor provides it in the slots that are designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

TranscodeProfileName
Type: string

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

VideoContentSourceUrl
Type: string

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

Result Syntax

[
    'AdDecisionServerUrl' => '<string>',
    'AvailSuppression' => [
        'FillPolicy' => 'FULL_AVAIL_ONLY|PARTIAL_AVAIL',
        'Mode' => 'OFF|BEHIND_LIVE_EDGE|AFTER_LIVE_EDGE',
        'Value' => '<string>',
    ],
    'Bumper' => [
        'EndUrl' => '<string>',
        'StartUrl' => '<string>',
    ],
    'CdnConfiguration' => [
        'AdSegmentUrlPrefix' => '<string>',
        'ContentSegmentUrlPrefix' => '<string>',
    ],
    'ConfigurationAliases' => [
        '<__string>' => ['<string>', ...],
        // ...
    ],
    'DashConfiguration' => [
        'ManifestEndpointPrefix' => '<string>',
        'MpdLocation' => '<string>',
        'OriginManifestType' => 'SINGLE_PERIOD|MULTI_PERIOD',
    ],
    'HlsConfiguration' => [
        'ManifestEndpointPrefix' => '<string>',
    ],
    'InsertionMode' => 'STITCHED_ONLY|PLAYER_SELECT',
    'LivePreRollConfiguration' => [
        'AdDecisionServerUrl' => '<string>',
        'MaxDurationSeconds' => <integer>,
    ],
    'LogConfiguration' => [
        'PercentEnabled' => <integer>,
    ],
    'ManifestProcessingRules' => [
        'AdMarkerPassthrough' => [
            'Enabled' => true || false,
        ],
    ],
    'Name' => '<string>',
    'PersonalizationThresholdSeconds' => <integer>,
    'PlaybackConfigurationArn' => '<string>',
    'PlaybackEndpointPrefix' => '<string>',
    'SessionInitializationEndpointPrefix' => '<string>',
    'SlateAdUrl' => '<string>',
    'Tags' => ['<string>', ...],
    'TranscodeProfileName' => '<string>',
    'VideoContentSourceUrl' => '<string>',
]

Result Details

Members
AdDecisionServerUrl
Type: string

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.

AvailSuppression
Type: AvailSuppression structure

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

Bumper
Type: Bumper structure

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

CdnConfiguration
Type: CdnConfiguration structure

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

ConfigurationAliases
Type: Associative array of custom strings keys (__string) to stringss

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

DashConfiguration
Type: DashConfiguration structure

The configuration for DASH content.

HlsConfiguration
Type: HlsConfiguration structure

The configuration for HLS content.

InsertionMode
Type: string

The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

LivePreRollConfiguration
Type: LivePreRollConfiguration structure

The configuration for pre-roll ad insertion.

LogConfiguration
Type: LogConfiguration structure

The Amazon CloudWatch log settings for a playback configuration.

ManifestProcessingRules
Type: ManifestProcessingRules structure

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

Name
Type: string

The identifier for the playback configuration.

PersonalizationThresholdSeconds
Type: int

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

PlaybackConfigurationArn
Type: string

The Amazon Resource Name (ARN) associated with the playback configuration.

PlaybackEndpointPrefix
Type: string

The playback endpoint prefix associated with the playback configuration.

SessionInitializationEndpointPrefix
Type: string

The session initialization endpoint prefix associated with the playback configuration.

SlateAdUrl
Type: string

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID configurations. For VPAID, the slate is required because MediaTailor provides it in the slots that are designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

TranscodeProfileName
Type: string

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

VideoContentSourceUrl
Type: string

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

Errors

There are no errors described for this operation.

StartChannel

$result = $client->startChannel([/* ... */]);
$promise = $client->startChannelAsync([/* ... */]);

Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter Syntax

$result = $client->startChannel([
    'ChannelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

StopChannel

$result = $client->stopChannel([/* ... */]);
$promise = $client->stopChannelAsync([/* ... */]);

Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter Syntax

$result = $client->stopChannel([
    'ChannelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChannelName
Required: Yes
Type: string

The name of the channel.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

The resource to tag. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Parameter Syntax

$result = $client->tagResource([
    'ResourceArn' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) associated with the resource.

Tags
Required: Yes
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

BadRequestException:

A request contains unexpected data.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

The resource to untag.

Parameter Syntax

$result = $client->untagResource([
    'ResourceArn' => '<string>', // REQUIRED
    'TagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource to untag.

TagKeys
Required: Yes
Type: Array of strings

The tag keys associated with the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

BadRequestException:

A request contains unexpected data.

UpdateChannel

$result = $client->updateChannel([/* ... */]);
$promise = $client->updateChannelAsync([/* ... */]);

Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter Syntax

$result = $client->updateChannel([
    'Audiences' => ['<string>', ...],
    'ChannelName' => '<string>', // REQUIRED
    'FillerSlate' => [
        'SourceLocationName' => '<string>',
        'VodSourceName' => '<string>',
    ],
    'Outputs' => [ // REQUIRED
        [
            'DashPlaylistSettings' => [
                'ManifestWindowSeconds' => <integer>,
                'MinBufferTimeSeconds' => <integer>,
                'MinUpdatePeriodSeconds' => <integer>,
                'SuggestedPresentationDelaySeconds' => <integer>,
            ],
            'HlsPlaylistSettings' => [
                'AdMarkupType' => ['<string>', ...],
                'ManifestWindowSeconds' => <integer>,
            ],
            'ManifestName' => '<string>', // REQUIRED
            'SourceGroup' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'TimeShiftConfiguration' => [
        'MaxTimeDelaySeconds' => <integer>, // REQUIRED
    ],
]);

Parameter Details

Members
Audiences
Type: Array of strings

The list of audiences defined in channel.

ChannelName
Required: Yes
Type: string

The name of the channel.

FillerSlate
Type: SlateSource structure

The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

Outputs
Required: Yes
Type: Array of RequestOutputItem structures

The channel's output properties.

TimeShiftConfiguration
Type: TimeShiftConfiguration structure

The time-shifted viewing configuration you want to associate to the channel.

Result Syntax

[
    'Arn' => '<string>',
    'Audiences' => ['<string>', ...],
    'ChannelName' => '<string>',
    'ChannelState' => 'RUNNING|STOPPED',
    'CreationTime' => <DateTime>,
    'FillerSlate' => [
        'SourceLocationName' => '<string>',
        'VodSourceName' => '<string>',
    ],
    'LastModifiedTime' => <DateTime>,
    'Outputs' => [
        [
            'DashPlaylistSettings' => [
                'ManifestWindowSeconds' => <integer>,
                'MinBufferTimeSeconds' => <integer>,
                'MinUpdatePeriodSeconds' => <integer>,
                'SuggestedPresentationDelaySeconds' => <integer>,
            ],
            'HlsPlaylistSettings' => [
                'AdMarkupType' => ['<string>', ...],
                'ManifestWindowSeconds' => <integer>,
            ],
            'ManifestName' => '<string>',
            'PlaybackUrl' => '<string>',
            'SourceGroup' => '<string>',
        ],
        // ...
    ],
    'PlaybackMode' => '<string>',
    'Tags' => ['<string>', ...],
    'Tier' => '<string>',
    'TimeShiftConfiguration' => [
        'MaxTimeDelaySeconds' => <integer>,
    ],
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) associated with the channel.

Audiences
Type: Array of strings

The list of audiences defined in channel.

ChannelName
Type: string

The name of the channel.

ChannelState
Type: string

Returns the state whether the channel is running or not.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was created.

FillerSlate
Type: SlateSource structure

The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the channel was last modified.

Outputs
Type: Array of ResponseOutputItem structures

The channel's output properties.

PlaybackMode
Type: string

The type of playback mode for this channel.

LINEAR - Programs play back-to-back only once.

LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Tier
Type: string

The tier associated with this Channel.

TimeShiftConfiguration
Type: TimeShiftConfiguration structure

The time-shifted viewing configuration for the channel.

Errors

There are no errors described for this operation.

UpdateLiveSource

$result = $client->updateLiveSource([/* ... */]);
$promise = $client->updateLiveSourceAsync([/* ... */]);

Updates a live source's configuration.

Parameter Syntax

$result = $client->updateLiveSource([
    'HttpPackageConfigurations' => [ // REQUIRED
        [
            'Path' => '<string>', // REQUIRED
            'SourceGroup' => '<string>', // REQUIRED
            'Type' => 'DASH|HLS', // REQUIRED
        ],
        // ...
    ],
    'LiveSourceName' => '<string>', // REQUIRED
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
HttpPackageConfigurations
Required: Yes
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configurations for the live source on this account.

LiveSourceName
Required: Yes
Type: string

The name of the live source.

SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this Live Source.

Result Syntax

[
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'HttpPackageConfigurations' => [
        [
            'Path' => '<string>',
            'SourceGroup' => '<string>',
            'Type' => 'DASH|HLS',
        ],
        // ...
    ],
    'LastModifiedTime' => <DateTime>,
    'LiveSourceName' => '<string>',
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) associated with this live source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the live source was created.

HttpPackageConfigurations
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configurations for the live source on this account.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the live source was last modified.

LiveSourceName
Type: string

The name of the live source.

SourceLocationName
Type: string

The name of the source location associated with the live source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

There are no errors described for this operation.

UpdateProgram

$result = $client->updateProgram([/* ... */]);
$promise = $client->updateProgramAsync([/* ... */]);

Updates a program within a channel.

Parameter Syntax

$result = $client->updateProgram([
    'AdBreaks' => [
        [
            'AdBreakMetadata' => [
                [
                    'Key' => '<string>', // REQUIRED
                    'Value' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
            'OffsetMillis' => <integer>, // REQUIRED
            'Slate' => [
                'SourceLocationName' => '<string>',
                'VodSourceName' => '<string>',
            ],
            'SpliceInsertMessage' => [
                'AvailNum' => <integer>,
                'AvailsExpected' => <integer>,
                'SpliceEventId' => <integer>,
                'UniqueProgramId' => <integer>,
            ],
            'TimeSignalMessage' => [
                'SegmentationDescriptors' => [
                    [
                        'SegmentNum' => <integer>,
                        'SegmentationEventId' => <integer>,
                        'SegmentationTypeId' => <integer>,
                        'SegmentationUpid' => '<string>',
                        'SegmentationUpidType' => <integer>,
                        'SegmentsExpected' => <integer>,
                        'SubSegmentNum' => <integer>,
                        'SubSegmentsExpected' => <integer>,
                    ],
                    // ...
                ],
            ],
        ],
        // ...
    ],
    'AudienceMedia' => [
        [
            'AlternateMedia' => [
                [
                    'AdBreaks' => [
                        [
                            'AdBreakMetadata' => [
                                [
                                    'Key' => '<string>', // REQUIRED
                                    'Value' => '<string>', // REQUIRED
                                ],
                                // ...
                            ],
                            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
                            'OffsetMillis' => <integer>, // REQUIRED
                            'Slate' => [
                                'SourceLocationName' => '<string>',
                                'VodSourceName' => '<string>',
                            ],
                            'SpliceInsertMessage' => [
                                'AvailNum' => <integer>,
                                'AvailsExpected' => <integer>,
                                'SpliceEventId' => <integer>,
                                'UniqueProgramId' => <integer>,
                            ],
                            'TimeSignalMessage' => [
                                'SegmentationDescriptors' => [
                                    [
                                        'SegmentNum' => <integer>,
                                        'SegmentationEventId' => <integer>,
                                        'SegmentationTypeId' => <integer>,
                                        'SegmentationUpid' => '<string>',
                                        'SegmentationUpidType' => <integer>,
                                        'SegmentsExpected' => <integer>,
                                        'SubSegmentNum' => <integer>,
                                        'SubSegmentsExpected' => <integer>,
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'ClipRange' => [
                        'EndOffsetMillis' => <integer>,
                        'StartOffsetMillis' => <integer>,
                    ],
                    'DurationMillis' => <integer>,
                    'LiveSourceName' => '<string>',
                    'ScheduledStartTimeMillis' => <integer>,
                    'SourceLocationName' => '<string>',
                    'VodSourceName' => '<string>',
                ],
                // ...
            ],
            'Audience' => '<string>',
        ],
        // ...
    ],
    'ChannelName' => '<string>', // REQUIRED
    'ProgramName' => '<string>', // REQUIRED
    'ScheduleConfiguration' => [ // REQUIRED
        'ClipRange' => [
            'EndOffsetMillis' => <integer>,
            'StartOffsetMillis' => <integer>,
        ],
        'Transition' => [
            'DurationMillis' => <integer>,
            'ScheduledStartTimeMillis' => <integer>,
        ],
    ],
]);

Parameter Details

Members
AdBreaks
Type: Array of AdBreak structures

The ad break configuration settings.

AudienceMedia
Type: Array of AudienceMedia structures

The list of AudienceMedia defined in program.

ChannelName
Required: Yes
Type: string

The name of the channel for this Program.

ProgramName
Required: Yes
Type: string

The name of the Program.

ScheduleConfiguration
Required: Yes
Type: UpdateProgramScheduleConfiguration structure

The schedule configuration settings.

Result Syntax

[
    'AdBreaks' => [
        [
            'AdBreakMetadata' => [
                [
                    'Key' => '<string>',
                    'Value' => '<string>',
                ],
                // ...
            ],
            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
            'OffsetMillis' => <integer>,
            'Slate' => [
                'SourceLocationName' => '<string>',
                'VodSourceName' => '<string>',
            ],
            'SpliceInsertMessage' => [
                'AvailNum' => <integer>,
                'AvailsExpected' => <integer>,
                'SpliceEventId' => <integer>,
                'UniqueProgramId' => <integer>,
            ],
            'TimeSignalMessage' => [
                'SegmentationDescriptors' => [
                    [
                        'SegmentNum' => <integer>,
                        'SegmentationEventId' => <integer>,
                        'SegmentationTypeId' => <integer>,
                        'SegmentationUpid' => '<string>',
                        'SegmentationUpidType' => <integer>,
                        'SegmentsExpected' => <integer>,
                        'SubSegmentNum' => <integer>,
                        'SubSegmentsExpected' => <integer>,
                    ],
                    // ...
                ],
            ],
        ],
        // ...
    ],
    'Arn' => '<string>',
    'AudienceMedia' => [
        [
            'AlternateMedia' => [
                [
                    'AdBreaks' => [
                        [
                            'AdBreakMetadata' => [
                                [
                                    'Key' => '<string>',
                                    'Value' => '<string>',
                                ],
                                // ...
                            ],
                            'MessageType' => 'SPLICE_INSERT|TIME_SIGNAL',
                            'OffsetMillis' => <integer>,
                            'Slate' => [
                                'SourceLocationName' => '<string>',
                                'VodSourceName' => '<string>',
                            ],
                            'SpliceInsertMessage' => [
                                'AvailNum' => <integer>,
                                'AvailsExpected' => <integer>,
                                'SpliceEventId' => <integer>,
                                'UniqueProgramId' => <integer>,
                            ],
                            'TimeSignalMessage' => [
                                'SegmentationDescriptors' => [
                                    [
                                        'SegmentNum' => <integer>,
                                        'SegmentationEventId' => <integer>,
                                        'SegmentationTypeId' => <integer>,
                                        'SegmentationUpid' => '<string>',
                                        'SegmentationUpidType' => <integer>,
                                        'SegmentsExpected' => <integer>,
                                        'SubSegmentNum' => <integer>,
                                        'SubSegmentsExpected' => <integer>,
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'ClipRange' => [
                        'EndOffsetMillis' => <integer>,
                        'StartOffsetMillis' => <integer>,
                    ],
                    'DurationMillis' => <integer>,
                    'LiveSourceName' => '<string>',
                    'ScheduledStartTimeMillis' => <integer>,
                    'SourceLocationName' => '<string>',
                    'VodSourceName' => '<string>',
                ],
                // ...
            ],
            'Audience' => '<string>',
        ],
        // ...
    ],
    'ChannelName' => '<string>',
    'ClipRange' => [
        'EndOffsetMillis' => <integer>,
        'StartOffsetMillis' => <integer>,
    ],
    'CreationTime' => <DateTime>,
    'DurationMillis' => <integer>,
    'LiveSourceName' => '<string>',
    'ProgramName' => '<string>',
    'ScheduledStartTime' => <DateTime>,
    'SourceLocationName' => '<string>',
    'VodSourceName' => '<string>',
]

Result Details

Members
AdBreaks
Type: Array of AdBreak structures

The ad break configuration settings.

Arn
Type: string

The ARN to assign to the program.

AudienceMedia
Type: Array of AudienceMedia structures

The list of AudienceMedia defined in program.

ChannelName
Type: string

The name to assign to the channel for this program.

ClipRange
Type: ClipRange structure

The clip range configuration settings.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the program was created.

DurationMillis
Type: long (int|float)

The duration of the live program in milliseconds.

LiveSourceName
Type: string

The name of the LiveSource for this Program.

ProgramName
Type: string

The name to assign to this program.

ScheduledStartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The scheduled start time for this Program.

SourceLocationName
Type: string

The name to assign to the source location for this program.

VodSourceName
Type: string

The name that's used to refer to a VOD source.

Errors

There are no errors described for this operation.

UpdateSourceLocation

$result = $client->updateSourceLocation([/* ... */]);
$promise = $client->updateSourceLocationAsync([/* ... */]);

Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Parameter Syntax

$result = $client->updateSourceLocation([
    'AccessConfiguration' => [
        'AccessType' => 'S3_SIGV4|SECRETS_MANAGER_ACCESS_TOKEN|AUTODETECT_SIGV4',
        'SecretsManagerAccessTokenConfiguration' => [
            'HeaderName' => '<string>',
            'SecretArn' => '<string>',
            'SecretStringKey' => '<string>',
        ],
    ],
    'DefaultSegmentDeliveryConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'HttpConfiguration' => [ // REQUIRED
        'BaseUrl' => '<string>', // REQUIRED
    ],
    'SegmentDeliveryConfigurations' => [
        [
            'BaseUrl' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'SourceLocationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccessConfiguration
Type: AccessConfiguration structure

Access configuration parameters. Configures the type of authentication used to access content from your source location.

DefaultSegmentDeliveryConfiguration

The optional configuration for the host server that serves segments.

HttpConfiguration
Required: Yes
Type: HttpConfiguration structure

The HTTP configuration for the source location.

SegmentDeliveryConfigurations
Type: Array of SegmentDeliveryConfiguration structures

A list of the segment delivery configurations associated with this resource.

SourceLocationName
Required: Yes
Type: string

The name of the source location.

Result Syntax

[
    'AccessConfiguration' => [
        'AccessType' => 'S3_SIGV4|SECRETS_MANAGER_ACCESS_TOKEN|AUTODETECT_SIGV4',
        'SecretsManagerAccessTokenConfiguration' => [
            'HeaderName' => '<string>',
            'SecretArn' => '<string>',
            'SecretStringKey' => '<string>',
        ],
    ],
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'DefaultSegmentDeliveryConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'HttpConfiguration' => [
        'BaseUrl' => '<string>',
    ],
    'LastModifiedTime' => <DateTime>,
    'SegmentDeliveryConfigurations' => [
        [
            'BaseUrl' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
AccessConfiguration
Type: AccessConfiguration structure

Access configuration parameters. Configures the type of authentication used to access content from your source location.

Arn
Type: string

The Amazon Resource Name (ARN) associated with the source location.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the source location was created.

DefaultSegmentDeliveryConfiguration

The optional configuration for the host server that serves segments.

HttpConfiguration
Type: HttpConfiguration structure

The HTTP configuration for the source location.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the source location was last modified.

SegmentDeliveryConfigurations
Type: Array of SegmentDeliveryConfiguration structures

The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

SourceLocationName
Type: string

The name of the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Errors

There are no errors described for this operation.

UpdateVodSource

$result = $client->updateVodSource([/* ... */]);
$promise = $client->updateVodSourceAsync([/* ... */]);

Updates a VOD source's configuration.

Parameter Syntax

$result = $client->updateVodSource([
    'HttpPackageConfigurations' => [ // REQUIRED
        [
            'Path' => '<string>', // REQUIRED
            'SourceGroup' => '<string>', // REQUIRED
            'Type' => 'DASH|HLS', // REQUIRED
        ],
        // ...
    ],
    'SourceLocationName' => '<string>', // REQUIRED
    'VodSourceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
HttpPackageConfigurations
Required: Yes
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configurations for the VOD source on this account.

SourceLocationName
Required: Yes
Type: string

The name of the source location associated with this VOD Source.

VodSourceName
Required: Yes
Type: string

The name of the VOD source.

Result Syntax

[
    'Arn' => '<string>',
    'CreationTime' => <DateTime>,
    'HttpPackageConfigurations' => [
        [
            'Path' => '<string>',
            'SourceGroup' => '<string>',
            'Type' => 'DASH|HLS',
        ],
        // ...
    ],
    'LastModifiedTime' => <DateTime>,
    'SourceLocationName' => '<string>',
    'Tags' => ['<string>', ...],
    'VodSourceName' => '<string>',
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) associated with the VOD source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the VOD source was created.

HttpPackageConfigurations
Type: Array of HttpPackageConfiguration structures

A list of HTTP package configurations for the VOD source on this account.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the VOD source was last modified.

SourceLocationName
Type: string

The name of the source location associated with the VOD source.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

VodSourceName
Type: string

The name of the VOD source.

Errors

There are no errors described for this operation.

Shapes

AccessConfiguration

Description

Access configuration parameters.

Members
AccessType
Type: string

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location.

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4, you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

AUTODETECT_SIGV4 - AWS Signature Version 4 authentication for a set of supported services: MediaPackage Version 2 and Amazon S3 hosted virtual-style access. If your source location base URL is a MediaPackage Version 2 endpoint or an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the resource where your source content is stored.

Before you can use AUTODETECT_SIGV4 with a MediaPackage Version 2 endpoint, you must meet these requirements:

• You must grant MediaTailor access to your MediaPackage endpoint by granting mediatailor.amazonaws.com principal access in an Origin Access policy on the endpoint.

• Your MediaTailor source location base URL must be a MediaPackage V2 endpoint.

• The caller of the API must have mediapackagev2:GetObject IAM permissions to read all top level manifests referenced by the MediaTailor source packaging configurations.

Before you can use AUTODETECT_SIGV4 with an Amazon S3 bucket, you must meet these requirements:

• You must grant MediaTailor access to your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For more information about configuring access in IAM, see Access management in the IAM User Guide..

• The mediatailor.amazonaws.com service principal must have permissions to read all top-level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

SecretsManagerAccessTokenConfiguration

AWS Secrets Manager access token configuration parameters.

AdBreak

Description

Ad break configuration parameters.

Members
AdBreakMetadata
Type: Array of KeyValuePair structures

Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSETtag for SCTE35_ENHANCED output.

MessageType
Type: string

The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT, TIME_SIGNAL.

OffsetMillis
Required: Yes
Type: long (int|float)

How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.

Slate
Type: SlateSource structure

Ad break slate configuration.

SpliceInsertMessage
Type: SpliceInsertMessage structure

This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.

TimeSignalMessage
Type: TimeSignalMessage structure

Defines the SCTE-35 time_signal message inserted around the ad.

Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a splice_insert SCTE-35 message to the ad break. This message provides basic metadata about the ad break.

See section 9.7.4 of the 2022 SCTE-35 specification for more information.

AdBreakOpportunity

Description

A location at which a zero-duration ad marker was detected in a VOD source manifest.

Members
OffsetMillis
Required: Yes
Type: long (int|float)

The offset in milliseconds from the start of the VOD source at which an ad marker was detected.

AdMarkerPassthrough

Description

For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.

No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.

Members
Enabled
Type: boolean

Enables ad marker passthrough for your configuration.

Alert

Description

Alert configuration parameters.

Members
AlertCode
Required: Yes
Type: string

The code for the alert. For example, NOT_PROCESSED.

AlertMessage
Required: Yes
Type: string

If an alert is generated for a resource, an explanation of the reason for the alert.

Category
Type: string

The category that MediaTailor assigns to the alert.

LastModifiedTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the alert was last modified.

RelatedResourceArns
Required: Yes
Type: Array of strings

The Amazon Resource Names (ARNs) related to this alert.

ResourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource.

AlternateMedia

Description

A playlist of media (VOD and/or live) to be played instead of the default media on a particular program.

Members
AdBreaks
Type: Array of AdBreak structures

Ad break configuration parameters defined in AlternateMedia.

ClipRange
Type: ClipRange structure

Clip range configuration for the VOD source associated with the program.

DurationMillis
Type: long (int|float)

The duration of the alternateMedia in milliseconds.

LiveSourceName
Type: string

The name of the live source for alternateMedia.

ScheduledStartTimeMillis
Type: long (int|float)

The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.

SourceLocationName
Type: string

The name of the source location for alternateMedia.

VodSourceName
Type: string

The name of the VOD source for alternateMedia.

AudienceMedia

Description

An AudienceMedia object contains an Audience and a list of AlternateMedia.

Members
AlternateMedia
Type: Array of AlternateMedia structures

The list of AlternateMedia defined in AudienceMedia.

Audience
Type: string

The Audience defined in AudienceMedia.

AvailMatchingCriteria

Description

MediaTailor only places (consumes) prefetched ads if the ad break meets the criteria defined by the dynamic variables. This gives you granular control over which ad break to place the prefetched ads into.

As an example, let's say that you set DynamicVariable to scte.event_id and Operator to EQUALS, and your playback configuration has an ADS URL of https://my.ads.server.com/path?&podId=[scte.avail_num]&event=[scte.event_id]&duration=[session.avail_duration_secs]. And the prefetch request to the ADS contains these values https://my.ads.server.com/path?&podId=3&event=my-awesome-event&duration=30. MediaTailor will only insert the prefetched ads into the ad break if has a SCTE marker with an event id of my-awesome-event, since it must match the event id that MediaTailor uses to query the ADS.

You can specify up to five AvailMatchingCriteria. If you specify multiple AvailMatchingCriteria, MediaTailor combines them to match using a logical AND. You can model logical OR combinations by creating multiple prefetch schedules.

Members
DynamicVariable
Required: Yes
Type: string

The dynamic variable(s) that MediaTailor should use as avail matching criteria. MediaTailor only places the prefetched ads into the avail if the avail matches the criteria defined by the dynamic variable. For information about dynamic variables, see Using dynamic ad variables in the MediaTailor User Guide.

You can include up to 100 dynamic variables.

Operator
Required: Yes
Type: string

For the DynamicVariable specified in AvailMatchingCriteria, the Operator that is used for the comparison.

AvailSuppression

Description

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

Members
FillPolicy
Type: string

Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break.

Mode
Type: string

Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.

Value
Type: string

A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.

BadRequestException

Description

A request contains unexpected data.

Members
Message
Type: string

Bumper

Description

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

Members
EndUrl
Type: string

The URL for the end bumper asset.

StartUrl
Type: string

The URL for the start bumper asset.

CdnConfiguration

Description

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

Members
AdSegmentUrlPrefix
Type: string

A non-default content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor.<region>.amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.

ContentSegmentUrlPrefix
Type: string

A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server. First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this ContentSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.

Channel

Description

The configuration parameters for a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Members
Arn
Required: Yes
Type: string

The ARN of the channel.

Audiences
Type: Array of strings

The list of audiences defined in channel.

ChannelName
Required: Yes
Type: string

The name of the channel.

ChannelState
Required: Yes
Type: string

Returns the state whether the channel is running or not.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was created.

FillerSlate
Type: SlateSource structure

The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the channel was last modified.

LogConfiguration
Required: Yes
Type: LogConfigurationForChannel structure

The log configuration.

Outputs
Required: Yes
Type: Array of ResponseOutputItem structures

The channel's output properties.

PlaybackMode
Required: Yes
Type: string

The type of playback mode for this channel.

LINEAR - Programs play back-to-back only once.

LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

Tier
Required: Yes
Type: string

The tier for this channel. STANDARD tier channels can contain live programs.

ClipRange

Description

Clip range configuration for the VOD source associated with the program.

Members
EndOffsetMillis
Type: long (int|float)

The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.

StartOffsetMillis
Type: long (int|float)

The start offset of the clip range, in milliseconds. This offset truncates the start at the number of milliseconds into the duration of the VOD source.

DashConfiguration

Description

The configuration for DASH content.

Members
ManifestEndpointPrefix
Type: string

The URL generated by MediaTailor to initiate a playback session. The session uses server-side reporting. This setting is ignored in PUT operations.

MpdLocation
Type: string

The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.

OriginManifestType
Type: string

The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.

DashConfigurationForPut

Description

The configuration for DASH PUT operations.

Members
MpdLocation
Type: string

The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.

OriginManifestType
Type: string

The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.

DashPlaylistSettings

Description

Dash manifest configuration parameters.

Members
ManifestWindowSeconds
Type: int

The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.

MinBufferTimeSeconds
Type: int

Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds.

MinUpdatePeriodSeconds
Type: int

Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.

SuggestedPresentationDelaySeconds
Type: int

Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.

DefaultSegmentDeliveryConfiguration

Description

The optional configuration for a server that serves segments. Use this if you want the segment delivery server to be different from the source location server. For example, you can configure your source location server to be an origination server, such as MediaPackage, and the segment delivery server to be a content delivery network (CDN), such as CloudFront. If you don't specify a segment delivery server, then the source location server is used.

Members
BaseUrl
Type: string

The hostname of the server that will be used to serve segments. This string must include the protocol, such as https://.

HlsConfiguration

Description

The configuration for HLS content.

Members
ManifestEndpointPrefix
Type: string

The URL that is used to initiate a playback session for devices that support Apple HLS. The session uses server-side reporting.

HlsPlaylistSettings

Description

HLS playlist configuration parameters.

Members
AdMarkupType
Type: Array of strings

Determines the type of SCTE 35 tags to use in ad markup. Specify DATERANGE to use DATERANGE tags (for live or VOD content). Specify SCTE35_ENHANCED to use EXT-X-CUE-OUT and EXT-X-CUE-IN tags (for VOD content only).

ManifestWindowSeconds
Type: int

The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.

HttpConfiguration

Description

The HTTP configuration for the source location.

Members
BaseUrl
Required: Yes
Type: string

The base URL for the source location host server. This string must include the protocol, such as https://.

HttpPackageConfiguration

Description

The HTTP package configuration properties for the requested VOD source.

Members
Path
Required: Yes
Type: string

The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

SourceGroup
Required: Yes
Type: string

The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.

Type
Required: Yes
Type: string

The streaming protocol for this package configuration. Supported values are HLS and DASH.

KeyValuePair

Description

For SCTE35_ENHANCED output, defines a key and corresponding value. MediaTailor generates these pairs within the EXT-X-ASSETtag.

Members
Key
Required: Yes
Type: string

For SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated value, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you must also specify a corresponding value.

Value
Required: Yes
Type: string

For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its associated key, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a value, you must also specify a corresponding key.

LivePreRollConfiguration

Description

The configuration for pre-roll ad insertion.

Members
AdDecisionServerUrl
Type: string

The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

MaxDurationSeconds
Type: int

The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.

LiveSource

Description

Live source configuration parameters.

Members
Arn
Required: Yes
Type: string

The ARN for the live source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the live source was created.

HttpPackageConfigurations
Required: Yes
Type: Array of HttpPackageConfiguration structures

The HTTP package configurations for the live source.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the live source was last modified.

LiveSourceName
Required: Yes
Type: string

The name that's used to refer to a live source.

SourceLocationName
Required: Yes
Type: string

The name of the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

LogConfiguration

Description

Returns Amazon CloudWatch log settings for a playback configuration.

Members
PercentEnabled
Required: Yes
Type: int

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

LogConfigurationForChannel

Description

The log configuration for the channel.

Members
LogTypes
Type: Array of strings

The log types.

ManifestProcessingRules

Description

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

Members
AdMarkerPassthrough
Type: AdMarkerPassthrough structure

For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.

No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.

PlaybackConfiguration

Description

A playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

Members
AdDecisionServerUrl
Type: string

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.

AvailSuppression
Type: AvailSuppression structure

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

Bumper
Type: Bumper structure

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

CdnConfiguration
Type: CdnConfiguration structure

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

ConfigurationAliases
Type: Associative array of custom strings keys (__string) to stringss

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

DashConfiguration
Type: DashConfiguration structure

The configuration for a DASH source.

HlsConfiguration
Type: HlsConfiguration structure

The configuration for HLS content.

InsertionMode
Type: string

The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

LivePreRollConfiguration
Type: LivePreRollConfiguration structure

The configuration for pre-roll ad insertion.

LogConfiguration
Type: LogConfiguration structure

The Amazon CloudWatch log settings for a playback configuration.

ManifestProcessingRules
Type: ManifestProcessingRules structure

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

Name
Type: string

The identifier for the playback configuration.

PersonalizationThresholdSeconds
Type: int

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

PlaybackConfigurationArn
Type: string

The Amazon Resource Name (ARN) for the playback configuration.

PlaybackEndpointPrefix
Type: string

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.

SessionInitializationEndpointPrefix
Type: string

The URL that the player uses to initialize a session that uses client-side reporting.

SlateAdUrl
Type: string

The URL for a video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags to assign to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

TranscodeProfileName
Type: string

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

VideoContentSourceUrl
Type: string

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

PrefetchConsumption

Description

A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.

Members
AvailMatchingCriteria
Type: Array of AvailMatchingCriteria structures

If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

EndTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.

StartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.

PrefetchRetrieval

Description

A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.

Members
DynamicVariables
Type: Associative array of custom strings keys (__string) to strings

The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).

You initially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify DynamicVariables for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.

EndTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.

StartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.

PrefetchSchedule

Description

A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.

Members
Arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the prefetch schedule.

Consumption
Required: Yes
Type: PrefetchConsumption structure

Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

Name
Required: Yes
Type: string

The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

PlaybackConfigurationName
Required: Yes
Type: string

The name of the playback configuration to create the prefetch schedule for.

Retrieval
Required: Yes
Type: PrefetchRetrieval structure

A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

StreamId
Type: string

An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

RequestOutputItem

Description

The output configuration for this channel.

Members
DashPlaylistSettings
Type: DashPlaylistSettings structure

DASH manifest configuration parameters.

HlsPlaylistSettings
Type: HlsPlaylistSettings structure

HLS playlist configuration parameters.

ManifestName
Required: Yes
Type: string

The name of the manifest for the channel. The name appears in the PlaybackUrl.

SourceGroup
Required: Yes
Type: string

A string used to match which HttpPackageConfiguration is used for each VodSource.

ResponseOutputItem

Description

The output item response.

Members
DashPlaylistSettings
Type: DashPlaylistSettings structure

DASH manifest configuration settings.

HlsPlaylistSettings
Type: HlsPlaylistSettings structure

HLS manifest configuration settings.

ManifestName
Required: Yes
Type: string

The name of the manifest for the channel that will appear in the channel output's playback URL.

PlaybackUrl
Required: Yes
Type: string

The URL used for playback by content players.

SourceGroup
Required: Yes
Type: string

A string used to associate a package configuration source group with a channel output.

ScheduleAdBreak

Description

The schedule's ad break properties.

Members
ApproximateDurationSeconds
Type: long (int|float)

The approximate duration of the ad break, in seconds.

ApproximateStartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The approximate time that the ad will start playing.

SourceLocationName
Type: string

The name of the source location containing the VOD source used for the ad break.

VodSourceName
Type: string

The name of the VOD source used for the ad break.

ScheduleConfiguration

Description

Schedule configuration parameters. A channel must be stopped before changes can be made to the schedule.

Members
ClipRange
Type: ClipRange structure

Program clip range configuration.

Transition
Required: Yes
Type: Transition structure

Program transition configurations.

ScheduleEntry

Description

The properties for a schedule.

Members
ApproximateDurationSeconds
Type: long (int|float)

The approximate duration of this program, in seconds.

ApproximateStartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The approximate time that the program will start playing.

Arn
Required: Yes
Type: string

The ARN of the program.

Audiences
Type: Array of strings

The list of audiences defined in ScheduleEntry.

ChannelName
Required: Yes
Type: string

The name of the channel that uses this schedule.

LiveSourceName
Type: string

The name of the live source used for the program.

ProgramName
Required: Yes
Type: string

The name of the program.

ScheduleAdBreaks
Type: Array of ScheduleAdBreak structures

The schedule's ad break properties.

ScheduleEntryType
Type: string

The type of schedule entry.

SourceLocationName
Required: Yes
Type: string

The name of the source location.

VodSourceName
Type: string

The name of the VOD source.

SecretsManagerAccessTokenConfiguration

Description

AWS Secrets Manager access token configuration parameters. For information about Secrets Manager access token authentication, see Working with AWS Secrets Manager access token authentication.

Members
HeaderName
Type: string

The name of the HTTP header used to supply the access token in requests to the source location.

SecretArn
Type: string

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.

SecretStringKey
Type: string

The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.

SegmentDeliveryConfiguration

Description

The segment delivery configuration settings.

Members
BaseUrl
Type: string

The base URL of the host or path of the segment delivery server that you're using to serve segments. This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such as https://example.com/some/path. To use a relative URL specify the relative path, such as /some/path*.

Name
Type: string

A unique identifier used to distinguish between multiple segment delivery configurations in a source location.

SegmentationDescriptor

Description

The segmentation_descriptor message can contain advanced metadata fields, like content identifiers, to convey a wide range of information about the ad break. MediaTailor writes the ad metadata in the egress manifest as part of the EXT-X-DATERANGE or EventStream ad marker's SCTE-35 data.

segmentation_descriptor messages must be sent with the time_signal message type.

See the segmentation_descriptor() table of the 2022 SCTE-35 specification for more information.

Members
SegmentNum
Type: int

The segment number to assign to the segmentation_descriptor.segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.

SegmentationEventId
Type: int

The Event Identifier to assign to the segmentation_descriptor.segmentation_event_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1.

SegmentationTypeId
Type: int

The Type Identifier to assign to the segmentation_descriptor.segmentation_type_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48.

SegmentationUpid
Type: string

The Upid to assign to the segmentation_descriptor.segmentation_upid message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is "" (an empty string).

SegmentationUpidType
Type: int

The Upid Type to assign to the segmentation_descriptor.segmentation_upid_type message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14.

SegmentsExpected
Type: int

The number of segments expected, which is assigned to the segmentation_descriptor.segments_expectedS message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.

SubSegmentNum
Type: int

The sub-segment number to assign to the segmentation_descriptor.sub_segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null.

SubSegmentsExpected
Type: int

The number of sub-segments expected, which is assigned to the segmentation_descriptor.sub_segments_expected message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null.

SlateSource

Description

Slate VOD source configuration.

Members
SourceLocationName
Type: string

The name of the source location where the slate VOD source is stored.

VodSourceName
Type: string

The slate VOD source name. The VOD source must already exist in a source location before it can be used for slate.

SourceLocation

Description

A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Members
AccessConfiguration
Type: AccessConfiguration structure

The access configuration for the source location.

Arn
Required: Yes
Type: string

The ARN of the SourceLocation.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the source location was created.

DefaultSegmentDeliveryConfiguration

The default segment delivery configuration.

HttpConfiguration
Required: Yes
Type: HttpConfiguration structure

The HTTP configuration for the source location.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the source location was last modified.

SegmentDeliveryConfigurations
Type: Array of SegmentDeliveryConfiguration structures

The segment delivery configurations for the source location.

SourceLocationName
Required: Yes
Type: string

The name of the source location.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

SpliceInsertMessage

Description

Splice insert message configuration.

Members
AvailNum
Type: int

This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

AvailsExpected
Type: int

This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

SpliceEventId
Type: int

This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.

UniqueProgramId
Type: int

This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

TimeShiftConfiguration

Description

The configuration for time-shifted viewing.

Members
MaxTimeDelaySeconds
Required: Yes
Type: int

The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).

TimeSignalMessage

Description

The SCTE-35 time_signal message can be sent with one or more segmentation_descriptor messages. A time_signal message can be sent only if a single segmentation_descriptor message is sent.

The time_signal message contains only the splice_time field which is constructed using a given presentation timestamp. When sending a time_signal message, the splice_command_type field in the splice_info_section message is set to 6 (0x06).

See the time_signal() table of the 2022 SCTE-35 specification for more information.

Members
SegmentationDescriptors
Type: Array of SegmentationDescriptor structures

The configurations for the SCTE-35 segmentation_descriptor message(s) sent with the time_signal message.

Transition

Description

Program transition configuration.

Members
DurationMillis
Type: long (int|float)

The duration of the live program in seconds.

RelativePosition
Required: Yes
Type: string

The position where this program will be inserted relative to the RelativePosition.

RelativeProgram
Type: string

The name of the program that this program will be inserted next to, as defined by RelativePosition.

ScheduledStartTimeMillis
Type: long (int|float)

The date and time that the program is scheduled to start, in epoch milliseconds.

Type
Required: Yes
Type: string

Defines when the program plays in the schedule. You can set the value to ABSOLUTE or RELATIVE.

ABSOLUTE - The program plays at a specific wall clock time. This setting can only be used for channels using the LINEAR PlaybackMode.

Note the following considerations when using ABSOLUTE transitions:

If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.

If there are gaps in playback, MediaTailor plays the FillerSlate you configured for your linear channel.

RELATIVE - The program is inserted into the schedule either before or after a program that you specify via RelativePosition.

UpdateProgramScheduleConfiguration

Description

Schedule configuration parameters.

Members
ClipRange
Type: ClipRange structure

Program clip range configuration.

Transition
Type: UpdateProgramTransition structure

Program transition configuration.

UpdateProgramTransition

Description

Program transition configuration.

Members
DurationMillis
Type: long (int|float)

The duration of the live program in seconds.

ScheduledStartTimeMillis
Type: long (int|float)

The date and time that the program is scheduled to start, in epoch milliseconds.

VodSource

Description

VOD source configuration parameters.

Members
Arn
Required: Yes
Type: string

The ARN for the VOD source.

CreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the VOD source was created.

HttpPackageConfigurations
Required: Yes
Type: Array of HttpPackageConfiguration structures

The HTTP package configurations for the VOD source.

LastModifiedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp that indicates when the VOD source was last modified.

SourceLocationName
Required: Yes
Type: string

The name of the source location that the VOD source is associated with.

Tags
Type: Associative array of custom strings keys (__string) to strings

The tags assigned to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

VodSourceName
Required: Yes
Type: string

The name of the VOD source.