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 |
Gets operating information about a wireless gateway.
Synopsis
- data GetWirelessGatewayStatistics = GetWirelessGatewayStatistics' {}
- newGetWirelessGatewayStatistics :: Text -> GetWirelessGatewayStatistics
- getWirelessGatewayStatistics_wirelessGatewayId :: Lens' GetWirelessGatewayStatistics Text
- data GetWirelessGatewayStatisticsResponse = GetWirelessGatewayStatisticsResponse' {}
- newGetWirelessGatewayStatisticsResponse :: Int -> GetWirelessGatewayStatisticsResponse
- getWirelessGatewayStatisticsResponse_connectionStatus :: Lens' GetWirelessGatewayStatisticsResponse (Maybe ConnectionStatus)
- getWirelessGatewayStatisticsResponse_lastUplinkReceivedAt :: Lens' GetWirelessGatewayStatisticsResponse (Maybe Text)
- getWirelessGatewayStatisticsResponse_wirelessGatewayId :: Lens' GetWirelessGatewayStatisticsResponse (Maybe Text)
- getWirelessGatewayStatisticsResponse_httpStatus :: Lens' GetWirelessGatewayStatisticsResponse Int
Creating a Request
data GetWirelessGatewayStatistics Source #
See: newGetWirelessGatewayStatistics
smart constructor.
GetWirelessGatewayStatistics' | |
|
Instances
newGetWirelessGatewayStatistics Source #
Create a value of GetWirelessGatewayStatistics
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:
GetWirelessGatewayStatistics
, getWirelessGatewayStatistics_wirelessGatewayId
- The ID of the wireless gateway for which to get the data.
Request Lenses
getWirelessGatewayStatistics_wirelessGatewayId :: Lens' GetWirelessGatewayStatistics Text Source #
The ID of the wireless gateway for which to get the data.
Destructuring the Response
data GetWirelessGatewayStatisticsResponse Source #
See: newGetWirelessGatewayStatisticsResponse
smart constructor.
GetWirelessGatewayStatisticsResponse' | |
|
Instances
newGetWirelessGatewayStatisticsResponse Source #
Create a value of GetWirelessGatewayStatisticsResponse
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:
GetWirelessGatewayStatisticsResponse
, getWirelessGatewayStatisticsResponse_connectionStatus
- The connection status of the wireless gateway.
GetWirelessGatewayStatisticsResponse
, getWirelessGatewayStatisticsResponse_lastUplinkReceivedAt
- The date and time when the most recent uplink was received.
GetWirelessGatewayStatistics
, getWirelessGatewayStatisticsResponse_wirelessGatewayId
- The ID of the wireless gateway.
$sel:httpStatus:GetWirelessGatewayStatisticsResponse'
, getWirelessGatewayStatisticsResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessGatewayStatisticsResponse_connectionStatus :: Lens' GetWirelessGatewayStatisticsResponse (Maybe ConnectionStatus) Source #
The connection status of the wireless gateway.
getWirelessGatewayStatisticsResponse_lastUplinkReceivedAt :: Lens' GetWirelessGatewayStatisticsResponse (Maybe Text) Source #
The date and time when the most recent uplink was received.
getWirelessGatewayStatisticsResponse_wirelessGatewayId :: Lens' GetWirelessGatewayStatisticsResponse (Maybe Text) Source #
The ID of the wireless gateway.
getWirelessGatewayStatisticsResponse_httpStatus :: Lens' GetWirelessGatewayStatisticsResponse Int Source #
The response's http status code.