View Source AWS.MediaTailor (aws-elixir v1.0.4)
Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels.
With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
Link to this section Summary
Functions
Configures Amazon CloudWatch log settings for a channel.
Amazon CloudWatch log settings for a playback configuration.
Creates a channel.
The live source configuration.
Creates a prefetch schedule for a playback configuration.
Creates a program within a channel.
Creates a source location.
The VOD source configuration parameters.
Deletes a channel.
The channel policy to delete.
The live source to delete.
Deletes a playback configuration.
Deletes a prefetch schedule for a specific playback configuration.
Deletes a program within a channel.
Deletes a source location.
The video on demand (VOD) source to delete.
Describes a channel.
The live source to describe.
Describes a program within a channel.
Describes a source location.
Provides details about a specific video on demand (VOD) source in a specific source location.
Returns the channel's IAM policy.
Retrieves information about your channel's schedule.
Retrieves a playback configuration.
Retrieves a prefetch schedule for a playback configuration.
Lists the alerts that are associated with a MediaTailor channel assembly resource.
Retrieves information about the channels that are associated with the current AWS account.
Lists the live sources contained in a source location.
Retrieves existing playback configurations.
Lists the prefetch schedules for a playback configuration.
Lists the source locations for a channel.
A list of tags that are associated with this resource.
Lists the VOD sources contained in a source location.
Creates an IAM policy for the channel.
Creates a playback configuration.
Starts a channel.
Stops a channel.
The resource to tag.
The resource to untag.
Updates a channel.
Updates a live source's configuration.
Updates a program within a channel.
Updates a source location.
Updates a VOD source's configuration.
Link to this section Functions
Configures Amazon CloudWatch log settings for a channel.
configure_logs_for_playback_configuration(client, input, options \\ [])
View SourceAmazon CloudWatch log settings for a playback configuration.
Creates a channel.
For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
create_live_source(client, live_source_name, source_location_name, input, options \\ [])
View SourceThe live source configuration.
create_prefetch_schedule(client, name, playback_configuration_name, input, options \\ [])
View SourceCreates 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.
create_program(client, channel_name, program_name, input, options \\ [])
View SourceCreates a program within a channel.
For information about programs, see Working with programs in the MediaTailor User Guide.
create_source_location(client, source_location_name, input, options \\ [])
View SourceCreates 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.
create_vod_source(client, source_location_name, vod_source_name, input, options \\ [])
View SourceThe VOD source configuration parameters.
Deletes a channel.
For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
The channel policy to delete.
delete_live_source(client, live_source_name, source_location_name, input, options \\ [])
View SourceThe live source to delete.
Deletes a playback configuration.
For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
delete_prefetch_schedule(client, name, playback_configuration_name, input, options \\ [])
View SourceDeletes 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.
delete_program(client, channel_name, program_name, input, options \\ [])
View SourceDeletes a program within a channel.
For information about programs, see Working with programs in the MediaTailor User Guide.
delete_source_location(client, source_location_name, input, options \\ [])
View SourceDeletes 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.
delete_vod_source(client, source_location_name, vod_source_name, input, options \\ [])
View SourceThe video on demand (VOD) source to delete.
Describes a channel.
For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
describe_live_source(client, live_source_name, source_location_name, options \\ [])
View SourceThe live source to describe.
describe_program(client, channel_name, program_name, options \\ [])
View SourceDescribes a program within a channel.
For information about programs, see Working with programs in the MediaTailor User Guide.
describe_source_location(client, source_location_name, options \\ [])
View SourceDescribes 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.
describe_vod_source(client, source_location_name, vod_source_name, options \\ [])
View SourceProvides details about a specific video on demand (VOD) source in a specific source location.
Returns the channel's IAM policy.
IAM policies are used to control access to your channel.
get_channel_schedule(client, channel_name, audience \\ nil, duration_minutes \\ nil, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceRetrieves information about your channel's schedule.
Retrieves a playback configuration.
For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
get_prefetch_schedule(client, name, playback_configuration_name, options \\ [])
View SourceRetrieves 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.
list_alerts(client, max_results \\ nil, next_token \\ nil, resource_arn, options \\ [])
View SourceLists the alerts that are associated with a MediaTailor channel assembly resource.
list_channels(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceRetrieves information about the channels that are associated with the current AWS account.
list_live_sources(client, source_location_name, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the live sources contained in a source location.
A source represents a piece of content.
list_playback_configurations(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceRetrieves existing playback configurations.
For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
list_prefetch_schedules(client, playback_configuration_name, input, options \\ [])
View SourceLists the prefetch schedules for a playback configuration.
list_source_locations(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the source locations for a channel.
A source location defines the host server URL, and contains a list of sources.
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.
list_vod_sources(client, source_location_name, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the VOD sources contained in a source location.
A source represents a piece of content.
Creates an IAM policy for the channel.
IAM policies are used to control access to your channel.
Creates a playback configuration.
For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
Starts a channel.
For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Stops a channel.
For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
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.
The resource to untag.
Updates a channel.
For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
update_live_source(client, live_source_name, source_location_name, input, options \\ [])
View SourceUpdates a live source's configuration.
update_program(client, channel_name, program_name, input, options \\ [])
View SourceUpdates a program within a channel.
update_source_location(client, source_location_name, input, options \\ [])
View SourceUpdates 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.
update_vod_source(client, source_location_name, vod_source_name, input, options \\ [])
View SourceUpdates a VOD source's configuration.