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

  • dvgDryRun - 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 - The ID of the virtual private gateway.

data DeleteVPNGateway Source #

Contains the parameters for DeleteVpnGateway.

See: deleteVPNGateway smart constructor.

Instances
Eq DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Data DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

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

Defined in Network.AWS.EC2.DeleteVPNGateway

Show DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Generic DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Associated Types

type Rep DeleteVPNGateway :: Type -> Type #

Hashable DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

AWSRequest DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Associated Types

type Rs DeleteVPNGateway :: Type #

ToHeaders DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

ToPath DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

ToQuery DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

NFData DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Methods

rnf :: DeleteVPNGateway -> () #

type Rep DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

type Rep DeleteVPNGateway = D1 (MetaData "DeleteVPNGateway" "Network.AWS.EC2.DeleteVPNGateway" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteVPNGateway'" PrefixI True) (S1 (MetaSel (Just "_dvgDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dvgVPNGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteVPNGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

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

Defined in Network.AWS.EC2.DeleteVPNGateway

Data DeleteVPNGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

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

Defined in Network.AWS.EC2.DeleteVPNGateway

Show DeleteVPNGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Generic DeleteVPNGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

Associated Types

type Rep DeleteVPNGatewayResponse :: Type -> Type #

NFData DeleteVPNGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

type Rep DeleteVPNGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPNGateway

type Rep DeleteVPNGatewayResponse = D1 (MetaData "DeleteVPNGatewayResponse" "Network.AWS.EC2.DeleteVPNGateway" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteVPNGatewayResponse'" PrefixI False) (U1 :: Type -> Type))