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