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