update_origin_endpoint
async
¶
update_origin_endpoint(
id: __string,
*,
config_overrides: Optional[AsyncMediaPackageClientConfig] = None,
authorization: Optional[Authorization] = None,
cmaf_package: Optional[CmafPackageCreateOrUpdateParameters] = None,
dash_package: Optional[DashPackage] = None,
description: Optional[__string] = None,
hls_package: Optional[HlsPackage] = None,
manifest_name: Optional[__string] = None,
mss_package: Optional[MssPackage] = None,
origination: Optional[Origination] = None,
startover_window_seconds: Optional[__integer] = None,
time_delay_seconds: Optional[__integer] = None,
whitelist: Optional[__listOf__string] = None,
) -> UpdateOriginEndpointResponse
Updates an existing OriginEndpoint.
Parameters:
-
description(Optional[__string], default:None) –A short text description of the OriginEndpoint.
-
id(__string) –The ID of the OriginEndpoint to update.
-
manifest_name(Optional[__string], default:None) –A short string that will be appended to the end of the Endpoint URL.
-
origination(Optional[Origination], default:None) –Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
-
startover_window_seconds(Optional[__integer], default:None) –Maximum duration (in seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
-
time_delay_seconds(Optional[__integer], default:None) –Amount of delay (in seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
-
whitelist(Optional[__listOf__string], default:None) –A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
Raises:
-
ForbiddenException–The client is not authorized to access the requested resource.
-
InternalServerErrorException–An unexpected error occurred.
-
NotFoundException–The requested resource does not exist.
-
ServiceUnavailableException–An unexpected error occurred.
-
TooManyRequestsException–The client has exceeded their resource or throttling limits.
-
UnprocessableEntityException–The parameters sent in the request are not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediapackage/_services/async_media_package.py
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 | |