AWS SDK Version 3 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.

Associate one or more DBProxyTarget data structures with a DBProxyTargetGroup.

Note:

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

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

Syntax

C#
public abstract RegisterDBProxyTargetsResponse RegisterDBProxyTargets(
         RegisterDBProxyTargetsRequest request
)

Parameters

request
Type: Amazon.RDS.Model.RegisterDBProxyTargetsRequest

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

Return Value


The response from the RegisterDBProxyTargets service method, as returned by RDS.

Exceptions

ExceptionCondition
DBClusterNotFoundException DBClusterIdentifier doesn't refer to an existing DB cluster.
DBInstanceNotFoundException DBInstanceIdentifier doesn't refer to an existing DB instance.
DBProxyNotFoundException The specified proxy name doesn't correspond to a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
DBProxyTargetAlreadyRegisteredException The proxy is already associated with the specified RDS DB instance or Aurora DB cluster.
DBProxyTargetGroupNotFoundException The specified target group isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
InsufficientAvailableIPsInSubnetException The requested operation can't be performed because there aren't enough available IP addresses in the proxy's subnets. Add more CIDR blocks to the VPC or remove IP address that aren't required from the subnets.
InvalidDBClusterStateException The requested operation can't be performed while the cluster is in this state.
InvalidDBInstanceStateException The DB instance isn't in a valid state.
InvalidDBProxyStateException The requested operation can't be performed while the proxy is in this state.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also