Deletes a customer gateway.
             
 Declaration Syntax
 Declaration Syntax| C# | 
DeleteCustomerGatewayResponse DeleteCustomerGateway( DeleteCustomerGatewayRequest request )
 Parameters
 Parameters- request (DeleteCustomerGatewayRequest)
- Delete Customer Gateway request
 Return Value
 Return ValueDelete Customer Gateway  Response from the service
 Remarks
 Remarks
             You must delete the VPN connection before deleting
             the customer gateway.
            
             AWS might delete any customer gateway if you leave
             it inactive for an extended period of time (inactive
             means that there's no VPN connection in use with the
             customer gateway).
             
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |