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 routing control.

A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.

To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateRoutingControlAsync.

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

Syntax

C#
public abstract CreateRoutingControlResponse CreateRoutingControl(
         CreateRoutingControlRequest request
)

Parameters

request
Type: Amazon.Route53RecoveryControlConfig.Model.CreateRoutingControlRequest

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

Return Value


The response from the CreateRoutingControl service method, as returned by Route53RecoveryControlConfig.

Exceptions

ExceptionCondition
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also