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