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
12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 | |