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