{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.IoTWireless.Types.WirelessGatewayType
( WirelessGatewayType
( ..,
WirelessGatewayType_LoRaWAN
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype WirelessGatewayType = WirelessGatewayType'
{ WirelessGatewayType -> Text
fromWirelessGatewayType ::
Core.Text
}
deriving stock
( Int -> WirelessGatewayType -> ShowS
[WirelessGatewayType] -> ShowS
WirelessGatewayType -> String
(Int -> WirelessGatewayType -> ShowS)
-> (WirelessGatewayType -> String)
-> ([WirelessGatewayType] -> ShowS)
-> Show WirelessGatewayType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WirelessGatewayType] -> ShowS
$cshowList :: [WirelessGatewayType] -> ShowS
show :: WirelessGatewayType -> String
$cshow :: WirelessGatewayType -> String
showsPrec :: Int -> WirelessGatewayType -> ShowS
$cshowsPrec :: Int -> WirelessGatewayType -> ShowS
Prelude.Show,
ReadPrec [WirelessGatewayType]
ReadPrec WirelessGatewayType
Int -> ReadS WirelessGatewayType
ReadS [WirelessGatewayType]
(Int -> ReadS WirelessGatewayType)
-> ReadS [WirelessGatewayType]
-> ReadPrec WirelessGatewayType
-> ReadPrec [WirelessGatewayType]
-> Read WirelessGatewayType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [WirelessGatewayType]
$creadListPrec :: ReadPrec [WirelessGatewayType]
readPrec :: ReadPrec WirelessGatewayType
$creadPrec :: ReadPrec WirelessGatewayType
readList :: ReadS [WirelessGatewayType]
$creadList :: ReadS [WirelessGatewayType]
readsPrec :: Int -> ReadS WirelessGatewayType
$creadsPrec :: Int -> ReadS WirelessGatewayType
Prelude.Read,
WirelessGatewayType -> WirelessGatewayType -> Bool
(WirelessGatewayType -> WirelessGatewayType -> Bool)
-> (WirelessGatewayType -> WirelessGatewayType -> Bool)
-> Eq WirelessGatewayType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WirelessGatewayType -> WirelessGatewayType -> Bool
$c/= :: WirelessGatewayType -> WirelessGatewayType -> Bool
== :: WirelessGatewayType -> WirelessGatewayType -> Bool
$c== :: WirelessGatewayType -> WirelessGatewayType -> Bool
Prelude.Eq,
Eq WirelessGatewayType
Eq WirelessGatewayType
-> (WirelessGatewayType -> WirelessGatewayType -> Ordering)
-> (WirelessGatewayType -> WirelessGatewayType -> Bool)
-> (WirelessGatewayType -> WirelessGatewayType -> Bool)
-> (WirelessGatewayType -> WirelessGatewayType -> Bool)
-> (WirelessGatewayType -> WirelessGatewayType -> Bool)
-> (WirelessGatewayType
-> WirelessGatewayType -> WirelessGatewayType)
-> (WirelessGatewayType
-> WirelessGatewayType -> WirelessGatewayType)
-> Ord WirelessGatewayType
WirelessGatewayType -> WirelessGatewayType -> Bool
WirelessGatewayType -> WirelessGatewayType -> Ordering
WirelessGatewayType -> WirelessGatewayType -> WirelessGatewayType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: WirelessGatewayType -> WirelessGatewayType -> WirelessGatewayType
$cmin :: WirelessGatewayType -> WirelessGatewayType -> WirelessGatewayType
max :: WirelessGatewayType -> WirelessGatewayType -> WirelessGatewayType
$cmax :: WirelessGatewayType -> WirelessGatewayType -> WirelessGatewayType
>= :: WirelessGatewayType -> WirelessGatewayType -> Bool
$c>= :: WirelessGatewayType -> WirelessGatewayType -> Bool
> :: WirelessGatewayType -> WirelessGatewayType -> Bool
$c> :: WirelessGatewayType -> WirelessGatewayType -> Bool
<= :: WirelessGatewayType -> WirelessGatewayType -> Bool
$c<= :: WirelessGatewayType -> WirelessGatewayType -> Bool
< :: WirelessGatewayType -> WirelessGatewayType -> Bool
$c< :: WirelessGatewayType -> WirelessGatewayType -> Bool
compare :: WirelessGatewayType -> WirelessGatewayType -> Ordering
$ccompare :: WirelessGatewayType -> WirelessGatewayType -> Ordering
$cp1Ord :: Eq WirelessGatewayType
Prelude.Ord,
(forall x. WirelessGatewayType -> Rep WirelessGatewayType x)
-> (forall x. Rep WirelessGatewayType x -> WirelessGatewayType)
-> Generic WirelessGatewayType
forall x. Rep WirelessGatewayType x -> WirelessGatewayType
forall x. WirelessGatewayType -> Rep WirelessGatewayType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep WirelessGatewayType x -> WirelessGatewayType
$cfrom :: forall x. WirelessGatewayType -> Rep WirelessGatewayType x
Prelude.Generic
)
deriving newtype
( Int -> WirelessGatewayType -> Int
WirelessGatewayType -> Int
(Int -> WirelessGatewayType -> Int)
-> (WirelessGatewayType -> Int) -> Hashable WirelessGatewayType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: WirelessGatewayType -> Int
$chash :: WirelessGatewayType -> Int
hashWithSalt :: Int -> WirelessGatewayType -> Int
$chashWithSalt :: Int -> WirelessGatewayType -> Int
Prelude.Hashable,
WirelessGatewayType -> ()
(WirelessGatewayType -> ()) -> NFData WirelessGatewayType
forall a. (a -> ()) -> NFData a
rnf :: WirelessGatewayType -> ()
$crnf :: WirelessGatewayType -> ()
Prelude.NFData,
Text -> Either String WirelessGatewayType
(Text -> Either String WirelessGatewayType)
-> FromText WirelessGatewayType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String WirelessGatewayType
$cfromText :: Text -> Either String WirelessGatewayType
Core.FromText,
WirelessGatewayType -> Text
(WirelessGatewayType -> Text) -> ToText WirelessGatewayType
forall a. (a -> Text) -> ToText a
toText :: WirelessGatewayType -> Text
$ctoText :: WirelessGatewayType -> Text
Core.ToText,
WirelessGatewayType -> ByteString
(WirelessGatewayType -> ByteString)
-> ToByteString WirelessGatewayType
forall a. (a -> ByteString) -> ToByteString a
toBS :: WirelessGatewayType -> ByteString
$ctoBS :: WirelessGatewayType -> ByteString
Core.ToByteString,
WirelessGatewayType -> ByteStringBuilder
(WirelessGatewayType -> ByteStringBuilder)
-> ToLog WirelessGatewayType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: WirelessGatewayType -> ByteStringBuilder
$cbuild :: WirelessGatewayType -> ByteStringBuilder
Core.ToLog,
HeaderName -> WirelessGatewayType -> [Header]
(HeaderName -> WirelessGatewayType -> [Header])
-> ToHeader WirelessGatewayType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> WirelessGatewayType -> [Header]
$ctoHeader :: HeaderName -> WirelessGatewayType -> [Header]
Core.ToHeader,
WirelessGatewayType -> QueryString
(WirelessGatewayType -> QueryString) -> ToQuery WirelessGatewayType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: WirelessGatewayType -> QueryString
$ctoQuery :: WirelessGatewayType -> QueryString
Core.ToQuery,
Value -> Parser [WirelessGatewayType]
Value -> Parser WirelessGatewayType
(Value -> Parser WirelessGatewayType)
-> (Value -> Parser [WirelessGatewayType])
-> FromJSON WirelessGatewayType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [WirelessGatewayType]
$cparseJSONList :: Value -> Parser [WirelessGatewayType]
parseJSON :: Value -> Parser WirelessGatewayType
$cparseJSON :: Value -> Parser WirelessGatewayType
Core.FromJSON,
FromJSONKeyFunction [WirelessGatewayType]
FromJSONKeyFunction WirelessGatewayType
FromJSONKeyFunction WirelessGatewayType
-> FromJSONKeyFunction [WirelessGatewayType]
-> FromJSONKey WirelessGatewayType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [WirelessGatewayType]
$cfromJSONKeyList :: FromJSONKeyFunction [WirelessGatewayType]
fromJSONKey :: FromJSONKeyFunction WirelessGatewayType
$cfromJSONKey :: FromJSONKeyFunction WirelessGatewayType
Core.FromJSONKey,
[WirelessGatewayType] -> Encoding
[WirelessGatewayType] -> Value
WirelessGatewayType -> Encoding
WirelessGatewayType -> Value
(WirelessGatewayType -> Value)
-> (WirelessGatewayType -> Encoding)
-> ([WirelessGatewayType] -> Value)
-> ([WirelessGatewayType] -> Encoding)
-> ToJSON WirelessGatewayType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [WirelessGatewayType] -> Encoding
$ctoEncodingList :: [WirelessGatewayType] -> Encoding
toJSONList :: [WirelessGatewayType] -> Value
$ctoJSONList :: [WirelessGatewayType] -> Value
toEncoding :: WirelessGatewayType -> Encoding
$ctoEncoding :: WirelessGatewayType -> Encoding
toJSON :: WirelessGatewayType -> Value
$ctoJSON :: WirelessGatewayType -> Value
Core.ToJSON,
ToJSONKeyFunction [WirelessGatewayType]
ToJSONKeyFunction WirelessGatewayType
ToJSONKeyFunction WirelessGatewayType
-> ToJSONKeyFunction [WirelessGatewayType]
-> ToJSONKey WirelessGatewayType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [WirelessGatewayType]
$ctoJSONKeyList :: ToJSONKeyFunction [WirelessGatewayType]
toJSONKey :: ToJSONKeyFunction WirelessGatewayType
$ctoJSONKey :: ToJSONKeyFunction WirelessGatewayType
Core.ToJSONKey,
[Node] -> Either String WirelessGatewayType
([Node] -> Either String WirelessGatewayType)
-> FromXML WirelessGatewayType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String WirelessGatewayType
$cparseXML :: [Node] -> Either String WirelessGatewayType
Core.FromXML,
WirelessGatewayType -> XML
(WirelessGatewayType -> XML) -> ToXML WirelessGatewayType
forall a. (a -> XML) -> ToXML a
toXML :: WirelessGatewayType -> XML
$ctoXML :: WirelessGatewayType -> XML
Core.ToXML
)
pattern WirelessGatewayType_LoRaWAN :: WirelessGatewayType
pattern $bWirelessGatewayType_LoRaWAN :: WirelessGatewayType
$mWirelessGatewayType_LoRaWAN :: forall r. WirelessGatewayType -> (Void# -> r) -> (Void# -> r) -> r
WirelessGatewayType_LoRaWAN = WirelessGatewayType' "LoRaWAN"
{-# COMPLETE
WirelessGatewayType_LoRaWAN,
WirelessGatewayType'
#-}