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