Safe Haskell | None |
---|---|
Language | Haskell2010 |
Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DetachInternetGateway.html
- data DetachInternetGateway
- detachInternetGateway :: Text -> Text -> DetachInternetGateway
- digDryRun :: Lens' DetachInternetGateway (Maybe Bool)
- digInternetGatewayId :: Lens' DetachInternetGateway Text
- digVpcId :: Lens' DetachInternetGateway Text
- data DetachInternetGatewayResponse
- detachInternetGatewayResponse :: DetachInternetGatewayResponse
Request
data DetachInternetGateway Source
Request constructor
DetachInternetGateway
constructor.
The fields accessible through corresponding lenses are:
Request lenses
digDryRun :: Lens' DetachInternetGateway (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
.
digInternetGatewayId :: Lens' DetachInternetGateway Text Source
The ID of the Internet gateway.
digVpcId :: Lens' DetachInternetGateway Text Source
The ID of the VPC.