aws_sdk_networkfirewall/client/
delete_proxy.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteProxy`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`nat_gateway_id(impl Into<String>)`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::nat_gateway_id) / [`set_nat_gateway_id(Option<String>)`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::set_nat_gateway_id):<br>required: **true**<br><p>The NAT Gateway the proxy is attached to.</p><br>
7    ///   - [`proxy_name(impl Into<String>)`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::proxy_name) / [`set_proxy_name(Option<String>)`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::set_proxy_name):<br>required: **false**<br><p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p> <p>You must specify the ARN or the name, and you can specify both.</p><br>
8    ///   - [`proxy_arn(impl Into<String>)`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::proxy_arn) / [`set_proxy_arn(Option<String>)`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::set_proxy_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of a proxy.</p> <p>You must specify the ARN or the name, and you can specify both.</p><br>
9    /// - On success, responds with [`DeleteProxyOutput`](crate::operation::delete_proxy::DeleteProxyOutput) with field(s):
10    ///   - [`nat_gateway_id(Option<String>)`](crate::operation::delete_proxy::DeleteProxyOutput::nat_gateway_id): <p>The NAT Gateway the Proxy was attached to.</p>
11    ///   - [`proxy_name(Option<String>)`](crate::operation::delete_proxy::DeleteProxyOutput::proxy_name): <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
12    ///   - [`proxy_arn(Option<String>)`](crate::operation::delete_proxy::DeleteProxyOutput::proxy_arn): <p>The Amazon Resource Name (ARN) of a proxy.</p>
13    /// - On failure, responds with [`SdkError<DeleteProxyError>`](crate::operation::delete_proxy::DeleteProxyError)
14    pub fn delete_proxy(&self) -> crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder {
15        crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::new(self.handle.clone())
16    }
17}