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