Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data AllocateTransitVirtualInterface = AllocateTransitVirtualInterface' {}
- newAllocateTransitVirtualInterface :: Text -> Text -> NewTransitVirtualInterfaceAllocation -> AllocateTransitVirtualInterface
- allocateTransitVirtualInterface_connectionId :: Lens' AllocateTransitVirtualInterface Text
- allocateTransitVirtualInterface_ownerAccount :: Lens' AllocateTransitVirtualInterface Text
- allocateTransitVirtualInterface_newTransitVirtualInterfaceAllocation :: Lens' AllocateTransitVirtualInterface NewTransitVirtualInterfaceAllocation
- data AllocateTransitVirtualInterfaceResponse = AllocateTransitVirtualInterfaceResponse' {}
- newAllocateTransitVirtualInterfaceResponse :: Int -> AllocateTransitVirtualInterfaceResponse
- allocateTransitVirtualInterfaceResponse_virtualInterface :: Lens' AllocateTransitVirtualInterfaceResponse (Maybe VirtualInterface)
- allocateTransitVirtualInterfaceResponse_httpStatus :: Lens' AllocateTransitVirtualInterfaceResponse Int
Creating a Request
data AllocateTransitVirtualInterface Source #
See: newAllocateTransitVirtualInterface
smart constructor.
AllocateTransitVirtualInterface' | |
|
Instances
newAllocateTransitVirtualInterface Source #
:: Text | |
-> Text | |
-> NewTransitVirtualInterfaceAllocation |
|
-> AllocateTransitVirtualInterface |
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.
allocateTransitVirtualInterface_newTransitVirtualInterfaceAllocation :: Lens' AllocateTransitVirtualInterface NewTransitVirtualInterfaceAllocation Source #
Information about the transit virtual interface.
Destructuring the Response
data AllocateTransitVirtualInterfaceResponse Source #
See: newAllocateTransitVirtualInterfaceResponse
smart constructor.
AllocateTransitVirtualInterfaceResponse' | |
|
Instances
newAllocateTransitVirtualInterfaceResponse Source #
Create a value of AllocateTransitVirtualInterfaceResponse
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:virtualInterface:AllocateTransitVirtualInterfaceResponse'
, allocateTransitVirtualInterfaceResponse_virtualInterface
- Undocumented member.
$sel:httpStatus:AllocateTransitVirtualInterfaceResponse'
, allocateTransitVirtualInterfaceResponse_httpStatus
- The response's http status code.
Response Lenses
allocateTransitVirtualInterfaceResponse_virtualInterface :: Lens' AllocateTransitVirtualInterfaceResponse (Maybe VirtualInterface) Source #
Undocumented member.
allocateTransitVirtualInterfaceResponse_httpStatus :: Lens' AllocateTransitVirtualInterfaceResponse Int Source #
The response's http status code.