{-# 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.HealthCheckRegion
( HealthCheckRegion
( ..,
HealthCheckRegion_Ap_northeast_1,
HealthCheckRegion_Ap_southeast_1,
HealthCheckRegion_Ap_southeast_2,
HealthCheckRegion_Eu_west_1,
HealthCheckRegion_Sa_east_1,
HealthCheckRegion_Us_east_1,
HealthCheckRegion_Us_west_1,
HealthCheckRegion_Us_west_2
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.Route53.Internal
newtype HealthCheckRegion = HealthCheckRegion'
{ HealthCheckRegion -> Text
fromHealthCheckRegion ::
Data.Text
}
deriving stock
( Int -> HealthCheckRegion -> ShowS
[HealthCheckRegion] -> ShowS
HealthCheckRegion -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HealthCheckRegion] -> ShowS
$cshowList :: [HealthCheckRegion] -> ShowS
show :: HealthCheckRegion -> String
$cshow :: HealthCheckRegion -> String
showsPrec :: Int -> HealthCheckRegion -> ShowS
$cshowsPrec :: Int -> HealthCheckRegion -> ShowS
Prelude.Show,
ReadPrec [HealthCheckRegion]
ReadPrec HealthCheckRegion
Int -> ReadS HealthCheckRegion
ReadS [HealthCheckRegion]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [HealthCheckRegion]
$creadListPrec :: ReadPrec [HealthCheckRegion]
readPrec :: ReadPrec HealthCheckRegion
$creadPrec :: ReadPrec HealthCheckRegion
readList :: ReadS [HealthCheckRegion]
$creadList :: ReadS [HealthCheckRegion]
readsPrec :: Int -> ReadS HealthCheckRegion
$creadsPrec :: Int -> ReadS HealthCheckRegion
Prelude.Read,
HealthCheckRegion -> HealthCheckRegion -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HealthCheckRegion -> HealthCheckRegion -> Bool
$c/= :: HealthCheckRegion -> HealthCheckRegion -> Bool
== :: HealthCheckRegion -> HealthCheckRegion -> Bool
$c== :: HealthCheckRegion -> HealthCheckRegion -> Bool
Prelude.Eq,
Eq HealthCheckRegion
HealthCheckRegion -> HealthCheckRegion -> Bool
HealthCheckRegion -> HealthCheckRegion -> Ordering
HealthCheckRegion -> HealthCheckRegion -> HealthCheckRegion
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 :: HealthCheckRegion -> HealthCheckRegion -> HealthCheckRegion
$cmin :: HealthCheckRegion -> HealthCheckRegion -> HealthCheckRegion
max :: HealthCheckRegion -> HealthCheckRegion -> HealthCheckRegion
$cmax :: HealthCheckRegion -> HealthCheckRegion -> HealthCheckRegion
>= :: HealthCheckRegion -> HealthCheckRegion -> Bool
$c>= :: HealthCheckRegion -> HealthCheckRegion -> Bool
> :: HealthCheckRegion -> HealthCheckRegion -> Bool
$c> :: HealthCheckRegion -> HealthCheckRegion -> Bool
<= :: HealthCheckRegion -> HealthCheckRegion -> Bool
$c<= :: HealthCheckRegion -> HealthCheckRegion -> Bool
< :: HealthCheckRegion -> HealthCheckRegion -> Bool
$c< :: HealthCheckRegion -> HealthCheckRegion -> Bool
compare :: HealthCheckRegion -> HealthCheckRegion -> Ordering
$ccompare :: HealthCheckRegion -> HealthCheckRegion -> Ordering
Prelude.Ord,
forall x. Rep HealthCheckRegion x -> HealthCheckRegion
forall x. HealthCheckRegion -> Rep HealthCheckRegion x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep HealthCheckRegion x -> HealthCheckRegion
$cfrom :: forall x. HealthCheckRegion -> Rep HealthCheckRegion x
Prelude.Generic
)
deriving newtype
( Eq HealthCheckRegion
Int -> HealthCheckRegion -> Int
HealthCheckRegion -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: HealthCheckRegion -> Int
$chash :: HealthCheckRegion -> Int
hashWithSalt :: Int -> HealthCheckRegion -> Int
$chashWithSalt :: Int -> HealthCheckRegion -> Int
Prelude.Hashable,
HealthCheckRegion -> ()
forall a. (a -> ()) -> NFData a
rnf :: HealthCheckRegion -> ()
$crnf :: HealthCheckRegion -> ()
Prelude.NFData,
Text -> Either String HealthCheckRegion
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String HealthCheckRegion
$cfromText :: Text -> Either String HealthCheckRegion
Data.FromText,
HealthCheckRegion -> Text
forall a. (a -> Text) -> ToText a
toText :: HealthCheckRegion -> Text
$ctoText :: HealthCheckRegion -> Text
Data.ToText,
HealthCheckRegion -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: HealthCheckRegion -> ByteString
$ctoBS :: HealthCheckRegion -> ByteString
Data.ToByteString,
HealthCheckRegion -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: HealthCheckRegion -> ByteStringBuilder
$cbuild :: HealthCheckRegion -> ByteStringBuilder
Data.ToLog,
HeaderName -> HealthCheckRegion -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> HealthCheckRegion -> [Header]
$ctoHeader :: HeaderName -> HealthCheckRegion -> [Header]
Data.ToHeader,
HealthCheckRegion -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: HealthCheckRegion -> QueryString
$ctoQuery :: HealthCheckRegion -> QueryString
Data.ToQuery,
Value -> Parser [HealthCheckRegion]
Value -> Parser HealthCheckRegion
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [HealthCheckRegion]
$cparseJSONList :: Value -> Parser [HealthCheckRegion]
parseJSON :: Value -> Parser HealthCheckRegion
$cparseJSON :: Value -> Parser HealthCheckRegion
Data.FromJSON,
FromJSONKeyFunction [HealthCheckRegion]
FromJSONKeyFunction HealthCheckRegion
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [HealthCheckRegion]
$cfromJSONKeyList :: FromJSONKeyFunction [HealthCheckRegion]
fromJSONKey :: FromJSONKeyFunction HealthCheckRegion
$cfromJSONKey :: FromJSONKeyFunction HealthCheckRegion
Data.FromJSONKey,
[HealthCheckRegion] -> Encoding
[HealthCheckRegion] -> Value
HealthCheckRegion -> Encoding
HealthCheckRegion -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [HealthCheckRegion] -> Encoding
$ctoEncodingList :: [HealthCheckRegion] -> Encoding
toJSONList :: [HealthCheckRegion] -> Value
$ctoJSONList :: [HealthCheckRegion] -> Value
toEncoding :: HealthCheckRegion -> Encoding
$ctoEncoding :: HealthCheckRegion -> Encoding
toJSON :: HealthCheckRegion -> Value
$ctoJSON :: HealthCheckRegion -> Value
Data.ToJSON,
ToJSONKeyFunction [HealthCheckRegion]
ToJSONKeyFunction HealthCheckRegion
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [HealthCheckRegion]
$ctoJSONKeyList :: ToJSONKeyFunction [HealthCheckRegion]
toJSONKey :: ToJSONKeyFunction HealthCheckRegion
$ctoJSONKey :: ToJSONKeyFunction HealthCheckRegion
Data.ToJSONKey,
[Node] -> Either String HealthCheckRegion
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String HealthCheckRegion
$cparseXML :: [Node] -> Either String HealthCheckRegion
Data.FromXML,
HealthCheckRegion -> XML
forall a. (a -> XML) -> ToXML a
toXML :: HealthCheckRegion -> XML
$ctoXML :: HealthCheckRegion -> XML
Data.ToXML
)
pattern HealthCheckRegion_Ap_northeast_1 :: HealthCheckRegion
pattern $bHealthCheckRegion_Ap_northeast_1 :: HealthCheckRegion
$mHealthCheckRegion_Ap_northeast_1 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Ap_northeast_1 = HealthCheckRegion' "ap-northeast-1"
pattern HealthCheckRegion_Ap_southeast_1 :: HealthCheckRegion
pattern $bHealthCheckRegion_Ap_southeast_1 :: HealthCheckRegion
$mHealthCheckRegion_Ap_southeast_1 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Ap_southeast_1 = HealthCheckRegion' "ap-southeast-1"
pattern HealthCheckRegion_Ap_southeast_2 :: HealthCheckRegion
pattern $bHealthCheckRegion_Ap_southeast_2 :: HealthCheckRegion
$mHealthCheckRegion_Ap_southeast_2 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Ap_southeast_2 = HealthCheckRegion' "ap-southeast-2"
pattern HealthCheckRegion_Eu_west_1 :: HealthCheckRegion
pattern $bHealthCheckRegion_Eu_west_1 :: HealthCheckRegion
$mHealthCheckRegion_Eu_west_1 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Eu_west_1 = HealthCheckRegion' "eu-west-1"
pattern HealthCheckRegion_Sa_east_1 :: HealthCheckRegion
pattern $bHealthCheckRegion_Sa_east_1 :: HealthCheckRegion
$mHealthCheckRegion_Sa_east_1 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Sa_east_1 = HealthCheckRegion' "sa-east-1"
pattern HealthCheckRegion_Us_east_1 :: HealthCheckRegion
pattern $bHealthCheckRegion_Us_east_1 :: HealthCheckRegion
$mHealthCheckRegion_Us_east_1 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Us_east_1 = HealthCheckRegion' "us-east-1"
pattern HealthCheckRegion_Us_west_1 :: HealthCheckRegion
pattern $bHealthCheckRegion_Us_west_1 :: HealthCheckRegion
$mHealthCheckRegion_Us_west_1 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Us_west_1 = HealthCheckRegion' "us-west-1"
pattern HealthCheckRegion_Us_west_2 :: HealthCheckRegion
pattern $bHealthCheckRegion_Us_west_2 :: HealthCheckRegion
$mHealthCheckRegion_Us_west_2 :: forall {r}. HealthCheckRegion -> ((# #) -> r) -> ((# #) -> r) -> r
HealthCheckRegion_Us_west_2 = HealthCheckRegion' "us-west-2"
{-# COMPLETE
HealthCheckRegion_Ap_northeast_1,
HealthCheckRegion_Ap_southeast_1,
HealthCheckRegion_Ap_southeast_2,
HealthCheckRegion_Eu_west_1,
HealthCheckRegion_Sa_east_1,
HealthCheckRegion_Us_east_1,
HealthCheckRegion_Us_west_1,
HealthCheckRegion_Us_west_2,
HealthCheckRegion'
#-}