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 |
Deletes a virtual interface.
Synopsis
- data DeleteVirtualInterface = DeleteVirtualInterface' {}
- newDeleteVirtualInterface :: Text -> DeleteVirtualInterface
- deleteVirtualInterface_virtualInterfaceId :: Lens' DeleteVirtualInterface Text
- data DeleteVirtualInterfaceResponse = DeleteVirtualInterfaceResponse' {}
- newDeleteVirtualInterfaceResponse :: Int -> DeleteVirtualInterfaceResponse
- deleteVirtualInterfaceResponse_virtualInterfaceState :: Lens' DeleteVirtualInterfaceResponse (Maybe VirtualInterfaceState)
- deleteVirtualInterfaceResponse_httpStatus :: Lens' DeleteVirtualInterfaceResponse Int
Creating a Request
data DeleteVirtualInterface Source #
See: newDeleteVirtualInterface
smart constructor.
DeleteVirtualInterface' | |
|
Instances
newDeleteVirtualInterface Source #
Create a value of DeleteVirtualInterface
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:DeleteVirtualInterface'
, deleteVirtualInterface_virtualInterfaceId
- The ID of the virtual interface.
Request Lenses
deleteVirtualInterface_virtualInterfaceId :: Lens' DeleteVirtualInterface Text Source #
The ID of the virtual interface.
Destructuring the Response
data DeleteVirtualInterfaceResponse Source #
See: newDeleteVirtualInterfaceResponse
smart constructor.
DeleteVirtualInterfaceResponse' | |
|
Instances
Eq DeleteVirtualInterfaceResponse Source # | |
Read DeleteVirtualInterfaceResponse Source # | |
Show DeleteVirtualInterfaceResponse Source # | |
Generic DeleteVirtualInterfaceResponse Source # | |
NFData DeleteVirtualInterfaceResponse Source # | |
Defined in Amazonka.DirectConnect.DeleteVirtualInterface rnf :: DeleteVirtualInterfaceResponse -> () # | |
type Rep DeleteVirtualInterfaceResponse Source # | |
Defined in Amazonka.DirectConnect.DeleteVirtualInterface type Rep DeleteVirtualInterfaceResponse = D1 ('MetaData "DeleteVirtualInterfaceResponse" "Amazonka.DirectConnect.DeleteVirtualInterface" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DeleteVirtualInterfaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterfaceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VirtualInterfaceState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteVirtualInterfaceResponse Source #
Create a value of DeleteVirtualInterfaceResponse
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:DeleteVirtualInterfaceResponse'
, deleteVirtualInterfaceResponse_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:DeleteVirtualInterfaceResponse'
, deleteVirtualInterfaceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteVirtualInterfaceResponse_virtualInterfaceState :: Lens' DeleteVirtualInterfaceResponse (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.
deleteVirtualInterfaceResponse_httpStatus :: Lens' DeleteVirtualInterfaceResponse Int Source #
The response's http status code.