delete_direct_connect_gateway_association
async
¶
delete_direct_connect_gateway_association(
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
association_id: Optional[DirectConnectGatewayAssociationId] = None,
direct_connect_gateway_id: Optional[DirectConnectGatewayId] = None,
virtual_gateway_id: Optional[VirtualGatewayId] = None,
) -> DeleteDirectConnectGatewayAssociationResult
Deletes the association between the specified Direct Connect gateway and virtual private gateway.
We recommend that you specify the associationID to delete the association. Alternatively, if you own virtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId and directConnectGatewayId to delete an association.
Parameters:
-
association_id(Optional[DirectConnectGatewayAssociationId], default:None) –The ID of the Direct Connect gateway association.
-
direct_connect_gateway_id(Optional[DirectConnectGatewayId], default:None) –The ID of the Direct Connect gateway.
-
virtual_gateway_id(Optional[VirtualGatewayId], default:None) –The ID of the virtual private gateway.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 | |