{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MGN.Types.ReplicationConfigurationDataPlaneRouting
( ReplicationConfigurationDataPlaneRouting
( ..,
ReplicationConfigurationDataPlaneRouting_PRIVATE_IP,
ReplicationConfigurationDataPlaneRouting_PUBLIC_IP
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ReplicationConfigurationDataPlaneRouting = ReplicationConfigurationDataPlaneRouting'
{ ReplicationConfigurationDataPlaneRouting -> Text
fromReplicationConfigurationDataPlaneRouting ::
Core.Text
}
deriving stock
( Int -> ReplicationConfigurationDataPlaneRouting -> ShowS
[ReplicationConfigurationDataPlaneRouting] -> ShowS
ReplicationConfigurationDataPlaneRouting -> String
(Int -> ReplicationConfigurationDataPlaneRouting -> ShowS)
-> (ReplicationConfigurationDataPlaneRouting -> String)
-> ([ReplicationConfigurationDataPlaneRouting] -> ShowS)
-> Show ReplicationConfigurationDataPlaneRouting
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ReplicationConfigurationDataPlaneRouting] -> ShowS
$cshowList :: [ReplicationConfigurationDataPlaneRouting] -> ShowS
show :: ReplicationConfigurationDataPlaneRouting -> String
$cshow :: ReplicationConfigurationDataPlaneRouting -> String
showsPrec :: Int -> ReplicationConfigurationDataPlaneRouting -> ShowS
$cshowsPrec :: Int -> ReplicationConfigurationDataPlaneRouting -> ShowS
Prelude.Show,
ReadPrec [ReplicationConfigurationDataPlaneRouting]
ReadPrec ReplicationConfigurationDataPlaneRouting
Int -> ReadS ReplicationConfigurationDataPlaneRouting
ReadS [ReplicationConfigurationDataPlaneRouting]
(Int -> ReadS ReplicationConfigurationDataPlaneRouting)
-> ReadS [ReplicationConfigurationDataPlaneRouting]
-> ReadPrec ReplicationConfigurationDataPlaneRouting
-> ReadPrec [ReplicationConfigurationDataPlaneRouting]
-> Read ReplicationConfigurationDataPlaneRouting
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ReplicationConfigurationDataPlaneRouting]
$creadListPrec :: ReadPrec [ReplicationConfigurationDataPlaneRouting]
readPrec :: ReadPrec ReplicationConfigurationDataPlaneRouting
$creadPrec :: ReadPrec ReplicationConfigurationDataPlaneRouting
readList :: ReadS [ReplicationConfigurationDataPlaneRouting]
$creadList :: ReadS [ReplicationConfigurationDataPlaneRouting]
readsPrec :: Int -> ReadS ReplicationConfigurationDataPlaneRouting
$creadsPrec :: Int -> ReadS ReplicationConfigurationDataPlaneRouting
Prelude.Read,
ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
(ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool)
-> Eq ReplicationConfigurationDataPlaneRouting
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
$c/= :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
== :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
$c== :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
Prelude.Eq,
Eq ReplicationConfigurationDataPlaneRouting
Eq ReplicationConfigurationDataPlaneRouting
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Ordering)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting)
-> (ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting)
-> Ord ReplicationConfigurationDataPlaneRouting
ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Ordering
ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
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 :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
$cmin :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
max :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
$cmax :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting
>= :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
$c>= :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
> :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
$c> :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
<= :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
$c<= :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
< :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
$c< :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Bool
compare :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Ordering
$ccompare :: ReplicationConfigurationDataPlaneRouting
-> ReplicationConfigurationDataPlaneRouting -> Ordering
$cp1Ord :: Eq ReplicationConfigurationDataPlaneRouting
Prelude.Ord,
(forall x.
ReplicationConfigurationDataPlaneRouting
-> Rep ReplicationConfigurationDataPlaneRouting x)
-> (forall x.
Rep ReplicationConfigurationDataPlaneRouting x
-> ReplicationConfigurationDataPlaneRouting)
-> Generic ReplicationConfigurationDataPlaneRouting
forall x.
Rep ReplicationConfigurationDataPlaneRouting x
-> ReplicationConfigurationDataPlaneRouting
forall x.
ReplicationConfigurationDataPlaneRouting
-> Rep ReplicationConfigurationDataPlaneRouting x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ReplicationConfigurationDataPlaneRouting x
-> ReplicationConfigurationDataPlaneRouting
$cfrom :: forall x.
ReplicationConfigurationDataPlaneRouting
-> Rep ReplicationConfigurationDataPlaneRouting x
Prelude.Generic
)
deriving newtype
( Int -> ReplicationConfigurationDataPlaneRouting -> Int
ReplicationConfigurationDataPlaneRouting -> Int
(Int -> ReplicationConfigurationDataPlaneRouting -> Int)
-> (ReplicationConfigurationDataPlaneRouting -> Int)
-> Hashable ReplicationConfigurationDataPlaneRouting
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ReplicationConfigurationDataPlaneRouting -> Int
$chash :: ReplicationConfigurationDataPlaneRouting -> Int
hashWithSalt :: Int -> ReplicationConfigurationDataPlaneRouting -> Int
$chashWithSalt :: Int -> ReplicationConfigurationDataPlaneRouting -> Int
Prelude.Hashable,
ReplicationConfigurationDataPlaneRouting -> ()
(ReplicationConfigurationDataPlaneRouting -> ())
-> NFData ReplicationConfigurationDataPlaneRouting
forall a. (a -> ()) -> NFData a
rnf :: ReplicationConfigurationDataPlaneRouting -> ()
$crnf :: ReplicationConfigurationDataPlaneRouting -> ()
Prelude.NFData,
Text -> Either String ReplicationConfigurationDataPlaneRouting
(Text -> Either String ReplicationConfigurationDataPlaneRouting)
-> FromText ReplicationConfigurationDataPlaneRouting
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ReplicationConfigurationDataPlaneRouting
$cfromText :: Text -> Either String ReplicationConfigurationDataPlaneRouting
Core.FromText,
ReplicationConfigurationDataPlaneRouting -> Text
(ReplicationConfigurationDataPlaneRouting -> Text)
-> ToText ReplicationConfigurationDataPlaneRouting
forall a. (a -> Text) -> ToText a
toText :: ReplicationConfigurationDataPlaneRouting -> Text
$ctoText :: ReplicationConfigurationDataPlaneRouting -> Text
Core.ToText,
ReplicationConfigurationDataPlaneRouting -> ByteString
(ReplicationConfigurationDataPlaneRouting -> ByteString)
-> ToByteString ReplicationConfigurationDataPlaneRouting
forall a. (a -> ByteString) -> ToByteString a
toBS :: ReplicationConfigurationDataPlaneRouting -> ByteString
$ctoBS :: ReplicationConfigurationDataPlaneRouting -> ByteString
Core.ToByteString,
ReplicationConfigurationDataPlaneRouting -> ByteStringBuilder
(ReplicationConfigurationDataPlaneRouting -> ByteStringBuilder)
-> ToLog ReplicationConfigurationDataPlaneRouting
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ReplicationConfigurationDataPlaneRouting -> ByteStringBuilder
$cbuild :: ReplicationConfigurationDataPlaneRouting -> ByteStringBuilder
Core.ToLog,
HeaderName -> ReplicationConfigurationDataPlaneRouting -> [Header]
(HeaderName
-> ReplicationConfigurationDataPlaneRouting -> [Header])
-> ToHeader ReplicationConfigurationDataPlaneRouting
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ReplicationConfigurationDataPlaneRouting -> [Header]
$ctoHeader :: HeaderName -> ReplicationConfigurationDataPlaneRouting -> [Header]
Core.ToHeader,
ReplicationConfigurationDataPlaneRouting -> QueryString
(ReplicationConfigurationDataPlaneRouting -> QueryString)
-> ToQuery ReplicationConfigurationDataPlaneRouting
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ReplicationConfigurationDataPlaneRouting -> QueryString
$ctoQuery :: ReplicationConfigurationDataPlaneRouting -> QueryString
Core.ToQuery,
Value -> Parser [ReplicationConfigurationDataPlaneRouting]
Value -> Parser ReplicationConfigurationDataPlaneRouting
(Value -> Parser ReplicationConfigurationDataPlaneRouting)
-> (Value -> Parser [ReplicationConfigurationDataPlaneRouting])
-> FromJSON ReplicationConfigurationDataPlaneRouting
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ReplicationConfigurationDataPlaneRouting]
$cparseJSONList :: Value -> Parser [ReplicationConfigurationDataPlaneRouting]
parseJSON :: Value -> Parser ReplicationConfigurationDataPlaneRouting
$cparseJSON :: Value -> Parser ReplicationConfigurationDataPlaneRouting
Core.FromJSON,
FromJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
FromJSONKeyFunction ReplicationConfigurationDataPlaneRouting
FromJSONKeyFunction ReplicationConfigurationDataPlaneRouting
-> FromJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
-> FromJSONKey ReplicationConfigurationDataPlaneRouting
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
$cfromJSONKeyList :: FromJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
fromJSONKey :: FromJSONKeyFunction ReplicationConfigurationDataPlaneRouting
$cfromJSONKey :: FromJSONKeyFunction ReplicationConfigurationDataPlaneRouting
Core.FromJSONKey,
[ReplicationConfigurationDataPlaneRouting] -> Encoding
[ReplicationConfigurationDataPlaneRouting] -> Value
ReplicationConfigurationDataPlaneRouting -> Encoding
ReplicationConfigurationDataPlaneRouting -> Value
(ReplicationConfigurationDataPlaneRouting -> Value)
-> (ReplicationConfigurationDataPlaneRouting -> Encoding)
-> ([ReplicationConfigurationDataPlaneRouting] -> Value)
-> ([ReplicationConfigurationDataPlaneRouting] -> Encoding)
-> ToJSON ReplicationConfigurationDataPlaneRouting
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ReplicationConfigurationDataPlaneRouting] -> Encoding
$ctoEncodingList :: [ReplicationConfigurationDataPlaneRouting] -> Encoding
toJSONList :: [ReplicationConfigurationDataPlaneRouting] -> Value
$ctoJSONList :: [ReplicationConfigurationDataPlaneRouting] -> Value
toEncoding :: ReplicationConfigurationDataPlaneRouting -> Encoding
$ctoEncoding :: ReplicationConfigurationDataPlaneRouting -> Encoding
toJSON :: ReplicationConfigurationDataPlaneRouting -> Value
$ctoJSON :: ReplicationConfigurationDataPlaneRouting -> Value
Core.ToJSON,
ToJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
ToJSONKeyFunction ReplicationConfigurationDataPlaneRouting
ToJSONKeyFunction ReplicationConfigurationDataPlaneRouting
-> ToJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
-> ToJSONKey ReplicationConfigurationDataPlaneRouting
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
$ctoJSONKeyList :: ToJSONKeyFunction [ReplicationConfigurationDataPlaneRouting]
toJSONKey :: ToJSONKeyFunction ReplicationConfigurationDataPlaneRouting
$ctoJSONKey :: ToJSONKeyFunction ReplicationConfigurationDataPlaneRouting
Core.ToJSONKey,
[Node] -> Either String ReplicationConfigurationDataPlaneRouting
([Node] -> Either String ReplicationConfigurationDataPlaneRouting)
-> FromXML ReplicationConfigurationDataPlaneRouting
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ReplicationConfigurationDataPlaneRouting
$cparseXML :: [Node] -> Either String ReplicationConfigurationDataPlaneRouting
Core.FromXML,
ReplicationConfigurationDataPlaneRouting -> XML
(ReplicationConfigurationDataPlaneRouting -> XML)
-> ToXML ReplicationConfigurationDataPlaneRouting
forall a. (a -> XML) -> ToXML a
toXML :: ReplicationConfigurationDataPlaneRouting -> XML
$ctoXML :: ReplicationConfigurationDataPlaneRouting -> XML
Core.ToXML
)
pattern ReplicationConfigurationDataPlaneRouting_PRIVATE_IP :: ReplicationConfigurationDataPlaneRouting
pattern $bReplicationConfigurationDataPlaneRouting_PRIVATE_IP :: ReplicationConfigurationDataPlaneRouting
$mReplicationConfigurationDataPlaneRouting_PRIVATE_IP :: forall r.
ReplicationConfigurationDataPlaneRouting
-> (Void# -> r) -> (Void# -> r) -> r
ReplicationConfigurationDataPlaneRouting_PRIVATE_IP = ReplicationConfigurationDataPlaneRouting' "PRIVATE_IP"
pattern ReplicationConfigurationDataPlaneRouting_PUBLIC_IP :: ReplicationConfigurationDataPlaneRouting
pattern $bReplicationConfigurationDataPlaneRouting_PUBLIC_IP :: ReplicationConfigurationDataPlaneRouting
$mReplicationConfigurationDataPlaneRouting_PUBLIC_IP :: forall r.
ReplicationConfigurationDataPlaneRouting
-> (Void# -> r) -> (Void# -> r) -> r
ReplicationConfigurationDataPlaneRouting_PUBLIC_IP = ReplicationConfigurationDataPlaneRouting' "PUBLIC_IP"
{-# COMPLETE
ReplicationConfigurationDataPlaneRouting_PRIVATE_IP,
ReplicationConfigurationDataPlaneRouting_PUBLIC_IP,
ReplicationConfigurationDataPlaneRouting'
#-}