modify_db_proxy
async
¶
modify_db_proxy(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
db_proxy_name: Optional[DBProxyName] = None,
new_db_proxy_name: Optional[DBProxyName] = None,
default_auth_scheme: Optional[DefaultAuthScheme] = None,
auth: Optional[UserAuthConfigList] = None,
require_tls: Optional[BooleanOptional] = None,
idle_client_timeout: Optional[IntegerOptional] = None,
debug_logging: Optional[BooleanOptional] = None,
role_arn: Optional[Arn] = None,
security_groups: Optional[StringList] = None,
) -> ModifyDBProxyResponse
Changes the settings for an existing DB proxy.
Parameters:
-
db_proxy_name(Optional[DBProxyName], default:None) –The identifier for the
DBProxyto modify. -
new_db_proxy_name(Optional[DBProxyName], default:None) –The new identifier for the
DBProxy. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. -
default_auth_scheme(Optional[DefaultAuthScheme], default:None) –The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are
NONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database. -
auth(Optional[UserAuthConfigList], default:None) –The new authentication settings for the
DBProxy. -
require_tls(Optional[BooleanOptional], default:None) –Whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy, even if the associated database doesn't use TLS.
-
idle_client_timeout(Optional[IntegerOptional], default:None) –The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
-
debug_logging(Optional[BooleanOptional], default:None) –Specifies whether the proxy logs detailed connection and query information. When you enable
DebugLogging, the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues. -
role_arn(Optional[Arn], default:None) –The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
-
security_groups(Optional[StringList], default:None) –The new list of security groups for the
DBProxy.
Raises:
-
DBProxyAlreadyExistsFault–The specified proxy name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.
-
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.
-
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
11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 | |