AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a new router network interface in AWS Elemental MediaConnect.

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.

Namespace: Amazon.MediaConnect
Assembly: AWSSDK.MediaConnect.dll
Version: 3.x.y.z

Syntax

C#
public virtual Task<CreateRouterNetworkInterfaceResponse> CreateRouterNetworkInterfaceAsync(
         CreateRouterNetworkInterfaceRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.MediaConnect.Model.CreateRouterNetworkInterfaceRequest

Container for the necessary parameters to execute the CreateRouterNetworkInterface service method.

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value


The response from the CreateRouterNetworkInterface service method, as returned by MediaConnect.

Exceptions

ExceptionCondition
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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer

See Also