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