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