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