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
3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 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 | |