amazonka-directconnect-1.5.0: Amazon Direct Connect 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.DirectConnect.CreateDirectConnectGatewayAssociation

Contents

Description

Creates an association between a direct connect gateway and a virtual private gateway (VGW). The VGW must be attached to a VPC and must not be associated with another direct connect gateway.

Synopsis

Creating a Request

createDirectConnectGatewayAssociation Source #

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

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

data CreateDirectConnectGatewayAssociation Source #

Container for the parameters to the CreateDirectConnectGatewayAssociation operation.

See: createDirectConnectGatewayAssociation smart constructor.

Instances

Eq CreateDirectConnectGatewayAssociation Source # 
Data CreateDirectConnectGatewayAssociation Source # 

Methods

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

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

toConstr :: CreateDirectConnectGatewayAssociation -> Constr #

dataTypeOf :: CreateDirectConnectGatewayAssociation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDirectConnectGatewayAssociation Source # 
Show CreateDirectConnectGatewayAssociation Source # 
Generic CreateDirectConnectGatewayAssociation Source # 
Hashable CreateDirectConnectGatewayAssociation Source # 
ToJSON CreateDirectConnectGatewayAssociation Source # 
NFData CreateDirectConnectGatewayAssociation Source # 
AWSRequest CreateDirectConnectGatewayAssociation Source # 
ToQuery CreateDirectConnectGatewayAssociation Source # 
ToPath CreateDirectConnectGatewayAssociation Source # 
ToHeaders CreateDirectConnectGatewayAssociation Source # 
type Rep CreateDirectConnectGatewayAssociation Source # 
type Rep CreateDirectConnectGatewayAssociation = D1 (MetaData "CreateDirectConnectGatewayAssociation" "Network.AWS.DirectConnect.CreateDirectConnectGatewayAssociation" "amazonka-directconnect-1.5.0-FuyMg4sTg24L6HyEmXEioA" False) (C1 (MetaCons "CreateDirectConnectGatewayAssociation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdcgaDirectConnectGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cdcgaVirtualGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateDirectConnectGatewayAssociation Source # 

Request Lenses

cdcgaDirectConnectGatewayId :: Lens' CreateDirectConnectGatewayAssociation Text Source #

The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None

cdcgaVirtualGatewayId :: Lens' CreateDirectConnectGatewayAssociation Text Source #

The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: None

Destructuring the Response

createDirectConnectGatewayAssociationResponse Source #

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

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

data CreateDirectConnectGatewayAssociationResponse Source #

Container for the response from the CreateDirectConnectGatewayAssociation API call

See: createDirectConnectGatewayAssociationResponse smart constructor.

Instances

Eq CreateDirectConnectGatewayAssociationResponse Source # 
Data CreateDirectConnectGatewayAssociationResponse Source # 

Methods

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

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

toConstr :: CreateDirectConnectGatewayAssociationResponse -> Constr #

dataTypeOf :: CreateDirectConnectGatewayAssociationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDirectConnectGatewayAssociationResponse Source # 
Show CreateDirectConnectGatewayAssociationResponse Source # 
Generic CreateDirectConnectGatewayAssociationResponse Source # 
NFData CreateDirectConnectGatewayAssociationResponse Source # 
type Rep CreateDirectConnectGatewayAssociationResponse Source # 
type Rep CreateDirectConnectGatewayAssociationResponse = D1 (MetaData "CreateDirectConnectGatewayAssociationResponse" "Network.AWS.DirectConnect.CreateDirectConnectGatewayAssociation" "amazonka-directconnect-1.5.0-FuyMg4sTg24L6HyEmXEioA" False) (C1 (MetaCons "CreateDirectConnectGatewayAssociationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdcgarsDirectConnectGatewayAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DirectConnectGatewayAssociation))) (S1 (MetaSel (Just Symbol "_cdcgarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses