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