Class DeleteDirectConnectGatewayAssociationCommandProtected
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.
Example
Use a bare-bones client and the command you need to make an API call.
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 thevirtualGatewayId
anddirectConnectGatewayId
to delete an association.Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteDirectConnectGatewayAssociationCommandInput
Returns
DeleteDirectConnectGatewayAssociationCommandOutput
See
input
shape.response
shape.config
shape.Throws
DirectConnectClientException (client fault)
One or more parameters are not valid.
Throws
DirectConnectServerException (server fault)
A server-side error occurred.