deregister_db_proxy_targets
async
¶
deregister_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,
) -> DeregisterDBProxyTargetsResponse
Remove the association between one or more DBProxyTarget data structures and 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:
-
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.
-
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.
-
DBProxyTargetNotFoundFault–The specified RDS DB instance or Aurora DB cluster isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
-
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
5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 | |