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