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