amazonka-ec2-1.4.3: 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 Source #

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:

data DeleteInternetGateway Source #

Contains the parameters for DeleteInternetGateway.

See: deleteInternetGateway smart constructor.

Instances

Eq DeleteInternetGateway Source # 
Data DeleteInternetGateway Source # 

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 Source # 
Show DeleteInternetGateway Source # 
Generic DeleteInternetGateway Source # 
Hashable DeleteInternetGateway Source # 
NFData DeleteInternetGateway Source # 

Methods

rnf :: DeleteInternetGateway -> () #

AWSRequest DeleteInternetGateway Source # 
ToQuery DeleteInternetGateway Source # 
ToPath DeleteInternetGateway Source # 
ToHeaders DeleteInternetGateway Source # 
type Rep DeleteInternetGateway Source # 
type Rep DeleteInternetGateway = D1 (MetaData "DeleteInternetGateway" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.4.3-IOmvt8owjDkAgcWNrchie1" 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 Source # 

Request Lenses

digiDryRun :: 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.

digiInternetGatewayId :: Lens' DeleteInternetGateway Text Source #

The ID of the Internet gateway.

Destructuring the Response

deleteInternetGatewayResponse :: DeleteInternetGatewayResponse Source #

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

data DeleteInternetGatewayResponse Source #

See: deleteInternetGatewayResponse smart constructor.

Instances

Eq DeleteInternetGatewayResponse Source # 
Data DeleteInternetGatewayResponse Source # 

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 Source # 
Show DeleteInternetGatewayResponse Source # 
Generic DeleteInternetGatewayResponse Source # 
NFData DeleteInternetGatewayResponse Source # 
type Rep DeleteInternetGatewayResponse Source # 
type Rep DeleteInternetGatewayResponse = D1 (MetaData "DeleteInternetGatewayResponse" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.4.3-IOmvt8owjDkAgcWNrchie1" False) (C1 (MetaCons "DeleteInternetGatewayResponse'" PrefixI False) U1)