{-# 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.DataReplicationErrorString
( DataReplicationErrorString
( ..,
DataReplicationErrorString_AGENT_NOT_SEEN,
DataReplicationErrorString_FAILED_TO_ATTACH_STAGING_DISKS,
DataReplicationErrorString_FAILED_TO_AUTHENTICATE_WITH_SERVICE,
DataReplicationErrorString_FAILED_TO_BOOT_REPLICATION_SERVER,
DataReplicationErrorString_FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER,
DataReplicationErrorString_FAILED_TO_CREATE_SECURITY_GROUP,
DataReplicationErrorString_FAILED_TO_CREATE_STAGING_DISKS,
DataReplicationErrorString_FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE,
DataReplicationErrorString_FAILED_TO_LAUNCH_REPLICATION_SERVER,
DataReplicationErrorString_FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT,
DataReplicationErrorString_FAILED_TO_START_DATA_TRANSFER,
DataReplicationErrorString_NOT_CONVERGING,
DataReplicationErrorString_SNAPSHOTS_FAILURE,
DataReplicationErrorString_UNSTABLE_NETWORK
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype DataReplicationErrorString = DataReplicationErrorString'
{ DataReplicationErrorString -> Text
fromDataReplicationErrorString ::
Core.Text
}
deriving stock
( Int -> DataReplicationErrorString -> ShowS
[DataReplicationErrorString] -> ShowS
DataReplicationErrorString -> String
(Int -> DataReplicationErrorString -> ShowS)
-> (DataReplicationErrorString -> String)
-> ([DataReplicationErrorString] -> ShowS)
-> Show DataReplicationErrorString
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DataReplicationErrorString] -> ShowS
$cshowList :: [DataReplicationErrorString] -> ShowS
show :: DataReplicationErrorString -> String
$cshow :: DataReplicationErrorString -> String
showsPrec :: Int -> DataReplicationErrorString -> ShowS
$cshowsPrec :: Int -> DataReplicationErrorString -> ShowS
Prelude.Show,
ReadPrec [DataReplicationErrorString]
ReadPrec DataReplicationErrorString
Int -> ReadS DataReplicationErrorString
ReadS [DataReplicationErrorString]
(Int -> ReadS DataReplicationErrorString)
-> ReadS [DataReplicationErrorString]
-> ReadPrec DataReplicationErrorString
-> ReadPrec [DataReplicationErrorString]
-> Read DataReplicationErrorString
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DataReplicationErrorString]
$creadListPrec :: ReadPrec [DataReplicationErrorString]
readPrec :: ReadPrec DataReplicationErrorString
$creadPrec :: ReadPrec DataReplicationErrorString
readList :: ReadS [DataReplicationErrorString]
$creadList :: ReadS [DataReplicationErrorString]
readsPrec :: Int -> ReadS DataReplicationErrorString
$creadsPrec :: Int -> ReadS DataReplicationErrorString
Prelude.Read,
DataReplicationErrorString -> DataReplicationErrorString -> Bool
(DataReplicationErrorString -> DataReplicationErrorString -> Bool)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> Bool)
-> Eq DataReplicationErrorString
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
$c/= :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
== :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
$c== :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
Prelude.Eq,
Eq DataReplicationErrorString
Eq DataReplicationErrorString
-> (DataReplicationErrorString
-> DataReplicationErrorString -> Ordering)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> Bool)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> Bool)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> Bool)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> Bool)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString)
-> (DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString)
-> Ord DataReplicationErrorString
DataReplicationErrorString -> DataReplicationErrorString -> Bool
DataReplicationErrorString
-> DataReplicationErrorString -> Ordering
DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString
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 :: DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString
$cmin :: DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString
max :: DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString
$cmax :: DataReplicationErrorString
-> DataReplicationErrorString -> DataReplicationErrorString
>= :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
$c>= :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
> :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
$c> :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
<= :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
$c<= :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
< :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
$c< :: DataReplicationErrorString -> DataReplicationErrorString -> Bool
compare :: DataReplicationErrorString
-> DataReplicationErrorString -> Ordering
$ccompare :: DataReplicationErrorString
-> DataReplicationErrorString -> Ordering
$cp1Ord :: Eq DataReplicationErrorString
Prelude.Ord,
(forall x.
DataReplicationErrorString -> Rep DataReplicationErrorString x)
-> (forall x.
Rep DataReplicationErrorString x -> DataReplicationErrorString)
-> Generic DataReplicationErrorString
forall x.
Rep DataReplicationErrorString x -> DataReplicationErrorString
forall x.
DataReplicationErrorString -> Rep DataReplicationErrorString x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DataReplicationErrorString x -> DataReplicationErrorString
$cfrom :: forall x.
DataReplicationErrorString -> Rep DataReplicationErrorString x
Prelude.Generic
)
deriving newtype
( Int -> DataReplicationErrorString -> Int
DataReplicationErrorString -> Int
(Int -> DataReplicationErrorString -> Int)
-> (DataReplicationErrorString -> Int)
-> Hashable DataReplicationErrorString
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DataReplicationErrorString -> Int
$chash :: DataReplicationErrorString -> Int
hashWithSalt :: Int -> DataReplicationErrorString -> Int
$chashWithSalt :: Int -> DataReplicationErrorString -> Int
Prelude.Hashable,
DataReplicationErrorString -> ()
(DataReplicationErrorString -> ())
-> NFData DataReplicationErrorString
forall a. (a -> ()) -> NFData a
rnf :: DataReplicationErrorString -> ()
$crnf :: DataReplicationErrorString -> ()
Prelude.NFData,
Text -> Either String DataReplicationErrorString
(Text -> Either String DataReplicationErrorString)
-> FromText DataReplicationErrorString
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DataReplicationErrorString
$cfromText :: Text -> Either String DataReplicationErrorString
Core.FromText,
DataReplicationErrorString -> Text
(DataReplicationErrorString -> Text)
-> ToText DataReplicationErrorString
forall a. (a -> Text) -> ToText a
toText :: DataReplicationErrorString -> Text
$ctoText :: DataReplicationErrorString -> Text
Core.ToText,
DataReplicationErrorString -> ByteString
(DataReplicationErrorString -> ByteString)
-> ToByteString DataReplicationErrorString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DataReplicationErrorString -> ByteString
$ctoBS :: DataReplicationErrorString -> ByteString
Core.ToByteString,
DataReplicationErrorString -> ByteStringBuilder
(DataReplicationErrorString -> ByteStringBuilder)
-> ToLog DataReplicationErrorString
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DataReplicationErrorString -> ByteStringBuilder
$cbuild :: DataReplicationErrorString -> ByteStringBuilder
Core.ToLog,
HeaderName -> DataReplicationErrorString -> [Header]
(HeaderName -> DataReplicationErrorString -> [Header])
-> ToHeader DataReplicationErrorString
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DataReplicationErrorString -> [Header]
$ctoHeader :: HeaderName -> DataReplicationErrorString -> [Header]
Core.ToHeader,
DataReplicationErrorString -> QueryString
(DataReplicationErrorString -> QueryString)
-> ToQuery DataReplicationErrorString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DataReplicationErrorString -> QueryString
$ctoQuery :: DataReplicationErrorString -> QueryString
Core.ToQuery,
Value -> Parser [DataReplicationErrorString]
Value -> Parser DataReplicationErrorString
(Value -> Parser DataReplicationErrorString)
-> (Value -> Parser [DataReplicationErrorString])
-> FromJSON DataReplicationErrorString
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DataReplicationErrorString]
$cparseJSONList :: Value -> Parser [DataReplicationErrorString]
parseJSON :: Value -> Parser DataReplicationErrorString
$cparseJSON :: Value -> Parser DataReplicationErrorString
Core.FromJSON,
FromJSONKeyFunction [DataReplicationErrorString]
FromJSONKeyFunction DataReplicationErrorString
FromJSONKeyFunction DataReplicationErrorString
-> FromJSONKeyFunction [DataReplicationErrorString]
-> FromJSONKey DataReplicationErrorString
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DataReplicationErrorString]
$cfromJSONKeyList :: FromJSONKeyFunction [DataReplicationErrorString]
fromJSONKey :: FromJSONKeyFunction DataReplicationErrorString
$cfromJSONKey :: FromJSONKeyFunction DataReplicationErrorString
Core.FromJSONKey,
[DataReplicationErrorString] -> Encoding
[DataReplicationErrorString] -> Value
DataReplicationErrorString -> Encoding
DataReplicationErrorString -> Value
(DataReplicationErrorString -> Value)
-> (DataReplicationErrorString -> Encoding)
-> ([DataReplicationErrorString] -> Value)
-> ([DataReplicationErrorString] -> Encoding)
-> ToJSON DataReplicationErrorString
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DataReplicationErrorString] -> Encoding
$ctoEncodingList :: [DataReplicationErrorString] -> Encoding
toJSONList :: [DataReplicationErrorString] -> Value
$ctoJSONList :: [DataReplicationErrorString] -> Value
toEncoding :: DataReplicationErrorString -> Encoding
$ctoEncoding :: DataReplicationErrorString -> Encoding
toJSON :: DataReplicationErrorString -> Value
$ctoJSON :: DataReplicationErrorString -> Value
Core.ToJSON,
ToJSONKeyFunction [DataReplicationErrorString]
ToJSONKeyFunction DataReplicationErrorString
ToJSONKeyFunction DataReplicationErrorString
-> ToJSONKeyFunction [DataReplicationErrorString]
-> ToJSONKey DataReplicationErrorString
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DataReplicationErrorString]
$ctoJSONKeyList :: ToJSONKeyFunction [DataReplicationErrorString]
toJSONKey :: ToJSONKeyFunction DataReplicationErrorString
$ctoJSONKey :: ToJSONKeyFunction DataReplicationErrorString
Core.ToJSONKey,
[Node] -> Either String DataReplicationErrorString
([Node] -> Either String DataReplicationErrorString)
-> FromXML DataReplicationErrorString
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DataReplicationErrorString
$cparseXML :: [Node] -> Either String DataReplicationErrorString
Core.FromXML,
DataReplicationErrorString -> XML
(DataReplicationErrorString -> XML)
-> ToXML DataReplicationErrorString
forall a. (a -> XML) -> ToXML a
toXML :: DataReplicationErrorString -> XML
$ctoXML :: DataReplicationErrorString -> XML
Core.ToXML
)
pattern DataReplicationErrorString_AGENT_NOT_SEEN :: DataReplicationErrorString
pattern $bDataReplicationErrorString_AGENT_NOT_SEEN :: DataReplicationErrorString
$mDataReplicationErrorString_AGENT_NOT_SEEN :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_AGENT_NOT_SEEN = DataReplicationErrorString' "AGENT_NOT_SEEN"
pattern DataReplicationErrorString_FAILED_TO_ATTACH_STAGING_DISKS :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_ATTACH_STAGING_DISKS :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_ATTACH_STAGING_DISKS :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_ATTACH_STAGING_DISKS = DataReplicationErrorString' "FAILED_TO_ATTACH_STAGING_DISKS"
pattern DataReplicationErrorString_FAILED_TO_AUTHENTICATE_WITH_SERVICE :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_AUTHENTICATE_WITH_SERVICE :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_AUTHENTICATE_WITH_SERVICE :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_AUTHENTICATE_WITH_SERVICE = DataReplicationErrorString' "FAILED_TO_AUTHENTICATE_WITH_SERVICE"
pattern DataReplicationErrorString_FAILED_TO_BOOT_REPLICATION_SERVER :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_BOOT_REPLICATION_SERVER :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_BOOT_REPLICATION_SERVER :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_BOOT_REPLICATION_SERVER = DataReplicationErrorString' "FAILED_TO_BOOT_REPLICATION_SERVER"
pattern DataReplicationErrorString_FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER = DataReplicationErrorString' "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER"
pattern DataReplicationErrorString_FAILED_TO_CREATE_SECURITY_GROUP :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_CREATE_SECURITY_GROUP :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_CREATE_SECURITY_GROUP :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_CREATE_SECURITY_GROUP = DataReplicationErrorString' "FAILED_TO_CREATE_SECURITY_GROUP"
pattern DataReplicationErrorString_FAILED_TO_CREATE_STAGING_DISKS :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_CREATE_STAGING_DISKS :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_CREATE_STAGING_DISKS :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_CREATE_STAGING_DISKS = DataReplicationErrorString' "FAILED_TO_CREATE_STAGING_DISKS"
pattern DataReplicationErrorString_FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE = DataReplicationErrorString' "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE"
pattern DataReplicationErrorString_FAILED_TO_LAUNCH_REPLICATION_SERVER :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_LAUNCH_REPLICATION_SERVER :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_LAUNCH_REPLICATION_SERVER :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_LAUNCH_REPLICATION_SERVER = DataReplicationErrorString' "FAILED_TO_LAUNCH_REPLICATION_SERVER"
pattern DataReplicationErrorString_FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT = DataReplicationErrorString' "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT"
pattern DataReplicationErrorString_FAILED_TO_START_DATA_TRANSFER :: DataReplicationErrorString
pattern $bDataReplicationErrorString_FAILED_TO_START_DATA_TRANSFER :: DataReplicationErrorString
$mDataReplicationErrorString_FAILED_TO_START_DATA_TRANSFER :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_FAILED_TO_START_DATA_TRANSFER = DataReplicationErrorString' "FAILED_TO_START_DATA_TRANSFER"
pattern DataReplicationErrorString_NOT_CONVERGING :: DataReplicationErrorString
pattern $bDataReplicationErrorString_NOT_CONVERGING :: DataReplicationErrorString
$mDataReplicationErrorString_NOT_CONVERGING :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_NOT_CONVERGING = DataReplicationErrorString' "NOT_CONVERGING"
pattern DataReplicationErrorString_SNAPSHOTS_FAILURE :: DataReplicationErrorString
pattern $bDataReplicationErrorString_SNAPSHOTS_FAILURE :: DataReplicationErrorString
$mDataReplicationErrorString_SNAPSHOTS_FAILURE :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_SNAPSHOTS_FAILURE = DataReplicationErrorString' "SNAPSHOTS_FAILURE"
pattern DataReplicationErrorString_UNSTABLE_NETWORK :: DataReplicationErrorString
pattern $bDataReplicationErrorString_UNSTABLE_NETWORK :: DataReplicationErrorString
$mDataReplicationErrorString_UNSTABLE_NETWORK :: forall r.
DataReplicationErrorString -> (Void# -> r) -> (Void# -> r) -> r
DataReplicationErrorString_UNSTABLE_NETWORK = DataReplicationErrorString' "UNSTABLE_NETWORK"
{-# COMPLETE
DataReplicationErrorString_AGENT_NOT_SEEN,
DataReplicationErrorString_FAILED_TO_ATTACH_STAGING_DISKS,
DataReplicationErrorString_FAILED_TO_AUTHENTICATE_WITH_SERVICE,
DataReplicationErrorString_FAILED_TO_BOOT_REPLICATION_SERVER,
DataReplicationErrorString_FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER,
DataReplicationErrorString_FAILED_TO_CREATE_SECURITY_GROUP,
DataReplicationErrorString_FAILED_TO_CREATE_STAGING_DISKS,
DataReplicationErrorString_FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE,
DataReplicationErrorString_FAILED_TO_LAUNCH_REPLICATION_SERVER,
DataReplicationErrorString_FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT,
DataReplicationErrorString_FAILED_TO_START_DATA_TRANSFER,
DataReplicationErrorString_NOT_CONVERGING,
DataReplicationErrorString_SNAPSHOTS_FAILURE,
DataReplicationErrorString_UNSTABLE_NETWORK,
DataReplicationErrorString'
#-}