You can call the ModifyDBInstanceProxyConfiguration operation to configure the database proxy for an instance.
Operation description
Note
This operation is phased out.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The ID of the instance. | rm-uf6wjk5xxxxxxxxxx |
ProxyConfigurationKey | string | Yes | The key of the configuration item for the database proxy. Valid values:
| TransparentSwitch |
ProxyConfigurationValue | string | Yes | The features and status of the database proxy:
Format: {"Feature 1":"Status 1","Feature 2":"Status 2"...} | {"status":"Enable"} |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9705B5D2-C5B6-4526-B779-26D755EC1B8C"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ConnectionModeNotSupported | ConnectionMode specified cannot be replicate with the source DB Instance. | The operation failed. The connection mode that is specified by the ConnectionMode parameter cannot be replicated with the original RDS instance. |
400 | InvalidConfigurationValue.Malformed | Specified ConfigurationValue is not valid. | The operation failed. The values of some parameters are invalid. |
400 | InvalidConfigurationValueStatus.Malformed | Specified ProxyConfigurationValue (status) is not valid. | - |
400 | ProxyConnectionPersistExists | Specified same ProxyConnectionPersist already exists. | - |
400 | ProxyFailoverExists | Specified same ProxyFailoverExists already exists. | - |
403 | InvalidConfigurationValueOrther.Malformed | Specified ProxyConfigurationValue (check_interval_seconds or max_failed_login_attempts or blocking_seconds ) is not valid. | The value of the ProxyConfigurationValue parameter is invalid. Check the value of this parameter before you proceed. |
403 | ProxyConnectionPersist.NotFound | Specified ProxyConnectionPersist is not found. | - |
403 | ProxyConnectionPersistParametersInvalid | ProxyConnectionPersist parameter out of range. | - |
403 | InvalidConfigValue | ProxyConnectionPersist parameter config table not exits or data error. | - |
403 | InvalidDBInstance.NotFound | Specified instance does not exist or not support. | The RDS instance cannot be found, is deleted, or does not support the operation. |
403 | ProxyFailover.NotFound | Specified ProxyFailover is not found. | - |
404 | EngineVersionNotSupported | EngineVersion specified cannot be replicate with the source DB Instance. | Instance cloning is not supported for the database engine version of the current instance. |
404 | EngineNotSupported | Engine specified cannot be supported the operation. | The operation failed. This operation is not supported for the database engine version of the RDS instance. Update the minor engine version of the RDS instance. |
For a list of error codes, visit the Service error codes.