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