| 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.IoTWireless.UpdateWirelessDevice
Description
Updates properties of a wireless device.
Synopsis
- data UpdateWirelessDevice = UpdateWirelessDevice' {}
- newUpdateWirelessDevice :: Text -> UpdateWirelessDevice
- updateWirelessDevice_description :: Lens' UpdateWirelessDevice (Maybe Text)
- updateWirelessDevice_destinationName :: Lens' UpdateWirelessDevice (Maybe Text)
- updateWirelessDevice_loRaWAN :: Lens' UpdateWirelessDevice (Maybe LoRaWANUpdateDevice)
- updateWirelessDevice_name :: Lens' UpdateWirelessDevice (Maybe Text)
- updateWirelessDevice_positioning :: Lens' UpdateWirelessDevice (Maybe PositioningConfigStatus)
- updateWirelessDevice_id :: Lens' UpdateWirelessDevice Text
- data UpdateWirelessDeviceResponse = UpdateWirelessDeviceResponse' {
- httpStatus :: Int
- newUpdateWirelessDeviceResponse :: Int -> UpdateWirelessDeviceResponse
- updateWirelessDeviceResponse_httpStatus :: Lens' UpdateWirelessDeviceResponse Int
Creating a Request
data UpdateWirelessDevice Source #
See: newUpdateWirelessDevice smart constructor.
Constructors
| UpdateWirelessDevice' | |
Fields
| |
Instances
newUpdateWirelessDevice Source #
Arguments
| :: Text | |
| -> UpdateWirelessDevice |
Create a value of UpdateWirelessDevice 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:
UpdateWirelessDevice, updateWirelessDevice_description - A new description of the resource.
UpdateWirelessDevice, updateWirelessDevice_destinationName - The name of the new destination for the device.
UpdateWirelessDevice, updateWirelessDevice_loRaWAN - The updated wireless device's configuration.
UpdateWirelessDevice, updateWirelessDevice_name - The new name of the resource.
UpdateWirelessDevice, updateWirelessDevice_positioning - FPort values for the GNSS, stream, and ClockSync functions of the
positioning information.
UpdateWirelessDevice, updateWirelessDevice_id - The ID of the resource to update.
Request Lenses
updateWirelessDevice_description :: Lens' UpdateWirelessDevice (Maybe Text) Source #
A new description of the resource.
updateWirelessDevice_destinationName :: Lens' UpdateWirelessDevice (Maybe Text) Source #
The name of the new destination for the device.
updateWirelessDevice_loRaWAN :: Lens' UpdateWirelessDevice (Maybe LoRaWANUpdateDevice) Source #
The updated wireless device's configuration.
updateWirelessDevice_name :: Lens' UpdateWirelessDevice (Maybe Text) Source #
The new name of the resource.
updateWirelessDevice_positioning :: Lens' UpdateWirelessDevice (Maybe PositioningConfigStatus) Source #
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
updateWirelessDevice_id :: Lens' UpdateWirelessDevice Text Source #
The ID of the resource to update.
Destructuring the Response
data UpdateWirelessDeviceResponse Source #
See: newUpdateWirelessDeviceResponse smart constructor.
Constructors
| UpdateWirelessDeviceResponse' | |
Fields
| |
Instances
newUpdateWirelessDeviceResponse Source #
Create a value of UpdateWirelessDeviceResponse 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:httpStatus:UpdateWirelessDeviceResponse', updateWirelessDeviceResponse_httpStatus - The response's http status code.
Response Lenses
updateWirelessDeviceResponse_httpStatus :: Lens' UpdateWirelessDeviceResponse Int Source #
The response's http status code.