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