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

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

Defined in Network.AWS.EC2.DeleteNatGateway

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

Defined in Network.AWS.EC2.DeleteNatGateway

Show DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Generic DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Associated Types

type Rep DeleteNatGateway :: * -> * #

Hashable DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

AWSRequest DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Associated Types

type Rs DeleteNatGateway :: * #

ToHeaders DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

ToPath DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

ToQuery DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

NFData DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Methods

rnf :: DeleteNatGateway -> () #

type Rep DeleteNatGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

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

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

Defined in Network.AWS.EC2.DeleteNatGateway

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

Defined in Network.AWS.EC2.DeleteNatGateway

Show DeleteNatGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Generic DeleteNatGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

Associated Types

type Rep DeleteNatGatewayResponse :: * -> * #

NFData DeleteNatGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

type Rep DeleteNatGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteNatGateway

type Rep DeleteNatGatewayResponse = D1 (MetaData "DeleteNatGatewayResponse" "Network.AWS.EC2.DeleteNatGateway" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" 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

dngnrsResponseStatus :: Lens' DeleteNatGatewayResponse Int #

  • - | The response status code.