1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReplaceRouteTableAssociation`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`association_id(impl Into<String>)`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::set_association_id):<br>required: **true**<br><p>The association ID.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`route_table_id(impl Into<String>)`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::route_table_id) / [`set_route_table_id(Option<String>)`](crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::set_route_table_id):<br>required: **true**<br><p>The ID of the new route table to associate with the subnet.</p><br>
    /// - On success, responds with [`ReplaceRouteTableAssociationOutput`](crate::operation::replace_route_table_association::ReplaceRouteTableAssociationOutput) with field(s):
    ///   - [`new_association_id(Option<String>)`](crate::operation::replace_route_table_association::ReplaceRouteTableAssociationOutput::new_association_id): <p>The ID of the new association.</p>
    ///   - [`association_state(Option<RouteTableAssociationState>)`](crate::operation::replace_route_table_association::ReplaceRouteTableAssociationOutput::association_state): <p>The state of the association.</p>
    /// - On failure, responds with [`SdkError<ReplaceRouteTableAssociationError>`](crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError)
    pub fn replace_route_table_association(
        &self,
    ) -> crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder {
        crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationFluentBuilder::new(self.handle.clone())
    }
}