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
13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 | |