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