1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteBGPPeer`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`virtual_interface_id(impl Into<String>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::virtual_interface_id) / [`set_virtual_interface_id(Option<String>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::set_virtual_interface_id):<br>required: **false**<br><p>The ID of the virtual interface.</p><br>
    ///   - [`asn(i32)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::asn) / [`set_asn(Option<i32>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::set_asn):<br>required: **false**<br><p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p><br>
    ///   - [`customer_address(impl Into<String>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::customer_address) / [`set_customer_address(Option<String>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::set_customer_address):<br>required: **false**<br><p>The IP address assigned to the customer interface.</p><br>
    ///   - [`bgp_peer_id(impl Into<String>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::bgp_peer_id) / [`set_bgp_peer_id(Option<String>)`](crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::set_bgp_peer_id):<br>required: **false**<br><p>The ID of the BGP peer.</p><br>
    /// - On success, responds with [`DeleteBgpPeerOutput`](crate::operation::delete_bgp_peer::DeleteBgpPeerOutput) with field(s):
    ///   - [`virtual_interface(Option<VirtualInterface>)`](crate::operation::delete_bgp_peer::DeleteBgpPeerOutput::virtual_interface): <p>The virtual interface.</p>
    /// - On failure, responds with [`SdkError<DeleteBGPPeerError>`](crate::operation::delete_bgp_peer::DeleteBGPPeerError)
    pub fn delete_bgp_peer(&self) -> crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder {
        crate::operation::delete_bgp_peer::builders::DeleteBGPPeerFluentBuilder::new(self.handle.clone())
    }
}