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 |
Displays all virtual interfaces for an Amazon Web Services account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned.
A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.
Synopsis
- data DescribeVirtualInterfaces = DescribeVirtualInterfaces' {}
- newDescribeVirtualInterfaces :: DescribeVirtualInterfaces
- describeVirtualInterfaces_connectionId :: Lens' DescribeVirtualInterfaces (Maybe Text)
- describeVirtualInterfaces_virtualInterfaceId :: Lens' DescribeVirtualInterfaces (Maybe Text)
- data DescribeVirtualInterfacesResponse = DescribeVirtualInterfacesResponse' {}
- newDescribeVirtualInterfacesResponse :: Int -> DescribeVirtualInterfacesResponse
- describeVirtualInterfacesResponse_virtualInterfaces :: Lens' DescribeVirtualInterfacesResponse (Maybe [VirtualInterface])
- describeVirtualInterfacesResponse_httpStatus :: Lens' DescribeVirtualInterfacesResponse Int
Creating a Request
data DescribeVirtualInterfaces Source #
See: newDescribeVirtualInterfaces
smart constructor.
DescribeVirtualInterfaces' | |
|
Instances
newDescribeVirtualInterfaces :: DescribeVirtualInterfaces Source #
Create a value of DescribeVirtualInterfaces
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:DescribeVirtualInterfaces'
, describeVirtualInterfaces_connectionId
- The ID of the connection.
$sel:virtualInterfaceId:DescribeVirtualInterfaces'
, describeVirtualInterfaces_virtualInterfaceId
- The ID of the virtual interface.
Request Lenses
describeVirtualInterfaces_connectionId :: Lens' DescribeVirtualInterfaces (Maybe Text) Source #
The ID of the connection.
describeVirtualInterfaces_virtualInterfaceId :: Lens' DescribeVirtualInterfaces (Maybe Text) Source #
The ID of the virtual interface.
Destructuring the Response
data DescribeVirtualInterfacesResponse Source #
See: newDescribeVirtualInterfacesResponse
smart constructor.
DescribeVirtualInterfacesResponse' | |
|
Instances
Eq DescribeVirtualInterfacesResponse Source # | |
Read DescribeVirtualInterfacesResponse Source # | |
Show DescribeVirtualInterfacesResponse Source # | |
Generic DescribeVirtualInterfacesResponse Source # | |
NFData DescribeVirtualInterfacesResponse Source # | |
Defined in Amazonka.DirectConnect.DescribeVirtualInterfaces rnf :: DescribeVirtualInterfacesResponse -> () # | |
type Rep DescribeVirtualInterfacesResponse Source # | |
Defined in Amazonka.DirectConnect.DescribeVirtualInterfaces type Rep DescribeVirtualInterfacesResponse = D1 ('MetaData "DescribeVirtualInterfacesResponse" "Amazonka.DirectConnect.DescribeVirtualInterfaces" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeVirtualInterfacesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VirtualInterface])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeVirtualInterfacesResponse Source #
Create a value of DescribeVirtualInterfacesResponse
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:virtualInterfaces:DescribeVirtualInterfacesResponse'
, describeVirtualInterfacesResponse_virtualInterfaces
- The virtual interfaces
$sel:httpStatus:DescribeVirtualInterfacesResponse'
, describeVirtualInterfacesResponse_httpStatus
- The response's http status code.
Response Lenses
describeVirtualInterfacesResponse_virtualInterfaces :: Lens' DescribeVirtualInterfacesResponse (Maybe [VirtualInterface]) Source #
The virtual interfaces
describeVirtualInterfacesResponse_httpStatus :: Lens' DescribeVirtualInterfacesResponse Int Source #
The response's http status code.