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