Deletes the connection.
Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You separately need to cancel any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location with the providers of those services.
 Declaration Syntax
 Declaration Syntax| C# | 
public DeleteConnectionResponse DeleteConnection( DeleteConnectionRequest deleteConnectionRequest )
 Parameters
 Parameters- deleteConnectionRequest (DeleteConnectionRequest)
- Container for the necessary parameters to execute the DeleteConnection service method on AmazonDirectConnect.
 Return Value
 Return ValueThe response from the DeleteConnection service method, as returned by AmazonDirectConnect.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| DirectConnectServerException | |
| DirectConnectClientException |