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 |
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:
$sel:wirelessGatewayId: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:
$sel:connectionStatus:GetWirelessGatewayStatisticsResponse'
, getWirelessGatewayStatisticsResponse_connectionStatus
- The connection status of the wireless gateway.
$sel:lastUplinkReceivedAt:GetWirelessGatewayStatisticsResponse'
, getWirelessGatewayStatisticsResponse_lastUplinkReceivedAt
- The date and time when the most recent uplink was received.
$sel:wirelessGatewayId: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.