{-# 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.TransformType
( TransformType
( ..,
TransformType_FIND_MATCHES
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype TransformType = TransformType'
{ TransformType -> Text
fromTransformType ::
Core.Text
}
deriving stock
( Int -> TransformType -> ShowS
[TransformType] -> ShowS
TransformType -> String
(Int -> TransformType -> ShowS)
-> (TransformType -> String)
-> ([TransformType] -> ShowS)
-> Show TransformType
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]
(Int -> ReadS TransformType)
-> ReadS [TransformType]
-> ReadPrec TransformType
-> ReadPrec [TransformType]
-> Read 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
(TransformType -> TransformType -> Bool)
-> (TransformType -> TransformType -> Bool) -> Eq TransformType
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
Eq TransformType
-> (TransformType -> TransformType -> Ordering)
-> (TransformType -> TransformType -> Bool)
-> (TransformType -> TransformType -> Bool)
-> (TransformType -> TransformType -> Bool)
-> (TransformType -> TransformType -> Bool)
-> (TransformType -> TransformType -> TransformType)
-> (TransformType -> TransformType -> TransformType)
-> Ord 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
$cp1Ord :: Eq TransformType
Prelude.Ord,
(forall x. TransformType -> Rep TransformType x)
-> (forall x. Rep TransformType x -> TransformType)
-> Generic TransformType
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
( Int -> TransformType -> Int
TransformType -> Int
(Int -> TransformType -> Int)
-> (TransformType -> Int) -> Hashable TransformType
forall 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 -> ()
(TransformType -> ()) -> NFData TransformType
forall a. (a -> ()) -> NFData a
rnf :: TransformType -> ()
$crnf :: TransformType -> ()
Prelude.NFData,
Text -> Either String TransformType
(Text -> Either String TransformType) -> FromText TransformType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TransformType
$cfromText :: Text -> Either String TransformType
Core.FromText,
TransformType -> Text
(TransformType -> Text) -> ToText TransformType
forall a. (a -> Text) -> ToText a
toText :: TransformType -> Text
$ctoText :: TransformType -> Text
Core.ToText,
TransformType -> ByteString
(TransformType -> ByteString) -> ToByteString TransformType
forall a. (a -> ByteString) -> ToByteString a
toBS :: TransformType -> ByteString
$ctoBS :: TransformType -> ByteString
Core.ToByteString,
TransformType -> ByteStringBuilder
(TransformType -> ByteStringBuilder) -> ToLog TransformType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TransformType -> ByteStringBuilder
$cbuild :: TransformType -> ByteStringBuilder
Core.ToLog,
HeaderName -> TransformType -> [Header]
(HeaderName -> TransformType -> [Header]) -> ToHeader TransformType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TransformType -> [Header]
$ctoHeader :: HeaderName -> TransformType -> [Header]
Core.ToHeader,
TransformType -> QueryString
(TransformType -> QueryString) -> ToQuery TransformType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TransformType -> QueryString
$ctoQuery :: TransformType -> QueryString
Core.ToQuery,
Value -> Parser [TransformType]
Value -> Parser TransformType
(Value -> Parser TransformType)
-> (Value -> Parser [TransformType]) -> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [TransformType]
FromJSONKeyFunction TransformType
FromJSONKeyFunction TransformType
-> FromJSONKeyFunction [TransformType] -> FromJSONKey TransformType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TransformType]
$cfromJSONKeyList :: FromJSONKeyFunction [TransformType]
fromJSONKey :: FromJSONKeyFunction TransformType
$cfromJSONKey :: FromJSONKeyFunction TransformType
Core.FromJSONKey,
[TransformType] -> Encoding
[TransformType] -> Value
TransformType -> Encoding
TransformType -> Value
(TransformType -> Value)
-> (TransformType -> Encoding)
-> ([TransformType] -> Value)
-> ([TransformType] -> Encoding)
-> ToJSON TransformType
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
Core.ToJSON,
ToJSONKeyFunction [TransformType]
ToJSONKeyFunction TransformType
ToJSONKeyFunction TransformType
-> ToJSONKeyFunction [TransformType] -> ToJSONKey TransformType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TransformType]
$ctoJSONKeyList :: ToJSONKeyFunction [TransformType]
toJSONKey :: ToJSONKeyFunction TransformType
$ctoJSONKey :: ToJSONKeyFunction TransformType
Core.ToJSONKey,
[Node] -> Either String TransformType
([Node] -> Either String TransformType) -> FromXML TransformType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TransformType
$cparseXML :: [Node] -> Either String TransformType
Core.FromXML,
TransformType -> XML
(TransformType -> XML) -> ToXML TransformType
forall a. (a -> XML) -> ToXML a
toXML :: TransformType -> XML
$ctoXML :: TransformType -> XML
Core.ToXML
)
pattern TransformType_FIND_MATCHES :: TransformType
pattern $bTransformType_FIND_MATCHES :: TransformType
$mTransformType_FIND_MATCHES :: forall r. TransformType -> (Void# -> r) -> (Void# -> r) -> r
TransformType_FIND_MATCHES = TransformType' "FIND_MATCHES"
{-# COMPLETE
TransformType_FIND_MATCHES,
TransformType'
#-}