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