register_db_proxy_targets
async
¶
register_db_proxy_targets(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
db_proxy_name: Optional[DBProxyName] = None,
target_group_name: Optional[DBProxyTargetGroupName] = None,
db_instance_identifiers: Optional[StringList] = None,
db_cluster_identifiers: Optional[StringList] = None,
) -> RegisterDBProxyTargetsResponse
Associate one or more DBProxyTarget data structures with a DBProxyTargetGroup.
Parameters:
-
db_proxy_name(Optional[DBProxyName], default:None) –The identifier of the
DBProxythat is associated with theDBProxyTargetGroup. -
target_group_name(Optional[DBProxyTargetGroupName], default:None) –The identifier of the
DBProxyTargetGroup. -
db_instance_identifiers(Optional[StringList], default:None) –One or more DB instance identifiers.
-
db_cluster_identifiers(Optional[StringList], default:None) –One or more DB cluster identifiers.
Raises:
-
DBClusterNotFoundFault–DBClusterIdentifierdoesn't refer to an existing DB cluster. -
DBInstanceNotFoundFault–DBInstanceIdentifierdoesn't refer to an existing DB instance. -
DBProxyNotFoundFault–The specified proxy name doesn't correspond to a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
-
DBProxyTargetAlreadyRegisteredFault–The proxy is already associated with the specified RDS DB instance or Aurora DB cluster.
-
DBProxyTargetGroupNotFoundFault–The specified target group isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
-
InsufficientAvailableIPsInSubnetFault–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.
-
InvalidDBClusterStateFault–The requested operation can't be performed while the cluster is in this state.
-
InvalidDBInstanceStateFault–The DB instance isn't in a valid state.
-
InvalidDBProxyStateFault–The requested operation can't be performed while the proxy is in this state.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rds/_services/async_rds.py
13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 | |