module Stratosphere.IoTWireless.WirelessDevice (
        module Exports, WirelessDevice(..), mkWirelessDevice
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoTWireless.WirelessDevice.LoRaWANDeviceProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data WirelessDevice
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html>
    WirelessDevice {WirelessDevice -> ()
haddock_workaround_ :: (),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-description>
                    WirelessDevice -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-destinationname>
                    WirelessDevice -> Value Text
destinationName :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-lastuplinkreceivedat>
                    WirelessDevice -> Maybe (Value Text)
lastUplinkReceivedAt :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-lorawan>
                    WirelessDevice -> Maybe LoRaWANDeviceProperty
loRaWAN :: (Prelude.Maybe LoRaWANDeviceProperty),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-name>
                    WirelessDevice -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-positioning>
                    WirelessDevice -> Maybe (Value Text)
positioning :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-tags>
                    WirelessDevice -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-thingarn>
                    WirelessDevice -> Maybe (Value Text)
thingArn :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-type>
                    WirelessDevice -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (WirelessDevice -> WirelessDevice -> Bool
(WirelessDevice -> WirelessDevice -> Bool)
-> (WirelessDevice -> WirelessDevice -> Bool) -> Eq WirelessDevice
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: WirelessDevice -> WirelessDevice -> Bool
== :: WirelessDevice -> WirelessDevice -> Bool
$c/= :: WirelessDevice -> WirelessDevice -> Bool
/= :: WirelessDevice -> WirelessDevice -> Bool
Prelude.Eq, Int -> WirelessDevice -> ShowS
[WirelessDevice] -> ShowS
WirelessDevice -> String
(Int -> WirelessDevice -> ShowS)
-> (WirelessDevice -> String)
-> ([WirelessDevice] -> ShowS)
-> Show WirelessDevice
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> WirelessDevice -> ShowS
showsPrec :: Int -> WirelessDevice -> ShowS
$cshow :: WirelessDevice -> String
show :: WirelessDevice -> String
$cshowList :: [WirelessDevice] -> ShowS
showList :: [WirelessDevice] -> ShowS
Prelude.Show)
mkWirelessDevice ::
  Value Prelude.Text -> Value Prelude.Text -> WirelessDevice
mkWirelessDevice :: Value Text -> Value Text -> WirelessDevice
mkWirelessDevice Value Text
destinationName Value Text
type'
  = WirelessDevice
      {haddock_workaround_ :: ()
haddock_workaround_ = (), destinationName :: Value Text
destinationName = Value Text
destinationName,
       type' :: Value Text
type' = Value Text
type', description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       lastUplinkReceivedAt :: Maybe (Value Text)
lastUplinkReceivedAt = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, loRaWAN :: Maybe LoRaWANDeviceProperty
loRaWAN = Maybe LoRaWANDeviceProperty
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, positioning :: Maybe (Value Text)
positioning = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, thingArn :: Maybe (Value Text)
thingArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties WirelessDevice where
  toResourceProperties :: WirelessDevice -> ResourceProperties
toResourceProperties WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoTWireless::WirelessDevice",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"DestinationName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
destinationName, Key
"Type" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
type']
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LastUplinkReceivedAt" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
lastUplinkReceivedAt,
                               Key -> LoRaWANDeviceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LoRaWAN" (LoRaWANDeviceProperty -> (Key, Value))
-> Maybe LoRaWANDeviceProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LoRaWANDeviceProperty
loRaWAN,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Positioning" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
positioning,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ThingArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
thingArn]))}
instance JSON.ToJSON WirelessDevice where
  toJSON :: WirelessDevice -> Value
toJSON WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"DestinationName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
destinationName, Key
"Type" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
type']
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LastUplinkReceivedAt" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
lastUplinkReceivedAt,
                  Key -> LoRaWANDeviceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LoRaWAN" (LoRaWANDeviceProperty -> (Key, Value))
-> Maybe LoRaWANDeviceProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LoRaWANDeviceProperty
loRaWAN,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Positioning" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
positioning,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ThingArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
thingArn])))
instance Property "Description" WirelessDevice where
  type PropertyType "Description" WirelessDevice = Value Prelude.Text
  set :: PropertyType "Description" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "Description" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "DestinationName" WirelessDevice where
  type PropertyType "DestinationName" WirelessDevice = Value Prelude.Text
  set :: PropertyType "DestinationName" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "DestinationName" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {destinationName :: Value Text
destinationName = PropertyType "DestinationName" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "LastUplinkReceivedAt" WirelessDevice where
  type PropertyType "LastUplinkReceivedAt" WirelessDevice = Value Prelude.Text
  set :: PropertyType "LastUplinkReceivedAt" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "LastUplinkReceivedAt" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {lastUplinkReceivedAt :: Maybe (Value Text)
lastUplinkReceivedAt = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LastUplinkReceivedAt" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "LoRaWAN" WirelessDevice where
  type PropertyType "LoRaWAN" WirelessDevice = LoRaWANDeviceProperty
  set :: PropertyType "LoRaWAN" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "LoRaWAN" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {loRaWAN :: Maybe LoRaWANDeviceProperty
loRaWAN = LoRaWANDeviceProperty -> Maybe LoRaWANDeviceProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LoRaWAN" WirelessDevice
LoRaWANDeviceProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "Name" WirelessDevice where
  type PropertyType "Name" WirelessDevice = Value Prelude.Text
  set :: PropertyType "Name" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "Name" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "Positioning" WirelessDevice where
  type PropertyType "Positioning" WirelessDevice = Value Prelude.Text
  set :: PropertyType "Positioning" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "Positioning" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {positioning :: Maybe (Value Text)
positioning = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Positioning" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "Tags" WirelessDevice where
  type PropertyType "Tags" WirelessDevice = [Tag]
  set :: PropertyType "Tags" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "Tags" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" WirelessDevice
newValue, Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
thingArn :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "ThingArn" WirelessDevice where
  type PropertyType "ThingArn" WirelessDevice = Value Prelude.Text
  set :: PropertyType "ThingArn" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "ThingArn" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {thingArn :: Maybe (Value Text)
thingArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ThingArn" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "Type" WirelessDevice where
  type PropertyType "Type" WirelessDevice = Value Prelude.Text
  set :: PropertyType "Type" WirelessDevice
-> WirelessDevice -> WirelessDevice
set PropertyType "Type" WirelessDevice
newValue WirelessDevice {Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: WirelessDevice -> ()
description :: WirelessDevice -> Maybe (Value Text)
destinationName :: WirelessDevice -> Value Text
lastUplinkReceivedAt :: WirelessDevice -> Maybe (Value Text)
loRaWAN :: WirelessDevice -> Maybe LoRaWANDeviceProperty
name :: WirelessDevice -> Maybe (Value Text)
positioning :: WirelessDevice -> Maybe (Value Text)
tags :: WirelessDevice -> Maybe [Tag]
thingArn :: WirelessDevice -> Maybe (Value Text)
type' :: WirelessDevice -> Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
type' :: Value Text
..}
    = WirelessDevice {type' :: Value Text
type' = PropertyType "Type" WirelessDevice
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe LoRaWANDeviceProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
destinationName :: Value Text
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: Maybe LoRaWANDeviceProperty
name :: Maybe (Value Text)
positioning :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
..}