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

Contents

Description

Accept ownership of a private virtual interface created by another customer.

After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway or direct connect gateway, and will be available for handling traffic.

Synopsis

Creating a Request

confirmPrivateVirtualInterface #

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

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

  • cpviVirtualGatewayId - ID of the virtual private gateway that will be attached to the virtual interface. A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. Default: None
  • cpviDirectConnectGatewayId - ID of the direct connect gateway that will be attached to the virtual interface. A direct connect gateway can be managed via the AWS Direct Connect console or the CreateDirectConnectGateway action. Default: None
  • cpviVirtualInterfaceId - Undocumented member.

data ConfirmPrivateVirtualInterface #

Container for the parameters to the ConfirmPrivateVirtualInterface operation.

See: confirmPrivateVirtualInterface smart constructor.

Instances

Eq ConfirmPrivateVirtualInterface # 
Data ConfirmPrivateVirtualInterface # 

Methods

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

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

toConstr :: ConfirmPrivateVirtualInterface -> Constr #

dataTypeOf :: ConfirmPrivateVirtualInterface -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ConfirmPrivateVirtualInterface # 
Show ConfirmPrivateVirtualInterface # 
Generic ConfirmPrivateVirtualInterface # 
Hashable ConfirmPrivateVirtualInterface # 
ToJSON ConfirmPrivateVirtualInterface # 
NFData ConfirmPrivateVirtualInterface # 
AWSRequest ConfirmPrivateVirtualInterface # 
ToHeaders ConfirmPrivateVirtualInterface # 
ToPath ConfirmPrivateVirtualInterface # 
ToQuery ConfirmPrivateVirtualInterface # 
type Rep ConfirmPrivateVirtualInterface # 
type Rep ConfirmPrivateVirtualInterface = D1 * (MetaData "ConfirmPrivateVirtualInterface" "Network.AWS.DirectConnect.ConfirmPrivateVirtualInterface" "amazonka-directconnect-1.6.0-1iHBIYuuv8NGkO6PD7WukU" False) (C1 * (MetaCons "ConfirmPrivateVirtualInterface'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpviVirtualGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpviDirectConnectGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpviVirtualInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ConfirmPrivateVirtualInterface # 

Request Lenses

cpviVirtualGatewayId :: Lens' ConfirmPrivateVirtualInterface (Maybe Text) #

ID of the virtual private gateway that will be attached to the virtual interface. A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. Default: None

cpviDirectConnectGatewayId :: Lens' ConfirmPrivateVirtualInterface (Maybe Text) #

ID of the direct connect gateway that will be attached to the virtual interface. A direct connect gateway can be managed via the AWS Direct Connect console or the CreateDirectConnectGateway action. Default: None

Destructuring the Response

confirmPrivateVirtualInterfaceResponse #

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

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

data ConfirmPrivateVirtualInterfaceResponse #

The response received when ConfirmPrivateVirtualInterface is called.

See: confirmPrivateVirtualInterfaceResponse smart constructor.

Instances

Eq ConfirmPrivateVirtualInterfaceResponse # 
Data ConfirmPrivateVirtualInterfaceResponse # 

Methods

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

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

toConstr :: ConfirmPrivateVirtualInterfaceResponse -> Constr #

dataTypeOf :: ConfirmPrivateVirtualInterfaceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ConfirmPrivateVirtualInterfaceResponse # 
Show ConfirmPrivateVirtualInterfaceResponse # 
Generic ConfirmPrivateVirtualInterfaceResponse # 
NFData ConfirmPrivateVirtualInterfaceResponse # 
type Rep ConfirmPrivateVirtualInterfaceResponse # 
type Rep ConfirmPrivateVirtualInterfaceResponse = D1 * (MetaData "ConfirmPrivateVirtualInterfaceResponse" "Network.AWS.DirectConnect.ConfirmPrivateVirtualInterface" "amazonka-directconnect-1.6.0-1iHBIYuuv8NGkO6PD7WukU" False) (C1 * (MetaCons "ConfirmPrivateVirtualInterfaceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpvirsVirtualInterfaceState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe VirtualInterfaceState))) (S1 * (MetaSel (Just Symbol "_cpvirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses