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
4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 | |