aws_sdk_rds/client/
modify_db_proxy_target_group.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ModifyDBProxyTargetGroup`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`target_group_name(impl Into<String>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::target_group_name) / [`set_target_group_name(Option<String>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::set_target_group_name):<br>required: **true**<br><p>The name of the target group to modify.</p><br>
7    ///   - [`db_proxy_name(impl Into<String>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::db_proxy_name) / [`set_db_proxy_name(Option<String>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::set_db_proxy_name):<br>required: **true**<br><p>The name of the proxy.</p><br>
8    ///   - [`connection_pool_config(ConnectionPoolConfiguration)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::connection_pool_config) / [`set_connection_pool_config(Option<ConnectionPoolConfiguration>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::set_connection_pool_config):<br>required: **false**<br><p>The settings that determine the size and behavior of the connection pool for the target group.</p><br>
9    ///   - [`new_name(impl Into<String>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::new_name) / [`set_new_name(Option<String>)`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::set_new_name):<br>required: **false**<br><p>The new name for the modified <code>DBProxyTarget</code>. 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.</p> <p>You can't rename the <code>default</code> target group.</p><br>
10    /// - On success, responds with [`ModifyDbProxyTargetGroupOutput`](crate::operation::modify_db_proxy_target_group::ModifyDbProxyTargetGroupOutput) with field(s):
11    ///   - [`db_proxy_target_group(Option<DbProxyTargetGroup>)`](crate::operation::modify_db_proxy_target_group::ModifyDbProxyTargetGroupOutput::db_proxy_target_group): <p>The settings of the modified <code>DBProxyTarget</code>.</p>
12    /// - On failure, responds with [`SdkError<ModifyDBProxyTargetGroupError>`](crate::operation::modify_db_proxy_target_group::ModifyDBProxyTargetGroupError)
13    pub fn modify_db_proxy_target_group(&self) -> crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder {
14        crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::new(self.handle.clone())
15    }
16}