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
11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 | |