Amazon.DirectConnect.AmazonDirectConnectClient.DeleteConnection C# (CSharp) Method

DeleteConnection() public method

Deletes the connection.

Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You need to cancel separately with the providers any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location.

/// The API was called with invalid parameters. The error message will contain additional /// details about the cause. /// /// A server-side error occurred during the API call. The error message will contain additional /// details about the cause. ///
public DeleteConnection ( DeleteConnectionRequest request ) : DeleteConnectionResponse
request DeleteConnectionRequest Container for the necessary parameters to execute the DeleteConnection service method.
return DeleteConnectionResponse
        public DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request)
        {
            var marshaller = new DeleteConnectionRequestMarshaller();
            var unmarshaller = DeleteConnectionResponseUnmarshaller.Instance;

            return Invoke<DeleteConnectionRequest,DeleteConnectionResponse>(request, marshaller, unmarshaller);
        }
AmazonDirectConnectClient