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