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