create_channel
¶
create_channel(
channel_name: __string,
outputs: RequestOutputs,
playback_mode: PlaybackMode,
*,
config_overrides: Optional[MediaTailorClientConfig] = None,
filler_slate: Optional[SlateSource] = None,
tags: Optional[__mapOf__string] = None,
tier: Optional[Tier] = None,
time_shift_configuration: Optional[TimeShiftConfiguration] = None,
audiences: Optional[Audiences] = None,
) -> CreateChannelResponse
Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Parameters:
-
channel_name(__string) –The name of the channel.
-
filler_slate(Optional[SlateSource], default:None) –The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the
LINEARPlaybackMode. MediaTailor doesn't support filler slate for channels using theLOOPPlaybackMode. -
outputs(RequestOutputs) –The channel's output properties.
-
playback_mode(PlaybackMode) –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(Optional[__mapOf__string], default:None) –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(Optional[Tier], default:None) –The tier of the channel.
-
time_shift_configuration(Optional[TimeShiftConfiguration], default:None) –The time-shifted viewing configuration you want to associate to the channel.
-
audiences(Optional[Audiences], default:None) –The list of audiences defined in channel.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.