AWS SDK for .NET Documentation
DeleteConnection Method (deleteConnectionRequest)
AmazonAmazon.DirectConnectAmazonDirectConnectDeleteConnection(DeleteConnectionRequest) Did this page help you?   Yes   No    Tell us about it...

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
C#
DeleteConnectionResponse DeleteConnection(
	DeleteConnectionRequest deleteConnectionRequest
)
Parameters
deleteConnectionRequest (DeleteConnectionRequest)
Container for the necessary parameters to execute the DeleteConnection service method on AmazonDirectConnect.
Return Value
The response from the DeleteConnection service method, as returned by AmazonDirectConnect.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)