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.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 #

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 #

Contains the parameters for DeleteNatGateway.

See: deleteNatGateway smart constructor.

Instances

Eq DeleteNatGateway # 
Data DeleteNatGateway # 

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

Methods

rnf :: DeleteNatGateway -> () #

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

Request Lenses

dngNatGatewayId :: Lens' DeleteNatGateway Text #

The ID of the NAT gateway.

Destructuring the Response

deleteNatGatewayResponse #

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 #

Contains the output of DeleteNatGateway.

See: deleteNatGatewayResponse smart constructor.

Instances

Eq DeleteNatGatewayResponse # 
Data DeleteNatGatewayResponse # 

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 # 
Show DeleteNatGatewayResponse # 
Generic DeleteNatGatewayResponse # 
NFData DeleteNatGatewayResponse # 
type Rep DeleteNatGatewayResponse # 
type Rep DeleteNatGatewayResponse = D1 (MetaData "DeleteNatGatewayResponse" "Network.AWS.EC2.DeleteNatGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteNatGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dngnrsNatGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dngnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dngnrsResponseStatus :: Lens' DeleteNatGatewayResponse Int #

  • - | The response status code.