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

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 #

Contains the parameters for CreateVpnConnectionRoute.

See: createVPNConnectionRoute smart constructor.

Instances

Eq CreateVPNConnectionRoute # 
Data CreateVPNConnectionRoute # 

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 # 
Show CreateVPNConnectionRoute # 
Generic CreateVPNConnectionRoute # 
Hashable CreateVPNConnectionRoute # 
NFData CreateVPNConnectionRoute # 
AWSRequest CreateVPNConnectionRoute # 
ToHeaders CreateVPNConnectionRoute # 
ToPath CreateVPNConnectionRoute # 
ToQuery CreateVPNConnectionRoute # 
type Rep CreateVPNConnectionRoute # 
type Rep CreateVPNConnectionRoute = D1 * (MetaData "CreateVPNConnectionRoute" "Network.AWS.EC2.CreateVPNConnectionRoute" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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 # 

Request Lenses

cvcrDestinationCidrBlock :: Lens' CreateVPNConnectionRoute Text #

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

cvcrVPNConnectionId :: Lens' CreateVPNConnectionRoute Text #

The ID of the VPN connection.

Destructuring the Response

createVPNConnectionRouteResponse :: CreateVPNConnectionRouteResponse #

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

data CreateVPNConnectionRouteResponse #

See: createVPNConnectionRouteResponse smart constructor.

Instances

Eq CreateVPNConnectionRouteResponse # 
Data CreateVPNConnectionRouteResponse # 

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 # 
Show CreateVPNConnectionRouteResponse # 
Generic CreateVPNConnectionRouteResponse # 
NFData CreateVPNConnectionRouteResponse # 
type Rep CreateVPNConnectionRouteResponse # 
type Rep CreateVPNConnectionRouteResponse = D1 * (MetaData "CreateVPNConnectionRouteResponse" "Network.AWS.EC2.CreateVPNConnectionRoute" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" False) (C1 * (MetaCons "CreateVPNConnectionRouteResponse'" PrefixI False) (U1 *))