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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

Synopsis

Creating a Request

deleteInternetGateway #

Creates a value of DeleteInternetGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • digiDryRun - 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 .
  • digiInternetGatewayId - The ID of the Internet gateway.

data DeleteInternetGateway #

Contains the parameters for DeleteInternetGateway.

See: deleteInternetGateway smart constructor.

Instances

Eq DeleteInternetGateway # 
Data DeleteInternetGateway # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteInternetGateway -> c DeleteInternetGateway #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteInternetGateway #

toConstr :: DeleteInternetGateway -> Constr #

dataTypeOf :: DeleteInternetGateway -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteInternetGateway) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteInternetGateway) #

gmapT :: (forall b. Data b => b -> b) -> DeleteInternetGateway -> DeleteInternetGateway #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteInternetGateway -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteInternetGateway -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteInternetGateway -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteInternetGateway -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteInternetGateway -> m DeleteInternetGateway #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteInternetGateway -> m DeleteInternetGateway #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteInternetGateway -> m DeleteInternetGateway #

Read DeleteInternetGateway # 
Show DeleteInternetGateway # 
Generic DeleteInternetGateway # 
Hashable DeleteInternetGateway # 
NFData DeleteInternetGateway # 

Methods

rnf :: DeleteInternetGateway -> () #

AWSRequest DeleteInternetGateway # 
ToQuery DeleteInternetGateway # 
ToPath DeleteInternetGateway # 
ToHeaders DeleteInternetGateway # 
type Rep DeleteInternetGateway # 
type Rep DeleteInternetGateway = D1 (MetaData "DeleteInternetGateway" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteInternetGateway'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_digiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_digiInternetGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteInternetGateway # 

Request Lenses

digiDryRun :: Lens' DeleteInternetGateway (Maybe Bool) #

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 .

digiInternetGatewayId :: Lens' DeleteInternetGateway Text #

The ID of the Internet gateway.

Destructuring the Response

deleteInternetGatewayResponse :: DeleteInternetGatewayResponse #

Creates a value of DeleteInternetGatewayResponse with the minimum fields required to make a request.

data DeleteInternetGatewayResponse #

See: deleteInternetGatewayResponse smart constructor.

Instances

Eq DeleteInternetGatewayResponse # 
Data DeleteInternetGatewayResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteInternetGatewayResponse -> c DeleteInternetGatewayResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteInternetGatewayResponse #

toConstr :: DeleteInternetGatewayResponse -> Constr #

dataTypeOf :: DeleteInternetGatewayResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteInternetGatewayResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteInternetGatewayResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteInternetGatewayResponse -> DeleteInternetGatewayResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteInternetGatewayResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteInternetGatewayResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteInternetGatewayResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteInternetGatewayResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteInternetGatewayResponse -> m DeleteInternetGatewayResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteInternetGatewayResponse -> m DeleteInternetGatewayResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteInternetGatewayResponse -> m DeleteInternetGatewayResponse #

Read DeleteInternetGatewayResponse # 
Show DeleteInternetGatewayResponse # 
Generic DeleteInternetGatewayResponse # 
NFData DeleteInternetGatewayResponse # 
type Rep DeleteInternetGatewayResponse # 
type Rep DeleteInternetGatewayResponse = D1 (MetaData "DeleteInternetGatewayResponse" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteInternetGatewayResponse'" PrefixI False) U1)