register_db_proxy_targets
¶
register_db_proxy_targets(
*,
config_overrides: Optional[RDSClientConfig] = 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/rds.py
12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 | |