aws_sdk_rds/client/
modify_db_proxy_target_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifyDBProxyTargetGroup`](crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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><br>
    /// - On success, responds with [`ModifyDbProxyTargetGroupOutput`](crate::operation::modify_db_proxy_target_group::ModifyDbProxyTargetGroupOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<ModifyDBProxyTargetGroupError>`](crate::operation::modify_db_proxy_target_group::ModifyDBProxyTargetGroupError)
    pub fn modify_db_proxy_target_group(&self) -> crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder {
        crate::operation::modify_db_proxy_target_group::builders::ModifyDBProxyTargetGroupFluentBuilder::new(self.handle.clone())
    }
}