amazonka-iotwireless-2.0: Amazon IoT Wireless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTWireless.UpdateWirelessDevice

Description

Updates properties of a wireless device.

Synopsis

Creating a Request

data UpdateWirelessDevice Source #

See: newUpdateWirelessDevice smart constructor.

Constructors

UpdateWirelessDevice' 

Fields

Instances

Instances details
ToJSON UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

ToHeaders UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

ToPath UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

ToQuery UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

AWSRequest UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Associated Types

type AWSResponse UpdateWirelessDevice #

Generic UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Associated Types

type Rep UpdateWirelessDevice :: Type -> Type #

Read UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Show UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

NFData UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Methods

rnf :: UpdateWirelessDevice -> () #

Eq UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Hashable UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

type AWSResponse UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

type Rep UpdateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

type Rep UpdateWirelessDevice = D1 ('MetaData "UpdateWirelessDevice" "Amazonka.IoTWireless.UpdateWirelessDevice" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "UpdateWirelessDevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loRaWAN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoRaWANUpdateDevice)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "positioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PositioningConfigStatus)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateWirelessDevice Source #

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_destinationName :: Lens' UpdateWirelessDevice (Maybe Text) Source #

The name of the new destination for the device.

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

Instances details
Generic UpdateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Associated Types

type Rep UpdateWirelessDeviceResponse :: Type -> Type #

Read UpdateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Show UpdateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

NFData UpdateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

Eq UpdateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

type Rep UpdateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateWirelessDevice

type Rep UpdateWirelessDeviceResponse = D1 ('MetaData "UpdateWirelessDeviceResponse" "Amazonka.IoTWireless.UpdateWirelessDevice" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "UpdateWirelessDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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