{-# 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.TransformType
-- 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.TransformType
  ( TransformType
      ( ..,
        TransformType_FIND_MATCHES
      ),
  )
where

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

newtype TransformType = TransformType'
  { TransformType -> Text
fromTransformType ::
      Data.Text
  }
  deriving stock
    ( Int -> TransformType -> ShowS
[TransformType] -> ShowS
TransformType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TransformType] -> ShowS
$cshowList :: [TransformType] -> ShowS
show :: TransformType -> String
$cshow :: TransformType -> String
showsPrec :: Int -> TransformType -> ShowS
$cshowsPrec :: Int -> TransformType -> ShowS
Prelude.Show,
      ReadPrec [TransformType]
ReadPrec TransformType
Int -> ReadS TransformType
ReadS [TransformType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TransformType]
$creadListPrec :: ReadPrec [TransformType]
readPrec :: ReadPrec TransformType
$creadPrec :: ReadPrec TransformType
readList :: ReadS [TransformType]
$creadList :: ReadS [TransformType]
readsPrec :: Int -> ReadS TransformType
$creadsPrec :: Int -> ReadS TransformType
Prelude.Read,
      TransformType -> TransformType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TransformType -> TransformType -> Bool
$c/= :: TransformType -> TransformType -> Bool
== :: TransformType -> TransformType -> Bool
$c== :: TransformType -> TransformType -> Bool
Prelude.Eq,
      Eq TransformType
TransformType -> TransformType -> Bool
TransformType -> TransformType -> Ordering
TransformType -> TransformType -> TransformType
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 :: TransformType -> TransformType -> TransformType
$cmin :: TransformType -> TransformType -> TransformType
max :: TransformType -> TransformType -> TransformType
$cmax :: TransformType -> TransformType -> TransformType
>= :: TransformType -> TransformType -> Bool
$c>= :: TransformType -> TransformType -> Bool
> :: TransformType -> TransformType -> Bool
$c> :: TransformType -> TransformType -> Bool
<= :: TransformType -> TransformType -> Bool
$c<= :: TransformType -> TransformType -> Bool
< :: TransformType -> TransformType -> Bool
$c< :: TransformType -> TransformType -> Bool
compare :: TransformType -> TransformType -> Ordering
$ccompare :: TransformType -> TransformType -> Ordering
Prelude.Ord,
      forall x. Rep TransformType x -> TransformType
forall x. TransformType -> Rep TransformType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TransformType x -> TransformType
$cfrom :: forall x. TransformType -> Rep TransformType x
Prelude.Generic
    )
  deriving newtype
    ( Eq TransformType
Int -> TransformType -> Int
TransformType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: TransformType -> Int
$chash :: TransformType -> Int
hashWithSalt :: Int -> TransformType -> Int
$chashWithSalt :: Int -> TransformType -> Int
Prelude.Hashable,
      TransformType -> ()
forall a. (a -> ()) -> NFData a
rnf :: TransformType -> ()
$crnf :: TransformType -> ()
Prelude.NFData,
      Text -> Either String TransformType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TransformType
$cfromText :: Text -> Either String TransformType
Data.FromText,
      TransformType -> Text
forall a. (a -> Text) -> ToText a
toText :: TransformType -> Text
$ctoText :: TransformType -> Text
Data.ToText,
      TransformType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: TransformType -> ByteString
$ctoBS :: TransformType -> ByteString
Data.ToByteString,
      TransformType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TransformType -> ByteStringBuilder
$cbuild :: TransformType -> ByteStringBuilder
Data.ToLog,
      HeaderName -> TransformType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TransformType -> [Header]
$ctoHeader :: HeaderName -> TransformType -> [Header]
Data.ToHeader,
      TransformType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TransformType -> QueryString
$ctoQuery :: TransformType -> QueryString
Data.ToQuery,
      Value -> Parser [TransformType]
Value -> Parser TransformType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [TransformType]
$cparseJSONList :: Value -> Parser [TransformType]
parseJSON :: Value -> Parser TransformType
$cparseJSON :: Value -> Parser TransformType
Data.FromJSON,
      FromJSONKeyFunction [TransformType]
FromJSONKeyFunction TransformType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TransformType]
$cfromJSONKeyList :: FromJSONKeyFunction [TransformType]
fromJSONKey :: FromJSONKeyFunction TransformType
$cfromJSONKey :: FromJSONKeyFunction TransformType
Data.FromJSONKey,
      [TransformType] -> Encoding
[TransformType] -> Value
TransformType -> Encoding
TransformType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [TransformType] -> Encoding
$ctoEncodingList :: [TransformType] -> Encoding
toJSONList :: [TransformType] -> Value
$ctoJSONList :: [TransformType] -> Value
toEncoding :: TransformType -> Encoding
$ctoEncoding :: TransformType -> Encoding
toJSON :: TransformType -> Value
$ctoJSON :: TransformType -> Value
Data.ToJSON,
      ToJSONKeyFunction [TransformType]
ToJSONKeyFunction TransformType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TransformType]
$ctoJSONKeyList :: ToJSONKeyFunction [TransformType]
toJSONKey :: ToJSONKeyFunction TransformType
$ctoJSONKey :: ToJSONKeyFunction TransformType
Data.ToJSONKey,
      [Node] -> Either String TransformType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TransformType
$cparseXML :: [Node] -> Either String TransformType
Data.FromXML,
      TransformType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: TransformType -> XML
$ctoXML :: TransformType -> XML
Data.ToXML
    )

pattern TransformType_FIND_MATCHES :: TransformType
pattern $bTransformType_FIND_MATCHES :: TransformType
$mTransformType_FIND_MATCHES :: forall {r}. TransformType -> ((# #) -> r) -> ((# #) -> r) -> r
TransformType_FIND_MATCHES = TransformType' "FIND_MATCHES"

{-# COMPLETE
  TransformType_FIND_MATCHES,
  TransformType'
  #-}