{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Glue.Types.TransformStatusType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Glue.Types.TransformStatusType
  ( TransformStatusType
      ( ..,
        TransformStatusType_DELETING,
        TransformStatusType_NOT_READY,
        TransformStatusType_READY
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype TransformStatusType = TransformStatusType'
  { TransformStatusType -> Text
fromTransformStatusType ::
      Data.Text
  }
  deriving stock
    ( Int -> TransformStatusType -> ShowS
[TransformStatusType] -> ShowS
TransformStatusType -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq TransformStatusType
Int -> TransformStatusType -> Int
TransformStatusType -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: TransformStatusType -> ()
$crnf :: TransformStatusType -> ()
Prelude.NFData,
      Text -> Either String TransformStatusType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TransformStatusType
$cfromText :: Text -> Either String TransformStatusType
Data.FromText,
      TransformStatusType -> Text
forall a. (a -> Text) -> ToText a
toText :: TransformStatusType -> Text
$ctoText :: TransformStatusType -> Text
Data.ToText,
      TransformStatusType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: TransformStatusType -> ByteString
$ctoBS :: TransformStatusType -> ByteString
Data.ToByteString,
      TransformStatusType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TransformStatusType -> ByteStringBuilder
$cbuild :: TransformStatusType -> ByteStringBuilder
Data.ToLog,
      HeaderName -> TransformStatusType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TransformStatusType -> [Header]
$ctoHeader :: HeaderName -> TransformStatusType -> [Header]
Data.ToHeader,
      TransformStatusType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TransformStatusType -> QueryString
$ctoQuery :: TransformStatusType -> QueryString
Data.ToQuery,
      Value -> Parser [TransformStatusType]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [TransformStatusType]
FromJSONKeyFunction TransformStatusType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TransformStatusType]
$cfromJSONKeyList :: FromJSONKeyFunction [TransformStatusType]
fromJSONKey :: FromJSONKeyFunction TransformStatusType
$cfromJSONKey :: FromJSONKeyFunction TransformStatusType
Data.FromJSONKey,
      [TransformStatusType] -> Encoding
[TransformStatusType] -> Value
TransformStatusType -> Encoding
TransformStatusType -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [TransformStatusType]
ToJSONKeyFunction TransformStatusType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TransformStatusType]
$ctoJSONKeyList :: ToJSONKeyFunction [TransformStatusType]
toJSONKey :: ToJSONKeyFunction TransformStatusType
$ctoJSONKey :: ToJSONKeyFunction TransformStatusType
Data.ToJSONKey,
      [Node] -> Either String TransformStatusType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TransformStatusType
$cparseXML :: [Node] -> Either String TransformStatusType
Data.FromXML,
      TransformStatusType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: TransformStatusType -> XML
$ctoXML :: TransformStatusType -> XML
Data.ToXML
    )

pattern TransformStatusType_DELETING :: TransformStatusType
pattern $bTransformStatusType_DELETING :: TransformStatusType
$mTransformStatusType_DELETING :: forall {r}.
TransformStatusType -> ((# #) -> r) -> ((# #) -> r) -> r
TransformStatusType_DELETING = TransformStatusType' "DELETING"

pattern TransformStatusType_NOT_READY :: TransformStatusType
pattern $bTransformStatusType_NOT_READY :: TransformStatusType
$mTransformStatusType_NOT_READY :: forall {r}.
TransformStatusType -> ((# #) -> r) -> ((# #) -> r) -> r
TransformStatusType_NOT_READY = TransformStatusType' "NOT_READY"

pattern TransformStatusType_READY :: TransformStatusType
pattern $bTransformStatusType_READY :: TransformStatusType
$mTransformStatusType_READY :: forall {r}.
TransformStatusType -> ((# #) -> r) -> ((# #) -> r) -> r
TransformStatusType_READY = TransformStatusType' "READY"

{-# COMPLETE
  TransformStatusType_DELETING,
  TransformStatusType_NOT_READY,
  TransformStatusType_READY,
  TransformStatusType'
  #-}