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