aws-sdk-networkfirewall 1.111.0

AWS SDK for AWS Network Firewall
Documentation
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 [`DeleteProxy`](crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteProxyOutput`](crate::operation::delete_proxy::DeleteProxyOutput) with field(s):
    ///   - [`nat_gateway_id(Option<String>)`](crate::operation::delete_proxy::DeleteProxyOutput::nat_gateway_id): <p>The NAT Gateway the Proxy was attached to.</p>
    ///   - [`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>
    ///   - [`proxy_arn(Option<String>)`](crate::operation::delete_proxy::DeleteProxyOutput::proxy_arn): <p>The Amazon Resource Name (ARN) of a proxy.</p>
    /// - On failure, responds with [`SdkError<DeleteProxyError>`](crate::operation::delete_proxy::DeleteProxyError)
    pub fn delete_proxy(&self) -> crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder {
        crate::operation::delete_proxy::builders::DeleteProxyFluentBuilder::new(self.handle.clone())
    }
}