1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateRouteTable`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::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::associate_route_table::builders::AssociateRouteTableFluentBuilder::route_table_id) / [`set_route_table_id(Option<String>)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::set_route_table_id):<br>required: **true**<br><p>The ID of the route table.</p><br>
    ///   - [`subnet_id(impl Into<String>)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::subnet_id) / [`set_subnet_id(Option<String>)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::set_subnet_id):<br>required: **false**<br><p>The ID of the subnet.</p><br>
    ///   - [`gateway_id(impl Into<String>)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::set_gateway_id):<br>required: **false**<br><p>The ID of the internet gateway or virtual private gateway.</p><br>
    /// - On success, responds with [`AssociateRouteTableOutput`](crate::operation::associate_route_table::AssociateRouteTableOutput) with field(s):
    ///   - [`association_id(Option<String>)`](crate::operation::associate_route_table::AssociateRouteTableOutput::association_id): <p>The route table association ID. This ID is required for disassociating the route table.</p>
    ///   - [`association_state(Option<RouteTableAssociationState>)`](crate::operation::associate_route_table::AssociateRouteTableOutput::association_state): <p>The state of the association.</p>
    /// - On failure, responds with [`SdkError<AssociateRouteTableError>`](crate::operation::associate_route_table::AssociateRouteTableError)
    pub fn associate_route_table(&self) -> crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder {
        crate::operation::associate_route_table::builders::AssociateRouteTableFluentBuilder::new(self.handle.clone())
    }
}