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

Contents

Description

Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.

Synopsis

Creating a Request

deleteCustomerGateway #

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

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

  • dcgcDryRun - 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 .
  • dcgcCustomerGatewayId - The ID of the customer gateway.

data DeleteCustomerGateway #

Contains the parameters for DeleteCustomerGateway.

See: deleteCustomerGateway smart constructor.

Instances
Eq DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Data DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Methods

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

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

toConstr :: DeleteCustomerGateway -> Constr #

dataTypeOf :: DeleteCustomerGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Show DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Generic DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Associated Types

type Rep DeleteCustomerGateway :: Type -> Type #

Hashable DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

AWSRequest DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Associated Types

type Rs DeleteCustomerGateway :: Type #

ToHeaders DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

ToPath DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

ToQuery DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

NFData DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Methods

rnf :: DeleteCustomerGateway -> () #

type Rep DeleteCustomerGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

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

Defined in Network.AWS.EC2.DeleteCustomerGateway

Request Lenses

dcgcDryRun :: Lens' DeleteCustomerGateway (Maybe Bool) #

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 .

dcgcCustomerGatewayId :: Lens' DeleteCustomerGateway Text #

The ID of the customer gateway.

Destructuring the Response

deleteCustomerGatewayResponse :: DeleteCustomerGatewayResponse #

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

data DeleteCustomerGatewayResponse #

See: deleteCustomerGatewayResponse smart constructor.

Instances
Eq DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Data DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Methods

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

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

toConstr :: DeleteCustomerGatewayResponse -> Constr #

dataTypeOf :: DeleteCustomerGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Show DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Generic DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

Associated Types

type Rep DeleteCustomerGatewayResponse :: Type -> Type #

NFData DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

type Rep DeleteCustomerGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteCustomerGateway

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