amazonka-ec2-1.4.5: 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.AttachVPNGateway

Contents

Description

Attaches a virtual private gateway to a VPC. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

attachVPNGateway Source #

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

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

  • avgDryRun - 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 .
  • avgVPNGatewayId - The ID of the virtual private gateway.
  • avgVPCId - The ID of the VPC.

data AttachVPNGateway Source #

Contains the parameters for AttachVpnGateway.

See: attachVPNGateway smart constructor.

Instances

Eq AttachVPNGateway Source # 
Data AttachVPNGateway Source # 

Methods

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

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

toConstr :: AttachVPNGateway -> Constr #

dataTypeOf :: AttachVPNGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachVPNGateway Source # 
Show AttachVPNGateway Source # 
Generic AttachVPNGateway Source # 
Hashable AttachVPNGateway Source # 
NFData AttachVPNGateway Source # 

Methods

rnf :: AttachVPNGateway -> () #

AWSRequest AttachVPNGateway Source # 
ToPath AttachVPNGateway Source # 
ToHeaders AttachVPNGateway Source # 
ToQuery AttachVPNGateway Source # 
type Rep AttachVPNGateway Source # 
type Rep AttachVPNGateway = D1 (MetaData "AttachVPNGateway" "Network.AWS.EC2.AttachVPNGateway" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "AttachVPNGateway'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avgDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_avgVPNGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_avgVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs AttachVPNGateway Source # 

Request Lenses

avgDryRun :: Lens' AttachVPNGateway (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 .

avgVPNGatewayId :: Lens' AttachVPNGateway Text Source #

The ID of the virtual private gateway.

Destructuring the Response

attachVPNGatewayResponse Source #

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

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

data AttachVPNGatewayResponse Source #

Contains the output of AttachVpnGateway.

See: attachVPNGatewayResponse smart constructor.

Instances

Eq AttachVPNGatewayResponse Source # 
Data AttachVPNGatewayResponse Source # 

Methods

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

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

toConstr :: AttachVPNGatewayResponse -> Constr #

dataTypeOf :: AttachVPNGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachVPNGatewayResponse Source # 
Show AttachVPNGatewayResponse Source # 
Generic AttachVPNGatewayResponse Source # 
NFData AttachVPNGatewayResponse Source # 
type Rep AttachVPNGatewayResponse Source # 
type Rep AttachVPNGatewayResponse = D1 (MetaData "AttachVPNGatewayResponse" "Network.AWS.EC2.AttachVPNGateway" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "AttachVPNGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avgrsVPCAttachment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCAttachment))) (S1 (MetaSel (Just Symbol "_avgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses