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