libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

Description

 
Synopsis

Documentation

data SidewalkDeviceMetadata Source #

MetaData for Sidewalk device.

See: newSidewalkDeviceMetadata smart constructor.

Constructors

SidewalkDeviceMetadata' 

Fields

Instances

Instances details
Eq SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

Read SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

Show SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

Generic SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

Associated Types

type Rep SidewalkDeviceMetadata :: Type -> Type #

NFData SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

Methods

rnf :: SidewalkDeviceMetadata -> () #

Hashable SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

FromJSON SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

type Rep SidewalkDeviceMetadata Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.SidewalkDeviceMetadata

type Rep SidewalkDeviceMetadata = D1 ('MetaData "SidewalkDeviceMetadata" "Amazonka.IoTWireless.Types.SidewalkDeviceMetadata" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "SidewalkDeviceMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Event)) :*: S1 ('MetaSel ('Just "deviceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceState))) :*: (S1 ('MetaSel ('Just "batteryLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatteryLevel)) :*: S1 ('MetaSel ('Just "rssi") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newSidewalkDeviceMetadata :: SidewalkDeviceMetadata Source #

Create a value of SidewalkDeviceMetadata 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:event:SidewalkDeviceMetadata', sidewalkDeviceMetadata_event - Sidewalk device status notification.

$sel:deviceState:SidewalkDeviceMetadata', sidewalkDeviceMetadata_deviceState - Device state defines the device status of sidewalk device.

$sel:batteryLevel:SidewalkDeviceMetadata', sidewalkDeviceMetadata_batteryLevel - Sidewalk device battery level.

$sel:rssi:SidewalkDeviceMetadata', sidewalkDeviceMetadata_rssi - The RSSI value.

sidewalkDeviceMetadata_deviceState :: Lens' SidewalkDeviceMetadata (Maybe DeviceState) Source #

Device state defines the device status of sidewalk device.