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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteInternetGateway

Contents

Description

Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteInternetGateway.html

Synopsis

Request

Request constructor

deleteInternetGateway Source

DeleteInternetGateway constructor.

The fields accessible through corresponding lenses are:

Request lenses

dig2DryRun :: Lens' DeleteInternetGateway (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.

dig2InternetGatewayId :: Lens' DeleteInternetGateway Text Source

The ID of the Internet gateway.

Response

Response constructor