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