| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DirectConnect.DescribeConnections
Description
Displays the specified connection or all connections in this Region.
Synopsis
- data DescribeConnections = DescribeConnections' {}
- newDescribeConnections :: DescribeConnections
- describeConnections_connectionId :: Lens' DescribeConnections (Maybe Text)
- data Connections = Connections' {
- connections :: Maybe [Connection]
- newConnections :: Connections
- connections_connections :: Lens' Connections (Maybe [Connection])
Creating a Request
data DescribeConnections Source #
See: newDescribeConnections smart constructor.
Constructors
| DescribeConnections' | |
Fields
| |
Instances
newDescribeConnections :: DescribeConnections Source #
Create a value of DescribeConnections 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:
DescribeConnections, describeConnections_connectionId - The ID of the connection.
Request Lenses
describeConnections_connectionId :: Lens' DescribeConnections (Maybe Text) Source #
The ID of the connection.
Destructuring the Response
data Connections Source #
See: newConnections smart constructor.
Constructors
| Connections' | |
Fields
| |
Instances
newConnections :: Connections Source #
Create a value of Connections 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:connections:Connections', connections_connections - The connections.
Response Lenses
connections_connections :: Lens' Connections (Maybe [Connection]) Source #
The connections.