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

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteNatGateway

Contents

Description

Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.

Synopsis

Creating a Request

deleteNatGateway Source #

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

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

data DeleteNatGateway Source #

Contains the parameters for DeleteNatGateway.

See: deleteNatGateway smart constructor.

Instances

Eq DeleteNatGateway Source # 
Data DeleteNatGateway Source # 

Methods

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

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

toConstr :: DeleteNatGateway -> Constr #

dataTypeOf :: DeleteNatGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNatGateway Source # 
Show DeleteNatGateway Source # 
Generic DeleteNatGateway Source # 
Hashable DeleteNatGateway Source # 
NFData DeleteNatGateway Source # 

Methods

rnf :: DeleteNatGateway -> () #

AWSRequest DeleteNatGateway Source # 
ToQuery DeleteNatGateway Source # 
ToPath DeleteNatGateway Source # 
ToHeaders DeleteNatGateway Source # 
type Rep DeleteNatGateway Source # 
type Rep DeleteNatGateway = D1 (MetaData "DeleteNatGateway" "Network.AWS.EC2.DeleteNatGateway" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" True) (C1 (MetaCons "DeleteNatGateway'" PrefixI True) (S1 (MetaSel (Just Symbol "_dngNatGatewayId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteNatGateway Source # 

Request Lenses

dngNatGatewayId :: Lens' DeleteNatGateway Text Source #

The ID of the NAT gateway.

Destructuring the Response

deleteNatGatewayResponse Source #

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

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

data DeleteNatGatewayResponse Source #

Contains the output of DeleteNatGateway.

See: deleteNatGatewayResponse smart constructor.

Instances

Eq DeleteNatGatewayResponse Source # 
Data DeleteNatGatewayResponse Source # 

Methods

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

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

toConstr :: DeleteNatGatewayResponse -> Constr #

dataTypeOf :: DeleteNatGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNatGatewayResponse Source # 
Show DeleteNatGatewayResponse Source # 
Generic DeleteNatGatewayResponse Source # 
NFData DeleteNatGatewayResponse Source # 
type Rep DeleteNatGatewayResponse Source # 
type Rep DeleteNatGatewayResponse = D1 (MetaData "DeleteNatGatewayResponse" "Network.AWS.EC2.DeleteNatGateway" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "DeleteNatGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dngnrsNatGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dngnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses