create_program
¶
create_program(
channel_name: __string,
program_name: __string,
schedule_configuration: ScheduleConfiguration,
source_location_name: __string,
*,
config_overrides: Optional[MediaTailorClientConfig] = None,
ad_breaks: Optional[__listOfAdBreak] = None,
live_source_name: Optional[__string] = None,
vod_source_name: Optional[__string] = None,
audience_media: Optional[__listOfAudienceMedia] = None,
tags: Optional[__mapOf__string] = None,
) -> CreateProgramResponse
Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
Parameters:
-
ad_breaks(Optional[__listOfAdBreak], default:None) –The ad break configuration settings.
-
channel_name(__string) –The name of the channel for this Program.
-
live_source_name(Optional[__string], default:None) –The name of the LiveSource for this Program.
-
program_name(__string) –The name of the Program.
-
schedule_configuration(ScheduleConfiguration) –The schedule configuration settings.
-
source_location_name(__string) –The name of the source location.
-
vod_source_name(Optional[__string], default:None) –The name that's used to refer to a VOD source.
-
audience_media(Optional[__listOfAudienceMedia], default:None) –The list of AudienceMedia defined in program.
-
tags(Optional[__mapOf__string], default:None) –The tags to assign to the program. 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediatailor/_services/media_tailor.py
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 | |