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

Contents

Description

Creates a new public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon Simple Storage Service (Amazon S3).

Synopsis

Creating a Request

createPublicVirtualInterface Source #

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

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

data CreatePublicVirtualInterface Source #

Container for the parameters to the CreatePublicVirtualInterface operation.

See: createPublicVirtualInterface smart constructor.

Instances

Eq CreatePublicVirtualInterface Source # 
Data CreatePublicVirtualInterface Source # 

Methods

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

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

toConstr :: CreatePublicVirtualInterface -> Constr #

dataTypeOf :: CreatePublicVirtualInterface -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePublicVirtualInterface Source # 
Show CreatePublicVirtualInterface Source # 
Generic CreatePublicVirtualInterface Source # 
Hashable CreatePublicVirtualInterface Source # 
NFData CreatePublicVirtualInterface Source # 
AWSRequest CreatePublicVirtualInterface Source # 
ToPath CreatePublicVirtualInterface Source # 
ToHeaders CreatePublicVirtualInterface Source # 
ToQuery CreatePublicVirtualInterface Source # 
ToJSON CreatePublicVirtualInterface Source # 
type Rep CreatePublicVirtualInterface Source # 
type Rep CreatePublicVirtualInterface = D1 (MetaData "CreatePublicVirtualInterface" "Network.AWS.DirectConnect.CreatePublicVirtualInterface" "amazonka-directconnect-1.4.4-3p3ZMojRm44IpENaNivQIl" False) (C1 (MetaCons "CreatePublicVirtualInterface'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpviConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cpviNewPublicVirtualInterface") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NewPublicVirtualInterface))))
type Rs CreatePublicVirtualInterface Source # 

Request Lenses

cpviNewPublicVirtualInterface :: Lens' CreatePublicVirtualInterface NewPublicVirtualInterface Source #

Detailed information for the public virtual interface to be created.

Default: None

Destructuring the Response

data VirtualInterface Source #

A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.

See: virtualInterface smart constructor.

Instances

Eq VirtualInterface Source # 
Data VirtualInterface Source # 

Methods

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

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

toConstr :: VirtualInterface -> Constr #

dataTypeOf :: VirtualInterface -> DataType #

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

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

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

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

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

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

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

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

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

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

Read VirtualInterface Source # 
Show VirtualInterface Source # 
Generic VirtualInterface Source # 
Hashable VirtualInterface Source # 
NFData VirtualInterface Source # 

Methods

rnf :: VirtualInterface -> () #

FromJSON VirtualInterface Source # 

Methods

parseJSON :: Value -> Parser VirtualInterface #

type Rep VirtualInterface Source # 
type Rep VirtualInterface = D1 (MetaData "VirtualInterface" "Network.AWS.DirectConnect.Types.Product" "amazonka-directconnect-1.4.4-3p3ZMojRm44IpENaNivQIl" False) (C1 (MetaCons "VirtualInterface'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_viVirtualGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_viRouteFilterPrefixes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RouteFilterPrefix]))) (S1 (MetaSel (Just Symbol "_viCustomerAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_viVlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_viLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_viAmazonAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_viVirtualInterfaceState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VirtualInterfaceState)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_viConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_viVirtualInterfaceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_viAsn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_viAuthKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_viCustomerRouterConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_viOwnerAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_viVirtualInterfaceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_viVirtualInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

Response Lenses

viVlan :: Lens' VirtualInterface (Maybe Int) Source #

Undocumented member.

viAsn :: Lens' VirtualInterface (Maybe Int) Source #

Undocumented member.

viAuthKey :: Lens' VirtualInterface (Maybe Text) Source #

Undocumented member.

viCustomerRouterConfig :: Lens' VirtualInterface (Maybe Text) Source #

Information for generating the customer router configuration.

viOwnerAccount :: Lens' VirtualInterface (Maybe Text) Source #

The AWS account that will own the new virtual interface.