Smaws_Client_DirectConnect.StartBgpFailoverTestStarts 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_bgp_failover_test_request ->
(Types.start_bgp_failover_test_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_bgp_failover_test_request ->
(Types.start_bgp_failover_test_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result