{-# 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.WirelessGatewayServiceType
( WirelessGatewayServiceType
( ..,
WirelessGatewayServiceType_CUPS,
WirelessGatewayServiceType_LNS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype WirelessGatewayServiceType = WirelessGatewayServiceType'
{ WirelessGatewayServiceType -> Text
fromWirelessGatewayServiceType ::
Core.Text
}
deriving stock
( Int -> WirelessGatewayServiceType -> ShowS
[WirelessGatewayServiceType] -> ShowS
WirelessGatewayServiceType -> String
(Int -> WirelessGatewayServiceType -> ShowS)
-> (WirelessGatewayServiceType -> String)
-> ([WirelessGatewayServiceType] -> ShowS)
-> Show WirelessGatewayServiceType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WirelessGatewayServiceType] -> ShowS
$cshowList :: [WirelessGatewayServiceType] -> ShowS
show :: WirelessGatewayServiceType -> String
$cshow :: WirelessGatewayServiceType -> String
showsPrec :: Int -> WirelessGatewayServiceType -> ShowS
$cshowsPrec :: Int -> WirelessGatewayServiceType -> ShowS
Prelude.Show,
ReadPrec [WirelessGatewayServiceType]
ReadPrec WirelessGatewayServiceType
Int -> ReadS WirelessGatewayServiceType
ReadS [WirelessGatewayServiceType]
(Int -> ReadS WirelessGatewayServiceType)
-> ReadS [WirelessGatewayServiceType]
-> ReadPrec WirelessGatewayServiceType
-> ReadPrec [WirelessGatewayServiceType]
-> Read WirelessGatewayServiceType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [WirelessGatewayServiceType]
$creadListPrec :: ReadPrec [WirelessGatewayServiceType]
readPrec :: ReadPrec WirelessGatewayServiceType
$creadPrec :: ReadPrec WirelessGatewayServiceType
readList :: ReadS [WirelessGatewayServiceType]
$creadList :: ReadS [WirelessGatewayServiceType]
readsPrec :: Int -> ReadS WirelessGatewayServiceType
$creadsPrec :: Int -> ReadS WirelessGatewayServiceType
Prelude.Read,
WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
(WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Bool)
-> Eq WirelessGatewayServiceType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
$c/= :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
== :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
$c== :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
Prelude.Eq,
Eq WirelessGatewayServiceType
Eq WirelessGatewayServiceType
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Ordering)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Bool)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Bool)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Bool)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Bool)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType)
-> (WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType)
-> Ord WirelessGatewayServiceType
WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Ordering
WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType
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 :: WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType
$cmin :: WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType
max :: WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType
$cmax :: WirelessGatewayServiceType
-> WirelessGatewayServiceType -> WirelessGatewayServiceType
>= :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
$c>= :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
> :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
$c> :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
<= :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
$c<= :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
< :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
$c< :: WirelessGatewayServiceType -> WirelessGatewayServiceType -> Bool
compare :: WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Ordering
$ccompare :: WirelessGatewayServiceType
-> WirelessGatewayServiceType -> Ordering
$cp1Ord :: Eq WirelessGatewayServiceType
Prelude.Ord,
(forall x.
WirelessGatewayServiceType -> Rep WirelessGatewayServiceType x)
-> (forall x.
Rep WirelessGatewayServiceType x -> WirelessGatewayServiceType)
-> Generic WirelessGatewayServiceType
forall x.
Rep WirelessGatewayServiceType x -> WirelessGatewayServiceType
forall x.
WirelessGatewayServiceType -> Rep WirelessGatewayServiceType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep WirelessGatewayServiceType x -> WirelessGatewayServiceType
$cfrom :: forall x.
WirelessGatewayServiceType -> Rep WirelessGatewayServiceType x
Prelude.Generic
)
deriving newtype
( Int -> WirelessGatewayServiceType -> Int
WirelessGatewayServiceType -> Int
(Int -> WirelessGatewayServiceType -> Int)
-> (WirelessGatewayServiceType -> Int)
-> Hashable WirelessGatewayServiceType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: WirelessGatewayServiceType -> Int
$chash :: WirelessGatewayServiceType -> Int
hashWithSalt :: Int -> WirelessGatewayServiceType -> Int
$chashWithSalt :: Int -> WirelessGatewayServiceType -> Int
Prelude.Hashable,
WirelessGatewayServiceType -> ()
(WirelessGatewayServiceType -> ())
-> NFData WirelessGatewayServiceType
forall a. (a -> ()) -> NFData a
rnf :: WirelessGatewayServiceType -> ()
$crnf :: WirelessGatewayServiceType -> ()
Prelude.NFData,
Text -> Either String WirelessGatewayServiceType
(Text -> Either String WirelessGatewayServiceType)
-> FromText WirelessGatewayServiceType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String WirelessGatewayServiceType
$cfromText :: Text -> Either String WirelessGatewayServiceType
Core.FromText,
WirelessGatewayServiceType -> Text
(WirelessGatewayServiceType -> Text)
-> ToText WirelessGatewayServiceType
forall a. (a -> Text) -> ToText a
toText :: WirelessGatewayServiceType -> Text
$ctoText :: WirelessGatewayServiceType -> Text
Core.ToText,
WirelessGatewayServiceType -> ByteString
(WirelessGatewayServiceType -> ByteString)
-> ToByteString WirelessGatewayServiceType
forall a. (a -> ByteString) -> ToByteString a
toBS :: WirelessGatewayServiceType -> ByteString
$ctoBS :: WirelessGatewayServiceType -> ByteString
Core.ToByteString,
WirelessGatewayServiceType -> ByteStringBuilder
(WirelessGatewayServiceType -> ByteStringBuilder)
-> ToLog WirelessGatewayServiceType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: WirelessGatewayServiceType -> ByteStringBuilder
$cbuild :: WirelessGatewayServiceType -> ByteStringBuilder
Core.ToLog,
HeaderName -> WirelessGatewayServiceType -> [Header]
(HeaderName -> WirelessGatewayServiceType -> [Header])
-> ToHeader WirelessGatewayServiceType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> WirelessGatewayServiceType -> [Header]
$ctoHeader :: HeaderName -> WirelessGatewayServiceType -> [Header]
Core.ToHeader,
WirelessGatewayServiceType -> QueryString
(WirelessGatewayServiceType -> QueryString)
-> ToQuery WirelessGatewayServiceType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: WirelessGatewayServiceType -> QueryString
$ctoQuery :: WirelessGatewayServiceType -> QueryString
Core.ToQuery,
Value -> Parser [WirelessGatewayServiceType]
Value -> Parser WirelessGatewayServiceType
(Value -> Parser WirelessGatewayServiceType)
-> (Value -> Parser [WirelessGatewayServiceType])
-> FromJSON WirelessGatewayServiceType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [WirelessGatewayServiceType]
$cparseJSONList :: Value -> Parser [WirelessGatewayServiceType]
parseJSON :: Value -> Parser WirelessGatewayServiceType
$cparseJSON :: Value -> Parser WirelessGatewayServiceType
Core.FromJSON,
FromJSONKeyFunction [WirelessGatewayServiceType]
FromJSONKeyFunction WirelessGatewayServiceType
FromJSONKeyFunction WirelessGatewayServiceType
-> FromJSONKeyFunction [WirelessGatewayServiceType]
-> FromJSONKey WirelessGatewayServiceType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [WirelessGatewayServiceType]
$cfromJSONKeyList :: FromJSONKeyFunction [WirelessGatewayServiceType]
fromJSONKey :: FromJSONKeyFunction WirelessGatewayServiceType
$cfromJSONKey :: FromJSONKeyFunction WirelessGatewayServiceType
Core.FromJSONKey,
[WirelessGatewayServiceType] -> Encoding
[WirelessGatewayServiceType] -> Value
WirelessGatewayServiceType -> Encoding
WirelessGatewayServiceType -> Value
(WirelessGatewayServiceType -> Value)
-> (WirelessGatewayServiceType -> Encoding)
-> ([WirelessGatewayServiceType] -> Value)
-> ([WirelessGatewayServiceType] -> Encoding)
-> ToJSON WirelessGatewayServiceType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [WirelessGatewayServiceType] -> Encoding
$ctoEncodingList :: [WirelessGatewayServiceType] -> Encoding
toJSONList :: [WirelessGatewayServiceType] -> Value
$ctoJSONList :: [WirelessGatewayServiceType] -> Value
toEncoding :: WirelessGatewayServiceType -> Encoding
$ctoEncoding :: WirelessGatewayServiceType -> Encoding
toJSON :: WirelessGatewayServiceType -> Value
$ctoJSON :: WirelessGatewayServiceType -> Value
Core.ToJSON,
ToJSONKeyFunction [WirelessGatewayServiceType]
ToJSONKeyFunction WirelessGatewayServiceType
ToJSONKeyFunction WirelessGatewayServiceType
-> ToJSONKeyFunction [WirelessGatewayServiceType]
-> ToJSONKey WirelessGatewayServiceType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [WirelessGatewayServiceType]
$ctoJSONKeyList :: ToJSONKeyFunction [WirelessGatewayServiceType]
toJSONKey :: ToJSONKeyFunction WirelessGatewayServiceType
$ctoJSONKey :: ToJSONKeyFunction WirelessGatewayServiceType
Core.ToJSONKey,
[Node] -> Either String WirelessGatewayServiceType
([Node] -> Either String WirelessGatewayServiceType)
-> FromXML WirelessGatewayServiceType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String WirelessGatewayServiceType
$cparseXML :: [Node] -> Either String WirelessGatewayServiceType
Core.FromXML,
WirelessGatewayServiceType -> XML
(WirelessGatewayServiceType -> XML)
-> ToXML WirelessGatewayServiceType
forall a. (a -> XML) -> ToXML a
toXML :: WirelessGatewayServiceType -> XML
$ctoXML :: WirelessGatewayServiceType -> XML
Core.ToXML
)
pattern WirelessGatewayServiceType_CUPS :: WirelessGatewayServiceType
pattern $bWirelessGatewayServiceType_CUPS :: WirelessGatewayServiceType
$mWirelessGatewayServiceType_CUPS :: forall r.
WirelessGatewayServiceType -> (Void# -> r) -> (Void# -> r) -> r
WirelessGatewayServiceType_CUPS = WirelessGatewayServiceType' "CUPS"
pattern WirelessGatewayServiceType_LNS :: WirelessGatewayServiceType
pattern $bWirelessGatewayServiceType_LNS :: WirelessGatewayServiceType
$mWirelessGatewayServiceType_LNS :: forall r.
WirelessGatewayServiceType -> (Void# -> r) -> (Void# -> r) -> r
WirelessGatewayServiceType_LNS = WirelessGatewayServiceType' "LNS"
{-# COMPLETE
WirelessGatewayServiceType_CUPS,
WirelessGatewayServiceType_LNS,
WirelessGatewayServiceType'
#-}