module Stratosphere.IoTWireless.WirelessGateway (
module Exports, WirelessGateway(..), mkWirelessGateway
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoTWireless.WirelessGateway.LoRaWANGatewayProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data WirelessGateway
=
WirelessGateway {WirelessGateway -> ()
haddock_workaround_ :: (),
WirelessGateway -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: (Prelude.Maybe (Value Prelude.Text)),
WirelessGateway -> LoRaWANGatewayProperty
loRaWAN :: LoRaWANGatewayProperty,
WirelessGateway -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
WirelessGateway -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
WirelessGateway -> Maybe (Value Text)
thingArn :: (Prelude.Maybe (Value Prelude.Text)),
WirelessGateway -> Maybe (Value Text)
thingName :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (WirelessGateway -> WirelessGateway -> Bool
(WirelessGateway -> WirelessGateway -> Bool)
-> (WirelessGateway -> WirelessGateway -> Bool)
-> Eq WirelessGateway
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: WirelessGateway -> WirelessGateway -> Bool
== :: WirelessGateway -> WirelessGateway -> Bool
$c/= :: WirelessGateway -> WirelessGateway -> Bool
/= :: WirelessGateway -> WirelessGateway -> Bool
Prelude.Eq, Int -> WirelessGateway -> ShowS
[WirelessGateway] -> ShowS
WirelessGateway -> String
(Int -> WirelessGateway -> ShowS)
-> (WirelessGateway -> String)
-> ([WirelessGateway] -> ShowS)
-> Show WirelessGateway
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> WirelessGateway -> ShowS
showsPrec :: Int -> WirelessGateway -> ShowS
$cshow :: WirelessGateway -> String
show :: WirelessGateway -> String
$cshowList :: [WirelessGateway] -> ShowS
showList :: [WirelessGateway] -> ShowS
Prelude.Show)
mkWirelessGateway :: LoRaWANGatewayProperty -> WirelessGateway
mkWirelessGateway :: LoRaWANGatewayProperty -> WirelessGateway
mkWirelessGateway LoRaWANGatewayProperty
loRaWAN
= WirelessGateway
{haddock_workaround_ :: ()
haddock_workaround_ = (), loRaWAN :: LoRaWANGatewayProperty
loRaWAN = LoRaWANGatewayProperty
loRaWAN,
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, name :: Maybe (Value Text)
name = 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,
thingName :: Maybe (Value Text)
thingName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties WirelessGateway where
toResourceProperties :: WirelessGateway -> ResourceProperties
toResourceProperties WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::IoTWireless::WirelessGateway",
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
"LoRaWAN" Key -> LoRaWANGatewayProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= LoRaWANGatewayProperty
loRaWAN]
([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 -> 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 -> [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,
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
"ThingName" (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)
thingName]))}
instance JSON.ToJSON WirelessGateway where
toJSON :: WirelessGateway -> Value
toJSON WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (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
"LoRaWAN" Key -> LoRaWANGatewayProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= LoRaWANGatewayProperty
loRaWAN]
([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 -> 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 -> [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,
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
"ThingName" (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)
thingName])))
instance Property "Description" WirelessGateway where
type PropertyType "Description" WirelessGateway = Value Prelude.Text
set :: PropertyType "Description" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "Description" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway {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" WirelessGateway
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: ()
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
haddock_workaround_ :: ()
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
instance Property "LastUplinkReceivedAt" WirelessGateway where
type PropertyType "LastUplinkReceivedAt" WirelessGateway = Value Prelude.Text
set :: PropertyType "LastUplinkReceivedAt" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "LastUplinkReceivedAt" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway
{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" WirelessGateway
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
instance Property "LoRaWAN" WirelessGateway where
type PropertyType "LoRaWAN" WirelessGateway = LoRaWANGatewayProperty
set :: PropertyType "LoRaWAN" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "LoRaWAN" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway {loRaWAN :: LoRaWANGatewayProperty
loRaWAN = PropertyType "LoRaWAN" WirelessGateway
LoRaWANGatewayProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
instance Property "Name" WirelessGateway where
type PropertyType "Name" WirelessGateway = Value Prelude.Text
set :: PropertyType "Name" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "Name" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway {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" WirelessGateway
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
instance Property "Tags" WirelessGateway where
type PropertyType "Tags" WirelessGateway = [Tag]
set :: PropertyType "Tags" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "Tags" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway {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" WirelessGateway
newValue, Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
instance Property "ThingArn" WirelessGateway where
type PropertyType "ThingArn" WirelessGateway = Value Prelude.Text
set :: PropertyType "ThingArn" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "ThingArn" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway {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" WirelessGateway
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingName :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingName :: Maybe (Value Text)
..}
instance Property "ThingName" WirelessGateway where
type PropertyType "ThingName" WirelessGateway = Value Prelude.Text
set :: PropertyType "ThingName" WirelessGateway
-> WirelessGateway -> WirelessGateway
set PropertyType "ThingName" WirelessGateway
newValue WirelessGateway {Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: WirelessGateway -> ()
description :: WirelessGateway -> Maybe (Value Text)
lastUplinkReceivedAt :: WirelessGateway -> Maybe (Value Text)
loRaWAN :: WirelessGateway -> LoRaWANGatewayProperty
name :: WirelessGateway -> Maybe (Value Text)
tags :: WirelessGateway -> Maybe [Tag]
thingArn :: WirelessGateway -> Maybe (Value Text)
thingName :: WirelessGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
thingName :: Maybe (Value Text)
..}
= WirelessGateway {thingName :: Maybe (Value Text)
thingName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ThingName" WirelessGateway
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
LoRaWANGatewayProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
lastUplinkReceivedAt :: Maybe (Value Text)
loRaWAN :: LoRaWANGatewayProperty
name :: Maybe (Value Text)
tags :: Maybe [Tag]
thingArn :: Maybe (Value Text)
..}