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
3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 | |