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