

# ModifyDBProxy
<a name="API_ModifyDBProxy"></a>

Changes the settings for an existing DB proxy.

## Request Parameters
<a name="API_ModifyDBProxy_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** DBProxyName **   
The identifier for the `DBProxy` to modify.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z](?:-?[a-zA-Z0-9]+)*`   
Required: Yes

 **Auth.member.N**   
The new authentication settings for the `DBProxy`.  
Type: Array of [UserAuthConfig](API_UserAuthConfig.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 200 items.  
Required: No

 ** DebugLogging **   
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.  
Type: Boolean  
Required: No

 ** DefaultAuthScheme **   
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 `NONE` and `IAM_AUTH`. When set to `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to the database.  
Type: String  
Valid Values: `IAM_AUTH | NONE`   
Required: No

 ** IdleClientTimeout **   
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.  
Type: Integer  
Required: No

 ** NewDBProxyName **   
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.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z](?:-?[a-zA-Z0-9]+)*`   
Required: No

 ** RequireTLS **   
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.  
Type: Boolean  
Required: No

 ** RoleArn **   
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Secrets Manager.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Required: No

 **SecurityGroups.member.N**   
The new list of security groups for the `DBProxy`.  
Type: Array of strings  
Required: No

## Response Elements
<a name="API_ModifyDBProxy_ResponseElements"></a>

The following element is returned by the service.

 ** DBProxy **   
The `DBProxy` object representing the new settings for the proxy.  
Type: [DBProxy](API_DBProxy.md) object

## Errors
<a name="API_ModifyDBProxy_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** DBProxyAlreadyExistsFault **   
The specified proxy name must be unique for all proxies owned by your Amazon account in the specified Amazon Region.  
HTTP Status Code: 400

 ** DBProxyNotFoundFault **   
The specified proxy name doesn't correspond to a proxy owned by your Amazon account in the specified Amazon Region.  
HTTP Status Code: 404

 ** InvalidDBProxyStateFault **   
The requested operation can't be performed while the proxy is in this state.  
HTTP Status Code: 400

## See Also
<a name="API_ModifyDBProxy_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/rds-2014-10-31/ModifyDBProxy) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/rds-2014-10-31/ModifyDBProxy) 