| 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.DescribeInterconnects
Description
Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect.
Synopsis
- data DescribeInterconnects = DescribeInterconnects' {}
- newDescribeInterconnects :: DescribeInterconnects
- describeInterconnects_interconnectId :: Lens' DescribeInterconnects (Maybe Text)
- data DescribeInterconnectsResponse = DescribeInterconnectsResponse' {
- interconnects :: Maybe [Interconnect]
- httpStatus :: Int
- newDescribeInterconnectsResponse :: Int -> DescribeInterconnectsResponse
- describeInterconnectsResponse_interconnects :: Lens' DescribeInterconnectsResponse (Maybe [Interconnect])
- describeInterconnectsResponse_httpStatus :: Lens' DescribeInterconnectsResponse Int
Creating a Request
data DescribeInterconnects Source #
See: newDescribeInterconnects smart constructor.
Constructors
| DescribeInterconnects' | |
Fields
| |
Instances
newDescribeInterconnects :: DescribeInterconnects Source #
Create a value of DescribeInterconnects 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:
DescribeInterconnects, describeInterconnects_interconnectId - The ID of the interconnect.
Request Lenses
describeInterconnects_interconnectId :: Lens' DescribeInterconnects (Maybe Text) Source #
The ID of the interconnect.
Destructuring the Response
data DescribeInterconnectsResponse Source #
See: newDescribeInterconnectsResponse smart constructor.
Constructors
| DescribeInterconnectsResponse' | |
Fields
| |
Instances
newDescribeInterconnectsResponse Source #
Create a value of DescribeInterconnectsResponse 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:interconnects:DescribeInterconnectsResponse', describeInterconnectsResponse_interconnects - The interconnects.
$sel:httpStatus:DescribeInterconnectsResponse', describeInterconnectsResponse_httpStatus - The response's http status code.
Response Lenses
describeInterconnectsResponse_interconnects :: Lens' DescribeInterconnectsResponse (Maybe [Interconnect]) Source #
The interconnects.
describeInterconnectsResponse_httpStatus :: Lens' DescribeInterconnectsResponse Int Source #
The response's http status code.