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 |
Accepts ownership of a public virtual interface created by another Amazon Web Services account.
After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.
Synopsis
- data ConfirmPublicVirtualInterface = ConfirmPublicVirtualInterface' {}
- newConfirmPublicVirtualInterface :: Text -> ConfirmPublicVirtualInterface
- confirmPublicVirtualInterface_virtualInterfaceId :: Lens' ConfirmPublicVirtualInterface Text
- data ConfirmPublicVirtualInterfaceResponse = ConfirmPublicVirtualInterfaceResponse' {}
- newConfirmPublicVirtualInterfaceResponse :: Int -> ConfirmPublicVirtualInterfaceResponse
- confirmPublicVirtualInterfaceResponse_virtualInterfaceState :: Lens' ConfirmPublicVirtualInterfaceResponse (Maybe VirtualInterfaceState)
- confirmPublicVirtualInterfaceResponse_httpStatus :: Lens' ConfirmPublicVirtualInterfaceResponse Int
Creating a Request
data ConfirmPublicVirtualInterface Source #
See: newConfirmPublicVirtualInterface
smart constructor.
ConfirmPublicVirtualInterface' | |
|
Instances
newConfirmPublicVirtualInterface Source #
Create a value of ConfirmPublicVirtualInterface
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:virtualInterfaceId:ConfirmPublicVirtualInterface'
, confirmPublicVirtualInterface_virtualInterfaceId
- The ID of the virtual interface.
Request Lenses
confirmPublicVirtualInterface_virtualInterfaceId :: Lens' ConfirmPublicVirtualInterface Text Source #
The ID of the virtual interface.
Destructuring the Response
data ConfirmPublicVirtualInterfaceResponse Source #
See: newConfirmPublicVirtualInterfaceResponse
smart constructor.
ConfirmPublicVirtualInterfaceResponse' | |
|
Instances
newConfirmPublicVirtualInterfaceResponse Source #
Create a value of ConfirmPublicVirtualInterfaceResponse
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:virtualInterfaceState:ConfirmPublicVirtualInterfaceResponse'
, confirmPublicVirtualInterfaceResponse_virtualInterfaceState
- The state of the virtual interface. The following are the possible
values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.pending
: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.available
: A virtual interface that is able to forward traffic.down
: A virtual interface that is BGP down.deleting
: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.deleted
: A virtual interface that cannot forward traffic.rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state.unknown
: The state of the virtual interface is not available.
$sel:httpStatus:ConfirmPublicVirtualInterfaceResponse'
, confirmPublicVirtualInterfaceResponse_httpStatus
- The response's http status code.
Response Lenses
confirmPublicVirtualInterfaceResponse_virtualInterfaceState :: Lens' ConfirmPublicVirtualInterfaceResponse (Maybe VirtualInterfaceState) Source #
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.pending
: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.available
: A virtual interface that is able to forward traffic.down
: A virtual interface that is BGP down.deleting
: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.deleted
: A virtual interface that cannot forward traffic.rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state.unknown
: The state of the virtual interface is not available.
confirmPublicVirtualInterfaceResponse_httpStatus :: Lens' ConfirmPublicVirtualInterfaceResponse Int Source #
The response's http status code.