amazonka-ec2-1.4.2: 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.DeleteVPNGateway

Contents

Description

Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.

Synopsis

Creating a Request

deleteVPNGateway Source #

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

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

data DeleteVPNGateway Source #

Contains the parameters for DeleteVpnGateway.

See: deleteVPNGateway smart constructor.

Instances

Eq DeleteVPNGateway Source # 
Data DeleteVPNGateway Source # 

Methods

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

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

toConstr :: DeleteVPNGateway -> Constr #

dataTypeOf :: DeleteVPNGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPNGateway Source # 
Show DeleteVPNGateway Source # 
Generic DeleteVPNGateway Source # 
Hashable DeleteVPNGateway Source # 
NFData DeleteVPNGateway Source # 

Methods

rnf :: DeleteVPNGateway -> () #

AWSRequest DeleteVPNGateway Source # 
ToPath DeleteVPNGateway Source # 
ToHeaders DeleteVPNGateway Source # 
ToQuery DeleteVPNGateway Source # 
type Rep DeleteVPNGateway Source # 
type Rep DeleteVPNGateway = D1 (MetaData "DeleteVPNGateway" "Network.AWS.EC2.DeleteVPNGateway" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DeleteVPNGateway'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvgDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dvgVPNGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteVPNGateway Source # 

Request Lenses

dvgDryRun :: Lens' DeleteVPNGateway (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.

dvgVPNGatewayId :: Lens' DeleteVPNGateway Text Source #

The ID of the virtual private gateway.

Destructuring the Response

deleteVPNGatewayResponse :: DeleteVPNGatewayResponse Source #

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

data DeleteVPNGatewayResponse Source #

See: deleteVPNGatewayResponse smart constructor.

Instances

Eq DeleteVPNGatewayResponse Source # 
Data DeleteVPNGatewayResponse Source # 

Methods

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

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

toConstr :: DeleteVPNGatewayResponse -> Constr #

dataTypeOf :: DeleteVPNGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPNGatewayResponse Source # 
Show DeleteVPNGatewayResponse Source # 
Generic DeleteVPNGatewayResponse Source # 
NFData DeleteVPNGatewayResponse Source # 
type Rep DeleteVPNGatewayResponse Source # 
type Rep DeleteVPNGatewayResponse = D1 (MetaData "DeleteVPNGatewayResponse" "Network.AWS.EC2.DeleteVPNGateway" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DeleteVPNGatewayResponse'" PrefixI False) U1)