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