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