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