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