amazonka-ec2-0.3.5: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DetachInternetGateway

Contents

Description

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

Synopsis

Request

Request constructor

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.

Response

Response constructor