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