1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::delete_nat_gateway::_delete_nat_gateway_output::DeleteNatGatewayOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::delete_nat_gateway::_delete_nat_gateway_input::DeleteNatGatewayInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::delete_nat_gateway::_delete_nat_gateway_output::DeleteNatGatewayOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::delete_nat_gateway::builders::DeleteNatGatewayInputBuilder {
|
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::delete_nat_gateway::DeleteNatGatewayOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::delete_nat_gateway::DeleteNatGatewayError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.delete_nat_gateway();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DeleteNatGateway`.
|
24 24 | ///
|
25 25 | /// <p>Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.</p>
|
26 26 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
27 27 | pub struct DeleteNatGatewayFluentBuilder {
|
28 28 | handle: ::std::sync::Arc<crate::client::Handle>,
|
29 29 | inner: crate::operation::delete_nat_gateway::builders::DeleteNatGatewayInputBuilder,
|
30 30 | config_override: ::std::option::Option<crate::config::Builder>,
|
31 31 | }
|
32 32 | impl
|
33 33 | crate::client::customize::internal::CustomizableSend<
|
34 34 | crate::operation::delete_nat_gateway::DeleteNatGatewayOutput,
|
35 35 | crate::operation::delete_nat_gateway::DeleteNatGatewayError,
|