{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Batch.Types.JQStatus
( JQStatus
( ..,
JQStatus_CREATING,
JQStatus_DELETED,
JQStatus_DELETING,
JQStatus_INVALID,
JQStatus_UPDATING,
JQStatus_VALID
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype JQStatus = JQStatus'
{ JQStatus -> Text
fromJQStatus ::
Data.Text
}
deriving stock
( Int -> JQStatus -> ShowS
[JQStatus] -> ShowS
JQStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JQStatus] -> ShowS
$cshowList :: [JQStatus] -> ShowS
show :: JQStatus -> String
$cshow :: JQStatus -> String
showsPrec :: Int -> JQStatus -> ShowS
$cshowsPrec :: Int -> JQStatus -> ShowS
Prelude.Show,
ReadPrec [JQStatus]
ReadPrec JQStatus
Int -> ReadS JQStatus
ReadS [JQStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [JQStatus]
$creadListPrec :: ReadPrec [JQStatus]
readPrec :: ReadPrec JQStatus
$creadPrec :: ReadPrec JQStatus
readList :: ReadS [JQStatus]
$creadList :: ReadS [JQStatus]
readsPrec :: Int -> ReadS JQStatus
$creadsPrec :: Int -> ReadS JQStatus
Prelude.Read,
JQStatus -> JQStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JQStatus -> JQStatus -> Bool
$c/= :: JQStatus -> JQStatus -> Bool
== :: JQStatus -> JQStatus -> Bool
$c== :: JQStatus -> JQStatus -> Bool
Prelude.Eq,
Eq JQStatus
JQStatus -> JQStatus -> Bool
JQStatus -> JQStatus -> Ordering
JQStatus -> JQStatus -> JQStatus
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 :: JQStatus -> JQStatus -> JQStatus
$cmin :: JQStatus -> JQStatus -> JQStatus
max :: JQStatus -> JQStatus -> JQStatus
$cmax :: JQStatus -> JQStatus -> JQStatus
>= :: JQStatus -> JQStatus -> Bool
$c>= :: JQStatus -> JQStatus -> Bool
> :: JQStatus -> JQStatus -> Bool
$c> :: JQStatus -> JQStatus -> Bool
<= :: JQStatus -> JQStatus -> Bool
$c<= :: JQStatus -> JQStatus -> Bool
< :: JQStatus -> JQStatus -> Bool
$c< :: JQStatus -> JQStatus -> Bool
compare :: JQStatus -> JQStatus -> Ordering
$ccompare :: JQStatus -> JQStatus -> Ordering
Prelude.Ord,
forall x. Rep JQStatus x -> JQStatus
forall x. JQStatus -> Rep JQStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JQStatus x -> JQStatus
$cfrom :: forall x. JQStatus -> Rep JQStatus x
Prelude.Generic
)
deriving newtype
( Eq JQStatus
Int -> JQStatus -> Int
JQStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: JQStatus -> Int
$chash :: JQStatus -> Int
hashWithSalt :: Int -> JQStatus -> Int
$chashWithSalt :: Int -> JQStatus -> Int
Prelude.Hashable,
JQStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: JQStatus -> ()
$crnf :: JQStatus -> ()
Prelude.NFData,
Text -> Either String JQStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String JQStatus
$cfromText :: Text -> Either String JQStatus
Data.FromText,
JQStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: JQStatus -> Text
$ctoText :: JQStatus -> Text
Data.ToText,
JQStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: JQStatus -> ByteString
$ctoBS :: JQStatus -> ByteString
Data.ToByteString,
JQStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: JQStatus -> ByteStringBuilder
$cbuild :: JQStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> JQStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> JQStatus -> [Header]
$ctoHeader :: HeaderName -> JQStatus -> [Header]
Data.ToHeader,
JQStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: JQStatus -> QueryString
$ctoQuery :: JQStatus -> QueryString
Data.ToQuery,
Value -> Parser [JQStatus]
Value -> Parser JQStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [JQStatus]
$cparseJSONList :: Value -> Parser [JQStatus]
parseJSON :: Value -> Parser JQStatus
$cparseJSON :: Value -> Parser JQStatus
Data.FromJSON,
FromJSONKeyFunction [JQStatus]
FromJSONKeyFunction JQStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [JQStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [JQStatus]
fromJSONKey :: FromJSONKeyFunction JQStatus
$cfromJSONKey :: FromJSONKeyFunction JQStatus
Data.FromJSONKey,
[JQStatus] -> Encoding
[JQStatus] -> Value
JQStatus -> Encoding
JQStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [JQStatus] -> Encoding
$ctoEncodingList :: [JQStatus] -> Encoding
toJSONList :: [JQStatus] -> Value
$ctoJSONList :: [JQStatus] -> Value
toEncoding :: JQStatus -> Encoding
$ctoEncoding :: JQStatus -> Encoding
toJSON :: JQStatus -> Value
$ctoJSON :: JQStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [JQStatus]
ToJSONKeyFunction JQStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [JQStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [JQStatus]
toJSONKey :: ToJSONKeyFunction JQStatus
$ctoJSONKey :: ToJSONKeyFunction JQStatus
Data.ToJSONKey,
[Node] -> Either String JQStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String JQStatus
$cparseXML :: [Node] -> Either String JQStatus
Data.FromXML,
JQStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: JQStatus -> XML
$ctoXML :: JQStatus -> XML
Data.ToXML
)
pattern JQStatus_CREATING :: JQStatus
pattern $bJQStatus_CREATING :: JQStatus
$mJQStatus_CREATING :: forall {r}. JQStatus -> ((# #) -> r) -> ((# #) -> r) -> r
JQStatus_CREATING = JQStatus' "CREATING"
pattern JQStatus_DELETED :: JQStatus
pattern $bJQStatus_DELETED :: JQStatus
$mJQStatus_DELETED :: forall {r}. JQStatus -> ((# #) -> r) -> ((# #) -> r) -> r
JQStatus_DELETED = JQStatus' "DELETED"
pattern JQStatus_DELETING :: JQStatus
pattern $bJQStatus_DELETING :: JQStatus
$mJQStatus_DELETING :: forall {r}. JQStatus -> ((# #) -> r) -> ((# #) -> r) -> r
JQStatus_DELETING = JQStatus' "DELETING"
pattern JQStatus_INVALID :: JQStatus
pattern $bJQStatus_INVALID :: JQStatus
$mJQStatus_INVALID :: forall {r}. JQStatus -> ((# #) -> r) -> ((# #) -> r) -> r
JQStatus_INVALID = JQStatus' "INVALID"
pattern JQStatus_UPDATING :: JQStatus
pattern $bJQStatus_UPDATING :: JQStatus
$mJQStatus_UPDATING :: forall {r}. JQStatus -> ((# #) -> r) -> ((# #) -> r) -> r
JQStatus_UPDATING = JQStatus' "UPDATING"
pattern JQStatus_VALID :: JQStatus
pattern $bJQStatus_VALID :: JQStatus
$mJQStatus_VALID :: forall {r}. JQStatus -> ((# #) -> r) -> ((# #) -> r) -> r
JQStatus_VALID = JQStatus' "VALID"
{-# COMPLETE
JQStatus_CREATING,
JQStatus_DELETED,
JQStatus_DELETING,
JQStatus_INVALID,
JQStatus_UPDATING,
JQStatus_VALID,
JQStatus'
#-}