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

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Data DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Show DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Generic DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Associated Types

type Rep DeleteNatGateway :: Type -> Type #

Hashable DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

AWSRequest DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Associated Types

type Rs DeleteNatGateway :: Type #

ToHeaders DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

ToPath DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

ToQuery DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

NFData DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Methods

rnf :: DeleteNatGateway -> () #

type Rep DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

type Rep DeleteNatGateway = D1 (MetaData "DeleteNatGateway" "Network.AWS.EC2.DeleteNatGateway" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" True) (C1 (MetaCons "DeleteNatGateway'" PrefixI True) (S1 (MetaSel (Just "_dngNatGatewayId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteNatGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

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 # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Data DeleteNatGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

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 # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Show DeleteNatGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Generic DeleteNatGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Associated Types

type Rep DeleteNatGatewayResponse :: Type -> Type #

NFData DeleteNatGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

type Rep DeleteNatGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

type Rep DeleteNatGatewayResponse = D1 (MetaData "DeleteNatGatewayResponse" "Network.AWS.EC2.DeleteNatGateway" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteNatGatewayResponse'" PrefixI True) (S1 (MetaSel (Just "_dngnrsNatGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dngnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses