Struct aws_sdk_directconnect::client::fluent_builders::DeleteBGPPeer [−][src]
pub struct DeleteBGPPeer<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DeleteBGPPeer.
Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN.
You cannot delete the last BGP peer from a virtual interface.
Implementations
impl<C, M, R> DeleteBGPPeer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteBGPPeer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteBgpPeerOutput, SdkError<DeleteBGPPeerError>> where
R::Policy: SmithyRetryPolicy<DeleteBgpPeerInputOperationOutputAlias, DeleteBgpPeerOutput, DeleteBGPPeerError, DeleteBgpPeerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteBgpPeerOutput, SdkError<DeleteBGPPeerError>> where
R::Policy: SmithyRetryPolicy<DeleteBgpPeerInputOperationOutputAlias, DeleteBgpPeerOutput, DeleteBGPPeerError, DeleteBgpPeerInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the virtual interface.
The ID of the virtual interface.
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The IP address assigned to the customer interface.
The IP address assigned to the customer interface.
The ID of the BGP peer.
The ID of the BGP peer.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteBGPPeer<C, M, R>
impl<C, M, R> Unpin for DeleteBGPPeer<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteBGPPeer<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
