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 the firmware version and other information about a wireless gateway.
Synopsis
- data GetWirelessGatewayFirmwareInformation = GetWirelessGatewayFirmwareInformation' {}
- newGetWirelessGatewayFirmwareInformation :: Text -> GetWirelessGatewayFirmwareInformation
- getWirelessGatewayFirmwareInformation_id :: Lens' GetWirelessGatewayFirmwareInformation Text
- data GetWirelessGatewayFirmwareInformationResponse = GetWirelessGatewayFirmwareInformationResponse' {}
- newGetWirelessGatewayFirmwareInformationResponse :: Int -> GetWirelessGatewayFirmwareInformationResponse
- getWirelessGatewayFirmwareInformationResponse_loRaWAN :: Lens' GetWirelessGatewayFirmwareInformationResponse (Maybe LoRaWANGatewayCurrentVersion)
- getWirelessGatewayFirmwareInformationResponse_httpStatus :: Lens' GetWirelessGatewayFirmwareInformationResponse Int
Creating a Request
data GetWirelessGatewayFirmwareInformation Source #
See: newGetWirelessGatewayFirmwareInformation
smart constructor.
Instances
newGetWirelessGatewayFirmwareInformation Source #
Create a value of GetWirelessGatewayFirmwareInformation
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:
GetWirelessGatewayFirmwareInformation
, getWirelessGatewayFirmwareInformation_id
- The ID of the resource to get.
Request Lenses
getWirelessGatewayFirmwareInformation_id :: Lens' GetWirelessGatewayFirmwareInformation Text Source #
The ID of the resource to get.
Destructuring the Response
data GetWirelessGatewayFirmwareInformationResponse Source #
See: newGetWirelessGatewayFirmwareInformationResponse
smart constructor.
GetWirelessGatewayFirmwareInformationResponse' | |
|
Instances
Generic GetWirelessGatewayFirmwareInformationResponse Source # | |
Read GetWirelessGatewayFirmwareInformationResponse Source # | |
Show GetWirelessGatewayFirmwareInformationResponse Source # | |
NFData GetWirelessGatewayFirmwareInformationResponse Source # | |
Eq GetWirelessGatewayFirmwareInformationResponse Source # | |
type Rep GetWirelessGatewayFirmwareInformationResponse Source # | |
Defined in Amazonka.IoTWireless.GetWirelessGatewayFirmwareInformation type Rep GetWirelessGatewayFirmwareInformationResponse = D1 ('MetaData "GetWirelessGatewayFirmwareInformationResponse" "Amazonka.IoTWireless.GetWirelessGatewayFirmwareInformation" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetWirelessGatewayFirmwareInformationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loRaWAN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoRaWANGatewayCurrentVersion)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetWirelessGatewayFirmwareInformationResponse Source #
:: Int |
|
-> GetWirelessGatewayFirmwareInformationResponse |
Create a value of GetWirelessGatewayFirmwareInformationResponse
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:
GetWirelessGatewayFirmwareInformationResponse
, getWirelessGatewayFirmwareInformationResponse_loRaWAN
- Information about the wireless gateway's firmware.
$sel:httpStatus:GetWirelessGatewayFirmwareInformationResponse'
, getWirelessGatewayFirmwareInformationResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessGatewayFirmwareInformationResponse_loRaWAN :: Lens' GetWirelessGatewayFirmwareInformationResponse (Maybe LoRaWANGatewayCurrentVersion) Source #
Information about the wireless gateway's firmware.
getWirelessGatewayFirmwareInformationResponse_httpStatus :: Lens' GetWirelessGatewayFirmwareInformationResponse Int Source #
The response's http status code.