{-# 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.PrivateConnectionProvisioningStatus
( PrivateConnectionProvisioningStatus
( ..,
PrivateConnectionProvisioningStatus_CREATED,
PrivateConnectionProvisioningStatus_FAILED,
PrivateConnectionProvisioningStatus_PENDING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype PrivateConnectionProvisioningStatus = PrivateConnectionProvisioningStatus'
{ PrivateConnectionProvisioningStatus -> Text
fromPrivateConnectionProvisioningStatus ::
Core.Text
}
deriving stock
( Int -> PrivateConnectionProvisioningStatus -> ShowS
[PrivateConnectionProvisioningStatus] -> ShowS
PrivateConnectionProvisioningStatus -> String
(Int -> PrivateConnectionProvisioningStatus -> ShowS)
-> (PrivateConnectionProvisioningStatus -> String)
-> ([PrivateConnectionProvisioningStatus] -> ShowS)
-> Show PrivateConnectionProvisioningStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrivateConnectionProvisioningStatus] -> ShowS
$cshowList :: [PrivateConnectionProvisioningStatus] -> ShowS
show :: PrivateConnectionProvisioningStatus -> String
$cshow :: PrivateConnectionProvisioningStatus -> String
showsPrec :: Int -> PrivateConnectionProvisioningStatus -> ShowS
$cshowsPrec :: Int -> PrivateConnectionProvisioningStatus -> ShowS
Prelude.Show,
ReadPrec [PrivateConnectionProvisioningStatus]
ReadPrec PrivateConnectionProvisioningStatus
Int -> ReadS PrivateConnectionProvisioningStatus
ReadS [PrivateConnectionProvisioningStatus]
(Int -> ReadS PrivateConnectionProvisioningStatus)
-> ReadS [PrivateConnectionProvisioningStatus]
-> ReadPrec PrivateConnectionProvisioningStatus
-> ReadPrec [PrivateConnectionProvisioningStatus]
-> Read PrivateConnectionProvisioningStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PrivateConnectionProvisioningStatus]
$creadListPrec :: ReadPrec [PrivateConnectionProvisioningStatus]
readPrec :: ReadPrec PrivateConnectionProvisioningStatus
$creadPrec :: ReadPrec PrivateConnectionProvisioningStatus
readList :: ReadS [PrivateConnectionProvisioningStatus]
$creadList :: ReadS [PrivateConnectionProvisioningStatus]
readsPrec :: Int -> ReadS PrivateConnectionProvisioningStatus
$creadsPrec :: Int -> ReadS PrivateConnectionProvisioningStatus
Prelude.Read,
PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
(PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool)
-> Eq PrivateConnectionProvisioningStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
$c/= :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
== :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
$c== :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
Prelude.Eq,
Eq PrivateConnectionProvisioningStatus
Eq PrivateConnectionProvisioningStatus
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Ordering)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus)
-> (PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus)
-> Ord PrivateConnectionProvisioningStatus
PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Ordering
PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
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 :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
$cmin :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
max :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
$cmax :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus
>= :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
$c>= :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
> :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
$c> :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
<= :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
$c<= :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
< :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
$c< :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Bool
compare :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Ordering
$ccompare :: PrivateConnectionProvisioningStatus
-> PrivateConnectionProvisioningStatus -> Ordering
$cp1Ord :: Eq PrivateConnectionProvisioningStatus
Prelude.Ord,
(forall x.
PrivateConnectionProvisioningStatus
-> Rep PrivateConnectionProvisioningStatus x)
-> (forall x.
Rep PrivateConnectionProvisioningStatus x
-> PrivateConnectionProvisioningStatus)
-> Generic PrivateConnectionProvisioningStatus
forall x.
Rep PrivateConnectionProvisioningStatus x
-> PrivateConnectionProvisioningStatus
forall x.
PrivateConnectionProvisioningStatus
-> Rep PrivateConnectionProvisioningStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PrivateConnectionProvisioningStatus x
-> PrivateConnectionProvisioningStatus
$cfrom :: forall x.
PrivateConnectionProvisioningStatus
-> Rep PrivateConnectionProvisioningStatus x
Prelude.Generic
)
deriving newtype
( Int -> PrivateConnectionProvisioningStatus -> Int
PrivateConnectionProvisioningStatus -> Int
(Int -> PrivateConnectionProvisioningStatus -> Int)
-> (PrivateConnectionProvisioningStatus -> Int)
-> Hashable PrivateConnectionProvisioningStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: PrivateConnectionProvisioningStatus -> Int
$chash :: PrivateConnectionProvisioningStatus -> Int
hashWithSalt :: Int -> PrivateConnectionProvisioningStatus -> Int
$chashWithSalt :: Int -> PrivateConnectionProvisioningStatus -> Int
Prelude.Hashable,
PrivateConnectionProvisioningStatus -> ()
(PrivateConnectionProvisioningStatus -> ())
-> NFData PrivateConnectionProvisioningStatus
forall a. (a -> ()) -> NFData a
rnf :: PrivateConnectionProvisioningStatus -> ()
$crnf :: PrivateConnectionProvisioningStatus -> ()
Prelude.NFData,
Text -> Either String PrivateConnectionProvisioningStatus
(Text -> Either String PrivateConnectionProvisioningStatus)
-> FromText PrivateConnectionProvisioningStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String PrivateConnectionProvisioningStatus
$cfromText :: Text -> Either String PrivateConnectionProvisioningStatus
Core.FromText,
PrivateConnectionProvisioningStatus -> Text
(PrivateConnectionProvisioningStatus -> Text)
-> ToText PrivateConnectionProvisioningStatus
forall a. (a -> Text) -> ToText a
toText :: PrivateConnectionProvisioningStatus -> Text
$ctoText :: PrivateConnectionProvisioningStatus -> Text
Core.ToText,
PrivateConnectionProvisioningStatus -> ByteString
(PrivateConnectionProvisioningStatus -> ByteString)
-> ToByteString PrivateConnectionProvisioningStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: PrivateConnectionProvisioningStatus -> ByteString
$ctoBS :: PrivateConnectionProvisioningStatus -> ByteString
Core.ToByteString,
PrivateConnectionProvisioningStatus -> ByteStringBuilder
(PrivateConnectionProvisioningStatus -> ByteStringBuilder)
-> ToLog PrivateConnectionProvisioningStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: PrivateConnectionProvisioningStatus -> ByteStringBuilder
$cbuild :: PrivateConnectionProvisioningStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> PrivateConnectionProvisioningStatus -> [Header]
(HeaderName -> PrivateConnectionProvisioningStatus -> [Header])
-> ToHeader PrivateConnectionProvisioningStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> PrivateConnectionProvisioningStatus -> [Header]
$ctoHeader :: HeaderName -> PrivateConnectionProvisioningStatus -> [Header]
Core.ToHeader,
PrivateConnectionProvisioningStatus -> QueryString
(PrivateConnectionProvisioningStatus -> QueryString)
-> ToQuery PrivateConnectionProvisioningStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: PrivateConnectionProvisioningStatus -> QueryString
$ctoQuery :: PrivateConnectionProvisioningStatus -> QueryString
Core.ToQuery,
Value -> Parser [PrivateConnectionProvisioningStatus]
Value -> Parser PrivateConnectionProvisioningStatus
(Value -> Parser PrivateConnectionProvisioningStatus)
-> (Value -> Parser [PrivateConnectionProvisioningStatus])
-> FromJSON PrivateConnectionProvisioningStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [PrivateConnectionProvisioningStatus]
$cparseJSONList :: Value -> Parser [PrivateConnectionProvisioningStatus]
parseJSON :: Value -> Parser PrivateConnectionProvisioningStatus
$cparseJSON :: Value -> Parser PrivateConnectionProvisioningStatus
Core.FromJSON,
FromJSONKeyFunction [PrivateConnectionProvisioningStatus]
FromJSONKeyFunction PrivateConnectionProvisioningStatus
FromJSONKeyFunction PrivateConnectionProvisioningStatus
-> FromJSONKeyFunction [PrivateConnectionProvisioningStatus]
-> FromJSONKey PrivateConnectionProvisioningStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [PrivateConnectionProvisioningStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [PrivateConnectionProvisioningStatus]
fromJSONKey :: FromJSONKeyFunction PrivateConnectionProvisioningStatus
$cfromJSONKey :: FromJSONKeyFunction PrivateConnectionProvisioningStatus
Core.FromJSONKey,
[PrivateConnectionProvisioningStatus] -> Encoding
[PrivateConnectionProvisioningStatus] -> Value
PrivateConnectionProvisioningStatus -> Encoding
PrivateConnectionProvisioningStatus -> Value
(PrivateConnectionProvisioningStatus -> Value)
-> (PrivateConnectionProvisioningStatus -> Encoding)
-> ([PrivateConnectionProvisioningStatus] -> Value)
-> ([PrivateConnectionProvisioningStatus] -> Encoding)
-> ToJSON PrivateConnectionProvisioningStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [PrivateConnectionProvisioningStatus] -> Encoding
$ctoEncodingList :: [PrivateConnectionProvisioningStatus] -> Encoding
toJSONList :: [PrivateConnectionProvisioningStatus] -> Value
$ctoJSONList :: [PrivateConnectionProvisioningStatus] -> Value
toEncoding :: PrivateConnectionProvisioningStatus -> Encoding
$ctoEncoding :: PrivateConnectionProvisioningStatus -> Encoding
toJSON :: PrivateConnectionProvisioningStatus -> Value
$ctoJSON :: PrivateConnectionProvisioningStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [PrivateConnectionProvisioningStatus]
ToJSONKeyFunction PrivateConnectionProvisioningStatus
ToJSONKeyFunction PrivateConnectionProvisioningStatus
-> ToJSONKeyFunction [PrivateConnectionProvisioningStatus]
-> ToJSONKey PrivateConnectionProvisioningStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [PrivateConnectionProvisioningStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [PrivateConnectionProvisioningStatus]
toJSONKey :: ToJSONKeyFunction PrivateConnectionProvisioningStatus
$ctoJSONKey :: ToJSONKeyFunction PrivateConnectionProvisioningStatus
Core.ToJSONKey,
[Node] -> Either String PrivateConnectionProvisioningStatus
([Node] -> Either String PrivateConnectionProvisioningStatus)
-> FromXML PrivateConnectionProvisioningStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String PrivateConnectionProvisioningStatus
$cparseXML :: [Node] -> Either String PrivateConnectionProvisioningStatus
Core.FromXML,
PrivateConnectionProvisioningStatus -> XML
(PrivateConnectionProvisioningStatus -> XML)
-> ToXML PrivateConnectionProvisioningStatus
forall a. (a -> XML) -> ToXML a
toXML :: PrivateConnectionProvisioningStatus -> XML
$ctoXML :: PrivateConnectionProvisioningStatus -> XML
Core.ToXML
)
pattern PrivateConnectionProvisioningStatus_CREATED :: PrivateConnectionProvisioningStatus
pattern $bPrivateConnectionProvisioningStatus_CREATED :: PrivateConnectionProvisioningStatus
$mPrivateConnectionProvisioningStatus_CREATED :: forall r.
PrivateConnectionProvisioningStatus
-> (Void# -> r) -> (Void# -> r) -> r
PrivateConnectionProvisioningStatus_CREATED = PrivateConnectionProvisioningStatus' "CREATED"
pattern PrivateConnectionProvisioningStatus_FAILED :: PrivateConnectionProvisioningStatus
pattern $bPrivateConnectionProvisioningStatus_FAILED :: PrivateConnectionProvisioningStatus
$mPrivateConnectionProvisioningStatus_FAILED :: forall r.
PrivateConnectionProvisioningStatus
-> (Void# -> r) -> (Void# -> r) -> r
PrivateConnectionProvisioningStatus_FAILED = PrivateConnectionProvisioningStatus' "FAILED"
pattern PrivateConnectionProvisioningStatus_PENDING :: PrivateConnectionProvisioningStatus
pattern $bPrivateConnectionProvisioningStatus_PENDING :: PrivateConnectionProvisioningStatus
$mPrivateConnectionProvisioningStatus_PENDING :: forall r.
PrivateConnectionProvisioningStatus
-> (Void# -> r) -> (Void# -> r) -> r
PrivateConnectionProvisioningStatus_PENDING = PrivateConnectionProvisioningStatus' "PENDING"
{-# COMPLETE
PrivateConnectionProvisioningStatus_CREATED,
PrivateConnectionProvisioningStatus_FAILED,
PrivateConnectionProvisioningStatus_PENDING,
PrivateConnectionProvisioningStatus'
#-}