aws_sdk_dax/client/
update_subnet_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSubnetGroup`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`subnet_group_name(impl Into<String>)`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::subnet_group_name) / [`set_subnet_group_name(Option<String>)`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::set_subnet_group_name):<br>required: **true**<br><p>The name of the subnet group.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::set_description):<br>required: **false**<br><p>A description of the subnet group.</p><br>
    ///   - [`subnet_ids(impl Into<String>)`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec::<String>>)`](crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::set_subnet_ids):<br>required: **false**<br><p>A list of subnet IDs in the subnet group.</p><br>
    /// - On success, responds with [`UpdateSubnetGroupOutput`](crate::operation::update_subnet_group::UpdateSubnetGroupOutput) with field(s):
    ///   - [`subnet_group(Option<SubnetGroup>)`](crate::operation::update_subnet_group::UpdateSubnetGroupOutput::subnet_group): <p>The subnet group that has been modified.</p>
    /// - On failure, responds with [`SdkError<UpdateSubnetGroupError>`](crate::operation::update_subnet_group::UpdateSubnetGroupError)
    pub fn update_subnet_group(&self) -> crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder {
        crate::operation::update_subnet_group::builders::UpdateSubnetGroupFluentBuilder::new(self.handle.clone())
    }
}