create_router_input
async
¶
create_router_input(
name: str,
configuration: RouterInputConfiguration,
maximum_bitrate: int,
routing_scope: RoutingScope,
tier: RouterInputTier,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = 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/async_media_connect.py
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 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 | |