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