aws_sdk_networkmanager/client/
disassociate_customer_gateway.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 [`DisassociateCustomerGateway`](crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`global_network_id(impl Into<String>)`](crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
7    ///   - [`customer_gateway_arn(impl Into<String>)`](crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder::customer_gateway_arn) / [`set_customer_gateway_arn(Option<String>)`](crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder::set_customer_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the customer gateway.</p><br>
8    /// - On success, responds with [`DisassociateCustomerGatewayOutput`](crate::operation::disassociate_customer_gateway::DisassociateCustomerGatewayOutput) with field(s):
9    ///   - [`customer_gateway_association(Option<CustomerGatewayAssociation>)`](crate::operation::disassociate_customer_gateway::DisassociateCustomerGatewayOutput::customer_gateway_association): <p>Information about the customer gateway association.</p>
10    /// - On failure, responds with [`SdkError<DisassociateCustomerGatewayError>`](crate::operation::disassociate_customer_gateway::DisassociateCustomerGatewayError)
11    pub fn disassociate_customer_gateway(
12        &self,
13    ) -> crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder {
14        crate::operation::disassociate_customer_gateway::builders::DisassociateCustomerGatewayFluentBuilder::new(self.handle.clone())
15    }
16}