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