EC2.Client.
delete_vpn_gateway
(**kwargs)¶Deletes the specified virtual private gateway. You must first detach the virtual private gateway from the VPC. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.
See also: AWS API Documentation
Request Syntax
response = client.delete_vpn_gateway(
VpnGatewayId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the virtual private gateway.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.None