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 device.
Synopsis
- data GetWirelessDeviceStatistics = GetWirelessDeviceStatistics' {}
- newGetWirelessDeviceStatistics :: Text -> GetWirelessDeviceStatistics
- getWirelessDeviceStatistics_wirelessDeviceId :: Lens' GetWirelessDeviceStatistics Text
- data GetWirelessDeviceStatisticsResponse = GetWirelessDeviceStatisticsResponse' {}
- newGetWirelessDeviceStatisticsResponse :: Int -> GetWirelessDeviceStatisticsResponse
- getWirelessDeviceStatisticsResponse_sidewalk :: Lens' GetWirelessDeviceStatisticsResponse (Maybe SidewalkDeviceMetadata)
- getWirelessDeviceStatisticsResponse_loRaWAN :: Lens' GetWirelessDeviceStatisticsResponse (Maybe LoRaWANDeviceMetadata)
- getWirelessDeviceStatisticsResponse_lastUplinkReceivedAt :: Lens' GetWirelessDeviceStatisticsResponse (Maybe Text)
- getWirelessDeviceStatisticsResponse_wirelessDeviceId :: Lens' GetWirelessDeviceStatisticsResponse (Maybe Text)
- getWirelessDeviceStatisticsResponse_httpStatus :: Lens' GetWirelessDeviceStatisticsResponse Int
Creating a Request
data GetWirelessDeviceStatistics Source #
See: newGetWirelessDeviceStatistics
smart constructor.
GetWirelessDeviceStatistics' | |
|
Instances
newGetWirelessDeviceStatistics Source #
Create a value of GetWirelessDeviceStatistics
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:wirelessDeviceId:GetWirelessDeviceStatistics'
, getWirelessDeviceStatistics_wirelessDeviceId
- The ID of the wireless device for which to get the data.
Request Lenses
getWirelessDeviceStatistics_wirelessDeviceId :: Lens' GetWirelessDeviceStatistics Text Source #
The ID of the wireless device for which to get the data.
Destructuring the Response
data GetWirelessDeviceStatisticsResponse Source #
See: newGetWirelessDeviceStatisticsResponse
smart constructor.
GetWirelessDeviceStatisticsResponse' | |
|
Instances
newGetWirelessDeviceStatisticsResponse Source #
Create a value of GetWirelessDeviceStatisticsResponse
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:sidewalk:GetWirelessDeviceStatisticsResponse'
, getWirelessDeviceStatisticsResponse_sidewalk
- MetaData for Sidewalk device.
$sel:loRaWAN:GetWirelessDeviceStatisticsResponse'
, getWirelessDeviceStatisticsResponse_loRaWAN
- Information about the wireless device's operations.
$sel:lastUplinkReceivedAt:GetWirelessDeviceStatisticsResponse'
, getWirelessDeviceStatisticsResponse_lastUplinkReceivedAt
- The date and time when the most recent uplink was received.
$sel:wirelessDeviceId:GetWirelessDeviceStatistics'
, getWirelessDeviceStatisticsResponse_wirelessDeviceId
- The ID of the wireless device.
$sel:httpStatus:GetWirelessDeviceStatisticsResponse'
, getWirelessDeviceStatisticsResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessDeviceStatisticsResponse_sidewalk :: Lens' GetWirelessDeviceStatisticsResponse (Maybe SidewalkDeviceMetadata) Source #
MetaData for Sidewalk device.
getWirelessDeviceStatisticsResponse_loRaWAN :: Lens' GetWirelessDeviceStatisticsResponse (Maybe LoRaWANDeviceMetadata) Source #
Information about the wireless device's operations.
getWirelessDeviceStatisticsResponse_lastUplinkReceivedAt :: Lens' GetWirelessDeviceStatisticsResponse (Maybe Text) Source #
The date and time when the most recent uplink was received.
getWirelessDeviceStatisticsResponse_wirelessDeviceId :: Lens' GetWirelessDeviceStatisticsResponse (Maybe Text) Source #
The ID of the wireless device.
getWirelessDeviceStatisticsResponse_httpStatus :: Lens' GetWirelessDeviceStatisticsResponse Int Source #
The response's http status code.