Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).
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.
See: AWS API Reference for DetachVPNGateway.
Creating a Request
Creates a value of DetachVPNGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachVPNGateway Source
See: detachVPNGateway
smart constructor.
Request Lenses
dvpngDryRun :: Lens' DetachVPNGateway (Maybe Bool) Source
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
dvpngVPNGatewayId :: Lens' DetachVPNGateway Text Source
The ID of the virtual private gateway.
dvpngVPCId :: Lens' DetachVPNGateway Text Source
The ID of the VPC.
Destructuring the Response
detachVPNGatewayResponse :: DetachVPNGatewayResponse Source
Creates a value of DetachVPNGatewayResponse
with the minimum fields required to make a request.
data DetachVPNGatewayResponse Source
See: detachVPNGatewayResponse
smart constructor.