create_router_input
¶
create_router_input(
name: str,
configuration: RouterInputConfiguration,
maximum_bitrate: int,
routing_scope: RoutingScope,
tier: RouterInputTier,
*,
config_overrides: Optional[MediaConnectClientConfig] = None,
region_name: Optional[str] = None,
availability_zone: Optional[str] = None,
transit_encryption: Optional[RouterInputTransitEncryption] = None,
maintenance_configuration: Optional[MaintenanceConfiguration] = None,
tags: Optional[__mapOfString] = None,
client_token: Optional[ClientToken] = None,
content_quality_analysis_configuration: Optional[
RouterContentQualityAnalysisConfiguration
] = None,
) -> CreateRouterInputResponse
Creates a new router input in AWS Elemental MediaConnect.
Parameters:
-
name(str) –The name of the router input.
-
configuration(RouterInputConfiguration) –The configuration settings for the router input, which can include the protocol, network interface, and other details.
-
maximum_bitrate(int) –The maximum bitrate for the router input.
-
routing_scope(RoutingScope) –Specifies whether the router input can be assigned to outputs in different Regions. REGIONAL (default) - connects only to outputs in same Region. GLOBAL - connects to outputs in any Region.
-
tier(RouterInputTier) –The tier level for the router input. The tier sets the maximum bitrate, in Mbps, for the router input. Valid values include the following:
-
INPUT_20– 20 Mbps -
INPUT_50– 50 Mbps -
INPUT_100– 100 Mbps -
INPUT_250– 250 Mbps -
INPUT_500– 500 Mbps
The 250 Mbps and 500 Mbps tiers are high-bitrate tiers that support TR-07 (JPEG XS) workflows.
-
-
region_name(Optional[str], default:None) –The Amazon Web Services Region for the router input. Defaults to the current region if not specified.
-
availability_zone(Optional[str], default:None) –The Availability Zone where you want to create the router input. This must be a valid Availability Zone for the region specified by
regionName, or the current region if noregionNameis provided. -
transit_encryption(Optional[RouterInputTransitEncryption], default:None) –The transit encryption settings for the router input.
-
maintenance_configuration(Optional[MaintenanceConfiguration], default:None) –The maintenance configuration settings for the router input, including preferred maintenance windows and schedules.
-
tags(Optional[__mapOfString], default:None) –Key-value pairs that can be used to tag and organize this router input.
-
client_token(Optional[ClientToken], default:None) –A unique identifier for the request to ensure idempotency.
-
content_quality_analysis_configuration(Optional[RouterContentQualityAnalysisConfiguration], default:None) –The content quality analysis configuration for the router input.
Raises:
-
BadRequestException–This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
-
ForbiddenException–You do not have sufficient access to perform this action.
-
InternalServerErrorException–The server encountered an internal error and is unable to complete the request.
-
RouterInputServiceQuotaExceededException–The request to create a new router input would exceed the service quotas for the account.
-
ServiceUnavailableException–The service is currently unavailable or busy.
-
TooManyRequestsException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconnect/_services/media_connect.py
4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 | |