create_router_network_interface
async
¶
create_router_network_interface(
name: str,
configuration: RouterNetworkInterfaceConfiguration,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = None,
region_name: Optional[str] = None,
tags: Optional[__mapOfString] = None,
client_token: Optional[ClientToken] = None,
) -> CreateRouterNetworkInterfaceResponse
Creates a new router network interface in AWS Elemental MediaConnect.
Parameters:
-
name(str) –The name of the router network interface.
-
configuration(RouterNetworkInterfaceConfiguration) –The configuration settings for the router network interface.
-
region_name(Optional[str], default:None) –The Amazon Web Services Region for the router network interface. Defaults to the current region if not specified.
-
tags(Optional[__mapOfString], default:None) –Key-value pairs that can be used to tag and organize this router network interface.
-
client_token(Optional[ClientToken], default:None) –A unique identifier for the request to ensure idempotency.
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.
-
RouterNetworkInterfaceServiceQuotaExceededException–The request to create a new router network interface would exceed the service quotas (limits) set 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
5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 | |