AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
You must wait for the attachment's state to switch to detached
before
you can delete the VPC or attach a different VPC to the virtual private gateway.
Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual DetachVpnGatewayResponse DetachVpnGateway( DetachVpnGatewayRequest request )
Container for the necessary parameters to execute the DetachVpnGateway service method.
.NET Framework:
Supported in: 4.5, 4.0, 3.5