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

Copyright(c) 2013-2017 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.CreateVPNConnectionRoute

Contents

Description

Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.

For more information about VPN connections, see AWS Managed VPN Connections in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

createVPNConnectionRoute Source #

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

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

data CreateVPNConnectionRoute Source #

Contains the parameters for CreateVpnConnectionRoute.

See: createVPNConnectionRoute smart constructor.

Instances

Eq CreateVPNConnectionRoute Source # 
Data CreateVPNConnectionRoute Source # 

Methods

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

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

toConstr :: CreateVPNConnectionRoute -> Constr #

dataTypeOf :: CreateVPNConnectionRoute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPNConnectionRoute Source # 
Show CreateVPNConnectionRoute Source # 
Generic CreateVPNConnectionRoute Source # 
Hashable CreateVPNConnectionRoute Source # 
NFData CreateVPNConnectionRoute Source # 
AWSRequest CreateVPNConnectionRoute Source # 
ToQuery CreateVPNConnectionRoute Source # 
ToPath CreateVPNConnectionRoute Source # 
ToHeaders CreateVPNConnectionRoute Source # 
type Rep CreateVPNConnectionRoute Source # 
type Rep CreateVPNConnectionRoute = D1 (MetaData "CreateVPNConnectionRoute" "Network.AWS.EC2.CreateVPNConnectionRoute" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CreateVPNConnectionRoute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cvcrDestinationCidrBlock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cvcrVPNConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateVPNConnectionRoute Source # 

Request Lenses

cvcrDestinationCidrBlock :: Lens' CreateVPNConnectionRoute Text Source #

The CIDR block associated with the local subnet of the customer network.

Destructuring the Response

createVPNConnectionRouteResponse :: CreateVPNConnectionRouteResponse Source #

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

data CreateVPNConnectionRouteResponse Source #

See: createVPNConnectionRouteResponse smart constructor.

Instances

Eq CreateVPNConnectionRouteResponse Source # 
Data CreateVPNConnectionRouteResponse Source # 

Methods

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

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

toConstr :: CreateVPNConnectionRouteResponse -> Constr #

dataTypeOf :: CreateVPNConnectionRouteResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPNConnectionRouteResponse Source # 
Show CreateVPNConnectionRouteResponse Source # 
Generic CreateVPNConnectionRouteResponse Source # 
NFData CreateVPNConnectionRouteResponse Source # 
type Rep CreateVPNConnectionRouteResponse Source # 
type Rep CreateVPNConnectionRouteResponse = D1 (MetaData "CreateVPNConnectionRouteResponse" "Network.AWS.EC2.CreateVPNConnectionRoute" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CreateVPNConnectionRouteResponse'" PrefixI False) U1)