| 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.DescribeLags
Description
Describes all your link aggregation groups (LAG) or the specified LAG.
Synopsis
- data DescribeLags = DescribeLags' {}
- newDescribeLags :: DescribeLags
- describeLags_lagId :: Lens' DescribeLags (Maybe Text)
- data DescribeLagsResponse = DescribeLagsResponse' {
- lags :: Maybe [Lag]
- httpStatus :: Int
- newDescribeLagsResponse :: Int -> DescribeLagsResponse
- describeLagsResponse_lags :: Lens' DescribeLagsResponse (Maybe [Lag])
- describeLagsResponse_httpStatus :: Lens' DescribeLagsResponse Int
Creating a Request
data DescribeLags Source #
See: newDescribeLags smart constructor.
Constructors
| DescribeLags' | |
Instances
newDescribeLags :: DescribeLags Source #
Create a value of DescribeLags 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:
DescribeLags, describeLags_lagId - The ID of the LAG.
Request Lenses
describeLags_lagId :: Lens' DescribeLags (Maybe Text) Source #
The ID of the LAG.
Destructuring the Response
data DescribeLagsResponse Source #
See: newDescribeLagsResponse smart constructor.
Constructors
| DescribeLagsResponse' | |
Fields
| |
Instances
newDescribeLagsResponse Source #
Arguments
| :: Int | |
| -> DescribeLagsResponse |
Create a value of DescribeLagsResponse 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:lags:DescribeLagsResponse', describeLagsResponse_lags - The LAGs.
$sel:httpStatus:DescribeLagsResponse', describeLagsResponse_httpStatus - The response's http status code.
Response Lenses
describeLagsResponse_lags :: Lens' DescribeLagsResponse (Maybe [Lag]) Source #
The LAGs.
describeLagsResponse_httpStatus :: Lens' DescribeLagsResponse Int Source #
The response's http status code.