Struct aws_sdk_directconnect::client::fluent_builders::StartBgpFailoverTest [−][src]
pub struct StartBgpFailoverTest<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to StartBgpFailoverTest.
Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by placing the BGP peering session in the DOWN state. You can then send traffic to verify that there are no outages.
You can run the test on public, private, transit, and hosted virtual interfaces.
You can use ListVirtualInterfaceTestHistory to view the virtual interface test history.
If you need to stop the test before the test interval completes, use StopBgpFailoverTest.
Implementations
impl<C, M, R> StartBgpFailoverTest<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartBgpFailoverTest<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartBgpFailoverTestOutput, SdkError<StartBgpFailoverTestError>> where
R::Policy: SmithyRetryPolicy<StartBgpFailoverTestInputOperationOutputAlias, StartBgpFailoverTestOutput, StartBgpFailoverTestError, StartBgpFailoverTestInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartBgpFailoverTestOutput, SdkError<StartBgpFailoverTestError>> where
R::Policy: SmithyRetryPolicy<StartBgpFailoverTestInputOperationOutputAlias, StartBgpFailoverTestOutput, StartBgpFailoverTestError, StartBgpFailoverTestInputOperationRetryAlias>,
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 you want to test.
The ID of the virtual interface you want to test.
Appends an item to bgpPeers.
To override the contents of this collection use set_bgp_peers.
The BGP peers to place in the DOWN state.
The BGP peers to place in the DOWN state.
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartBgpFailoverTest<C, M, R>
impl<C, M, R> Send for StartBgpFailoverTest<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartBgpFailoverTest<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartBgpFailoverTest<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartBgpFailoverTest<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
