libZSservicesZSamazonka-directconnectZSamazonka-directconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DirectConnect.AllocateTransitVirtualInterface

Description

Provisions a transit virtual interface to be owned by the specified Amazon Web Services account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

The owner of a connection provisions a transit virtual interface to be owned by the specified Amazon Web Services account.

After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.

Synopsis

Creating a Request

data AllocateTransitVirtualInterface Source #

See: newAllocateTransitVirtualInterface smart constructor.

Constructors

AllocateTransitVirtualInterface' 

Fields

Instances

Instances details
Eq AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Read AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Show AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Generic AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Associated Types

type Rep AllocateTransitVirtualInterface :: Type -> Type #

NFData AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Hashable AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

ToJSON AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

AWSRequest AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

ToHeaders AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

ToPath AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

ToQuery AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

type Rep AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

type Rep AllocateTransitVirtualInterface = D1 ('MetaData "AllocateTransitVirtualInterface" "Amazonka.DirectConnect.AllocateTransitVirtualInterface" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "AllocateTransitVirtualInterface'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "ownerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newTransitVirtualInterfaceAllocation'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NewTransitVirtualInterfaceAllocation))))
type AWSResponse AllocateTransitVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

newAllocateTransitVirtualInterface Source #

Create a value of AllocateTransitVirtualInterface with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:connectionId:AllocateTransitVirtualInterface', allocateTransitVirtualInterface_connectionId - The ID of the connection on which the transit virtual interface is provisioned.

$sel:ownerAccount:AllocateTransitVirtualInterface', allocateTransitVirtualInterface_ownerAccount - The ID of the Amazon Web Services account that owns the transit virtual interface.

$sel:newTransitVirtualInterfaceAllocation':AllocateTransitVirtualInterface', allocateTransitVirtualInterface_newTransitVirtualInterfaceAllocation - Information about the transit virtual interface.

Request Lenses

allocateTransitVirtualInterface_connectionId :: Lens' AllocateTransitVirtualInterface Text Source #

The ID of the connection on which the transit virtual interface is provisioned.

allocateTransitVirtualInterface_ownerAccount :: Lens' AllocateTransitVirtualInterface Text Source #

The ID of the Amazon Web Services account that owns the transit virtual interface.

Destructuring the Response

data AllocateTransitVirtualInterfaceResponse Source #

Constructors

AllocateTransitVirtualInterfaceResponse' 

Fields

Instances

Instances details
Eq AllocateTransitVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Read AllocateTransitVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Show AllocateTransitVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

Generic AllocateTransitVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

NFData AllocateTransitVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

type Rep AllocateTransitVirtualInterfaceResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.AllocateTransitVirtualInterface

type Rep AllocateTransitVirtualInterfaceResponse = D1 ('MetaData "AllocateTransitVirtualInterfaceResponse" "Amazonka.DirectConnect.AllocateTransitVirtualInterface" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "AllocateTransitVirtualInterfaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterface") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VirtualInterface)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses