1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::replace_route_table_association::_replace_route_table_association_output::ReplaceRouteTableAssociationOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::replace_route_table_association::_replace_route_table_association_input::ReplaceRouteTableAssociationInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::replace_route_table_association::_replace_route_table_association_output::ReplaceRouteTableAssociationOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::replace_route_table_association::ReplaceRouteTableAssociationOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.replace_route_table_association();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ReplaceRouteTableAssociation`.
|
24 24 | ///
|
25 25 | /// <p>Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation completes, the subnet or gateway uses the routes in the new route table. For more information about route tables, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the <i>Amazon VPC User Guide</i>.</p>
|
26 26 | /// <p>You can also use this operation to change which table is the main route table in the VPC. Specify the main route table's association ID and the route table ID of the new main route table.</p>
|
27 27 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
28 28 | pub struct ReplaceRouteTableAssociationFluentBuilder {
|
29 29 | handle: ::std::sync::Arc<crate::client::Handle>,
|
30 30 | inner: crate::operation::replace_route_table_association::builders::ReplaceRouteTableAssociationInputBuilder,
|
31 31 | config_override: ::std::option::Option<crate::config::Builder>,
|
32 32 | }
|
33 33 | impl
|
34 34 | crate::client::customize::internal::CustomizableSend<
|
35 35 | crate::operation::replace_route_table_association::ReplaceRouteTableAssociationOutput,
|