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 |
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.
DescribeInterconnects' | |
|
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:
$sel:interconnectId: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.
DescribeInterconnectsResponse' | |
|
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.