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