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