{-# 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.VPCRegion
( VPCRegion
( ..,
VPCRegion_Af_south_1,
VPCRegion_Ap_east_1,
VPCRegion_Ap_northeast_1,
VPCRegion_Ap_northeast_2,
VPCRegion_Ap_northeast_3,
VPCRegion_Ap_south_1,
VPCRegion_Ap_south_2,
VPCRegion_Ap_southeast_1,
VPCRegion_Ap_southeast_2,
VPCRegion_Ap_southeast_3,
VPCRegion_Ca_central_1,
VPCRegion_Cn_north_1,
VPCRegion_Eu_central_1,
VPCRegion_Eu_central_2,
VPCRegion_Eu_north_1,
VPCRegion_Eu_south_1,
VPCRegion_Eu_south_2,
VPCRegion_Eu_west_1,
VPCRegion_Eu_west_2,
VPCRegion_Eu_west_3,
VPCRegion_Me_central_1,
VPCRegion_Me_south_1,
VPCRegion_Sa_east_1,
VPCRegion_Us_east_1,
VPCRegion_Us_east_2,
VPCRegion_Us_gov_east_1,
VPCRegion_Us_gov_west_1,
VPCRegion_Us_iso_east_1,
VPCRegion_Us_iso_west_1,
VPCRegion_Us_isob_east_1,
VPCRegion_Us_west_1,
VPCRegion_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 VPCRegion = VPCRegion'
{ VPCRegion -> Text
fromVPCRegion ::
Data.Text
}
deriving stock
( Int -> VPCRegion -> ShowS
[VPCRegion] -> ShowS
VPCRegion -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [VPCRegion] -> ShowS
$cshowList :: [VPCRegion] -> ShowS
show :: VPCRegion -> String
$cshow :: VPCRegion -> String
showsPrec :: Int -> VPCRegion -> ShowS
$cshowsPrec :: Int -> VPCRegion -> ShowS
Prelude.Show,
ReadPrec [VPCRegion]
ReadPrec VPCRegion
Int -> ReadS VPCRegion
ReadS [VPCRegion]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [VPCRegion]
$creadListPrec :: ReadPrec [VPCRegion]
readPrec :: ReadPrec VPCRegion
$creadPrec :: ReadPrec VPCRegion
readList :: ReadS [VPCRegion]
$creadList :: ReadS [VPCRegion]
readsPrec :: Int -> ReadS VPCRegion
$creadsPrec :: Int -> ReadS VPCRegion
Prelude.Read,
VPCRegion -> VPCRegion -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: VPCRegion -> VPCRegion -> Bool
$c/= :: VPCRegion -> VPCRegion -> Bool
== :: VPCRegion -> VPCRegion -> Bool
$c== :: VPCRegion -> VPCRegion -> Bool
Prelude.Eq,
Eq VPCRegion
VPCRegion -> VPCRegion -> Bool
VPCRegion -> VPCRegion -> Ordering
VPCRegion -> VPCRegion -> VPCRegion
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 :: VPCRegion -> VPCRegion -> VPCRegion
$cmin :: VPCRegion -> VPCRegion -> VPCRegion
max :: VPCRegion -> VPCRegion -> VPCRegion
$cmax :: VPCRegion -> VPCRegion -> VPCRegion
>= :: VPCRegion -> VPCRegion -> Bool
$c>= :: VPCRegion -> VPCRegion -> Bool
> :: VPCRegion -> VPCRegion -> Bool
$c> :: VPCRegion -> VPCRegion -> Bool
<= :: VPCRegion -> VPCRegion -> Bool
$c<= :: VPCRegion -> VPCRegion -> Bool
< :: VPCRegion -> VPCRegion -> Bool
$c< :: VPCRegion -> VPCRegion -> Bool
compare :: VPCRegion -> VPCRegion -> Ordering
$ccompare :: VPCRegion -> VPCRegion -> Ordering
Prelude.Ord,
forall x. Rep VPCRegion x -> VPCRegion
forall x. VPCRegion -> Rep VPCRegion x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep VPCRegion x -> VPCRegion
$cfrom :: forall x. VPCRegion -> Rep VPCRegion x
Prelude.Generic
)
deriving newtype
( Eq VPCRegion
Int -> VPCRegion -> Int
VPCRegion -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: VPCRegion -> Int
$chash :: VPCRegion -> Int
hashWithSalt :: Int -> VPCRegion -> Int
$chashWithSalt :: Int -> VPCRegion -> Int
Prelude.Hashable,
VPCRegion -> ()
forall a. (a -> ()) -> NFData a
rnf :: VPCRegion -> ()
$crnf :: VPCRegion -> ()
Prelude.NFData,
Text -> Either String VPCRegion
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String VPCRegion
$cfromText :: Text -> Either String VPCRegion
Data.FromText,
VPCRegion -> Text
forall a. (a -> Text) -> ToText a
toText :: VPCRegion -> Text
$ctoText :: VPCRegion -> Text
Data.ToText,
VPCRegion -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: VPCRegion -> ByteString
$ctoBS :: VPCRegion -> ByteString
Data.ToByteString,
VPCRegion -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: VPCRegion -> ByteStringBuilder
$cbuild :: VPCRegion -> ByteStringBuilder
Data.ToLog,
HeaderName -> VPCRegion -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> VPCRegion -> [Header]
$ctoHeader :: HeaderName -> VPCRegion -> [Header]
Data.ToHeader,
VPCRegion -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: VPCRegion -> QueryString
$ctoQuery :: VPCRegion -> QueryString
Data.ToQuery,
Value -> Parser [VPCRegion]
Value -> Parser VPCRegion
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [VPCRegion]
$cparseJSONList :: Value -> Parser [VPCRegion]
parseJSON :: Value -> Parser VPCRegion
$cparseJSON :: Value -> Parser VPCRegion
Data.FromJSON,
FromJSONKeyFunction [VPCRegion]
FromJSONKeyFunction VPCRegion
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [VPCRegion]
$cfromJSONKeyList :: FromJSONKeyFunction [VPCRegion]
fromJSONKey :: FromJSONKeyFunction VPCRegion
$cfromJSONKey :: FromJSONKeyFunction VPCRegion
Data.FromJSONKey,
[VPCRegion] -> Encoding
[VPCRegion] -> Value
VPCRegion -> Encoding
VPCRegion -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [VPCRegion] -> Encoding
$ctoEncodingList :: [VPCRegion] -> Encoding
toJSONList :: [VPCRegion] -> Value
$ctoJSONList :: [VPCRegion] -> Value
toEncoding :: VPCRegion -> Encoding
$ctoEncoding :: VPCRegion -> Encoding
toJSON :: VPCRegion -> Value
$ctoJSON :: VPCRegion -> Value
Data.ToJSON,
ToJSONKeyFunction [VPCRegion]
ToJSONKeyFunction VPCRegion
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [VPCRegion]
$ctoJSONKeyList :: ToJSONKeyFunction [VPCRegion]
toJSONKey :: ToJSONKeyFunction VPCRegion
$ctoJSONKey :: ToJSONKeyFunction VPCRegion
Data.ToJSONKey,
[Node] -> Either String VPCRegion
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String VPCRegion
$cparseXML :: [Node] -> Either String VPCRegion
Data.FromXML,
VPCRegion -> XML
forall a. (a -> XML) -> ToXML a
toXML :: VPCRegion -> XML
$ctoXML :: VPCRegion -> XML
Data.ToXML
)
pattern VPCRegion_Af_south_1 :: VPCRegion
pattern $bVPCRegion_Af_south_1 :: VPCRegion
$mVPCRegion_Af_south_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Af_south_1 = VPCRegion' "af-south-1"
pattern VPCRegion_Ap_east_1 :: VPCRegion
pattern $bVPCRegion_Ap_east_1 :: VPCRegion
$mVPCRegion_Ap_east_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_east_1 = VPCRegion' "ap-east-1"
pattern VPCRegion_Ap_northeast_1 :: VPCRegion
pattern $bVPCRegion_Ap_northeast_1 :: VPCRegion
$mVPCRegion_Ap_northeast_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_northeast_1 = VPCRegion' "ap-northeast-1"
pattern VPCRegion_Ap_northeast_2 :: VPCRegion
pattern $bVPCRegion_Ap_northeast_2 :: VPCRegion
$mVPCRegion_Ap_northeast_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_northeast_2 = VPCRegion' "ap-northeast-2"
pattern VPCRegion_Ap_northeast_3 :: VPCRegion
pattern $bVPCRegion_Ap_northeast_3 :: VPCRegion
$mVPCRegion_Ap_northeast_3 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_northeast_3 = VPCRegion' "ap-northeast-3"
pattern VPCRegion_Ap_south_1 :: VPCRegion
pattern $bVPCRegion_Ap_south_1 :: VPCRegion
$mVPCRegion_Ap_south_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_south_1 = VPCRegion' "ap-south-1"
pattern VPCRegion_Ap_south_2 :: VPCRegion
pattern $bVPCRegion_Ap_south_2 :: VPCRegion
$mVPCRegion_Ap_south_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_south_2 = VPCRegion' "ap-south-2"
pattern VPCRegion_Ap_southeast_1 :: VPCRegion
pattern $bVPCRegion_Ap_southeast_1 :: VPCRegion
$mVPCRegion_Ap_southeast_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_southeast_1 = VPCRegion' "ap-southeast-1"
pattern VPCRegion_Ap_southeast_2 :: VPCRegion
pattern $bVPCRegion_Ap_southeast_2 :: VPCRegion
$mVPCRegion_Ap_southeast_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_southeast_2 = VPCRegion' "ap-southeast-2"
pattern VPCRegion_Ap_southeast_3 :: VPCRegion
pattern $bVPCRegion_Ap_southeast_3 :: VPCRegion
$mVPCRegion_Ap_southeast_3 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ap_southeast_3 = VPCRegion' "ap-southeast-3"
pattern VPCRegion_Ca_central_1 :: VPCRegion
pattern $bVPCRegion_Ca_central_1 :: VPCRegion
$mVPCRegion_Ca_central_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Ca_central_1 = VPCRegion' "ca-central-1"
pattern VPCRegion_Cn_north_1 :: VPCRegion
pattern $bVPCRegion_Cn_north_1 :: VPCRegion
$mVPCRegion_Cn_north_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Cn_north_1 = VPCRegion' "cn-north-1"
pattern VPCRegion_Eu_central_1 :: VPCRegion
pattern $bVPCRegion_Eu_central_1 :: VPCRegion
$mVPCRegion_Eu_central_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_central_1 = VPCRegion' "eu-central-1"
pattern VPCRegion_Eu_central_2 :: VPCRegion
pattern $bVPCRegion_Eu_central_2 :: VPCRegion
$mVPCRegion_Eu_central_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_central_2 = VPCRegion' "eu-central-2"
pattern VPCRegion_Eu_north_1 :: VPCRegion
pattern $bVPCRegion_Eu_north_1 :: VPCRegion
$mVPCRegion_Eu_north_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_north_1 = VPCRegion' "eu-north-1"
pattern VPCRegion_Eu_south_1 :: VPCRegion
pattern $bVPCRegion_Eu_south_1 :: VPCRegion
$mVPCRegion_Eu_south_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_south_1 = VPCRegion' "eu-south-1"
pattern VPCRegion_Eu_south_2 :: VPCRegion
pattern $bVPCRegion_Eu_south_2 :: VPCRegion
$mVPCRegion_Eu_south_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_south_2 = VPCRegion' "eu-south-2"
pattern VPCRegion_Eu_west_1 :: VPCRegion
pattern $bVPCRegion_Eu_west_1 :: VPCRegion
$mVPCRegion_Eu_west_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_west_1 = VPCRegion' "eu-west-1"
pattern VPCRegion_Eu_west_2 :: VPCRegion
pattern $bVPCRegion_Eu_west_2 :: VPCRegion
$mVPCRegion_Eu_west_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_west_2 = VPCRegion' "eu-west-2"
pattern VPCRegion_Eu_west_3 :: VPCRegion
pattern $bVPCRegion_Eu_west_3 :: VPCRegion
$mVPCRegion_Eu_west_3 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Eu_west_3 = VPCRegion' "eu-west-3"
pattern VPCRegion_Me_central_1 :: VPCRegion
pattern $bVPCRegion_Me_central_1 :: VPCRegion
$mVPCRegion_Me_central_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Me_central_1 = VPCRegion' "me-central-1"
pattern VPCRegion_Me_south_1 :: VPCRegion
pattern $bVPCRegion_Me_south_1 :: VPCRegion
$mVPCRegion_Me_south_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Me_south_1 = VPCRegion' "me-south-1"
pattern VPCRegion_Sa_east_1 :: VPCRegion
pattern $bVPCRegion_Sa_east_1 :: VPCRegion
$mVPCRegion_Sa_east_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Sa_east_1 = VPCRegion' "sa-east-1"
pattern VPCRegion_Us_east_1 :: VPCRegion
pattern $bVPCRegion_Us_east_1 :: VPCRegion
$mVPCRegion_Us_east_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_east_1 = VPCRegion' "us-east-1"
pattern VPCRegion_Us_east_2 :: VPCRegion
pattern $bVPCRegion_Us_east_2 :: VPCRegion
$mVPCRegion_Us_east_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_east_2 = VPCRegion' "us-east-2"
pattern VPCRegion_Us_gov_east_1 :: VPCRegion
pattern $bVPCRegion_Us_gov_east_1 :: VPCRegion
$mVPCRegion_Us_gov_east_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_gov_east_1 = VPCRegion' "us-gov-east-1"
pattern VPCRegion_Us_gov_west_1 :: VPCRegion
pattern $bVPCRegion_Us_gov_west_1 :: VPCRegion
$mVPCRegion_Us_gov_west_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_gov_west_1 = VPCRegion' "us-gov-west-1"
pattern VPCRegion_Us_iso_east_1 :: VPCRegion
pattern $bVPCRegion_Us_iso_east_1 :: VPCRegion
$mVPCRegion_Us_iso_east_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_iso_east_1 = VPCRegion' "us-iso-east-1"
pattern VPCRegion_Us_iso_west_1 :: VPCRegion
pattern $bVPCRegion_Us_iso_west_1 :: VPCRegion
$mVPCRegion_Us_iso_west_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_iso_west_1 = VPCRegion' "us-iso-west-1"
pattern VPCRegion_Us_isob_east_1 :: VPCRegion
pattern $bVPCRegion_Us_isob_east_1 :: VPCRegion
$mVPCRegion_Us_isob_east_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_isob_east_1 = VPCRegion' "us-isob-east-1"
pattern VPCRegion_Us_west_1 :: VPCRegion
pattern $bVPCRegion_Us_west_1 :: VPCRegion
$mVPCRegion_Us_west_1 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_west_1 = VPCRegion' "us-west-1"
pattern VPCRegion_Us_west_2 :: VPCRegion
pattern $bVPCRegion_Us_west_2 :: VPCRegion
$mVPCRegion_Us_west_2 :: forall {r}. VPCRegion -> ((# #) -> r) -> ((# #) -> r) -> r
VPCRegion_Us_west_2 = VPCRegion' "us-west-2"
{-# COMPLETE
VPCRegion_Af_south_1,
VPCRegion_Ap_east_1,
VPCRegion_Ap_northeast_1,
VPCRegion_Ap_northeast_2,
VPCRegion_Ap_northeast_3,
VPCRegion_Ap_south_1,
VPCRegion_Ap_south_2,
VPCRegion_Ap_southeast_1,
VPCRegion_Ap_southeast_2,
VPCRegion_Ap_southeast_3,
VPCRegion_Ca_central_1,
VPCRegion_Cn_north_1,
VPCRegion_Eu_central_1,
VPCRegion_Eu_central_2,
VPCRegion_Eu_north_1,
VPCRegion_Eu_south_1,
VPCRegion_Eu_south_2,
VPCRegion_Eu_west_1,
VPCRegion_Eu_west_2,
VPCRegion_Eu_west_3,
VPCRegion_Me_central_1,
VPCRegion_Me_south_1,
VPCRegion_Sa_east_1,
VPCRegion_Us_east_1,
VPCRegion_Us_east_2,
VPCRegion_Us_gov_east_1,
VPCRegion_Us_gov_west_1,
VPCRegion_Us_iso_east_1,
VPCRegion_Us_iso_west_1,
VPCRegion_Us_isob_east_1,
VPCRegion_Us_west_1,
VPCRegion_Us_west_2,
VPCRegion'
#-}